Quick Reference Guide
VLANs | 233
Displaying VLAN Information
The show port, show running-config (see Figure 14-198, below), and show vlan commands provide most of
the information about the VLAN configuration. The
show vlan command has the following options:
• (no option entered) Display summary information for all configured VLANs. See
Figure 14-199,
below.
•
association Display associations to VLANs.
•
brief Display switch VLANs.
•
id Display VLAN configuration and configure VLANs. See Figure 14-200, below.
•
name Display VLAN configuration for a VLAN with optional name.
•
port Display 802.1Q port parameters. See Figure 14-201, below.
See also the
show commands exemplified above:
• Using show vlan Command to Display Native VLAN Members on page 228
• Using show interface Command to Display Native VLAN Membership on page 228
• Using show interface ethernet Command to Display Native VLAN Membership and Activity on
page 228
Use the following commands to display VLAN status and activity. For details, see Viewing Interface
Information on page 112 and the System Management Commands chapter of the SFTOS Command
Reference:
•
show interface ethernet {switchport | unit/slot/port | 1-3965}: Each parameter yields different
VLAN-related information.
•
show interface {unit/slot/port | ethernet {switchport | unit/slot/port | 1-3965} | loopback |
managementethernet | port-channel {1-128 | brief} | switchport}
•
show mac-addr-table vlan VLAN_ID: This command reports the MAC addresses in the specified
VLAN.
Figure 14-198 shows the use of the commands
show running-config and show vlan brief to display VLAN
settings. Note in the
show vlan brief output that VLAN 1 exists even though it was not configured (VLAN
1 is the default VLAN, and all interfaces are members of VLAN 1 by default.):