Switch VLAN Commands Flashcards
Global config command that both creates the VLAN and puts the CLI into VLAN configuration mode
vlan (vlan-id)
VLAN subcommand that names the VLAN
name (vlan-name)
VLAN mode subcommand that enables (no shutdown) or disables (shutdown) the VLAN
(no) shutdown
Global config command. Has the same effect as the no shutdown VLAN mode subcommands.
(no) shutdown vlan (vlan-id)
Interface subcommand that configures the trunking administrative mode on the interface.
switchport mode (access/dynamic/auto/desirable/trunk)
Interface subcommand that statically configures the interface into that one VLAN
switchport access vlan (vlan-id)
Interface subcommand that defines which type of trunking to use, assuming that trunking is configured or negotiated.
switchport trunk encapsulation (dot1q/isl/negotiate)
Interface subcommand that defines the native VLAN for a trunk port.
switchport trunk native vlan (vlan-id)
switchport nonegotiate
Interface subcommand that disables the negotiation of VLAN trunking.
Lists information about any interface regarding administrative settings and operational state.
show interfaces (interface-id) switchport
lists information about all operational trunks (but no other interfaces), including the list of VLANS that can be forwarded over the trunk.
show interfaces (interface-id) trunk
Lists information about the VLAN
show vlan (brief/id vlan-id/name vlan-name/summary)
Displays VLAN information.
show vlan (vlan)