User Guide    406
Configuring DHCP Service DHCP Relay Configuration
Switch(config)#interface gigabitEthernet 1/0/7
Switch(config-if)#ip dhcp relay information option
Switch(config-if)#ip dhcp relay information strategy replace
Switch(config-if)#ip dhcp relay information format normal
Switch(config-if)#ip dhcp relay information circut-id VLAN20
Switch(config-if)#ip dhcp relay information remote-id Host1
Switch(config-if)#show ip dhcp relay information interface gigabitEthernet 1/0/7
Interface    Option 82 Status   Operation Strategy    Format   Circuit ID     Remote ID      LAG
---------      ----------------          ------------------            -------      ---------       --------              -----
Gi1/0/7       Enable                        Replace                          Normal     VLAN20      Host1               N/A
Switch(config-if)#end
Switch#copy running-config startup-config
2.2.3  Configuring DHCP VLAN Relay
Follow these steps to configure DHCP VLAN Relay:
Step 1 configure
Enter Global Configuration Mode.
Step 2 Enter VLAN Interface Configuration Mode:
interface vlan 
vlan-id
vlan-id
:  Specify a VLAN interface. Only the management VLAN is supported.
Step 3 ip dhcp relay default-interface
Set the management VLAN interface as the default relay-agent interface.
Step 4 exit
Return to Global Configuration Mode.
Step 5 ip dhcp relay vlan 
vid
 helper-address 
ip-address
Specify the VLAN ID and the DHCP server.
vid: 
Enter the ID of the VLAN, in which the hosts can dynamically get the IP addresses from 
the DHCP server.
ip-address: 
Enter the IP address of the DHCP server.
Step 6 show ip dhcp relay
Verify the configuration of DHCP Relay.
Step 7 end
Return to Privileged EXEC Mode.
Downloaded from ManualsNet.com search engine