terminal-vlan
This command allows adding a new terminal-vlan to the system.
The use of the negative form of the command (no) removes the specified VLAN.
Syntax
terminal-vlan <NAME>
no terminal-vlan <NAME>
Parameters
<NAME> – terminal-vlan name.
Command mode
CONFIG
Example
ma4000(config)# terminal-vlan INTERNET
show terminal-vlan
This command allows to view the list of terminal VLAN of the system.
Syntax
show terminal-vlan
Parameters
Command contains no arguments.
Command mode
ROOT
Example
ma4000(config)# show terminal-vlan ## Name 1 t-111 2 t-222 3 INTERNET
vlan
This command allows you to add a new VLAN and go to its configuration mode.
The use of the negative form of the command (no) removes the specified VLAN.
Syntax
[no] vlan <VID>
Parameters
<VID> – VLAN ID, may take values [1 .. 4094]. You may specify the list of numbers using comma ( , ) or specify the range using hyphen ( - ).
Command mode
CONFIG
Example
Adding VLANs with numbers 1, 6-10.
ma4000(config)# vlan 1,6-10 ma4000(vlan-1,6-10)#
Deletion of VLAN with number 6.
ma4000(config)# no vlan 6
name
This command assigns a name to the VLAN being configured.
This command is not available when configuring several VLANs at once.
Default name is VLAN <VLAN ID>.
Syntax
name <NAME>
Parameters
<NAME> – VLAN name , string up to 32 characters.
Command mode
VLAN
Example
ma4000(vlan-2)# name test
VLAN 2 is named 'test'.
tagged
This command allows you to add a tagging port to the VLAN group.
All packets sent via this port will be transmitted with a tag.
Syntax
tagged <INTERFACE> <RANGE>
Parameters
<INTERFACE> – interface type: front-port; plc-front-port; plc-pon-port; plc-slot-channel; port-channel; slot-channel. The description of interfaces is given in Table 4.1.
<RANGE> – interface number. The range of values and numbering rules are described in Table 4.1. If the value 'all' is specified, all interfaces of the specified type will be specified in the command.
You may specify the list of numbers using comma ( , ) or specify the range using hyphen ( - ).
Command mode
VLAN
Example
ma4000(vlan-100)# tagged front-port 1/0
Uplink port with serial number 0 of PP4X 1 module is added to the current VLAN as a tagging port.
untagged
This command allows you to add a port to the VLAN group through which packets will be transmitted without adding a tag.
Syntax
untagged <INTERFACE> <RANGE>
Parameters
<INTERFACE> – interface type: front-port; plc-front-port; plc-pon-port; plc-slot-channel; port-channel; slot-channel. The description of interfaces is given in Table 4.1.
<RANGE> – interface number. The range of values and numbering rules are described in Table 4.1. If the value 'all' is specified, all interfaces of the specified type will be specified in the command.
You may specify the list of numbers using comma ( , ) or specify the range using hyphen ( - ).
Command mode
VLAN
Example
ma4000(vlan-100)# untagged front-port 1/1
Uplink port with serial number 1 of PP4X first module is added to the current VLAN as a untagging port. Packets will be transmitted through this port without changes.
forbidden
This command allows you to remove a port from the VLAN group.
Syntax
forbidden <INTERFACE> <RANGE>
Parameters
<INTERFACE> – interface type: front-port; plc-front-port; plc-pon-port; plc-slot-channel; port-channel; slot-channel. The description of interfaces is given in Table 4.1.
<RANGE> – interface number. The range of values and numbering rules are described in Table 4.1. If the value 'all' is specified, all interfaces of the specified type will be specified in the command.
You may specify the list of numbers using comma ( , ) or specify the range using hyphen ( - ).
Command mode
VLAN
Example
ma4000(vlan-100)# forbidden front-port 0
Uplink-port 0 is removed from the current VLAN group.
show interface vlans
This command is used to view information about VLAN parameters on a given interface/group of interfaces.
Syntax
show interfaces <INTERFACE> <RANGE> vlans
Parameters
<INTERFACE> – interface type: front-port; gpon-port; ont; plc-front-port; plc-mgmt-pon-port; plc-pon-port; plc-slot-port; port-channel; slot-channel; slot-port; stack-channel; stack-port. The description of interfaces is given in Table 4.1.
<RANGE> – interface number. The range of values and numbering rules are described in Table 4.1. If the value 'all' is specified, all interfaces of the specified type will be specified in the command.
You may specify the list of numbers using comma ( , ) or specify the range using hyphen ( - ).
Command mode
ROOT
Example
ma4000# show interface front-port 1/0 vlans VLAN Table ~~~~~~~~~~ Ingress Interface PVID Frame types filtering VLAN tag VLAN untag ----------------- ---- ------------- --------- ----------- ----------- front-port 1/0 1 All yes 200 1 N/A – interface doesn't exist N/S – interface is not a 802.1Q bridge port ERR – can't get vlan setting for interface
show vlan
This command allows to view VLANs that are registered on the device.
Syntax
show vlan <VID>
Parameters
<VID> – VLAN ID, may take values [1 .. 4094]. You may specify the list of numbers using comma ( , ) or specify the range using hyphen ( - ).
Command mode
ROOT
Example
ma4000# show vlan 1-5 Vlans: ~~~~~~ VID Name Tagged Untagged ---- -------------------- ------------------------------ --------------------------- 1 VLAN0001 slot-channel 0 (M) front-port 1/0 (S) slot-channel 1 (M) front-port 1/1 (S) slot-channel 2 (M) front-port 1/2 (S) slot-channel 3 (M) front-port 1/3 (S) slot-channel 4 (M) front-port 1/4 (S) slot-channel 5 (M) front-port 1/5 (S) slot-channel 6 (M) front-port 2/0 (S) slot-channel 7 (M) front-port 2/1 (S) slot-channel 8 (M) front-port 2/2 (S) slot-channel 9 (M) front-port 2/3 (S) slot-channel 10 (M) front-port 2/4 (S) slot-channel 11 (M) front-port 2/5 (S) slot-channel 12 (M) – slot-channel 13 (M) – slot-channel 14 (M) – slot-channel 15 (M) – plc-front-port 0/0 (D) plc-mgmt-pon-port 0/0 (D) plc-pon-port 0/0 (D) plc-mgmt-pon-port 0/1 (D) plc-pon-port 0/1 (D) – plc-pon-port 0/2 (D) – plc-pon-port 0/3 (D) – plc-pon-port 0/4 (D) – plc-pon-port 0/5 (D) – plc-pon-port 0/6 (D) – plc-pon-port 0/7 (D) – plc-slot-channel 0/0 (D) – ---- -------------------- ------------------------------ --------------------------- Membership type: (S) – static, (D) – dynamic, (M) – slot-channels in management vlan
gpon network cvlan-ethertype
This command allows you to set the ETHERTYPE value for the inner VLAN for DHCP/PPPoE upstream packets generated by the corresponding L3 agent on the OLT.
The use of a negative form (no) of the command sets the ethertype 0x8100 value.
Syntax
gpon network cvlan-ethertype <ETHERTYP>
no gpon network cvlan-ethertype
Parameters
<ETHERTYP> – ETHERTYPE for QinQ packets, assigned on inner VLAN, may take values [<0x0000-0xFFFF>].
Command mode
CONFIG
Example
ma4000# gpon network cvlan-ethertype 0x8100
gpon network svlan-ethertype
This command allows you to set the ETHERTYPE value for the outer VLAN for DHCP/PPPoE upstream packets generated by the corresponding L3 agent on the OLT.
The use of a negative form (no) of the command sets the ethertype 0x8100 value.
Syntax
gpon network svlan-ethertype <ETHERTYP>
no gpon network svlan-ethertype
Parameters
<ETHERTYP> – ETHERTYPE for packets, assigned on outerVLAN, may take values [<0x0000-0xFFFF>].
Command mode
CONFIG
Example
ma4000# gpon network svlan-ethertype 0x8100
show gpon network
This command allows you to view the lifetime of the MAC table, the ETHERTYPE value for the inner/outer VLAN DHCP/PPPoE upstream packets generated by the corresponding L3 agents on the OLT.
Syntax
show gpon network
Parameters
Command contains no arguments.
Command mode
ROOT
Example
ma4000# show gpon network Network: Mac age time: 1200 S-VLAN ethertype: 0x8100 C-VLAN ethertype: 0x8100