CLI Reference Guide-R04

Table Of Contents
Chapter 9
| General Security Measures
DHCPv4 Snooping
– 330 –
mac-address - Inserts a MAC address in the remote ID sub-option for the
DHCP snooping agent (that is, the MAC address of the switchs CPU).
ip-address - Inserts an IP address in the remote ID sub-option for the DHCP
snooping agent (that is, the IP address of the management interface).
encode - Indicates encoding in ASCII or hexadecimal.
string - An arbitrary string inserted into the remote identifier field.
(Range: 1-32 characters)
tr101 node-identifier - The remote ID generated by the switch is based on
TR-101 syntax (R-124, Access_Node_ID).
ip - Specifies the switchs IP address as the node identifier.
sysname - Specifies the system name as the node identifier.
tr101 no-vlan-field - Do not add “:VLAN” in TR101 field for untagged
packets.
Default Setting
MAC address: hexadecimal
tr101 no-vlan-field: disabled
Command Mode
Global Configuration
Command Usage
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 remote ID to the switchs IP address.
Console(config)#ip dhcp snooping information option remote-id tr101
node-identifier ip
Console(config)#
ip dhcp snooping
information option
tr101 board-id
This command sets the board identifier used in Option 82 information based on
TR-101 syntax. Use the no form to remove the board identifier.
Syntax
ip dhcp snooping information option tr101 board-id board-id
no ip dhcp snooping information option tr101 board-id