7-6
dhcp-snooping information remote-id string
Syntax
dhcp-snooping information
[
vlan vlan-id
]
remote-id string
{
remote-id
|
sysname
}
undo dhcp-snooping information
[
vlan vlan-id
]
remote-id string
View
Layer 2 Ethernet port view
Default Level
2: System level
Parameters
vlan
vlan-id
: Specifies a VLAN ID, in the range of 1 to 4094.
remote-id
: Padding content for the user-defined circuit ID sub-option, a case-sensitive string of 1 to 63
characters.
sysname
: Specifies the device name as the padding content for the remote ID sub-option.
Description
Use the
dhcp-snooping information remote-id string
command to configure the padding content for
the user-defined remote ID sub-option.
Use the
undo dhcp-snooping information remote-id string
command to restore the default.
By default, the padding content for the remote ID sub-option depends on the padding format of Option
82.
Note that:
z
After you configure the padding content for the remote ID sub-option using this command, ASCII
is adopted as the code type.
z
If a VLAN is specified, the configured remote ID sub-option only takes effect within the VLAN; if no
VLAN is specified, the configured remote ID sub-option takes effect in all VLANs. The former case
has a higher priority; that is, the remote ID sub-option configured for a VLAN will be padded for the
packets within the VLAN.
Related commands:
dhcp-snooping information format
.
If you want to specify the character string
sysname
(a case-insensitive character string) as the
padding content for the remote ID sub-option, you need to use quotation marks to make it take effect.
For example, if you want to specify
Sysname
as the padding content for the remote ID sub-option, you
need to enter the
dhcp relay information remote-id string
“Sysname” command.
Examples
# Configure the padding content for the remote ID sub-option as
device001
.
Содержание E4510-48G
Страница 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Страница 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Страница 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Страница 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Страница 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Страница 857: ...iii 7 Track Configuration Commands 7 1 Track Configuration Commands 7 1 display track 7 1 track nqa 7 2 ...
Страница 914: ...5 17 Sysname reset oam ...
Страница 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Страница 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...