API Guide

The following output shows that the DHCP snooping switches (VLT peers) snooped DHCP messages. The interface column
displays the local VLT port channel number.
OS10# show ip dhcp snooping binding
Number of entries : 1
Codes : S - Static D - Dynamic
IPv4 Address MAC Address Expires(Sec) Type Interface VLAN
=======================================================================================
10.1.1.2 14:18:77:0d:05:e9 3600 D port-channel10 vlan100
DHCP snooping with DHCP relay agent in a VLT setup
In this VLT setup, DHCP clients on the virtual machine are connected to SW1 and SW2 and acquire IP addresses from the DHCP
server. The VLAN of both the client and the DHCP server is in the default VRF on SW 1 and SW 2.
SW 1
DHCP snooping configuration
Enable DHCP snooping globally.
OS10(config)# ip dhcp snooping
VLAN configuration
Create a VLAN and assign an IP address to it which acts as the gateway for the VMs.
OS10# configure terminal
OS10(config)# interface vlan 100
OS10(conf-if-vl-100)# no shutdown
OS10(conf-if-vl-100)# ip address 10.1.1.1/24
OS10(conf-if-vl-100)# exit
System management
221