C613-50170-01 Rev B
Command Reference for x510 Series
2009
AlliedWare Plus™ Operating System - Version 5.4.7-1.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 (
command; enabled by default), and
•
DHCP snooping is enabled on the switch (
) and on the
VLAN to which the port belongs (
)
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
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.