Switchport Forbidden Vlan - Alcatel OS-LS-6224 User Manual

User guide
Hide thumbs Also See for OS-LS-6224:
Table of Contents

Advertisement

4
Command Line Interface
Related Commands
switchport mode
switchport access vlan
switchport trunk allowed vlan
switchport trunk native vlan
switchport general allowed vlan
switchport general pvid
switchport general ingress-filtering disable

switchport forbidden vlan

show interfaces switchport
switchport access multicast-tv vlan
switchport forbidden vlan
The switchport forbidden vlan Interface Configuration mode command forbids
adding specific VLANs to a port. To return to the default configuration, use the
remove parameter for this command.
Syntax
switchport forbidden vlan {add vlan-list | remove vlan-list}
Parameters
• add vlan-list — Specifies the list of VLAN IDs to be added. Separate
nonconsecutive VLAN IDs with a comma and no spaces. A hyphen
designates a range of IDs.
• remove vlan-list — Specifies the list of VLAN IDs to be removed. Separate
nonconsecutive VLAN IDs with a comma and no spaces. A hyphen
designates a range of IDs.
Default Setting
All VLANs are allowed.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
Command Usage
This command can be used to prevent GVRP from automatically making the
specified VLANs active on the selected ports.
Example
The following example forbids adding VLAN IDs 234 to 256 to Ethernet port 1/e16.
Console(config)# interface ethernet 1/e16
Console(config-if)# switchport forbidden vlan add 234-256
688

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents