beautypg.com

Ip dhcp snooping subscriber-id, Ip dhcp snooping subscriber-id [

Page 1457

background image

DHCP Snooping Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

56.19

ip dhcp snooping subscriber-id

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 on page 56.10

; 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

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.