OcNOS L2 Quick Config

Download as pdf or txt
Download as pdf or txt
You are on page 1of 42

OcNOS®

Open Compute
Network Operating System
for Service Providers
Version 4.0

Layer 2 Quick
Configuration Guide
January 2021

IP Infusion Inc. Proprietary


© 2021 IP Infusion Inc. All Rights Reserved.

This documentation is subject to change without notice. The software described in this document and this documentation
are furnished under a license agreement or nondisclosure agreement. The software and documentation may be used or
copied only in accordance with the terms of the applicable agreement. No part of this publication may be reproduced, stored
in a retrieval system, or transmitted in any form or any means electronic or mechanical, including photocopying and
recording for any purpose other than the purchaser's internal use without the written permission of IP Infusion Inc.

IP Infusion Inc.
3965 Freedom Circle, Suite 200
Santa Clara, CA 95054
+1 408-400-1900
http://www.ipinfusion.com/

For support, questions, or comments via E-mail, contact:


mailto://[email protected]

Trademarks:
IP Infusion, OcNOS, VirNOS, ZebM, and ZebOS-XP are trademarks or registered trademarks of IP Infusion. All other
trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners.

Use of certain software included in this equipment is subject to the IP Infusion, Inc. End User License Agreement at http://
www.ipinfusion.com/license. By using the equipment, you accept the terms of the End User License Agreement.

ii IP Infusion Inc. Proprietary


Contents

Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Related Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Chapter Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vi
Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vi
Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vi

CHAPTER 1 Understanding Virtual Local Area Networks . . . . . . . . . . . . . . . . . . . . 7


Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
SWITCH-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
SWITCH-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
SWITCH-3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9

CHAPTER 2 Understanding Link Aggregation Groups . . . . . . . . . . . . . . . . . . . . . 11


Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
LACP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Static LAG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
LACP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
Static LAG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14

CHAPTER 3 Understanding Link Layer Discovery Protocol . . . . . . . . . . . . . . . . . 15


Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
SWITCH-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
SWITCH-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
CHAPTER 4 Understanding Spanning Tree Protocol . . . . . . . . . . . . . . . . . . . . . . 19
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
SWITCH-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
SWITCH-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
SWITCH-3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20
Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20

© 2021 IP Infusion Inc. Proprietary iii


Contents

SWITCH-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
SWITCH-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
SWITCH-3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

CHAPTER 5 Understanding Rapid Spanning Tree Protocol . . . . . . . . . . . . . . . . . 25


Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
SWITCH-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
SWITCH-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
SWITCH-3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
SWITCH-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
SWITCH-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
SWITCH-3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

CHAPTER 6 Understanding Multiple Spanning Tree Protocol. . . . . . . . . . . . . . . . 31


Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
SWITCH-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
SWITCH-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
SWITCH-3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
SWITCH-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
SWITCH-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
SWITCH-3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

iv © 2021 IP Infusion Inc. Proprietary


Preface

This guide describes how to configure Layer 2 protocols in OcNOS.

Audience
This guide is intended for network administrators and other engineering professionals who configure Layer 2 protocols.

Conventions
Table P-1 shows the conventions used in this guide.

Table P-1: Conventions

Convention Description

Italics Emphasized terms; titles of books

Note: Special instructions, suggestions, or warnings

monospaced type Code elements such as commands, functions, parameters, files, and directories

Contents
This document contains these chapters and appendices:
• Chapter 1, Understanding Virtual Local Area Networks
• Chapter 2, Understanding Link Aggregation Groups
• Chapter 3, Understanding Link Layer Discovery Protocol
• Chapter 4, Understanding Spanning Tree Protocol
• Chapter 5, Understanding Rapid Spanning Tree Protocol
• Chapter 6, Understanding Multiple Spanning Tree Protocol

Related Documents
Use this guide with the Layer 2 Command Reference for details about the commands used in the configurations.
Note: All OcNOS technical manuals are available to licensed customers at:
http://www.ipinfusion.com/support/document_list.

© 2021 IP Infusion Inc. Proprietary v


Preface

Chapter Organization
The chapters in this guide are organized into these major sections:
• An overview that explains a configuration in words
• Topology with a diagram that shows the devices and connections used in the configuration
• Configuration steps in a table for each device where the left-hand side shows the commands you enter and the
right-hand side explains the actions that the commands perform
• Validation which shows commands and their output that verify the configuration

Support
For support-related questions, contact mailto://[email protected].

Comments
If you have comments, or need to report a problem with the content, contact mailto://[email protected].

vi © 2021 IP Infusion Inc. Proprietary


CHAPTER 1 Understanding Virtual Local Area Networks

Overview
A Virtual Local Area Network (VLAN) is a set of workstations within a LAN that can communicate with each other as
though they were on a single, isolated LAN.
The three major interface types of a VLAN are:
• Access (untagged)
• Trunk (only tagged)
• Hybrid (a combination of both tagged and untagged on the same interface)

Topology

Configuration

SWITCH-1

SWITCH-1#configure terminal Enter configure mode.


SWITCH-1(config)#bridge 1 protocol ieee Create a VLAN-aware bridge.
vlan-bridge
SWITCH-1(config)#vlan database Enter VLAN configuration mode.
SWITCH-1(config-vlan)#vlan 5 bridge 1 Enable VLAN 5 on bridge 1 to allow forwarding of frames on this
state enable bridge.
SWITCH-1(config-vlan)#exit Exit VLAN configuration mode.
SWITCH-1(config)#interface xe1 Enter interface mode.
SWITCH-1(config-if)#switchport Set the interface as Layer2 port.
SWITCH-1(config-if)#bridge-group 1 Associate the interface with bridge group 1.

© 2021 IP Infusion Inc. Proprietary 7


Understanding Virtual Local Area Networks

SWITCH-1(config-if)#switchport mode Set the switching characteristics of this interface to access mode.
access
SWITCH-1(config-if)#switchport access Enable VLAN port access by specifying VLAN ID 5 on this interface.
vlan 5
SWITCH-1(config-if)#exit Exit interface mode.
SWITCH-1(config)#interface xe2 Enter interface mode.
SWITCH-1(config-if)#switchport Set the interface as Layer2 port.
SWITCH-1(config-if)#bridge-group 1 Associate the interface with bridge group 1.
SWITCH-1(config-if)#switchport mode Set the switching characteristics of this interface to trunk mode.
trunk
SWITCH-1(config-if)#switchport trunk Enable all VLAN IDs on this port.
allowed vlan all
SWITCH-1(config-if)#exit Exit interface mode.
SWITCH-1(config)#interface xe3 Enter interface mode.
SWITCH-1(config-if)#switchport Set the interface as Layer2 port.
SWITCH-1(config-if)#bridge-group 1 Associate the interface with bridge group 1.
SWITCH-1(config-if)#switchport mode Set the switching characteristics of this interface to hybrid mode.
hybrid
SWITCH-1(config-if)#switchport hybrid Enable all VLAN IDs on this port.
allowed vlan all
SWITCH-1(config-if)#exit Exit interface mode.

SWITCH-2

SWITCH-2#configure terminal Enter configure mode.


SWITCH-2(config)#bridge 1 protocol ieee Create a VLAN-aware Bridge.
vlan-bridge
SWITCH-2(config)#vlan database Enter the VLAN configuration mode.
SWITCH-2(config-vlan)#vlan 5 bridge 1 Enable VLAN 5 on bridge 1 to allow forwarding of frames on this
state enable bridge.
SWITCH-2(config-vlan)#exit Exit VLAN configuration mode.
SWITCH-2(config)#interface xe1 Enter interface mode.
SWITCH-2(config-if)#switchport Set the interface as Layer2 port.
SWITCH-2(config-if)#bridge-group 1 Associate the interface with bridge group 1.
SWITCH-2(config-if)#switchport mode Set the switching characteristics of this interface to access mode.
access
SWITCH-2(config-if)#switchport access Enable VLAN port access by specifying VLAN ID 5 on this interface.
vlan 5
SWITCH-2(config-if)#exit Exit interface mode.
SWITCH-2(config)#interface xe2 Enter interface mode.
SWITCH-2(config-if)#switchport Set the interface as Layer2 port.
SWITCH-2(config-if)#bridge-group 1 Associate the interface with bridge group 1.
SWITCH-2(config-if)#switchport mode Set the switching characteristics of this interface to trunk mode.
trunk

8 © 2021 IP Infusion Inc. Proprietary


Understanding Virtual Local Area Networks

SWITCH-2(config-if)#switchport trunk Enable all VLAN IDs on this port.


allowed vlan all
SWITCH-2(config-if)#exit Exit interface mode.
SWITCH-2(config)#interface xe3 Enter interface mode.
SWITCH-2(config-if)#switchport Set the interface as Layer2 port.
SWITCH-2(config-if)#bridge-group 1 Associate the interface with bridge group 1.
SWITCH-2(config-if)#switchport mode Set the switching characteristics of this interface to hybrid mode.
hybrid
SWITCH-2(config-if)#switchport hybrid Enable all VLAN IDs on this port.
allowed vlan all
SWITCH-2(config-if)#exit Exit interface mode.

SWITCH-3

SWITCH-3#configure terminal Enter configure mode.


SWITCH-3(config)#bridge 1 protocol ieee Create a VLAN-aware bridge.
vlan-bridge
SWITCH-3(config)#vlan database Enter VLAN configuration mode.
SWITCH-3(config-vlan)#vlan 5 bridge 1 Enable VLAN 5 on bridge 1 to allow forwarding of frames on this
state enable bridge.
SWITCH-3(config-vlan)#exit Exit VLAN configuration mode.
SWITCH-3(config)#interface xe1 Enter interface mode.
SWITCH-3(config-if)#switchport Set the interface as Layer2 port.
SWITCH-3(config-if)#bridge-group 1 Associate the interface with bridge group 1.
SWITCH-3(config-if)#switchport mode Set the switching characteristics of this interface to access mode.
access
SWITCH-3(config-if)#switchport access Enable VLAN port access by specifying VLAN ID 5 on this interface
vlan 5
SWITCH-3(config-if)#exit Exit interface mode.
SWITCH-3(config)#interface xe2 Enter interface mode.
SWITCH-3(config-if)#switchport Set the interface as Layer2 port.
SWITCH-3(config-if)#bridge-group 1 Associate the interface with bridge group 1.
SWITCH-3(config-if)#switchport mode Set the switching characteristics of this interface to trunk mode.
trunk
SWITCH-3(config-if)#switchport trunk Enable all VLAN IDs on this port.
allowed vlan all
SWITCH-3(config-if)#exit Exit interface mode.

Validation
SWITCH-1#sh vlan brief
Bridge VLAN ID Name State H/W Status
Member ports
(u)-Untagged, (t)-Tagged
======= ======= ============ ======= =========== ============================

© 2021 IP Infusion Inc. Proprietary 9


Understanding Virtual Local Area Networks

1 1 default ACTIVE Up xe2(u) xe3(u)


1 5 VLAN0005 ACTIVE Up xe1(u) xe2(t) xe3(t)

10 © 2021 IP Infusion Inc. Proprietary


CHAPTER 2 Understanding Link Aggregation Groups

Overview
A Link Aggregation Group (LAG) is the method of combining individual physical network interfaces or ports to increase
the capacity of the link to support and sustain beyond the individual port capability. Link Aggregation also supports
failover when one link ceases to operate. The standard for LAG operation is IEEE 802.3ad.
Link Aggregation operates above the physical network interface and the 802.1X layer. For aggregating links, the
physical port has to be link up and authenticated as applicable. For all the higher layers, when Link Aggregation is
effective, ports are visible as logical aggregated ports. Features such as STP, VLAN, FDB, and multicasting operate on
both physical ports as well as Link Aggregated Logical Ports.
A LAG can be configured in two modes:
• Dynamic LAG (LACP)
• Static LAG

Topology

Configuration

LACP
SWITCH-1

SWITCH-1#configure terminal Enter configure mode.


SWITCH-1(config)#lacp system-priority 20000 Set the system priority of this switch. This priority is used for
determining the system that is responsible for resolving
conflicts in the choice of aggregation groups. A lower numerical
value has a higher priority.
SWITCH-1(config)#interface xe1 Enter interface mode.
SWITCH-1(config-if)#switchport Set the interface as Layer2 port.
SWITCH-1(config-if)#channel-group 10 mode Add this interface to channel group 10 and enable link
active aggregation so that it can be selected for aggregation by the
local system.
SWITCH-1(config-if)#exit Exit interface mode
SWITCH-1(config)#interface xe2 Enter interface mode.

© 2021 IP Infusion Inc. Proprietary 11


Understanding Link Aggregation Groups

SWITCH-1(config-if)#switchport Set the interface as Layer2 port.


SWITCH-1(config-if)#channel-group 10 mode Add this interface to channel group 10 and enable link
active aggregation so that it can be selected for aggregation by the
local system.
SWITCH-1(config-if)#exit Exit interface mode.
SWITCH-1(config)#interface xe3 Enter interface mode.
SWITCH-1(config-if)#switchport Set the interface as Layer2 port.
SWITCH-1(config-if)#channel-group 10 mode Add this interface to channel group 10 and enable link
active aggregation so that it can be selected for aggregation by the
local system.
SWITCH-1(config-if)#exit Exit interface mode.

SWITCH-2

SWITCH-2#configure terminal Enter configure mode.


SWITCH-2(config)#lacp system-priority 20000 Set the system priority of this switch. This priority is used for
determining the system that is responsible for resolving
conflicts in the choice of aggregation groups. A lower
numerical value has a higher priority.
SWITCH-2(config)#interface xe1 Enter interface mode.
SWITCH-2(config-if)#switchport Set the interface as Layer2 port.
SWITCH-2(config-if)#channel-group 10 mode Add this interface to channel group 10 and enable link
active aggregation so that it can be selected for aggregation by the
local system.
SWITCH-2(config-if)#exit Exit interface mode
SWITCH-2(config)#interface xe2 Enter interface mode.
SWITCH-2(config-if)#switchport Set the interface as Layer2 port.
SWITCH-2(config-if)#channel-group 10 mode Add this interface to channel group 10 and enable link
active aggregation so that it can be selected for aggregation by the
local system.
SWITCH-2(config-if)#exit Exit interface mode.
SWITCH-2(config)#interface xe3 Enter interface mode.
SWITCH-2(config-if)#switchport Set the interface as Layer2 port.
SWITCH-2(config-if)#channel-group 10 mode Add this interface to channel group 10 and enable link
active aggregation so that it can be selected for aggregation by the
local system.
SWITCH-2(config-if)#exit Exit interface mode

Static LAG
SWITCH-1

SWITCH-1#configure terminal Enter configure mode.


SWITCH-1(config)#lacp system-priority 20000 Set the system priority of this switch. This priority is used for
determining the system that is responsible for resolving
conflicts in the choice of aggregation groups. A lower
numerical value has a higher priority.

12 © 2021 IP Infusion Inc. Proprietary


Understanding Link Aggregation Groups

SWITCH-1(config)#interface xe1 Enter interface mode.


SWITCH-1(config-if)#switchport Set the interface as Layer2 port.
SWITCH-1(config-if)# static-channel-group 1 Add this interface to static channel group 1
SWITCH-1(config-if)#exit Exit interface mode
SWITCH-1(config)#interface xe2 Enter interface mode.
SWITCH-1(config-if)#switchport Set the interface as Layer2 port.
SWITCH-1(config-if)# static-channel-group 1 Add this interface to static channel group 1.
SWITCH-1(config-if)#exit Exit interface mode.
SWITCH-1(config)#interface xe3 Enter interface mode.
SWITCH-1(config-if)#switchport Set the interface as Layer2 port.
SWITCH-1(config-if)# static-channel-group 1 Add this interface to static channel group 1
SWITCH-1(config-if)#exit Exit interface mode.

SWITCH-2

SWITCH-2#configure terminal Enter configure mode.


SWITCH-2(config)#lacp system-priority 20000 Set the system priority of this switch. This priority is used for
determining the system that is responsible for resolving
conflicts in the choice of aggregation groups. A lower
numerical value has a higher priority.
SWITCH-2(config)#interface xe1 Enter interface mode.
SWITCH-2(config-if)#switchport Set the interface as Layer2 port.
SWITCH-2(config-if)# static-channel-group 1 Add this interface to static channel group 1
SWITCH-2(config-if)#exit Exit interface mode
SWITCH-2(config)#interface xe2 Enter interface mode.
SWITCH-2(config-if)#switchport Set the interface as Layer2 port.
SWITCH-2(config-if)# static-channel-group 1 Add this interface to static channel group 1.
SWITCH-2(config-if)#exit Exit interface mode.
SWITCH-2(config)#interface xe3 Enter interface mode.
SWITCH-2(config-if)#switchport Set the interface as Layer2 port.
SWITCH-2(config-if)# static- channel-group Add this interface to static channel group 1
1
SWITCH-2(config-if)#exit Exit interface mode

Validation

LACP
SWITCH-1#sh etherchannel detail
% Aggregator po1 1000000
% Mac address: 00:13:95:ab:ba:c9
% Admin Key: 0001 - Oper Key 0001
% Actor LAG ID- 0x8000,00-13-95-11-7d-c7,0x0001

© 2021 IP Infusion Inc. Proprietary 13


Understanding Link Aggregation Groups

