User Manual

333
Users Manual of XGS-6350-24X4C
DHCPR: DHCP packet len 300
DHCPR: send packet continue
DHCPR: receive l2 packet from vlan 3, diID: 3
DHCPR: DHCP packet len 289
DHCPR: send packet continue
DHCPR: receive l2 packet from vlan 3, diID: 1
DHCPR: DHCP packet len 300
DHCPR: update binding on interface FastEthernet0/3
DHCPR: IP address: 192.2.2.101, lease time 86400 seconds
DHCPR: send packet continue
35.1.1.14 Example of DHCP-Snooping Configuration
The network topology is shown in figure 1.
Figure 1 Configuring Switch
(1) Enable DHCP snooping in VLAN 1 which connects private network A.
Switch_config# ip dhcp-relay snooping
Switch_config#ip dhcp-relay snooping vlan 1
(2) Enable DHCP snooping in VLAN 2 which connects private network B.
Switch_config# ip dhcp-relay snooping
Switch_config# ip dhcp-relay snooping vlan 2
(3) Sets the interface which connects the DHCP server to a DHCP-trusting interface.
Switch_config_f0/1# dhcp snooping trust