5 switchport access vlan – Accton Technology ES4626 User Manual

Page 171

Advertising
background image

171

<vlan-name>

is the VLAN name for the VLAN to display status information, valid length

is 1 to 11 characters.

Command mode:

Admin Mode

Usage Guide:

If no <vlan-id> or <vlan-name> is specified, then information for all

VLANs in the switch will be displayed.

Example:

Display the status for the current VLAN; display statistics for the current VLAN.

Switch#show vlan

VLAN Name Type Media Ports

---- ------------ ---------- --------- ----------------------------------------

1 default Static ENET Ethernet1/1 Ethernet1/2

Ethernet1/3 Ethernet1/4

Ethernet1/9 Ethernet1/10

Ethernet1/11 Ethernet1/12

2 VLAN0002 Static ENET Ethernet1/5 Ethernet1/6

Ethernet1/7 Ethernet1/8

Switch#sh vlan summary

The max. vlan entrys: 4094

Universal Vlan:

1 2

Total Existing Vlans is: 2

Displayed information

Explanation

VLAN

VLAN number

Name VLAN

name

Type

VLAN type, statically configured or

dynamically learned.

Media

VLAN interface type: Ethernet

Ports

Access port within a VLAN

Universal Vlan

Universal VLAN.

Dynamic Vlan

Dynamic VLAN (not shown in this example)

5.1.3.5 switchport access vlan

Command: switchport access vlan <vlan-id>

no switchport access vlan

Function:

Add the current Access port to the specified VLAN. The “no switchport

access vlan

” command deletes the current port from the specified VLAN, and the port

Advertising
This manual is related to the following products: