Spanning Tree Commands Set; Table 3.7: Spanning Tree Commands Set - Advantech EKI-7659CPI User Manual

8+2g combo ports industrial poe managed redundant gigabit ethernet switch
Table of Contents

Advertisement

vlan 8021q trunk
[PortNumber]
access-link untag
[UntaggedVID]
vlan 8021q trunk
[PortNumber]
trunk-link tag
[TaggedVID List]
vlan 8021q trunk
[PortNumber]
hybrid-link untag
[UntaggedVID]
tag
[TaggedVID List]
show vlan
[GroupID]
or
show vlan
no vlan group
[GroupID]
3.1.7

Spanning Tree Commands Set

Table 3.7: Spanning Tree Commands Set

Commands
spanning-tree enable
spanning-tree priority
[0~61440]
spanning-tree max-age
[seconds]
spanning-tree hello-time
[seconds]
spanning-tree forward-time
stp-path-cost
[1~200000000]
stp-path-priority
[Port Priority]
EKI-7659CPI_Manual_ed33
Assign a access link for VLAN by
trunk group
V
Assign a trunk link for VLAN by trunk
group
V
Assign a hybrid link for VLAN by
trunk group
V
Show VLAN information
V
Delete port base group ID
V
Level
G
Enable spanning tree
Configure spanning tree priority
G
parameter
Use the spanning-tree max-age
global configuration command to
change the interval between
messages the spanning tree
receives from the root switch. If a
G
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.
Use the spanning-tree hello-time
global configuration command to
specify the interval between hello
G
bridge protocol data units
(BPDUs).
[seconds]
Use the spanning-tree forward-
time global configuration command
to set the forwarding-time for the
specified spanning-tree instances.
G
The forwarding time determines
how long each of the listening and
learning states last before the port
begins forwarding.
Use the spanning-tree cost
interface configuration command
to set the path cost for Spanning
Tree
Protocol (STP) calculations. In the
I
event of a loop, spanning tree
considers the path cost when
selecting
an interface to place into the
forwarding state.
Use the spanning-tree port-priority
interface configuration command
I
to configure a port priority that
is used when two switches tie for
switch(vlan)#vlan 8021q trunk 3 access-link untag
33
switch(vlan)#vlan 8021q trunk 3 trunk-link tag
2,3,6,99
or
switch(vlan)#vlan 8021q trunk 3 trunk-link tag 3-
20
switch(vlan)#vlan 8021q trunk 3 hybrid-link untag
4 tag 3,6,8
or
switch(vlan)#vlan 8021q trunk 3 hybrid-link untag
5 tag 6-8
switch(vlan)#show vlan 23
switch(vlan)#no vlan group 2
Description
switch(config)#spanning-tree enable
switch(config)#spanning-tree priority 32767
switch(config)#spanning-tree max-age 15
switch(config)#spanning-tree hello-time 3
switch(config)#spanning-tree forward-time 20
switch(config)#interface fastEthernet 2
switch(config-if)#stp-path-cost 20
switch(config)#interface fastEthernet 2
switch(config-if)#stp-path-priority 128
32
Example

Advertisement

Table of Contents
loading

Table of Contents