User's Manual

Table Of Contents
355
Users Manual of CS-6306R
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