C613-50066-01 REV A
Command Reference for IE200 Series Industrial Managed PoE+ Switches
1071
AlliedWare Plus™ Operating System - Version 5.4.5I-0.x
DHCP S
NOOPING
C
OMMANDS
IP
DHCP
SNOOPING
SUBSCRIBER
-
ID
ip dhcp snooping subscriber-id
Overview
Use this command to set a Subscriber ID for the ports.
Use the
no
variant of this command to remove Subscriber IDs from the ports.
Syntax
ip dhcp snooping subscriber-id [<
sub-id
>]
no ip dhcp snooping subscriber-id
Default
No Subscriber ID.
Mode
Interface Configuration (port)
Usage
The Subscriber ID sub-option is included in the DHCP Relay Agent Option 82 field
of client DHCP packets forwarded from a port if:
•
a Subscriber ID is specified for the port using this command, and
•
DHCP snooping Option 82 information insertion is enabled (
ip dhcp
snooping agent-option
command; enabled by default), and
•
DHCP snooping is enabled on the switch (
service dhcp-snooping
) and on the
VLAN to which the port belongs (
ip dhcp snooping
)
Examples
To set the Subscriber ID for port 1.0.3 to
room_534
, use the commands:
awplus#
configure terminal
awplus(config)#
interface port1.0.3
awplus(config-if)#
ip dhcp snooping subscriber-id room_534
To remove the Subscriber ID from port 1.0.3, use the commands:
awplus#
configure terminal
awplus(config)#
interface port1.0.3
awplus(config-if)#
no ip dhcp snooping subscriber-id
Related
Commands
ip dhcp snooping agent-option
show ip dhcp snooping interface
Parameter
Description
<
sub-id
>
The Subscriber ID; an alphanumeric (ASCII) string 1 to 50 characters in
length. If the Subscriber ID contains spaces, it must be enclosed in
double quotes. Wildcards are not allowed.