% Receive link count: 3 - Transmit link count: 3


% Individual: 0 - Ready: 1
% Partner LAG ID- 0x8000,ec-f4-bb-fd-5b-8c,0x0001
% Link: xe1 (5001) sync: 1
% Link: xe2 (5002) sync: 1
% Link: xe3 (5003) sync: 1

Static LAG
SWITCH-1#sh static-channel-group
% Static Aggregator: sa1
% Member:
xe1
xe2
xe3

14 © 2021 IP Infusion Inc. Proprietary


CHAPTER 3 Understanding Link Layer Discovery Protocol

Overview
The Link Layer Discovery Protocol (LLDP) is used to advertise the following to other stations attached to the same
LAN:
• The major capabilities provided by the system incorporating that station
• The management address or addresses of the entity or entities that provide management of those capabilities
• The identification of the station’s point of attachment to the LAN required by those management entity or entities

Topology

Configuration

SWITCH-1

SWITCH-1#configure terminal Enter configure mode.


SWITCH-1(config)#interface xe1 Enter interface mode.
SWITCH-1(config-if)#lldp-agent Enter lldp-agent mode
SWITCH-1(lldp-agent)#set lldp enable Enable LLDP transmit and receive for the nearest bridge.
txrx
SWITCH-1(lldp-agent)#exit Exit lldp-agent mode.
SWITCH-1(config-if)#lldp-agent Enter lldp-agent customer mode
customer-bridge
SWITCH-1(lldp-agent)#set lldp enable Enable LLDP transmit and receive for the customer bridge.
txrx
SWITCH-1(lldp-agent)#exit Exit lldp-agent mode
SWITCH-1(config-if)#lldp-agent non- Enter lldp-agent non-tpmr-bridge mode.
tpmr-bridge
SWITCH-1(lldp-agent)#set lldp enable Enable LLDP transmit and receive for the non-tpmr bridge.
txrx
SWITCH-1(lldp-agent)#exit Exit lldp-agent mode.

© 2021 IP Infusion Inc. Proprietary 15


Understanding Link Layer Discovery Protocol

SWITCH-2

SWITCH-2#configure terminal Enter configure mode.


SWITCH-2(config)#interface xe1 Enter interface mode.
SWITCH-2(config-if)#lldp-agent Enter lldp-agent mode
SWITCH-2(lldp-agent)#set lldp enable txrx Enable LLDP transmit and receive for the nearest bridge.
SWITCH-2(lldp-agent)#exit Exit lldp-agent mode
SWITCH-2(config-if)# lldp-agent customer- Enter lldp-agent customer mode
bridge
SWITCH-2(lldp-agent)#set lldp enable txrx Enable LLDP transmit and receive for the customer bridge.
SWITCH-2(lldp-agent)#exit Exit lldp-agent mode
SWITCH-2(config-if)#lldp-agent non-tpmr- Enter into lldp-agent non-tpmr-bridge mode.
bridge
SWITCH-2(lldp-agent)#set lldp enable txrx Enable LLDP transmit and receive for the non-tpmr bridge.
SWITCH-2(lldp-agent)#exit Exit lldp-agent mode.

Validation
SWITCH-1#sh lldp interface Xe1 neighbor
Customer-bridge Neighbors
Non-TPMR-bridge Neighbors
System Name : x86_64-debian
System Description :
Port Description :
TTL : 121
System Capabilities : Routing
Mandatory TLVs :
CHASSIS ID TYPE :
Chassis MAC Address: 0800.2710.3dd9
PORT ID TYPE :
Port MAC Address: 0800.2710.3dd9
8021 ORIGIN SPECIFIC TLV
Port Vlan id :0
PP Vlan id :0
Remote Protocols Advertised :
Remote VID Usage Digest : 0
Remote Management Vlan : 0
Link Aggregation Status : Disabled
Link Aggregation Port ID : 0
8023 ORIGIN SPECIFIC TLV
AutoNego Support :
AutoNego Capability : 0
Operational MAU Type : 0
Max Frame Size : 0

Nearest bridge Neighbors


System Name : x86_64-debian
System Description :
Port Description :
TTL : 121

16 © 2021 IP Infusion Inc. Proprietary


Understanding Link Layer Discovery Protocol

System Capabilities : Routing


Mandatory TLVs :
CHASSIS ID TYPE :
Chassis MAC Address: 0800.2710.3dd9
PORT ID TYPE :
Port MAC Address: 0800.2710.3dd9
8021 ORIGIN SPECIFIC TLV
Port Vlan id :0
PP Vlan id :0
Remote Protocols Advertised :
Remote VID Usage Digest : 0
Remote Management Vlan : 0
Link Aggregation Status : Disabled
Link Aggregation Port ID : 0
8023 ORIGIN SPECIFIC TLV
AutoNego Support :
AutoNego Capability : 0
Operational MAU Type : 0
Max Frame Size : 0

© 2021 IP Infusion Inc. Proprietary 17


Understanding Link Layer Discovery Protocol

18 © 2021 IP Infusion Inc. Proprietary


CHAPTER 4 Understanding Spanning Tree Protocol

Overview
The Spanning Tree Protocol (STP) prevents duplication of packets by eliminating loops in the network.

Topology

Configuration

SWITCH-1

SWITCH-1#configure terminal Enter configuration mode.


SWITCH-1(config)#bridge 1 protocol Configure bridge 1 as a spanning-tree bridge.
ieee
SWITCH-1(config)#interface xe1 Enter interface mode.
SWITCH-1(config-if)#switchport Configure the interface as a Layer-2 interface.
SWITCH-1(config-if)#bridge-group 1 Configure the interface as part of a spanning-tree bridge.
SWITCH-1(config)#exit Exit interface mode.
SWITCH-1(config)#interface xe2 Enter interface mode.
SWITCH-1(config-if)#switchport Configure the interface as a Layer-2 interface.
SWITCH-1(config-if)#bridge-group 1 Configure the interface as part of a spanning-tree bridge.
SWITCH-1(config-if)#exit Exit interface mode
SWITCH-1(config)#exit Exit configuration mode

SWITCH-2

SWITCH-2#configure terminal Enter configuration mode.


SWITCH-2(config)#bridge 1 protocol ieee Configure bridge 1 as a spanning-tree bridge.

© 2021 IP Infusion Inc. Proprietary 19


Understanding Spanning Tree Protocol

SWITCH-2(config)#interface xe1 Enter interface mode,


SWITCH-2(config-if)#switchport Configure the interface as a Layer-2 interface.
SWITCH-2(config-if)#bridge-group 1 Configure the interface as part of a spanning-tree bridge.
SWITCH-2(config)#exit Exit interface mode.
SWITCH-2(config)#interface xe2 Enter interface mode.
SWITCH-2(config-if)#switchport Configure the interface as a Layer-2 interface.
SWITCH-2(config-if)#bridge-group 1 Configure the interface as part of a spanning-tree bridge.
SWITCH-2(config-if)#exit Exit interface mode.
SWITCH-2(config)#exit Exit configuration mode.

SWITCH-3

SWITCH-3#configure terminal Enter configuration mode.


SWITCH-3(config)#bridge 1 protocol ieee Configure bridge 1 as a spanning-tree bridge.
SWITCH-3(config)#interface xe1 Enter interface mode.
SWITCH-3(config-if)#switchport Configure the interface as a Layer-2 interface.
SWITCH-3(config-if)#bridge-group 1 Configure the interface as part of spanning-tree bridge.
SWITCH-3(config)#exit Exit interface mode.
SWITCH-3(config)#interface xe2 Enter interface mode.
SWITCH-3(config-if)#switchport Configure the interface as a Layer-2 interface.
SWITCH-3(config-if)#bridge-group 1 Configure the interface as part of a spanning-tree bridge.
SWITCH-3(config-if)#exit Exit interface mode.
SWITCH-3(config)#exit Exit configuration mode.

Validation

SWITCH-1
SWITCH-1#show spanning-tree
% 1: Bridge up - Spanning Tree Enabled
% 1: Root Path Cost 4 - Priority 32768
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20 - Transmit Hold Count 6 - Root port 4
% 1: Root Id 8000525400431c4a
% 1: Bridge Id 80005254005d83ef
% 1: 2 topology changes - last topology change Wed Jul 29 10:03:38 2015
% 1: portfast bpdu-filter disabled
% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 300 sec
% xe1: Port Number 3 - Ifindex 3 - Port Id 8003 - path cost 4 - designated cost 4
% xe1: Designated Port Id 8003 - state Forwarding -Priority 128
% xe1: Designated root 8000525400431c4a
% xe1: Designated Bridge 80005254005d83ef

20 © 2021 IP Infusion Inc. Proprietary


Understanding Spanning Tree Protocol

% xe1: Message Age 1 - Max Age 20


% xe1: Hello Time 2 - Forward Delay 15
% xe1: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 1 - topo change timer 0
% xe1: forward-transitions 1
% xe1: portfast disabled
% xe1: bpdu-guard default - Current bpdu-guard off
% xe1: bpdu-filter default - Current bpdu-filter off
% xe1: no root guard configured - Current root guard off
%
% xe2: Port Number 4 - Ifindex 4 - Port Id 8004 - path cost 4 - designated cost 0
% xe2: Designated Port Id 8003 - state Forwarding -Priority 128
% xe2: Designated root 8000525400431c4a
% xe2: Designated Bridge 8000525400431c4a
% xe2: Message Age 0 - Max Age 20
% xe2: Hello Time 2 - Forward Delay 15
% xe2: Forward Timer 0 - Msg Age Timer 18 - Hello Timer 1 - topo change timer 0
% xe2: forward-transitions 1
% xe2: portfast disabled
% xe2: bpdu-guard default - Current bpdu-guard off
% xe2: bpdu-filter default - Current bpdu-filter off
% xe2: no root guard configured - Current root guard off

SWITCH-2
SWITCH-2#show spanning-tree
% 1: Bridge up - Spanning Tree Enabled
% 1: Root Path Cost 4 - Priority 32768
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20 - Transmit Hold Count 6 - Root port 4
% 1: Root Id 8000525400431c4a
% 1: Bridge Id 8000525400d341e1
% 1: 3 topology changes - last topology change Wed Jul 29 10:03:34 2015
% 1: portfast bpdu-filter disabled
% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 300 sec
% xe1: Port Number 3 - Ifindex 3 - Port Id 8003 - path cost 4 - designated cost 4
% xe1: Designated Port Id 8003 - state Blocked -Priority 128
% xe1: Designated root 8000525400431c4a
% xe1: Designated Bridge 80005254005d83ef
% xe1: Message Age 1 - Max Age 20
% xe1: Hello Time 2 - Forward Delay 15
% xe1: Forward Timer 0 - Msg Age Timer 17 - Hello Timer 1 - topo change timer 0
% xe1: forward-transitions 1
% xe1: portfast disabled
% xe1: bpdu-guard default - Current bpdu-guard off
% xe1: bpdu-filter default - Current bpdu-filter off
% xe1: no root guard configured - Current root guard off
%
% xe2: Port Number 4 - Ifindex 4 - Port Id 8004 - path cost 4 - designated cost 0

© 2021 IP Infusion Inc. Proprietary 21


Understanding Spanning Tree Protocol

% xe2: Designated Port Id 8004 - state Forwarding -Priority 128


% xe2: Designated root 8000525400431c4a
% xe2: Designated Bridge 8000525400431c4a
% xe2: Message Age 0 - Max Age 20
% xe2: Hello Time 2 - Forward Delay 15
% xe2: Forward Timer 0 - Msg Age Timer 18 - Hello Timer 1 - topo change timer 0
% xe2: forward-transitions 1
% xe2: portfast disabled
% xe2: bpdu-guard default - Current bpdu-guard off
% xe2: bpdu-filter default - Current bpdu-filter off
% xe2: no root guard configured - Current root guard off

SWITCH-3
SWITCH-3#show spanning-tree
% 1: Bridge up - Spanning Tree Enabled
% 1: Root Path Cost 0 - Priority 32768
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20 - Transmit Hold Count 6 - Root port 0
% 1: Root Id 8000525400431c4a
% 1: Bridge Id 8000525400431c4a
% 1: 6 topology changes - last topology change Wed Jul 29 10:03:39 2015
% 1: portfast bpdu-filter disabled
% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 300 sec
% xe1: Port Number 3 - Ifindex 3 - Port Id 8003 - path cost 4 - designated cost 0
% xe1: Designated Port Id 8003 - state Forwarding -Priority 128
% xe1: Designated root 8000525400431c4a
% xe1: Designated Bridge 8000525400431c4a
% xe1: Message Age 0 - Max Age 20
% xe1: Hello Time 2 - Forward Delay 15
% xe1: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 1 - topo change timer 0
% xe1: forward-transitions 1
% xe1: portfast disabled
% xe1: bpdu-guard default - Current bpdu-guard off
% xe1: bpdu-filter default - Current bpdu-filter off
% xe1: no root guard configured - Current root guard off
%
% xe2: Port Number 4 - Ifindex 4 - Port Id 8004 - path cost 4 - designated cost 0
% xe2: Designated Port Id 8004 - state Forwarding -Priority 128
% xe2: Designated root 8000525400431c4a
% xe2: Designated Bridge 8000525400431c4a
% xe2: Message Age 0 - Max Age 20
% xe2: Hello Time 2 - Forward Delay 15
% xe2: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 1 - topo change timer 0
% xe2: forward-transitions 1
% xe2: portfast disabled
% xe2: bpdu-guard default - Current bpdu-guard off
% xe2: bpdu-filter default - Current bpdu-filter off
% xe2: no root guard configured - Current root guard off

22 © 2021 IP Infusion Inc. Proprietary


Understanding Spanning Tree Protocol

© 2021 IP Infusion Inc. Proprietary 23


Understanding Spanning Tree Protocol

24 © 2021 IP Infusion Inc. Proprietary


CHAPTER 5 Understanding Rapid Spanning Tree Protocol

Overview
The Rapid Spanning Tree Protocol (RSTP) provides rapid convergence of a spanning tree. RSTP speeds up the
reconfiguration of the tree after a change by using alternate ports.

Topology

Configuration

SWITCH-1

SWITCH-1#configure terminal Enter configuration mode.


SWITCH-1(config)#bridge 1 protocol Configure bridge 1 as a rapid spanning-tree bridge.
rstp
SWITCH-1(config)#interface xe1 Enter interface mode.
SWITCH-1(config-if)#switchport Configure the interface as a Layer-2 interface.
SWITCH-1(config-if)#bridge-group 1 Configure the interface as part of Rapid spanning-tree bridge.
SWITCH-1(config)#exit Exit interface mode.
SWITCH-1(config)#interface xe2 Enter interface mode.
SWITCH-1(config-if)#switchport Configure the interface as a Layer-2 interface.
SWITCH-1(config-if)#bridge-group 1 Configure the interface as part of a rapid spanning-tree bridge.
SWITCH-1(config-if)#exit Exit interface mode.
SWITCH-1(config)#exit Exit configuration mode.

© 2021 IP Infusion Inc. Proprietary 25


Understanding Rapid Spanning Tree Protocol

SWITCH-2

SWITCH-2#configure terminal Enter configuration mode.


SWITCH-2(config)#bridge 1 protocol rstp Configure bridge 1 as a rapid spanning-tree bridge.
SWITCH-2(config)#interface xe1 Enter interface mode.
SWITCH-2(config-if)#switchport Configure the interface as a Layer-2 interface.
SWITCH-2(config-if)#bridge-group 1 Configure the interface as part of a rapid spanning-tree bridge.
SWITCH-2(config)#exit Exit interface mode.
SWITCH-2(config)#interface xe2 Enter interface mode.
SWITCH-2(config-if)#switchport Configure the interface as a Layer-2 interface.
SWITCH-2(config-if)#bridge-group 1 Configure the interface as part of a rapid spanning-tree bridge.
SWITCH-2(config-if)#exit Exit interface mode.
SWITCH-2(config)#exit Exit configuration mode.

SWITCH-3

SWITCH-3#configure terminal Enter configuration mode.


SWITCH-3(config)#bridge 1 protocol rstp Configure bridge 1 as a rapid spanning-tree bridge.
SWITCH-3(config)#interface xe1 Enter interface mode.
SWITCH-3(config-if)#switchport Configure the interface as a Layer-2 interface.
SWITCH-3(config-if)#bridge-group 1 Configure the interface as part of a rapid spanning-tree bridge.
SWITCH-3(config)#exit Exit interface mode.
SWITCH-3(config)#interface xe2 Enter interface mode.
SWITCH-3(config-if)#switchport Configure the interface as a Layer-2 interface.
SWITCH-3(config-if)#bridge-group 1 Configure the interface as part of a rapid spanning-tree bridge.
SWITCH-3(config-if)#exit Exit interface mode.
SWITCH-3(config)#exit Exit configuration mode.

Validation

SWITCH-1
SWITCH-1#show spanning-tree
% 1: Bridge up - Spanning Tree Enabled - topology change detected
% 1: Root Path Cost 20000 - Root Port 4 - Bridge Priority 32768
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20 - Transmit Hold Count 6
% 1: Root Id 8000525400431c4a
% 1: Bridge Id 80005254005d83ef
% 1: last topology change Wed Jul 29 10:21:05 2015
% 1: 10 topology change(s) - last topology change Wed Jul 29 10:21:05 2015

26 © 2021 IP Infusion Inc. Proprietary


Understanding Rapid Spanning Tree Protocol

% 1: portfast bpdu-filter disabled


% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 300 sec
% xe1: Port Number 3 - Ifindex 3 - Port Id 8003 - Role Designated - State Forwarding
% xe1: Designated Path Cost 20000
% xe1: Configured Path Cost 20000 - Add type Explicit ref count 1
% xe1: Designated Port Id 8003 - Priority 128 -
% xe1: Root 8000525400431c4a
% xe1: Designated Bridge 80005254005d83ef
% xe1: Message Age 1 - Max Age 20
% xe1: Hello Time 2 - Forward Delay 15
% xe1: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 1 - topo change timer 0
% xe1: forward-transitions 2
% xe1: Version Rapid Spanning Tree Protocol - Received RSTP - Send RSTP
% xe1: No portfast configured - Current portfast off
% xe1: bpdu-guard default - Current bpdu-guard off
% xe1: bpdu-filter default - Current bpdu-filter off
% xe1: no root guard configured - Current root guard off
% xe1: Configured Link Type point-to-point - Current point-to-point
% xe1: No auto-edge configured - Current port Auto Edge off
%
% xe2: Port Number 4 - Ifindex 4 - Port Id 8004 - Role Rootport - State Forwarding
% xe2: Designated Path Cost 0
% xe2: Configured Path Cost 20000 - Add type Explicit ref count 1
% xe2: Designated Port Id 8003 - Priority 128 -
% xe2: Root 8000525400431c4a
% xe2: Designated Bridge 8000525400431c4a
% xe2: Message Age 0 - Max Age 20
% xe2: Hello Time 2 - Forward Delay 15
% xe2: Forward Timer 0 - Msg Age Timer 5 - Hello Timer 1 - topo change timer 0
% xe2: forward-transitions 1
% xe2: Version Rapid Spanning Tree Protocol - Received RSTP - Send RSTP
% xe2: No portfast configured - Current portfast off
% xe2: bpdu-guard default - Current bpdu-guard off
% xe2: bpdu-filter default - Current bpdu-filter off
% xe2: no root guard configured - Current root guard off
% xe2: Configured Link Type point-to-point - Current point-to-point
% xe2: No auto-edge configured - Current port Auto Edge off

SWITCH-2
SWITCH-2#show spanning-tree
% 1: Bridge up - Spanning Tree Enabled - topology change detected
% 1: Root Path Cost 20000 - Root Port 4 - Bridge Priority 32768
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20 - Transmit Hold Count 6
% 1: Root Id 8000525400431c4a
% 1: Bridge Id 8000525400d341e1
% 1: last topology change Wed Jul 29 10:21:05 2015
% 1: 7 topology change(s) - last topology change Wed Jul 29 10:21:05 2015

© 2021 IP Infusion Inc. Proprietary 27


Understanding Rapid Spanning Tree Protocol

% 1: portfast bpdu-filter disabled


% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 300 sec
% xe1: Port Number 3 - Ifindex 3 - Port Id 8003 - Role Alternate - State Discarding
% xe1: Designated Path Cost 20000
% xe1: Configured Path Cost 20000 - Add type Explicit ref count 1
% xe1: Designated Port Id 8003 - Priority 128 -
% xe1: Root 8000525400431c4a
% xe1: Designated Bridge 80005254005d83ef
% xe1: Message Age 1 - Max Age 20
% xe1: Hello Time 2 - Forward Delay 15
% xe1: Forward Timer 0 - Msg Age Timer 5 - Hello Timer 1 - topo change timer 0
% xe1: forward-transitions 1
% xe1: Version Rapid Spanning Tree Protocol - Received RSTP - Send RSTP
% xe1: No portfast configured - Current portfast off
% xe1: bpdu-guard default - Current bpdu-guard off
% xe1: bpdu-filter default - Current bpdu-filter off
% xe1: no root guard configured - Current root guard off
% xe1: Configured Link Type point-to-point - Current point-to-point
% xe1: No auto-edge configured - Current port Auto Edge off
%
% xe2: Port Number 4 - Ifindex 4 - Port Id 8004 - Role Rootport - State Forwarding
% xe2: Designated Path Cost 0
% xe2: Configured Path Cost 20000 - Add type Explicit ref count 1
% xe2: Designated Port Id 8004 - Priority 128 -
% xe2: Root 8000525400431c4a
% xe2: Designated Bridge 8000525400431c4a
% xe2: Message Age 0 - Max Age 20
% xe2: Hello Time 2 - Forward Delay 15
% xe2: Forward Timer 0 - Msg Age Timer 5 - Hello Timer 1 - topo change timer 0
% xe2: forward-transitions 1
% xe2: Version Rapid Spanning Tree Protocol - Received RSTP - Send RSTP
% xe2: No portfast configured - Current portfast off
% xe2: bpdu-guard default - Current bpdu-guard off
% xe2: bpdu-filter default - Current bpdu-filter off
% xe2: no root guard configured - Current root guard off
% xe2: Configured Link Type point-to-point - Current point-to-point
% xe2: No auto-edge configured - Current port Auto Edge off

SWITCH-3
SWITCH-3#show spanning-tree
% 1: Bridge up - Spanning Tree Enabled - topology change detected
% 1: Root Path Cost 0 - Root Port 0 - Bridge Priority 32768
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20 - Transmit Hold Count 6
% 1: Root Id 8000525400431c4a
% 1: Bridge Id 8000525400431c4a
% 1: last topology change Wed Jul 29 10:21:05 2015

28 © 2021 IP Infusion Inc. Proprietary


Understanding Rapid Spanning Tree Protocol

% 1: 6 topology change(s) - last topology change Wed Jul 29 10:21:05 2015

% 1: portfast bpdu-filter disabled


% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 300 sec
% xe1: Port Number 3 - Ifindex 3 - Port Id 8003 - Role Designated - State Forwarding
% xe1: Designated Path Cost 0
% xe1: Configured Path Cost 20000 - Add type Explicit ref count 1
% xe1: Designated Port Id 8003 - Priority 128 -
% xe1: Root 8000525400431c4a
% xe1: Designated Bridge 8000525400431c4a
% xe1: Message Age 0 - Max Age 20
% xe1: Hello Time 2 - Forward Delay 15
% xe1: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 1 - topo change timer 0
% xe1: forward-transitions 1
% xe1: Version Rapid Spanning Tree Protocol - Received RSTP - Send RSTP
% xe1: No portfast configured - Current portfast off
% xe1: bpdu-guard default - Current bpdu-guard off
% xe1: bpdu-filter default - Current bpdu-filter off
% xe1: no root guard configured - Current root guard off
% xe1: Configured Link Type point-to-point - Current point-to-point
% xe1: No auto-edge configured - Current port Auto Edge off
%
% xe2: Port Number 4 - Ifindex 4 - Port Id 8004 - Role Designated - State Forwarding
% xe2: Designated Path Cost 0
% xe2: Configured Path Cost 20000 - Add type Explicit ref count 1
% xe2: Designated Port Id 8004 - Priority 128 -
% xe2: Root 8000525400431c4a
% xe2: Designated Bridge 8000525400431c4a
% xe2: Message Age 0 - Max Age 20
% xe2: Hello Time 2 - Forward Delay 15
% xe2: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 1 - topo change timer 0
% xe2: forward-transitions 1
% xe2: Version Rapid Spanning Tree Protocol - Received RSTP - Send RSTP
% xe2: No portfast configured - Current portfast off
% xe2: bpdu-guard default - Current bpdu-guard off
% xe2: bpdu-filter default - Current bpdu-filter off
% xe2: no root guard configured - Current root guard off
% xe2: Configured Link Type point-to-point - Current point-to-point
% xe2: No auto-edge configured - Current port Auto Edge off

© 2021 IP Infusion Inc. Proprietary 29


Understanding Rapid Spanning Tree Protocol

30 © 2021 IP Infusion Inc. Proprietary


CHAPTER 6 Understanding Multiple Spanning Tree Protocol

Overview
The Multiple Spanning Tree Protocol (MSTP) allows multiple VLANs to be grouped into one spanning-tree instance.
Every MST instance has a spanning-tree that is independent of other spanning-tree instances providing multiple
forwarding paths for data traffic.

Topology

Configuration

SWITCH-1

SWITCH-1#configure terminal Enter configuration mode.


SWITCH-1(config)#bridge 1 protocol Configure bridge 1 as a multiple spanning-tree bridge.
mstp
SWITCH-1(config)#vlan database Enter VLAN database mode.
SWITCH-1(config-vlan)#vlan 10 bridge 1 Configure VLAN 10 on MSTP bridge.
state enable
SWITCH-1(config-vlan)#vlan 20 bridge 1 Configure VLAN 20 on MSTP bridge.
state enable
SWITCH-1(config-vlan)#exit Exit VLAN database mode.
SWITCH-1(config)#spanning-tree mst Enter MST configuration mode.
configuration
SWITCH-1(config-mst)#bridge 1 instance Associate VLAN 10 to MST instance 1.
1 vlan 10
SWITCH-1(config-mst)#bridge 1 instance Associate VLAN 20 to MST instance 2.
2 vlan 20
SWITCH-1(config-mst)#exit Exit MST configuration mode.
SWITCH-1(config)#interface xe1 Enter interface mode.

© 2021 IP Infusion Inc. Proprietary 31


Understanding Multiple Spanning Tree Protocol

SWITCH-1(config-if)#switchport Configure the interface as a Layer-2 interface


SWITCH-1(config-if)#bridge-group 1 Configure the interface as part of a multiple spanning-tree bridge.
SWITCH-1(config-if)#switchport mode Configure the interface as a trunk port.
trunk
SWITCH-1(config-if)#switchport trunk Configure interface as member of VLAN 10 & VLAN 20.
allowed vlan add 10,20
SWITCH-1(config-if)#bridge-group 1 Associate interface to MST instance 1.
instance 1
SWITCH-1(config-if)#bridge-group 1 Associate interface to MST instance 2.
instance 2
SWITCH-1(config)#exit Exit interface mode.
SWITCH-1(config)#interface xe2 Enter interface mode.
SWITCH-1(config-if)#switchport Configure the interface as a Layer-2 interface.
SWITCH-1(config-if)#bridge-group 1 Configure the interface as part of a multiple spanning-tree bridge.
SWITCH-1(config-if)#switchport mode Configure the interface as a trunk port.
trunk
SWITCH-1(config-if)#switchport trunk Configure interface as member of VLAN 10 and VLAN 20.
allowed vlan add 10,20
SWITCH-1(config-if)#bridge-group 1 Associate interface to MST instance 1.
instance 1
SWITCH-1(config-if)#bridge-group 1 Associate interface to MST instance 2.
instance 2
SWITCH-1(config)#exit Exit interface mode.

SWITCH-2

SWITCH-2#configure terminal Enter configuration mode.


SWITCH-2(config)#bridge 1 protocol Configure bridge 1 as a multiple spanning-tree bridge.
mstp
SWITCH-2(config)#vlan database Enter VLAN database mode.
SWITCH-2(config-vlan)#vlan 10 bridge 1 Configure VLAN 10 on MSTP bridge.
state enable
SWITCH-2(config-vlan)#vlan 20 bridge 1 Configure VLAN 20 on MSTP bridge.
state enable
SWITCH-2(config-vlan)#exit Exit VLAN database mode.
SWITCH-2(config)#spanning-tree mst Enter MST configuration mode.
configuration
SWITCH-2(config-mst)#bridge 1 instance Associate VLAN 10 to MST instance 1.
1 vlan 10
SWITCH-2(config-mst)#bridge 1 instance Associate VLAN 20 to MST instance 2.
2 vlan 20
SWITCH-2(config-mst)#exit Exit MST configuration mode.
SWITCH-2(config)#interface xe1 Enter interface mode.
SWITCH-2(config-if)#switchport Configure the interface as a Layer-2 interface.
SWITCH-2(config-if)#bridge-group 1 Configure the interface as part of a multiple spanning-tree bridge.

32 © 2021 IP Infusion Inc. Proprietary


Understanding Multiple Spanning Tree Protocol

SWITCH-2(config-if)#switchport mode Configure the interface as a trunk port.


trunk
SWITCH-2(config-if)#switchport trunk Configure interface as member of VLAN 10 and VLAN 20.
allowed vlan add 10,20
SWITCH-2(config-if)#bridge-group 1 Associate interface to MST instance 1.
instance 1
SWITCH-2(config-if)#bridge-group 1 Associate interface to MST instance 2.
instance 2
SWITCH-2(config)#exit Exit interface mode.
SWITCH-2(config)#interface xe2 Enter interface mode.
SWITCH-2(config-if)#switchport Configure the interface as Layer-2 interface.
SWITCH-2(config-if)#bridge-group 1 Configure the interface as part of a multiple spanning-tree bridge.
SWITCH-2(config-if)#switchport mode Configure the interface as a trunk port.
trunk
SWITCH-2(config-if)#switchport trunk Configure interface as member of VLAN 10 and VLAN 20.
allowed vlan add 10,20
SWITCH-2(config-if)#bridge-group 1 Associate interface to MST instance 1.
instance 1
SWITCH-2(config-if)#bridge-group 1 Associate interface to MST instance 2.
instance 2
SWITCH-2(config)#exit Exit interface mode.

SWITCH-3

SWITCH-3#configure terminal Enter configuration mode.


SWITCH-3(config)#bridge 1 protocol Configure bridge 1 as a multiple spanning-tree bridge.
mstp
SWITCH-3(config)#vlan database Enter VLAN database mode.
SWITCH-3(config-vlan)#vlan 10 bridge 1 Configure VLAN 10 on MSTP bridge.
state enable
SWITCH-3(config-vlan)#vlan 20 bridge 1 Configure VLAN 20 on MSTP bridge.
state enable
SWITCH-3(config-vlan)#exit Exit VLAN database mode.
SWITCH-3(config)#spanning-tree mst Enter MST configuration mode.
configuration
SWITCH-3(config-mst)#bridge 1 instance Associate VLAN 10 to MST instance 1.
1 vlan 10
SWITCH-3(config-mst)#bridge 1 instance Associate VLAN 20 to MST instance 2.
2 vlan 20
SWITCH-3(config-mst)#exit Exit MST configuration mode.
SWITCH-3(config)#interface xe1 Enter interface mode.
SWITCH-3(config-if)#switchport Configure the interface as a Layer-2 interface
SWITCH-3(config-if)#bridge-group 1 Configure the interface as part of a multiple spanning-tree bridge.
SWITCH-3(config-if)#switchport mode Configure the interface as a trunk port.
trunk

© 2021 IP Infusion Inc. Proprietary 33


Understanding Multiple Spanning Tree Protocol

SWITCH-3(config-if)#switchport trunk Configure interface as member of VLAN 10 and VLAN 20.


allowed vlan add 10,20
SWITCH-3(config-if)#bridge-group 1 Associate interface to MST instance 1.
instance 1
SWITCH-3(config-if)#bridge-group 1 Associate interface to MST instance 2.
instance 2
SWITCH-3(config)#exit Exit interface mode.
SWITCH-3(config)#interface xe2 Enter interface mode.
SWITCH-3(config-if)#switchport Configure the interface as a Layer-2 interface.
SWITCH-3(config-if)#bridge-group 1 Configure the interface as part of a multiple spanning-tree bridge.
SWITCH-3(config-if)#switchport mode Configure the interface as a trunk port.
trunk
SWITCH-3(config-if)#switchport trunk Configure interface as member of VLAN 10 and VLAN 20.
allowed vlan add 10,20
SWITCH-3(config-if)#bridge-group 1 Associate interface to MST instance 1.
instance 1
SWITCH-3(config-if)#bridge-group 1 Associate interface to MST instance 2.
instance 2
SWITCH-3(config)#exit Exit interface mode.

Validation

SWITCH-1
SWITCH-1#show spanning-tree mst detail
% 1: Bridge up - Spanning Tree Enabled - topology change detected
% 1: CIST Root Path Cost 0 - CIST Root Port 4 - CIST Bridge Priority 32768
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20 - Transmit Hold Count 6 - Max-hops 20
% 1: CIST Root Id 8000525400431c4a
% 1: CIST Reg Root Id 8000525400431c4a
% 1: CIST Bridge Id 80005254005d83ef
% 1: 11 topology change(s) - last topology change Wed Jul 29 10:40:22 2015

% 1: portfast bpdu-filter disabled


% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 300 sec
% xe1: Port Number 3 - Ifindex 3 - Port Id 8003 - Role Designated - State Forwarding
% xe1: Designated External Path Cost 0 -Internal Path Cost 20000
% xe1: Configured Path Cost 20000 - Add type Explicit ref count 3
% xe1: Designated Port Id 8003 - CIST Priority 128 -
% xe1: CIST Root 8000525400431c4a
% xe1: Regional Root 8000525400431c4a
% xe1: Designated Bridge 80005254005d83ef
% xe1: Message Age 0 - Max Age 20
% xe1: CIST Hello Time 2 - Forward Delay 15
% xe1: CIST Forward Timer 0 - Msg Age Timer 0 - Hello Timer 1 - topo change timer 0

34 © 2021 IP Infusion Inc. Proprietary


