CLI Reference Guide-R04

Table Of Contents
Chapter 9
| General Security Measures
DHCPv4 Snooping
– 335 –
sub-type - Distinguishes different types of circuit IDs.
sub-length - Length of the circuit ID type
access node identifier - ASCII string. Default is the MAC address of the
switchs CPU. This field is set by the ip dhcp snooping information option
command,
eth - The second field is the fixed string “eth
slot - The slot represents the stack unit for this system.
port - The port which received the DHCP request. If the packet arrives over
a trunk, the value is the ifIndex of the trunk.
vlan - Tag of the VLAN which received the DHCP request.
Note that the sub-type and sub-length fields can be enabled or disabled
using the ip dhcp snooping information option command.
The ip dhcp snooping information option circuit-id command can be
used to modify the default settings described above.
The format for TR101 option 82 is: “<IP> eth <SID>/<PORT>[:<VLAN>]”. Note
that the SID (Switch ID) is always 0. By default the PVID is added to the end of
the TR101 field for untagged packets. For tagged packets, the VLAN ID is always
added. Use the ip dhcp snooping information option remote-id tr101 no-
vlan-field command to remove the VLAN ID from the end of the TR101 field for
untagged packets. Use the no form of this command to add the PVID for
untagged packets at the end of the TR101 field.
Example
This example sets the DHCP Snooping Information circuit-id suboption string.
Console(config)#interface ethernet 1/1
Console(config-if)#ip dhcp snooping information option circuit-id string 4500
Console(config-if)#