beautypg.com

Displaying vlan information, Show vlan, Displaying vlan information -246 – SMC Networks SMC TigerStack 1000 SMC8748M User Manual

Page 518: Show vlan -246, Table 4-59 displaying vlan information -246, Show vlan (4 -246)

background image

C

OMMAND

L

INE

I

NTERFACE

4-246

Example
The following example shows how to prevent port 1 from being added to
VLAN 3.

Displaying VLAN Information

show vlan

This command shows VLAN information.

Syntax

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.

Default Setting

Shows all VLANs.

Command Mode

Normal Exec, Privileged Exec

Console(config)#interface ethernet 1/1
Console(config-if)#switchport forbidden vlan add 3
Console(config-if)#

Table 4-59 Displaying VLAN Information

Command

Function

Mode Page

show vlan

Shows VLAN information

NE,
PE

4-246

show interfaces status
vlan

Displays status for the specified VLAN
interface

NE,
PE

4-183

show interfaces
switchport

Displays the administrative and
operational status of an interface

NE,
PE

4-186

This manual is related to the following products: