VLAN COMMANDS
VLAN Commands
A VLAN is a group of ports that can be located anywhere in the network, but communicate as though they belong to the same physical segment. This section describes commands used to create VLAN groups, add port members, specify how VLAN tagging is used, and enable automatic VLAN registration for the selected interface.
Command | Function | Mode | Page |
|
|
|
|
Edit VLAN Groups |
|
|
|
|
|
|
|
vlan database | Enters VLAN database mode to add, | GC | |
| change, and delete VLANs |
|
|
|
|
|
|
vlan | Configures a VLAN, including VID, | VC | |
| name and state |
|
|
|
|
|
|
Configure VLAN Interfaces |
|
| |
|
|
|
|
interface vlan | Enters interface configuration mode for | IC | |
| a specified VLAN |
|
|
|
|
|
|
switchport mode | Configures VLAN membership mode for | IC | |
| an interface |
|
|
|
|
|
|
switchport | Configures frame types to be accepted | IC | |
by an interface |
|
| |
types |
|
|
|
|
|
|
|
switchport | Enables ingress filtering on an interface | IC | |
|
|
| |
|
|
|
|
switchport native | Configures the PVID (native VLAN) of | IC | |
vlan | an interface |
|
|
|
|
|
|
switchport | Configures the VLANs associated with | IC | |
allowed vlan | an interface |
|
|
|
|
|
|
switchport gvrp | Enables GVRP for an interface | IC | |
|
|
|
|
switchport | Configures forbidden VLANs for an | IC | |
forbidden vlan | interface |
|
|
|
|
|
|