BelAir20E User Guide
Ethernet or LAN Interface Settings
April 2, 2012
Confidential
Document Number BDTM02201-A01 Standard
VLAN Conversion
/interface/eth-<n>-<m>/show pvid
/interface/eth-<n>-<m>/set pvid {<vlan_id>|untagged}
/interface/eth-<n>-<m>/set reverse-pvid {<vlan_id>|untagged}
/interface/lan-<n>/show pvid
/interface/lan-<n>/set pvid {<vlan_id>|untagged}
/interface/lan-<n>/set reverse-pvid {<vlan_id>|untagged}
These commands let you convert the VLAN tagging of traffic entering or leaving
the Ethernet or LAN port of an egress node:
• The
set pvid
command applies when traffic between BelAir nodes uses
VLAN IDs and these VLAN IDs must be removed before the traffic leaves
the node through the Ethernet or LAN port to the external network. If you
use the
set pvid
command and specify a VLAN ID, untagged VLAN packets
coming from external network through the Ethernet or LAN port are
converted to tagged packets with the specified VLAN ID before they are
sent to the BelAir nodes. Similarly, packets that are tagged with the specified
VLAN ID are sent to the external network through Ethernet or LAN port
as untagged VLAN packets.
• The
set reverse-pvid
command applies when traffic between BelAir nodes is
untagged and must be tagged with a VLAN ID before it leaves the node
through the Ethernet or LAN port to the external network. If you use the
set reverse-pvid
command and specify a VLAN ID, untagged VLAN packets
coming from BelAir Nodes are converted to tagged packets with the
specified VLAN ID before they are sent through the Ethernet or LAN port
to the external network. Similarly, packets that are tagged with the specified
VLAN ID arriving from the external network through the Ethernet or LAN
port are converted to untagged packets before being sent to the BelAir
nodes.
If you specify the keyword
untagged
instead of VLAN ID, then packets are not
converted as they enter or leave the Ethernet or LAN port of the egress node.
The default setting is
untagged
.
VLAN Filtering
/interface/eth-<n>-<m>/show vlans
/interface/eth-<n>-<m>/add vlan {<vlan_id>|untagged}
/interface/eth-<n>-<m>/delete vlan {<vlan_id>|untagged}
/interface/lan-<n>/show vlans
/interface/lan-<n>/add vlan {<vlan_id>|untagged}
/interface/lan-<n>/delete vlan {<vlan_id>|untagged}
You can create a list containing up to four VLAN IDs to control which traffic
enters or leaves the Ethernet or LAN port of an egress node. Only packets that
are tagged with a VLAN ID in the list are allowed to enter or leave the Ethernet
or LAN port of the egress node.