PVSTP function

PVSTP Function

ID

1-1-1

Description

Verify the PVSTP basic function.

Topology

 

Step

  1. setup test technology environment
  2. enable PVSTP on Routing switch,DC01_SW01,DC01_SW02
  3. show PVRSTP ports status and role

[CLI]: show spanning-tree active

  1. using ping command between Routing switch and DC01_SW01,DC01_SW02

Script

【Ruting Switch】

Vlan database

Vlan 101-102,201-202

Vlan routing 101

Vlan routing 102

Vlan routing 201

Vlan routing 202

Configure

Ip routing

Spanning-tree mode rapid-pvst

Interface 0/37

Van acceptframe vlanonly

Vlan participation include 101

Vlan participation exclude 1,102,201-202

Vlan tagging 101

Interface 0/38

Vlan acceptframe vlanonly

Vlan participation include 201

Vlan participation exclude 1,101-102,202

Vlan tagging 201

Interface 0/38

Vlan acceptframe vlanonly

Vlan participation include 102

Vlan participation exclude 1,101,201-202

Vlan tagging 102

Interface 0/44

Vlan acceptframe vlanonly

Vlan participation include 202

Vlan participation exclude 1,101-102,201

Vlan tagging 202

Interface vlan 101

Routing

Ip address 172.16.96.1 255.255.224.0

Interface vlan 102

Routing

Ip address 172.16.128.1 255.255.224.0

Interface vlan 201

Routing

Ip address 172.16.0.1 255.255.224.0

Interface vlan 202

Routing

Ip address 172.16.32.1 255.255.224.0

【C01_SW01】

Configure

Ip routing

Vlan database

Vlan 101,201

Vlan routing 101

Vlan routing 201

Configure

Ip routing

Spanning-tree mode rapid-pvst

Interface 0/48

Vlan acceptframe vlanonly

Vlan participation include 101

Vlan participation exclude 1,102,201-202

Vlan tagging 101

Interface 0/47

Vlan acceptframe vlanonly

Vlan participation include 201

Vlan participation exclude 1,101-102,202

Vlan tagging 201

Interface vlan 101

Routing

Ip address 172.16.96.50 255.255.224.0

Interface vlan 201

Routing

Ip address 172.16.0.50 255.255.224.0

【C01_SW02】

Configure

Ip routing

Vlan database

Vlan 102,202

Vlan routing 102

Vlan routing 202

Configure

Ip routing

Spanning-tree mode rapid-pvst

Interface 0/48

Vlan acceptframe vlanonly

Vlan participation include 102

Vlan participation exclude 1,101,201-202

Vlan tagging 102

Interface 0/47

Vlan acceptframe vlanonly

Vlan participation include 202

Vlan participation exclude 1,101-102,201

Vlan tagging 202

Interface vlan 102

Routing

Ip address 172.16.128.50 255.255.224.0

Interface vlan 202

Routing

Ip address 172.16.32.50 255.255.224.0

Expectation

Step3:PVRSTP ports role and status is correct.

Port43,port37,port44 and port38 RSTP status is forwarding and role is desinated.

Routing switch is root bridge.

Ports 47-48 on switch DC01_SW01 status is forwarding and role is root port.

Ports 38,44 on switch DC01_SW02 status is forwarding and role is root port.

Step4:ping command is ok.

Result

猜你喜欢

转载自www.cnblogs.com/maisha/p/12911866.html