User's Manual
338
GigaEthernet0/11
The following shows the binding information about dhcp-relay snooping:
switch#show ip dhcp-relay snooping binding
Hardware Address IP Address remainder time Type VLAN interface
00-e0-0f-26-23-89 192.2.2.101 86400 DHCP_SN 3
GigaEthernet0/3
The following shows the binding information about dhcp-relay snooping:
switch#show ip dhcp-relay snooping binding all
Hardware Address IP Address remainder time Type VLAN interface
00-e0-0f-32-1c-59 192.2.2.1 infinite MANUAL 1
GigaEthernet0/2
00-e0-0f-26-23-89 192.2.2.101 86400 DHCP_SN 3
GigaEthernet0/3
The following shows the information about dhcp-relay snooping.
switch#debug ip dhcp-relay all
DHCPR: receive l2 packet from vlan 3, diID: 3
DHCPR: DHCP packet len 277
DHCPR: add binding on interface GigaEthernet0/3
DHCPR: send packet continue
DHCPR: receive l2 packet from vlan 3, diID: 1
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 GigaEthernet0/3
DHCPR: IP address: 192.2.2.101, lease time 86400 seconds
DHCPR: send packet continue
44.1.17 Example of DHCP Snooping Configuration
The network topology is shown in figure 1.