Understanding Multiple Spanning Tree Protocol

% xe1: forward-transitions 2
% xe1: Version Multiple Spanning Tree Protocol - Received MSTP - Send MSTP
% xe1: No portfast configured - Current portfast off
% xe1: bpdu-guard default - Current bpdu-guard off
% xe1: bpdu-filter default - Current bpdu-filter off
% xe1: no root guard configured - Current root guard off
% xe1: Configured Link Type point-to-point - Current point-to-point
% xe1: No auto-edge configured - Current port Auto Edge off
%
% xe2: Port Number 4 - Ifindex 4 - Port Id 8004 - Role Rootport - State Forwarding
% xe2: Designated External Path Cost 0 -Internal Path Cost 20000
% xe2: Configured Path Cost 20000 - Add type Explicit ref count 3
% xe2: Designated Port Id 8003 - CIST Priority 128 -
% xe2: CIST Root 8000525400431c4a
% xe2: Regional Root 8000525400431c4a
% xe2: Designated Bridge 8000525400431c4a
% xe2: Message Age 0 - Max Age 20
% xe2: CIST Hello Time 2 - Forward Delay 15
% xe2: CIST Forward Timer 0 - Msg Age Timer 5 - Hello Timer 0 - topo change timer 0
% xe2: forward-transitions 1
% xe2: Version Multiple Spanning Tree Protocol - Received MSTP - Send MSTP
% xe2: No portfast configured - Current portfast off
% xe2: bpdu-guard default - Current bpdu-guard off
% xe2: bpdu-filter default - Current bpdu-filter off
% xe2: no root guard configured - Current root guard off
% xe2: Configured Link Type point-to-point - Current point-to-point
% xe2: No auto-edge configured - Current port Auto Edge off
%
% Instance 1: Vlans: 10

% 1: MSTI Root Path Cost 20000 -MSTI Root Port 4 - MSTI Bridge Priority 32768
% 1: MSTI Root Id 8001525400431c4a
% 1: MSTI Bridge Id 80015254005d83ef
% xe2: Port Number 4 - Ifindex 4 - Port Id 8004 - Role Rootport - State Forwarding
% xe2: Designated Internal Path Cost 0 - Designated Port Id 8003
% xe2: Configured Internal Path Cost 20000
% xe2: Configured CST External Path cost 20000
% xe2: CST Priority 128 - MSTI Priority 128
% xe2: Designated Root 8001525400431c4a
% xe2: Designated Bridge 80015254005d83ef
% xe2: Message Age 0
% xe2: Hello Time 2 - Forward Delay 15
% xe2: Forward Timer 0 - Msg Age Timer 5 - Hello Timer 0
% xe1: Port Number 3 - Ifindex 3 - Port Id 8003 - Role Designated - State Forwarding
% xe1: Designated Internal Path Cost 20000 - Designated Port Id 8003
% xe1: Configured Internal Path Cost 20000
% xe1: Configured CST External Path cost 20000
% xe1: CST Priority 128 - MSTI Priority 128
% xe1: Designated Root 8001525400431c4a
% xe1: Designated Bridge 80015254005d83ef

© 2021 IP Infusion Inc. Proprietary 35


Understanding Multiple Spanning Tree Protocol

% xe1: Message Age 0


% xe1: Hello Time 2 - Forward Delay 15
% xe1: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 1

% Instance 2: Vlans: 20

% 1: MSTI Root Path Cost 20000 -MSTI Root Port 4 - MSTI Bridge Priority 32768
% 1: MSTI Root Id 8002525400431c4a
% 1: MSTI Bridge Id 80025254005d83ef
% xe2: Port Number 4 - Ifindex 4 - Port Id 8004 - Role Rootport - State Forwarding
% xe2: Designated Internal Path Cost 0 - Designated Port Id 8003
% xe2: Configured Internal Path Cost 20000
% xe2: Configured CST External Path cost 20000
% xe2: CST Priority 128 - MSTI Priority 128
% xe2: Designated Root 8002525400431c4a
% xe2: Designated Bridge 80025254005d83ef
% xe2: Message Age 0
% xe2: Hello Time 2 - Forward Delay 15
% xe2: Forward Timer 0 - Msg Age Timer 5 - Hello Timer 0
% xe1: Port Number 3 - Ifindex 3 - Port Id 8003 - Role Designated - State Forwarding
% xe1: Designated Internal Path Cost 20000 - Designated Port Id 8003
% xe1: Configured Internal Path Cost 20000
% xe1: Configured CST External Path cost 20000
% xe1: CST Priority 128 - MSTI Priority 128
% xe1: Designated Root 8002525400431c4a
% xe1: Designated Bridge 80025254005d83ef
% xe1: Message Age 0
% xe1: Hello Time 2 - Forward Delay 15
% xe1: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 1

SWITCH-2
SWITCH-2#show spanning-tree mst detail
% 1: Bridge up - Spanning Tree Enabled - topology change detected
% 1: CIST Root Path Cost 0 - CIST Root Port 4 - CIST Bridge Priority 32768
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20 - Transmit Hold Count 6 - Max-hops 20
% 1: CIST Root Id 8000525400431c4a
% 1: CIST Reg Root Id 8000525400431c4a
% 1: CIST Bridge Id 8000525400d341e1
% 1: 10 topology change(s) - last topology change Wed Jul 29 10:40:23 2015

% 1: portfast bpdu-filter disabled


% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 300 sec
% xe1: Port Number 3 - Ifindex 3 - Port Id 8003 - Role Alternate - State Discarding
% xe1: Designated External Path Cost 0 -Internal Path Cost 20000
% xe1: Configured Path Cost 20000 - Add type Explicit ref count 3
% xe1: Designated Port Id 8003 - CIST Priority 128 -
% xe1: CIST Root 8000525400431c4a

36 © 2021 IP Infusion Inc. Proprietary


Understanding Multiple Spanning Tree Protocol

% xe1: Regional Root 8000525400431c4a


% xe1: Designated Bridge 80005254005d83ef
% xe1: Message Age 0 - Max Age 20
% xe1: CIST Hello Time 2 - Forward Delay 15
% xe1: CIST Forward Timer 0 - Msg Age Timer 5 - Hello Timer 0 - topo change timer 0
% xe1: forward-transitions 1
% xe1: Version Multiple Spanning Tree Protocol - Received MSTP - Send MSTP
% xe1: No portfast configured - Current portfast off
% xe1: bpdu-guard default - Current bpdu-guard off
% xe1: bpdu-filter default - Current bpdu-filter off
% xe1: no root guard configured - Current root guard off
% xe1: Configured Link Type point-to-point - Current point-to-point
% xe1: No auto-edge configured - Current port Auto Edge off
%
% xe2: Port Number 4 - Ifindex 4 - Port Id 8004 - Role Rootport - State Forwarding
% xe2: Designated External Path Cost 0 -Internal Path Cost 20000
% xe2: Configured Path Cost 20000 - Add type Explicit ref count 3
% xe2: Designated Port Id 8004 - CIST Priority 128 -
% xe2: CIST Root 8000525400431c4a
% xe2: Regional Root 8000525400431c4a
% xe2: Designated Bridge 8000525400431c4a
% xe2: Message Age 0 - Max Age 20
% xe2: CIST Hello Time 2 - Forward Delay 15
% xe2: CIST Forward Timer 0 - Msg Age Timer 4 - Hello Timer 0 - topo change timer 0
% xe2: forward-transitions 1
% xe2: Version Multiple Spanning Tree Protocol - Received MSTP - Send MSTP
% xe2: No portfast configured - Current portfast off
% xe2: bpdu-guard default - Current bpdu-guard off
% xe2: bpdu-filter default - Current bpdu-filter off
% xe2: no root guard configured - Current root guard off
% xe2: Configured Link Type point-to-point - Current point-to-point
% xe2: No auto-edge configured - Current port Auto Edge off
%
% Instance 1: Vlans: 10

% 1: MSTI Root Path Cost 20000 -MSTI Root Port 4 - MSTI Bridge Priority 32768
% 1: MSTI Root Id 8001525400431c4a
% 1: MSTI Bridge Id 8001525400d341e1
% xe2: Port Number 4 - Ifindex 4 - Port Id 8004 - Role Rootport - State Forwarding
% xe2: Designated Internal Path Cost 0 - Designated Port Id 8004
% xe2: Configured Internal Path Cost 20000
% xe2: Configured CST External Path cost 20000
% xe2: CST Priority 128 - MSTI Priority 128
% xe2: Designated Root 8001525400431c4a
% xe2: Designated Bridge 8001525400d341e1
% xe2: Message Age 0
% xe2: Hello Time 2 - Forward Delay 15
% xe2: Forward Timer 0 - Msg Age Timer 4 - Hello Timer 0
% xe1: Port Number 3 - Ifindex 3 - Port Id 8003 - Role Alternate - State Discarding
% xe1: Designated Internal Path Cost 20000 - Designated Port Id 8003

