Enterasys Networks 9034313-07 manual Viewing VLANs, Show vlan, Static, Portinfo

Models: 9034313-07

1 872
Download 872 pages 24.54 Kb
Page 327
Image 327

Viewing VLANs

Viewing VLANs

Purpose

To display a list of VLANs currently configured on the device, to determine how one or more VLANs were created, the ports allowed and disallowed to transmit traffic belonging to VLAN(s), and if those ports will transmit the traffic with a VLAN tag included.

Command

For information about...

Refer to page...

 

 

show vlan

10-3

 

 

show vlan

Use this command to display all information related to one or more VLANs.

Syntax

show vlan [static] [vlan-list] [portinfo [vlan vlan-listvlan-name] [port port- string]]

Parameters

static

(Optional) Displays information related to static VLANs. Static VLANs are

 

manually created using the set vlan command (“set vlan” on page 10‐5),

 

SNMP MIBs, or the WebView management application. The default VLAN,

 

VLAN 1, is always statically configured and can’t be deleted. Only ports

 

that use a specified VLAN as their default VLAN (PVID) will be displayed.

 

 

vlan‐list

(Optional) Displays information for a specific VLAN or range of VLANs.

 

 

portinfo

(Optional) Displays VLAN attributes related to one or more ports.

 

 

vlan vlan‐list

(Optional) Displays port information for one or more VLANs.

vlan‐name

 

 

 

port port‐string

(Optional) Displays port information for one or more ports.

 

 

Defaults

If no options are specified, all information related to static and dynamic VLANs will be displayed.

Mode

Switch command, read‐only.

Example

This example shows how to display information for VLAN 1. In this case, VLAN 1 is named “DEFAULT VLAN”. Ports allowed to transmit frames belonging to VLAN 1 are listed as egress ports. Ports that won’t include a VLAN tag in their transmitted frames are listed as untagged ports. There are no forbidden ports (prevented from transmitted frames) on VLAN 1:

C3(su)->show vlan 1

VLAN: 1 NAME: DEFAULT VLAN

SecureStack C3 Configuration Guide 10-3

Page 327
Image 327
Enterasys Networks 9034313-07 manual Viewing VLANs, Show vlan, Static, Portinfo