You can use various
show commands to view information about DHCP option 82 processing.
Use one of the following commands to view
DHCP option 82 processing. The commands do not need to be entered in the order shown.
Enter the
show ip dhcp relay information command to display information about the Circuit ID, Remote ID, and forwarding policy
for DHCP Option 82.
device(config)# show ip dhcp relay information
Relay Agent Information: format: Circuit-ID: vlan-port
Remote-ID : stack mac
Policy : replace
Enter the show ip dhcp snooping vlan
command to display information about the trusted ports, untrusted ports, and ports
on
which DHCP option 82 is disabled.
device# show ip dhcp snooping vlan 1
IP DHCP snooping VLAN 1: Enabled
Trusted Ports : ethe 3
Untrusted Ports : ethe 1 to 2 ethe 4 to 24
Relay Info. disabled Ports: ethe 10
Enter the show interfaces ethernet
command to display detailed interface information, including whether the Relay
Agent Information option is enabled and any defined sub-options.
device# show interfaces ethernet 1/1/1
GigabitEthernet1/1/1 is up, line protocol is up
Port up for 40 minutes 10 seconds
Hardware is GigabitEthernet, address is 0000.0000.0002 (bia 0000.0000.0002)
Configured speed auto, actual 1Gbit, configured duplex fdx, actual fdx
Configured mdi mode AUTO, actual MDI
Member of L2 VLAN ID 1, port is untagged, port state is FORWARDING
BPDU guard is Disabled, ROOT protect is Disabled
Link Error Dampening is Disabled
STP configured to ON, priority is level0
Flow Control is config enabled, oper enabled, negotiation disabled
mirror disabled, monitor disabled
Not member of any active trunks
Not member of any configured trunks
No port name
IPG MII 96 bits-time, IPG GMII 96 bits-time
IP MTU 1500 bytes
300 second input rate: 0 bits/sec, 0 packets/sec, 0.00% utilization
300 second output rate: 264 bits/sec, 0 packets/sec, 0.00% utilization
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 multicasts, 0 unicasts
0 input errors, 0 CRC, 0 frame, 0 ignored
0 runts, 0 giants
0 packets output, 0 bytes, 0 underruns
Transmitted 0 broadcasts, 0 multicasts, 0 unicasts
0 output errors, 0 collisions
Relay Agent Information option: Enabled, Subscriber-ID: Ruckus001
The output shows that DHCP option 82 is
enabled on the device and the configured Subscriber ID is Ruckus001.
Note: The port up or down time is required only
for physical ports and not for loopback, VE, or tunnel ports.