#configure terminal | Enter Configure mode. |
(config)#hardware-profile filter dhcp-snoop enable | Enable the ingress DHCP-snoop TCAM group |
(config)#commit | Commit Candidate config to running-config |
(config)#hardware-profile filter dhcp-snoop disable | Disable the ingress DHCP-snoop TCAM group |
(config)#commit | Commit Candidate config to running-config |
#configure terminal | Enter Configure mode. |
(config)#hardware-profile filter dhcp-snoop-ipv6 enable | Enable the ingress DHCP-snoop-IPv6 TCAM group |
(config)#commit | Commit Candidate config to running-config |
(config)#hardware-profile filter dhcp-snoop-ipv6 disable | Disable the ingress DHCP-snoop-IPv6 TCAM group |
(config)#commit | Commit Candidate config to running-config |
#configure terminal | Enter Configure mode. |
(config)#bridge 1 protocol mstp | Create MSTP or IEEE VLAN-bridge. |
(config)#ip dhcp snooping bridge 1 | Enable DHCP Snooping on the bridge |
(config)#ip dhcp snooping arp-inspection bridge 1 | Enable DAI on bridge |
(config)#commit | Commit Candidate config to running-config |
#configure terminal | Enter Configure mode. |
(config)#vlan 2 bridge 1 | Configure a VLAN for the bridge. |
(config)#ip dhcp snooping vlan 2 bridge 1 | Enable DHCP Snooping on the VLAN 2 |
(config)#ip dhcp snooping arp-inspection vlan 2 bridge 1 | Enable DAI on VLAN |
(config)#commit | Commit Candidate config to running-config |
#configure terminal | Enter Configure mode. |
(config)#ip dhcp snooping arp-inspection validate src-mac bridge 1 | Enable SRC-MAC validate |
(config)#commit | Commit Candidate config to running-config |
(config)#no ip dhcp snooping arp-inspection validate src-mac bridge 1 | Disable SRC-MAC validate |
(config)#commit | Commit Candidate config to running-config |
(config)#ip dhcp snooping arp-inspection validate dst-mac bridge 1 | Enable DST-MAC validate |
(config)#commit | Commit Candidate config to running-config |
(config)#no ip dhcp snooping arp-inspection validate dst-mac bridge 1 | Disable DST-MAC validate |
(config)#commit | Commit Candidate config to running-config |
(config)#ip dhcp snooping arp-inspection validate ip bridge 1 | Enable IP validate |
(config)#commit | Commit Candidate config to running-config |
(config)#no ip dhcp snooping arp-inspection validate ip bridge 1 | Disable IP validate |
(config)#commit | Commit Candidate config to running-config |
#configure terminal | Enter Configure mode. |
(config)#interface xe1 | Specify the interface xe1 to be configured, and Enter interface mode |
(config-if)#switchport | Configure the interface as a switch port. |
(config-if)#bridge-group 1 | Associate the interface xe1 with bridge-group 1. |
(config-if)#switchport mode access | Configure the port as an access port |
(config-if)#switchport access vlan 2 | Bind the interface VLAN 2 to the port |
(config-if)#exit | Exit interface mode. |
(config)#interface xe2 | Specify interface xe2 to be configured connected to server. |
(config-if)#switchport | Configure the interface as a switch port |
(config-if)#bridge-group 1 | Associate interface xe2 with bridge-group 1. |
(config-if)#switchport mode access | Configure the port as an access port. |
(config-if)#switchport access vlan 2 | Bind the interface VLAN 2 to the port |
(config-if)#exit | Exit the config mode. |
(config)#commit | Commit Candidate config to running-config |
(config)#exit | Exit the config mode. |
#configure terminal | Enter Configure mode. |
(config)#interface xe1 | Specify the interface to be configured |
(config-if)#ip dhcp snooping trust | Enable the port as trusted. |
(config)#commit | Commit Candidate config to running-config |
(config)#interface xe2 | Specify the interface to be configured |
(config-if)#no ip dhcp snooping trust | Disable the port as trusted. |
(config-if)#exit | Exit interface mode |
(config)#commit | Commit Candidate config to running-config |