
3-12 AR400 Series Router Software Reference
Software Release 2.6.6
C613-03079-00 REV A
Every port must belong to a VLAN. By default, all ports belong to the default
VLAN as untagged ports.
To add tagged ports to a VLAN, use the command:
ADD VLAN={vlan-name|1..4094} PORT={port-list|ALL}
FRAME=TAGGED
A port can be tagged for any number of VLANs.
To add untagged ports to a VLAN, use the command:
ADD VLAN={vlan-name|1..4094} PORT={port-list|ALL}
[FRAME=UNTAGGED]
A port can be untagged for zero or one VLAN. A port can only be added to the
default VLAN as an untagged port if it is not untagged for another VLAN. A
port cannot transmit both tagged and untagged frames for the same VLAN
(that is, it cannot be added to a VLAN as both a tagged and an untagged port).
To remove ports from a VLAN, use the command:
DELETE VLAN={vlan-name|1..4094} PORT={port-list|ALL}
Removing an untagged port from a VLAN return it to the default VLAN,
unless it is a tagged port for another static VLAN. An untagged port can only
be deleted from the default VLAN when the port is a tagged port for another
static VLAN.
Ports tagged for some VLANs and left in the default VLAN as untagged ports transmit
broadcast traffic for the default VLAN. If this is not required, the unnecessary traffic in
the router can be reduced by deleting those ports from the default VLAN.
To change the tagging status of a port in a VLAN, use the command:
SET VLAN={vlan-name|1..4094} PORT={port-list|ALL}
FRAME=TAGGED
To destroy a VLAN, use the command:
DESTROY VLAN={vlan-name|2..4094|ALL}
VLANs can only be destroyed if no ports belong to them.
To display the VLANs configured on the router, use the command:
SHOW VLAN[={vlan-name|1..4094|ALL}]
Information which may be useful for trouble-shooting a network is displayed
with the VLAN debugging mode. This is disabled by default, and can be
enabled for a specified time, disabled, and displayed using the commands:
ENABLE VLAN={vlan-name|1..4094|ALL} DEBUG={PKT|ALL}
[OUTPUT=CONSOLE] [TIMEOUT={1..4000000000|NONE}]
DISABLE VLAN={vlan-name|1..4094|ALL} DEBUG={PKT|ALL}
SHOW VLAN DEBUG
To view packet reception and transmission counters for a VLAN, use the
command:
SHOW INTERFACE=VLANn COUNTER
See the show interface command on page 5-63 of Chapter 5, Interfaces.
Comentarios a estos manuales