4.3.12VLAN 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.
TABLE 4-17 VLAN Commands
Command |
| Function | Mode | Page | |
|
|
|
| ||
Edit VLAN Groups |
|
|
| ||
vlan | database | Enters VLAN database mode to add, change, and | GC |
| |
|
|
| delete VLANs |
|
|
vlan |
|
| Configures a VLAN, including VID, name and state | VC |
|
Configure VLAN Interfaces |
|
| |||
interface | vlan | Enters interface configuration mode for a specified | GC | ||
|
|
| VLAN |
|
|
switchport | mode | Configures VLAN membership mode for an interface | IC | ||
switchport |
| Configures frame types to be accepted by an interface | IC | ||
|
|
| |||
types |
|
|
|
|
|
swicthport ingress- Enables ingress filtering on an interface | IC | ||||
filtering |
|
|
|
| |
switchport | native | Configures the PVID (native VLAN) of an interface | IC | ||
vlan |
|
|
|
|
|
switchport allowed | Configures the VLANs associated with an interface | IC | |||
vlan |
|
|
|
|
|
switchport | gvrp | Enables GVRP for an interface | IC | ||
switchport forbidden | Configures forbidden VLANs for an interface | IC |
| ||
vlan |
|
|
|
|
|
Display VLAN Information |
|
| |||
show | vlan |
| Shows VLAN information | NE, |
|
|
|
|
| PE |
|
show | interfaces | Displays status for the specified VLAN interface | NE, | ||
status vlan |
| PE |
| ||
show | interfaces | Displays the administrative and operational status of | NE, | ||
switchport |
| an interface | PE |
| |
|
|
|
|
|
|