13-12
Catalyst 2928 Switch Software Configuration Guide
OL-23389-01
Chapter 13 Configuring VLANs
Displaying VLANs
This example shows how to create a new extended-range VLAN with all default characteristics, enter
VLAN configuration mode, and save the new VLAN in the switch startup configuration file:
Switch(config)#
vtp mode transparent
Switch(config)#
vlan 2000
Switch(config-vlan)#
end
Switch#
copy running-config startup config
Displaying VLANs
Use the
show vlan
privileged EXEC command to display a list of all VLANs on the switch, including
extended-range VLANs. The display includes VLAN status, ports, and configuration information.
lists the privileged EXEC commands for monitoring VLANs.
For more details about the show command options and explanations of output fields, see the command
reference for this release.
Configuring VLAN Trunks
These sections contain this conceptual information:
•
•
Default Layer 2 Ethernet Interface VLAN Configuration, page 13-14
•
Configuring an Ethernet Interface as a Trunk Port, page 13-14
•
Configuring Trunk Ports for Load Sharing, page 13-18
Trunking Overview
A trunk is a point-to-point link between one or more Ethernet switch interfaces and another networking device
such as a router or a switch. Ethernet trunks carry the traffic of multiple VLANs over a single link, and you
can extend the VLANs across an entire network. The Catalyst 2928 switch supports IEEE 802.1Q
encapsulation.
You can configure a trunk on a single Ethernet interface or on an EtherChannel bundle. For more
information about EtherChannel, see
Chapter 32, “Configuring EtherChannels.”
Ethernet trunk interfaces support different trunking modes (see
). You can set an interface as
trunking or nontrunking or to negotiate trunking with the neighboring interface. To autonegotiate
trunking, the interfaces must be in the same VTP domain.
Table 13-3
VLAN Monitoring Commands
Command
Purpose
show interfaces
[
vlan
vlan-id
]
Display characteristics for all interfaces or for the specified VLAN
configured on the switch.
show vlan
[
id
vlan-id
]
Display parameters for all VLANs or the specified VLAN on the switch.