GSWB

CHAPTER 8 CLI Operations

Command

General user

Administrator

Functional outline

mac address-table static

-

Y

Adds and deletes static

 

 

 

addresses to the MAC address

 

 

 

table.

 

 

 

 

Table 8.15 Spanning tree protocol (STP) function

Command

General user

Administrator

Functional outline

spanning-tree

-

Y

Enables or disables STP for the

 

 

 

whole device.

 

 

 

 

spanning-tree priority

-

Y

Sets the bridge priority.

spanning-tree max-age

-

Y

Sets the maximum aging time.

spanning-tree hello-time

-

Y

Sets the transmission interval

 

 

 

of Hello messages.

 

 

 

 

spanning-tree forward-

-

Y

Sets the transfer delay timer.

time

 

 

 

 

 

 

 

spanning-tree port-

-

Y

Sets the port priority.

priority

 

 

 

 

 

 

 

spanning-tree cost

-

Y

Sets the interface path cost.

spanning-tree bpdufilter

-

Y

Defines the BPDU filter.

spanning-tree

-

Y

Enables or disables the

 

 

 

spanning tree protocol for the

 

 

 

specified interface.

 

 

 

 

Table 8.16 Virtual LAN (VLAN) function

Command

General user

Administrator

Functional outline

vlan

-

Y

Creates and deletes VLANs.

switchport access vlan

-

Y

Specifies an interface for a

 

 

 

VLAN.

 

 

 

 

switchport mode

-

Y

Sets the selected VLAN

 

 

 

membership mode for an

 

 

 

interface.

 

 

 

 

switchport allowed vlan

-

Y

Sets trunk properties.

switchport native vlan

-

Y

Specifies a VLAN that

 

 

 

receives traffic without tags.

 

 

 

 

Table 8.17 Priority control function (Class of Service)

Command

General user

Administrator

Functional outline

switchport priority

-

Y

Sets the default priority to

default

 

 

frames without tags.

 

 

 

 

8-16

C122-E003-02EN