Switchport trunk allowed vlan rspan-vlan, Chport trunk allowed vlan rspan-vlan, vla, Chport trunk allowed vlan rspan-vlan, sw – Brocade Network OS Command Reference v4.1.0 User Manual
Page 1326: Witchport trunk allowed vlan rspan-vlan, s

1288
Network OS Command Reference
53-1003115-01
switchport trunk allowed vlan rspan-vlan
2
switchport trunk allowed vlan rspan-vlan
Adds or removes VLANs on a Layer 2 interface in trunk mode.
Synopsis
switchport trunk allowed {vlan | rspan-vlan} {add vlan_id {ctag {id | ctag-range} | all |
except vlan_id | none | remove vlan_id}
Operands
add vlan_id
Adds a VLAN to transmit and receive through the Layer 2 interface. The
VLAN can be an 802.1Q VLAN, an RSPAN VLAN, or a transport VLAN. Refer
to the Usage Guidelines.
all
Allows only802.1Q VLANs to transmit and receive through the Layer 2
interface. This keyword does not apply to classified or transport VLANs.
ctag
Specifies an incoming C-TAG or range of C-TAGs for classified or transport
VLANs in a Virtual Fabrics context.
id
C-TAG ID.
range
Range of C-TAG IDs, for example, 100-200, or 10,20,100-200) (applicable
only if the VLAN is a transport VLAN.
except vlan_id
Allows only802.1Q VLANs except the specified VLAN ID to transmit and
receive through the Layer 2 interface. Refer to the Usage Guidelines.
none
Allows only802.1Q VLANs to transmit and receive through the Layer 2
interface. This keyword does not apply to service or transport VFs in a
Virtual Fabrics context.
rspan-vlan vlan_id
Selects a VLAN for Remote Switched Port Analyzer (RSPAN) traffic
monitoring.
remove vlan_id
Removes a VLAN that transmits and receives through the Layer 2 interface.
Refer to the Usage Guidelines.
Defaults
None
Command Modes
Interface subtype configuration mode
Description
Use this command to set the VLANs that will transmit and receive through the Layer 2 interface.
Usage Guidelines
On the Brocade VDX family of switches, VLANs are treated as interfaces from a configuration point
of view. By default, all the DCB ports are assigned to VLAN 1 (VLAN ID equals 1). Valid VLAN IDs
are as follows:
•
On Brocade VDX 8770 switches: 1 through 4086 for 802.1Q VLANs (VLAN IDs 4087
through 4095 are reserved on these switches), and 4096 through 8191 for service or
transport VFs in a Virtual Fabrics context.
On all other Brocade VDX switches: 1 through 3962 for 802.1Q VLANs (VLAN IDs 3963
through 4095 are reserved on these switches)., and 4096 through 8191 for service or transport
VFs in a Virtual Fabrics context.For service or transport VFs (VLAN ID 4096 through 8191), the
C-TAG cannot be a default VLAN, a reserved VLAN, and FCoE VLAN, or an internal control VLAN.
A transport VF C-TAG can be any VLAN ID that is not used in other classifications or as a 802.1Q
VLAN.
Examples
To add the tagged VLAN 100 to a specific 10-gigabit Ethernet interface: