Nexus7010(config-if)# switchport mode trunk
Nexus7010(config-if)# switchport trunk allowed vlan 2001
Nexus7010(config-if)# no shutdown
Nexus7010(config-if)# exit
Note that Cisco Nexus 7000 switches require the explicit “no shutdown” command to
enable interfaces. This command is not required in Cisco Catalyst switches.
2. Enable PVST Plus. On a new switch configuration, this step should be unnecessary
since PVST Plus is enabled by default:
Nexus7010(config)# spanning-tree mode rstp
Nexus7010(config)# end
On Cisco Catalyst switches, the equivalent command is “spanning-tree mode
rapid-pvst”.
Validation!
The command show spanning-tree bridge brief will display a summary of
spanning tree parameters:
admin@VCF# run show spanning-tree bridge brief
STP bridge parameters
Routing instance name : GLOBAL
Context ID : 0
Enabled protocol : RSTP
...
On the Cisco Nexus 7010, the equivalent command is “show spanning-tree
<vlan ID>”:
Nexus7010# show spanning-tree vlan 2001
VLAN2001
Spanning tree enabled protocol rstp
Root ID Priority 34769
Address 0024.f718.9ec1
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 34769 (priority 32768 sys-id-ext 2001)
Address 0024.f718.9ec1
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Eth3/1 Desg FWD 2 128.385 P2p
Eth3/3 Back BLK 2 128.387 P2p
Note that interface e3/1 is in forwarding state, and e3/3 is in blocking state.
Comentários a estes Manuais