mac
437
Example: Enable global PPPoE intermediate agent function.
Switch(config)#pppoe intermediate agent
34.3 pppoe intermediate-agent (Port)
Command: pppoe intermediate-agent
no pppoe intermediate-agent
Function: Enable PPPoE intermediate agent function of the port. The no command
disables PPPoE intermediate agent function of the port.
Parameter: None.
Command Mode: Port mode
Default: Disable PPPoE intermediate agent function of the port.
Usage Guide: After enable PPPoE IA function of the port, add vendor tag for PPPoE
packet of the port.
Note: 1. It must enable global pppoe intermediate-agent function.
2. At least one port is connected to PPPoE server, and the port mode is trust.
Example: Enable PPPoE intermediate agent function of the port ethernet 1/2.
Switch(config-if-ethernet1/2)#pppoe intermediate agent
34.4 pppoe intermediate-agent access-node-id
Command: pppoe intermediate-agent access-node-id <string>
no pppoe intermediate-agent access-node-id
Function: Configure access-node-id field value of circuit ID in the added vendor tag.
Parameter: <string>: access-node-id, the max character number is 47 bytes.
Command Mode: Global mode
Default: access-node-id as MAC address of the switch
Usage Guide: Use this configuration to create access-node-id of circuit ID in vendor tag.
circuit-id value is access-node-id +‖ eth ―+ Slot ID + delimiter + Port Index + delimiter +
Vlan ID, access-node-id occupies n bytes (n<48), ― eth ― is space + e + t + h + space,
occupy 5 bytes, Slot ID occupies 2 bytes, Port Index occupies 3 bytes, Vlan ID occupies 4
bytes, delimiter occupies 1 byte. In default state, access-node-id value of circuit-id is
switch‘s MAC, it occupies 6 bytes. For Example: MAC address is ―0a0b0c0d0e0f‖, Slot ID
is 12, Port Index is 34, Vlan ID is 567, the default circuit-id value is ―0a0b0c0d0e0f eth
12/034:0567‖.
Example: Configure access-node-id value of circuit ID as abcd in vendor tag.
Switch(config)#pppoe intermediate-agent access-node-id abcd