© 2021 IP Infusion Inc. Proprietary 37


Understanding Multiple Spanning Tree Protocol

% xe1: Configured Internal Path Cost 20000


% xe1: Configured CST External Path cost 20000
% xe1: CST Priority 128 - MSTI Priority 128
% xe1: Designated Root 8001525400431c4a
% xe1: Designated Bridge 8001525400d341e1
% xe1: Message Age 0
% xe1: Hello Time 2 - Forward Delay 15
% xe1: Forward Timer 0 - Msg Age Timer 5 - Hello Timer 0

% Instance 2: Vlans: 20

% 1: MSTI Root Path Cost 20000 -MSTI Root Port 4 - MSTI Bridge Priority 32768
% 1: MSTI Root Id 8002525400431c4a
% 1: MSTI Bridge Id 8002525400d341e1
% xe2: Port Number 4 - Ifindex 4 - Port Id 8004 - Role Rootport - State Forwarding
% xe2: Designated Internal Path Cost 0 - Designated Port Id 8004
% xe2: Configured Internal Path Cost 20000
% xe2: Configured CST External Path cost 20000
% xe2: CST Priority 128 - MSTI Priority 128
% xe2: Designated Root 8002525400431c4a
% xe2: Designated Bridge 8002525400d341e1
% xe2: Message Age 0
% xe2: Hello Time 2 - Forward Delay 15
% xe2: Forward Timer 0 - Msg Age Timer 4 - Hello Timer 0
% xe1: Port Number 3 - Ifindex 3 - Port Id 8003 - Role Alternate - State Discarding
% xe1: Designated Internal Path Cost 20000 - Designated Port Id 8003
% xe1: Configured Internal Path Cost 20000
% xe1: Configured CST External Path cost 20000
% xe1: CST Priority 128 - MSTI Priority 128
% xe1: Designated Root 8002525400431c4a
% xe1: Designated Bridge 8002525400d341e1
% xe1: Message Age 0
% xe1: Hello Time 2 - Forward Delay 15
% xe1: Forward Timer 0 - Msg Age Timer 5 - Hello Timer 0

SWITCH-3
SWITCH-3#show spanning-tree mst detail
% 1: Bridge up - Spanning Tree Enabled - topology change detected
% 1: CIST Root Path Cost 0 - CIST Root Port 0 - CIST Bridge Priority 32768
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20 - Transmit Hold Count 6 - Max-hops 20
% 1: CIST Root Id 8000525400431c4a
% 1: CIST Reg Root Id 8000525400431c4a
% 1: CIST Bridge Id 8000525400431c4a
% 1: 4 topology change(s) - last topology change Wed Jul 29 10:40:22 2015

% 1: portfast bpdu-filter disabled


% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 300 sec

38 © 2021 IP Infusion Inc. Proprietary


Understanding Multiple Spanning Tree Protocol

% xe1: Port Number 3 - Ifindex 3 - Port Id 8003 - Role Designated - State Forwarding
% xe1: Designated External Path Cost 0 -Internal Path Cost 0
% xe1: Configured Path Cost 20000 - Add type Explicit ref count 3
% xe1: Designated Port Id 8003 - CIST Priority 128 -
% xe1: CIST Root 8000525400431c4a
% xe1: Regional Root 8000525400431c4a
% xe1: Designated Bridge 8000525400431c4a
% xe1: Message Age 0 - Max Age 20
% xe1: CIST Hello Time 2 - Forward Delay 15
% xe1: CIST Forward Timer 0 - Msg Age Timer 0 - Hello Timer 0 - topo change timer 0
% xe1: forward-transitions 1
% xe1: Version Multiple Spanning Tree Protocol - Received None - Send MSTP
% xe1: No portfast configured - Current portfast off
% xe1: bpdu-guard default - Current bpdu-guard off
% xe1: bpdu-filter default - Current bpdu-filter off
% xe1: no root guard configured - Current root guard off
% xe1: Configured Link Type point-to-point - Current point-to-point
% xe1: No auto-edge configured - Current port Auto Edge off
%
% xe2: Port Number 4 - Ifindex 4 - Port Id 8004 - Role Designated - State Forwarding
% xe2: Designated External Path Cost 0 -Internal Path Cost 0
% xe2: Configured Path Cost 20000 - Add type Explicit ref count 3
% xe2: Designated Port Id 8004 - CIST Priority 128 -
% xe2: CIST Root 8000525400431c4a
% xe2: Regional Root 8000525400431c4a
% xe2: Designated Bridge 8000525400431c4a
% xe2: Message Age 0 - Max Age 20
% xe2: CIST Hello Time 2 - Forward Delay 15
% xe2: CIST Forward Timer 0 - Msg Age Timer 0 - Hello Timer 0 - topo change timer 0
% xe2: forward-transitions 1
% xe2: Version Multiple Spanning Tree Protocol - Received None - Send MSTP
% xe2: No portfast configured - Current portfast off
% xe2: bpdu-guard default - Current bpdu-guard off
% xe2: bpdu-filter default - Current bpdu-filter off
% xe2: no root guard configured - Current root guard off
% xe2: Configured Link Type point-to-point - Current point-to-point
% xe2: No auto-edge configured - Current port Auto Edge off
%
% Instance 1: Vlans: 10

% 1: MSTI Root Path Cost 0 -MSTI Root Port 0 - MSTI Bridge Priority 32768
% 1: MSTI Root Id 8001525400431c4a
% 1: MSTI Bridge Id 8001525400431c4a
% xe2: Port Number 4 - Ifindex 4 - Port Id 8004 - Role Designated - State Forwarding
% xe2: Designated Internal Path Cost 0 - Designated Port Id 8004
% xe2: Configured Internal Path Cost 20000
% xe2: Configured CST External Path cost 20000
% xe2: CST Priority 128 - MSTI Priority 128
% xe2: Designated Root 8001525400431c4a
% xe2: Designated Bridge 8001525400431c4a

© 2021 IP Infusion Inc. Proprietary 39


Understanding Multiple Spanning Tree Protocol

% xe2: Message Age 0


% xe2: Hello Time 2 - Forward Delay 15
% xe2: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 0
% xe1: Port Number 3 - Ifindex 3 - Port Id 8003 - Role Designated - State Forwarding
% xe1: Designated Internal Path Cost 0 - Designated Port Id 8003
% xe1: Configured Internal Path Cost 20000
% xe1: Configured CST External Path cost 20000
% xe1: CST Priority 128 - MSTI Priority 128
% xe1: Designated Root 8001525400431c4a
% xe1: Designated Bridge 8001525400431c4a
% xe1: Message Age 0
% xe1: Hello Time 2 - Forward Delay 15
% xe1: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 0

% Instance 2: Vlans: 20

% 1: MSTI Root Path Cost 0 -MSTI Root Port 0 - MSTI Bridge Priority 32768
% 1: MSTI Root Id 8002525400431c4a
% 1: MSTI Bridge Id 8002525400431c4a
% xe2: Port Number 4 - Ifindex 4 - Port Id 8004 - Role Designated - State Forwarding
% xe2: Designated Internal Path Cost 0 - Designated Port Id 8004
% xe2: Configured Internal Path Cost 20000
% xe2: Configured CST External Path cost 20000
% xe2: CST Priority 128 - MSTI Priority 128
% xe2: Designated Root 8002525400431c4a
% xe2: Designated Bridge 8002525400431c4a
% xe2: Message Age 0
% xe2: Hello Time 2 - Forward Delay 15
% xe2: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 0
% xe1: Port Number 3 - Ifindex 3 - Port Id 8003 - Role Designated - State Forwarding
% xe1: Designated Internal Path Cost 0 - Designated Port Id 8003
% xe1: Configured Internal Path Cost 20000
% xe1: Configured CST External Path cost 20000
% xe1: CST Priority 128 - MSTI Priority 128
% xe1: Designated Root 8002525400431c4a
% xe1: Designated Bridge 8002525400431c4a
% xe1: Message Age 0
% xe1: Hello Time 2 - Forward Delay 15
% xe1: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 0

40 © 2021 IP Infusion Inc. Proprietary


Index

Numerics
802.1X 11

A
access interface 7

F
FDB 11

H
hybrid interface 7

L
LACP 11
LAG 11
LLDP 15

M
multicasting 11

R
RSTP 25

S
STP 11, 19, 31

T
tagged 7
trunk interface 7

U
untagged 7

V
VLAN 7, 11, 31

© 2021 IP Infusion Inc. Proprietary 41


Index

42 © 2021 IP Infusion Inc. Proprietary

You might also like