Cisco WS-C2948G-GE-TX Configuration Manual page 127

Catalyst 4500 series switch
Table of Contents

Advertisement

Chapter 7
Configuring Spanning Tree
This example shows how to configure Rapid PVST+:
Console> (enable) set spantree mode rapid-pvst+
Spantree mode set to RAPID-PVST+.
Console> (enable) set spantree link-type 3/1 point-to-point
Link type set to point-to-point on port 3/1.
Console> (enable) clear spantree detected-protocols 3/1
Spanning tree protocol detection forced on port 3/1
Console> (enable)
This example show how to verify the Rapid PVST+ configuration for VLAN 1. The first line in the
output displays the spanning tree mode:
Console> show spantree 1
Spanning tree mode
Spanning tree type
Spanning tree enabled.
.
.
.
Port
------------
6/1
Console>
This example shows how to verify the link type, edge port, and guard type for port 3/6:
Console> show spantree 3/6
Port 3/6
Edge Port:
Port Guard:
Link Type:
Port
------
3/6
3/6
3/6
3/6
3/6
3/6
3/6
3/6
3/6
3/6
3/6
3/6
3/6
3/6
3/6
3/6
3/6
3/6
3/6
Console>
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
78-15908-01
RAPID-PVST+
ieee
State
Role
----------- -------
forwarding
ROOT
No, (Configured) Default
Default
P2P(Configured) Auto
VLAN
State
Role
-----
----------
------
1
listening
DESG
2
listening
DESG
3
listening
DESG
4
listening
DESG
5
listening
DESG
6
listening
DESG
7
listening
DESG
8
listening
DESG
9
listening
DESG
10
listening
DESG
11
listening
DESG
12
listening
DESG
13
listening
DESG
14
listening
DESG
15
listening
DESG
16
listening
DESG
17
listening
DESG
18
listening
DESG
19
listening
DESG
Cost
Prio
Type
-----
----
-----------------
20000
16
Shared, PEER(STP)
Cost
Prio
Type
-------- ----
-----
20000
32
P2P
20000
32
P2P
20000
32
P2P
20000
32
P2P
20000
32
P2P
20000
32
P2P
20000
32
P2P
20000
32
P2P
20000
32
P2P
20000
32
P2P
20000
32
P2P
20000
32
P2P
20000
32
P2P
20000
32
P2P
20000
32
P2P
20000
32
P2P
20000
32
P2P
20000
32
P2P
20000
32
P2P
Using Rapid PVST+
7-29

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents