beautypg.com

Displaying vlan information, Show vlan, Displaying vlan – LevelOne GTL-2691 User Manual

Page 1122: Information, Show vlan (1122), Vlan i

background image

C

HAPTER

39

| VLAN Commands

Displaying VLAN Information

– 1122 –

D

ISPLAYING

VLAN I

NFORMATION

This section describes commands used to display VLAN information.

show vlan

This command shows VLAN information.

S

YNTAX

show vlan [id vlan-id | name vlan-name |

private-vlan private-vlan-type]
id - Keyword to be followed by the VLAN ID.

vlan-id - ID of the configured VLAN. (Range: 1-4093)

name - Keyword to be followed by the VLAN name.

vlan-name - ASCII string from 1 to 32 characters.

private-vlan - For an explanation of this command see the

show

vlan private-vlan

command.

private-vlan-type - Indicates the private VLAN type.

(Options: community, primary)

D

EFAULT

S

ETTING

Shows all VLANs.

C

OMMAND

M

ODE

Normal Exec, Privileged Exec

E

XAMPLE

The following example shows how to display information for VLAN 1:

Console#show vlan id 1

VLAN ID : 1

Type : Static

Name : DefaultVlan

Status : Active

Ports/Port Channels : Eth1/ 1(S) Eth1/ 2(S) Eth1/ 3(S) Eth1/ 4(S) Eth1/ 5(S)

Eth1/ 6(S) Eth1/ 7(S) Eth1/ 8(S) Eth1/ 9(S) Eth1/10(S)

Eth1/11(S) Eth1/12(S) Eth1/13(S) Eth1/14(S) Eth1/15(S)

Eth1/16(S) Eth1/17(S) Eth1/18(S) Eth1/19(S) Eth1/20(S)

Eth1/21(S) Eth1/22(S) Eth1/23(S) Eth1/24(S) Eth1/25(S)

Eth1/26(S)

Table 123: Commands for Displaying VLAN Information

Command

Function

Mode

show interfaces status

vlan

Displays status for the specified VLAN interface

NE, PE

show interfaces

switchport

Displays the administrative and operational status of

an interface

NE, PE

show vlan

Shows VLAN information

NE, PE