SNR S2940-8G-v2 Switch Configuration Guide
DHCP Snooping Configuration
15. Configure DHCP Snooping option 82 attributes
Command Explanation
Global mode
ip dhcp snooping information option
subscriber-id format { hex | acsii | vs-hp }
This command is used to set subscriber-id format
of DHCP snooping option82.
ip dhcp snooping information option
remote-id { standard | <remote-id> }
no ip dhcp snooping information option
remote-id
Set the suboption2 (remote ID option) content of
option 82 added by DHCP request packets (they
are received by the port). The no command sets
the additive suboption2 (remote ID option) format
of option 82 as standard.
ip dhcp snooping information option delim-
iter [colon | dot | slash | space]
no ip dhcp snooping information option de-
limiter
Set the delimiter of each parameter for suboption
of option82 in global mode, no command restores
the delimiter as slash.
ip dhcp snooping information option self-
defined remote-id { hostname | mac | string
WORD }
no ip dhcp snooping information option self-
defined remote-id
Set creation method for option82, users can de-
fine the parameters of remote-id suboption by
themselves.
ip dhcp snooping information option self-
defined remote-id format [ascii | hex]
Set self-defined format of remote-id for snooping
option82.
ip dhcp snooping information option self-
defined subscriber-id { vlan | port | id
(switch-id (mac | hostname) | remote-mac)
| string WORD }
no ip dhcp snooping information option type
self-defined subscriber-id
Set creation method for option82, users can de-
fine the parameters of circute-id suboption by
themselves.
ip dhcp snooping information option self-
defined subscriber-id format [ascii | hex]
Set self-defined format of circuit-id for snooping
option82.
Port mode
ip dhcp snooping information option
subscriber-id { standard | <circuit-id> }
no ip dhcp snooping information option
subscriber-id
Set the suboption1 (circuit ID option) content of
option 82 added by DHCP request packets (they
are received by the port). The no command sets
the additive suboption1 (circuit ID option) format
of option 82 as standard.
Globe mode
ip dhcp snooping information option allow-
untrusted (replace|)
no ip dhcp snooping information option
allow-untrusted (replace|)
This command is used to set that allow untrusted
ports of DHCP snooping to receive DHCP pack-
ets with option82 option. When the 'replace' is
setting, the potion82 option is allowed to replace.
When disabling this command, all untrusted ports
will drop DHCP packets with option82 option.
255