ip dhcp snooping information option bridge

Use this command to insert interface and VLAN name in the option 82 field in DHCPClosed Dynamic Host Configuration Protocol packets.

Use the no form of this command to disable inserting option 82 information in DHCP packets.

This command enables both the DHCPv4 and DHCPv6 functionality.

Command Syntax

Copy

 ip dhcp snooping information option bridge <1-32>
 no ip dhcp snooping information option bridge <1-32>

Parameters

<1-32>

Bridge number

Default

By default option 82 information insertion is disabled.

Command Mode

Configure mode

Applicability

This command was introduced in OcNOS version 5.0.

Example

Copy
configure terminal
(config)# bridge 1 protocol mstp
(config)#ip dhcp snooping bridge 1
(config)#vlan 2 bridge 1 state enable
(config)#ip dhcp snooping vlan 2 bridge 1
(config)#ip dhcp information option bridge 1