Displaying vlan information, Show vlan, Displaying vlan – Microsens MS453490M Management Guide User Manual

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

Advertising
background image

C

HAPTER

34

| VLAN Commands

Displaying VLAN Information

– 795 –

Console(config)#interface ethernet 1/9

Console(config-if)#vlan-trunking

Console(config-if)#interface ethernet 1/10

Console(config-if)#vlan-trunking

Console(config-if)#

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]

id - Keyword to be followed by the VLAN ID.

vlan-id - ID of the configured VLAN. (Range: 1-4093, no leading

zeroes)

name - Keyword to be followed by the VLAN name.

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

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)

Table 107: 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

Advertising