vlan 8021q trunk |
| Assign a access link for VLAN by | switch(vlan)#vlan 8021q trunk 3 |
[PortNumber] | V | trunk group | 33 |
|
| ||
|
|
| |
[UntaggedVID] |
|
|
|
vlan 8021q trunk |
| Assign a trunk link for VLAN by trunk | switch(vlan)#vlan 8021q trunk 3 |
[PortNumber] |
| group | 2,3,6,99 |
V |
| or | |
[TaggedVID List] |
|
| switch(vlan)#vlan 8021q trunk 3 |
|
|
| 20 |
vlan 8021q trunk |
| Assign a hybrid link for VLAN by | switch(vlan)#vlan 8021q trunk 3 |
[PortNumber] |
| trunk group | 4 tag 3,6,8 |
| V |
| or |
[UntaggedVID] |
| switch(vlan)#vlan 8021q trunk 3 | |
|
| ||
tag |
|
| 5 tag |
[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 |
|
|
|
|
G | Enable spanning tree | ||
|
|
|
|
G | Configure spanning tree priority | ||
| parameter |
| |
|
|
| |
| Use the |
| |
|
| 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. |
|
| Use the |
| |
|
| global configuration command to |
|
| G | specify the interval between hello |
|
|
| bridge protocol data units |
|
|
| (BPDUs). |
|
| Use the |
| |
|
| time global configuration command |
|
|
| to set the |
|
| G | specified |
|
| The forwarding time determines |
| |
|
|
| |
|
| how long each of the listening and |
|
|
| learning states last before the port |
|
|
| begins forwarding. |
|
| Use the | switch(config)#interface fastEthernet 2 | |
[1~200000000] |
| interface configuration command | |
|
| 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. |
|
| Use the | switch(config)#interface fastEthernet 2 | |
[Port Priority] | I | interface configuration command | |
| to configure a port priority that |
| |
|
|
| |
|
| is used when two switches tie for |
|
| 32 |