vlan 8021q trunk

 

Assign a access link for VLAN by

switch(vlan)#vlan 8021q trunk 3 access-link untag

[PortNumber]

V

trunk group

33

access-link untag

 

 

 

 

 

[UntaggedVID]

 

 

 

vlan 8021q trunk

 

Assign a trunk link for VLAN by trunk

switch(vlan)#vlan 8021q trunk 3 trunk-link tag

[PortNumber]

 

group

2,3,6,99

trunk-link tag

V

 

or

[TaggedVID List]

 

 

switch(vlan)#vlan 8021q trunk 3 trunk-link tag 3-

 

 

 

20

vlan 8021q trunk

 

Assign a hybrid link for VLAN by

switch(vlan)#vlan 8021q trunk 3 hybrid-link untag

[PortNumber]

 

trunk group

4 tag 3,6,8

hybrid-link untag

V

 

or

[UntaggedVID]

 

switch(vlan)#vlan 8021q trunk 3 hybrid-link untag

 

 

tag

 

 

5 tag 6-8

[TaggedVID List]

 

 

 

show vlan [GroupID]

 

Show VLAN information

switch(vlan)#show vlan 23

or

V

 

 

show vlan

 

 

 

 

 

 

 

 

 

no vlan group

V

Delete port base group ID

switch(vlan)#no vlan group 2

[GroupID]

 

 

 

 

 

3.1.7Spanning Tree Commands Set

Table 3.7: Spanning Tree Commands Set

Netstar Commands

Level

Description

Example

 

 

 

 

spanning-tree enable

G

Enable spanning tree

switch(config)#spanning-tree enable

 

 

 

 

spanning-tree priority [0~61440]

G

Configure spanning tree priority

switch(config)#spanning-tree priority 32768

 

parameter

 

 

 

 

spanning-tree max-age [seconds]

 

Use the spanning-tree max-age

switch(config)#spanning-tree max-age 15

 

 

global configuration command to

 

 

 

change the interval between

 

 

 

messages the spanning tree

 

 

G

receives from the root switch. If a

 

 

switch does not receive a bridge

 

 

 

protocol data unit (BPDU)

 

 

 

message from the root switch

 

 

 

within this interval, it recomputed

 

 

 

the Spanning Tree Protocol (STP)

 

 

 

topology.

 

spanning-tree hello-time [seconds]

 

Use the spanning-tree hello-time

switch(config)#spanning-tree hello-time 3

 

 

global configuration command to

 

 

G

specify the interval between hello

 

 

 

bridge protocol data units

 

 

 

(BPDUs).

 

spanning-tree forward-time [seconds]

 

Use the spanning-tree forward-

switch(config)#spanning-tree forward-time 20

 

 

time global configuration command

 

 

 

to set the forwarding-time for the

 

 

G

specified spanning-tree instances.

 

 

The forwarding time determines

 

 

 

 

 

 

how long each of the listening and

 

 

 

learning states last before the port

 

 

 

begins forwarding.

 

stp-path-cost

 

Use the spanning-tree cost

switch(config)#interface fastEthernet 2

[1~200000000]

 

interface configuration command

switch(config-if)#stp-path-cost 20

 

 

to set the path cost for Spanning

 

 

 

Tree

 

 

I

Protocol (STP) calculations. In the

 

 

event of a loop, spanning tree

 

 

 

 

 

 

considers the path cost when

 

 

 

selecting

 

 

 

an interface to place into the

 

 

 

forwarding state.

 

stp-path-priority

 

Use the spanning-tree port-priority

switch(config)#interface fastEthernet 2

[Port Priority]

I

interface configuration command

switch(config-if)#stp-path-priority 128

 

to configure a port priority that

 

 

 

 

 

 

is used when two switches tie for

 

EKI-7657C _Manual_ed1

32

Page 42
Image 42
Advantech EKI-7657C user manual Spanning Tree Commands Set