mac

Commands for PPPoE Intermediate Agent
498
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, it
occupies 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
After port ethernet1/3 of vlan3 receives PPPoE packets, circuit-id value of the added
vendor tag is ”abcd eth 01/003:0003”.
47.12 pppoe intermediate-agent type tr-101 circuit-id
identifier-string option delimiter
Command: pppoe intermediate-agent type tr-101 circuit-id identifier-string <string>
option {sp | sv | pv | spv} delimiter <WORD> [delimiter <WORD>]
no pppoe intermediate-agent type tr-101 circuit-id identifier-string
option delimiter
Function: Configure circuit-id of the added vendor tag with tr-101 standard, the no
command deletes this configuration.
Parameter: <string>: identifier-string, the max character number is 47 bytes.
{sp | sv | pv | spv}: This option can select the combination format for slot,
port, vlan, sp means slot and port, sv means slot and vlan, pv means port and vlan, spv
means slot, port and vlan.
<WORD>: The delimiter between slot, port and vlan, the range is (# | . | , | ; | :
| / | space). Note: There are two delimiter WORDs in spv combo mode, the first between
slot and port, the second between port and vlan.
Command Mode: Global mode
Default: This configuration is null.
Usage Guide: This command is used to configure global circuit id, the priority is higher
than pppoe intermediate-agent access-node-id command. 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, it occupies 5
bytes, Slot ID occupies 2 bytes, Port Index occupies 3 bytes, Vlan ID occupies 4 bytes,
delimiter occupies 1 byte.
Example: Configure access-node-id as xyz, use spv combination mode, delimiter with