beautypg.com

Ip dhcp snooping agent-option circuit, Id vlantriplet – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1450

background image

DHCP Snooping Commands

Software Reference for x310 Series Switches

56.12

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

ip dhcp snooping agent-option circuit-id vlantriplet

Use this command to specify the Circuit ID sub-option of the DHCP Relay Agent Option 82
field as the VLAN ID and port number. The Circuit ID specifies the switch port and VLAN ID
that the client-originated DHCP packet was received on.

Use the no variant of this command to set the Circuit ID to the default, the VLAN ID and
Ifindex (interface number).

Syntax

ip dhcp snooping agent-option circuit-id vlantriplet

no ip dhcp snooping agent-option circuit-id

Default

By default, the Circuit ID is the VLAN ID and Ifindex (interface number).

Mode

Interface Configuration for a VLAN interface.

Usage

The Circuit ID sub-option is included in the DHCP Relay Agent Option 82 field of
forwarded client DHCP packets:

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

To set the Circuit ID to vlantriplet for client DHCP packets received on vlan1, use
the commands:

To return the Circuit ID format to the default for vlan1, use the commands:

Related Commands

ip dhcp snooping agent-option
ip dhcp snooping agent-option remote-id
show ip dhcp snooping
show ip dhcp snooping agent-option

awplus#

configure terminal

awplus(config)#

interface vlan1

awplus(config-if)#

ip dhcp snooping agent-option circuit-id
vlantriplet

awplus#

configure terminal

awplus(config)#

interface vlan1

awplus(config-if)#

no ip dhcp snooping agent-option circuit-id