User Manual

Table Of Contents
vlan-ifindex : Use Circuit-ID type 2 VLAN ID, ifindex
[Parameter]
string : Desired text string (single-byte alphanumeric characters and single-byte symbols, 63 characters or
less)
[Initial value]
ip dhcp snooping information option format-type circuit-id vlan-ifindex
[Input mode]
interface mode
[Description]
Specifies the information used for Option 82 Circuit-ID.
When "vlan-port" is specified, this adds the VLAN ID that received the DHCP packet from the DHCP client, as well as the
stack number and port number.
When "string" is specified, a desired text string is added. Note that "?" cannot be included in the desired text string.
When "vlan-ifindex" is specified, this adds the VLAN ID that received the DHCP packet from the DHCP client, as well as the
interface number.
If this command is executed with the "no" syntax, the setting is returned to the default.
[Note]
This command can be specified only for VLAN interfaces.
[Example]
Adds the VLAN ID that received the DHCP packet from the DHCP client to the Circuit ID, as well as the port number
.
SWP2(config)#interface vlan1
SWP2(config-if)#ip dhcp snooping information option format-type circuit-id vlan-port
6.5.9 Option 82 Subscriber-ID settings
[Syntax]
ip dhcp snooping subscriber-id
subid
no ip dhcp snooping subscriber-id
[Parameter]
subid : Desired text string (single-byte alphanumeric characters and single-byte symbols, 50 characters or
less)
[Initial value]
None
[Input mode]
interface mode
[Description]
Sets the desired text string (1–50 characters) for the Subscriber-ID of the applicable port. Note that "?" cannot be included in the
text string.
If this command is executed with the "no" syntax, the Subscriber-ID is not added to the Option 82 information.
[Note]
This command can be specified only for the LAN/SFP ports and for logical interfaces.
This cannot be set for LAN/SFP ports that belong to a logical interface.
[Example]
This sets the Subscriber-ID for port1.1.
SWP2(config)#interface port1.1
SWP2(config-if)#ip dhcp snooping subscriber-id a_room
222 | Command Reference | Layer 2 functions