ip dhcp-relay (for a port)
   
   
      Configure Dynamic Host Configuration Protocol (DHCP) Relay on an interface. The command no
         ip dhcp-relay disables DHCP Relay but does not delete the DHCP entry.
    
      Syntax
         
         
            - 
               
                  default ip dhcp-relay
                  
                
- 
               
                  default ip dhcp-relay
                     broadcast 
                
- 
               
                  default ip dhcp-relay
                     circuitId 
                
- 
               
                  default ip dhcp-relay
                     max-hop 
                
- 
               
                  default ip dhcp-relay
                     min-sec 
                
- 
               
                  default ip dhcp-relay mode
                  
                
- 
               
                  default ip dhcp-relay
                     remoteId 
                
- 
               
                  default ip dhcp-relay
                     trusted 
                
- 
               
                  ip dhcp-relay 
                
- 
               
                  ip dhcp-relay broadcast
                  
                
- 
               
                  ip dhcp-relay circuitId
                  
                
- 
               
                  ip dhcp-relay
                     clear-counter 
                
- 
               
                  ip dhcp-relay max-hop
                     <1-16>
                
- 
               
                  ip dhcp-relay min-sec
                     <0-65535> 
                
- 
               
                  ip dhcp-relay mode { bootp
                     | dhcp | bootp_dhcp } 
                
- 
               
                  ip dhcp-relay remoteId
                  
                
- 
               
                  ip dhcp-relay trusted
                  
                
- 
               
                  no ip dhcp-relay
                  
                
- 
               
                  no ip dhcp-relay broadcast
                  
                
- 
               
                  no ip dhcp-relay circuitId
                  
                
- 
               
                  no ip dhcp-relay remoteId
                  
                
- 
               
                  no ip dhcp-relay trusted
                  
                
Command Parameters
         
         
            
               - broadcast
- Enables the device to send the
                  server reply as a broadcast to the end station. After you disable this variable,
                  the device sends the server reply as a unicast to the end station.
- circuitId
- Enables the device to insert the
                  Option 82 Circuit ID into the packets sent to the server (enables DHCP Option 82).
                  The default is disabled.
- clear-counter
- Clears the dhcp-relay
                  counter.
- max-hop <1-16>
- Configures the maximum number of
                  hops before a BootP/DHCP packet is discarded (1-16). The default is 4.
- min-sec <0-65535>
- Configures the minimum seconds
                  count for Dynamic Host Configuration Protocol (DHCP). If the secs field in the
                  BootP/DHCP packet header is greater than this value, the device relays or forwards
                  the packet; otherwise, the packet is dropped (0- 65535). The default is 0
                  seconds.
- mode <bootp|dhcp|bootp_dhcp>
- Configures DHCP mode to forward
                  BootP messages only, Dynamic Host Configuration Protocol (DHCP) messages only, or
                  both. The default is both.
- remoteId
- Enables the device to insert the
                  Option 82 Remote ID into the packets sent to the server (enables DHCP Option 82).
                  The default is disabled.
- trusted
- Configures the circuit as trusted
                  in an Option 82 context.
Command Mode
         
         GigabitEthernet Interface Configuration