The dhcp-snooping information format command applies only to the default content of the Option 82 field. If you have configured the circuit ID or remote ID sub-option, the format of the sub-option is ASCII, instead of the one specified with the dhcp-snooping information format command.

Configure the circuit ID sub-option

Follow these steps to configure the circuit ID sub-option:

 

 

To do…

Use the command…

Remarks

 

 

 

Enter system view

system-view

 

 

 

 

 

 

 

 

 

Enter Ethernet port view

interface interface-type

 

 

 

 

interface-number

 

 

 

 

 

 

Optional

 

 

 

Configure the circuit ID

dhcp-snooping information

By default, the circuit ID sub-option

 

 

 

[ vlan vlan-id] circuit-id string

contains the VLAN ID and port index

 

 

 

sub-option in Option 82

 

 

 

string

related to the port that receives DHCP

 

 

 

 

 

 

 

 

 

request packets from DHCP clients

 

 

 

 

 

 

 

 

 

 

 

 

 

z

z

In a port aggregation group, you can use this command to configure the primary and member ports respectively. When Option 82 is added, however, the circuit ID sub-option is subject to the one configured on the primary port.

The circuit ID sub-option configured on a port will not be synchronized in the case of port aggregation.

Configure the remote ID sub-option

You can configure the remote ID sub-option in system view or Ethernet port view:

z

z

In system view, the remote ID takes effect on all interfaces. You can configure Option 82 as the system name (sysname) of the device or any customized character string in the ASCII format.

In Ethernet port view, the remote ID takes effect only on the current interface. You can configure Option 82 as any customized character string in the ASCII format for different VLANs. That is to say, you can add different configuration rules for packets from different VLANs.

Follow these steps to configure the remote ID sub-option in Option 82:

3-8

Page 334
Image 334
3Com WX3000 Configure the circuit ID sub-option, Configure the remote ID sub-option, Vlan vlan-id circuit-id string