Switchport Trunk Allowed Vlan - ADTRAN AOS Version R10.1.0 Command Reference Manual

Adtran operating system (aos)
Table of Contents

Advertisement

Command Reference Guide

switchport trunk allowed vlan

Use the switchport trunk allowed vlan command to allow certain virtual local area networks (VLANs) to
transmit and receive traffic on this port when the interface is in trunking mode. To return to defaults, use
the no form of this command. Variations of this command include:
switchport trunk allowed vlan <list>
switchport trunk allowed vlan add <list>
switchport trunk allowed vlan all
switchport trunk allowed vlan except <list>
switchport trunk allowed vlan none
switchport trunk allowed vlan remove <list>
Syntax Description
<list>
add
all
except
none
remove
Default Values
By default, all valid VLANs are allowed.
Command History
Release 5.1
Functional Notes
A VLAN list is a set of VLAN IDs delimited by commas. A valid VLAN ID value must be from 1 through
4094. A range of IDs may be expressed as a single element by using a hyphen between endpoints. For
example, the VLAN ID range 1,2,3,4,6,7,8,9,500 may be more easily expressed as 1-4,6-9,500. No spaces
are allowed in a valid ID range.
Usage Examples
The following example adds VLANs to the previously existing list of VLANs allowed to transmit and receive
on this port:
(config)#interface ethernet 0/1
(config-eth 0/1)#switchport trunk allowed vlan add 1-4,6-9,500
60000CRG0-35E
Specifies a list of valid VLAN interface IDs. Refer to Functional Notes below.
Adds the specified VLAN IDs to the VLAN trunking allowed list.
Adds all configured VLAN IDs to the VLAN trunking allowed list.
Adds all configured VLAN IDs to the VLAN trunking allowed list except
those specified in the <vlan id list>.
Adds no VLAN IDs to the VLAN trunking allowed list.
Removes VLAN IDs from the VLAN trunking allowed list.
Command was introduced.
Copyright © 2012 ADTRAN, Inc.
Ethernet Interface Command Set
1728

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for ADTRAN AOS Version R10.1.0

This manual is also suitable for:

Aos r10.1.0

Table of Contents