What does spanning-tree port type network do?
The Spanning Tree Protocol (STP) is a network protocol that builds a loop-free logical topology for Ethernet networks. The basic function of STP is to prevent bridge loops and the broadcast radiation that results from them.
How does spanning-tree work with vPC?
Each spanning-tree enabled switch has a unique Bridge ID. vPC switches are to be ‘seen’ as a single switch to vPC connected devices. It does this by using the system MAC to generate the bridge ID. As both switches share the same system MAC, they will share the same bridge ID.
What is a vPC peer link?
A VPC peering connection is a networking connection between two VPCs that enables you to route traffic between them using private IPv4 addresses or IPv6 addresses. Instances in either VPC can communicate with each other as if they are within the same network.
What is vPC member port?
vPC Member Port – Ports included within the vPCs. vPC Peer-Keepalive Link – Connects both vPC peer switches and carries monitoring traffic to/from each peer switch. Monitoring is performed to ensure the switches are both operational and running vPC.
What is STP and how it works?
STP uses the Spanning-Tree Algorithm (SPA) to create a topology database of the network. To prevent loops, SPA places some interfaces in forwarding state and other interfaces in blocking state. all switches in a network elect a root switch. All working interfaces on the root switch are placed in forwarding state.
How does STP work in port channel?
Spanning tree protocol (STP) can be used with an EtherChannel. STP treats all the links as a single one and BPDUs are only sent down one of the links. Without the use of an EtherChannel, STP would effectively shutdown any redundant links between switches until one connection goes down.
What is vPC peer link used for?
vPC Peer-link This link is used to synchronize the state between vPC peer devices via vPC control packets which creates the illusion of a single control plane. In addition the vPC peer-link provides the necessary transport for multicast, broadcast, unknown unicast traffic and for the traffic of orphaned ports.
Should STP be enabled on all ports?
You configure the command “spanning-tree portfast” on all the ports connecting to end devices like workstations. They then automatically bypass the wait period and DHCP works properly. It’s important to only configure this command on ports that connect to end devices though.
What is spanning tree port type on VPC Peer-Link?
Please note that spanning tree port type is changed to “network” port type on vPC peer-link. This will enable spanning tree Bridge Assurance on vPC peer-link provided the STP Bridge Assurance (which is enabled by default) is not disabled.
Why is bridge assurance enabled on VPC Peer Link?
Bridge Assurance is enabled automatically on the peer-link. This is because the peer-link ports are spanning tree network ports by default. All network ports automatically use Bridge Assurance. Do not disable Bridge Assurance on the vPC peer-link.
What’s the difference between normal and spanning tree ports?
spanning-tree port type normal as well as spanning-tree port type network are used on ports connected to switches, the difference between them is: normal: normal spanning-tree behaviour. network: Enablee spanning-tree with bridge assurance.
Why does VPC disable spanning tree between data centres?
If you want to use vPC across data centre DCI links, enable BPDU filter on these links. This disables spanning tree between the data centres. The reason for this is to limit the scope of the spanning-tree domain. This will create a spanning tree domain per data centre, rather than having one large domain.