Page 1
LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series) First Published: 2017-03-30 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883...
Page 2
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks . Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company.
REP Ports REP Integrated with VPLS Default REP Configuration REP Segments and REP Administrative VLANs REP Configuration Guidelines REP Support on a Trunk EFP REP Configurable Timers LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Page 4
UDLD Functions Detecting Unidirectional Links How to Configure UDLD Protocol Enabling UDLD Protocol Enabling UDLD Protocol at Interface Level Enabling UDLD Probe Message Interval Recovering the UDLD Protocol LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Page 5
Example: Verifying the Ethernet Ring Protection Configuration Multiple Spanning Tree Protocol C H A P T E R 5 Restrictions for configuring MSTP How to Configure MST Protocol LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Page 6
Contents Enabling Multiple Spanning Tree Protocol Configuring Multiple Spanning Tree Protocol Configuring untagged EFP over MST interface LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
CFM can be used to monitor the status of the Edge link, and REP can take actions. This feature allows communication for REP to enable Ethernet Fault Detection (EFD) notifications between the Cisco ASR 900 Series Routers and Cisco ASR 9000 Series Aggregation Services Routers configured with REP Access Gateway (REP-AG).
(access gateway) directly connected to REP network sends failure notification, so that REP network can reroute the traffic to an alternate route. But, access devices supporting REP Edge No-Neighbor LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Configuring Ethernet Connectivity Fault Management in a Service Provider Network. For information on CFM configuration, see Carrier Ethernet Configuration Guide, Cisco IOS XE Release (Cisco ASR 900 Series). LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Page 10
| static rmep] Example: Router(config-ecfm-srv)# continuity-check Step 6 continuity-check [interval cc-interval] Configures the per-service parameters and sets the interval at which CCMs are transmitted. Example: Device(config-ecfm-srv)# continuity-check interval 10s LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
• This example shows the CFM EFD MEP information. Note Configure service internal in configuration mode before executing the show ethernet cfm efd mep command. Router# show ethernet cfm efd mep LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: http://www.cisco.com/go/mibs RFCs Title No new or modified RFCs are supported, and support for existing RFCs has not been modified. LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Page 14
Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password. LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
This chapter is not applicable for Cisco ASR 900 RSP3 Module. The Resilient Ethernet Protocol (REP) is a Cisco proprietary protocol that provides an alternative to the Spanning Tree Protocol (STP). REP provides a way to control network loops, handle link failures, and improve convergence time.
The figure below shows an example of a segment consisting of six ports spread across four switches. Ports E1 and E2 are configured as edge ports. When all ports are operational (as in the segment on the left), a single LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Page 17
• If all ports in a segment are operational, one port (referred to as the alternate port) is in the blocked state for each VLAN. If VLAN load balancing is configured, two ports in the segment control the blocked state of VLANs. LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
By default, REP packets are sent to a PortFast Bridge Protocol Data Unit (BPDU) class MAC address. The packets can also be sent to the Cisco multicast address, which at present is used only to send blocked port advertisement (BPA) messages when there is a failure in the segment. The packets are dropped by devices not running REP.
VLAN-load balancing configuration, the primary edge port again waits for the rep preempt segment command or for the configured preempt delay period after a port failure and recovery before executing the new VLAN LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
VPLS uplink or to the other side of the ring; blocks data coming from the VPLS core network; and handles access to pseudowire for Hierarchical-VPLS (H-VPLS) topologies. LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
• If REP is enabled on two ports on a router, both ports must be either regular segment ports or edge ports. REP ports follow these rules: LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
REP Support on a Trunk EFP Resilient Ethernet Protocol (REP) can be configured on Trunk EFP ports at the interface level on Cisco ASR 920 Series Router. Trunk EFP ports can have several bridged VLAN services running on them. Trunk EFP supports only 1000 VLANs.
P1 and P2 are configured as Edge No-Neighbor ports rather than intermediate segment ports. These ports inherit properties of edge ports and overcome the limitations listed above. Thus, the Edge No-Neighbor LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
• If you do not configure an administrative VLAN, the default is VLAN 1. • If you want to configure REP on an interface, ensure that the REP administrative VLAN is part of the Trunk EFP encapsulation list. LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Page 25
• Enter the physical interface or port channel ID. Router# show interface gigabitethernet0/1 rep detail Step 6 (Optional) Save your entries in the router startup copy running-config startup-config configuration file. Example: Router# copy running-config startup-config LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Defines the match criteria to be used to map dot1q frames ingress on an interface to the appropriate service instance. Example: • The range of VLAN-IDs is from 1 to 20. Router(config-if-srv)# encapsulation dot1q vlan LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
7. rep preempt delay seconds 8. end 9. show interface type number rep [detail] 10. copy running-config startup-config DETAILED STEPS Command or Action Purpose Step 1 Enables privileged EXEC mode. enable LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Page 28
• Use the segment id-list keyword-argument pair to identify one or more Router(config-if)# rep stcn segment 2-5 segments to receive STCNs. The range is from 1 to 1024. • Enter thestp to send STCNs to STP networks. LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Page 29
Step 9 show interface type number rep (Optional) Verifies the REP interface configuration. [detail] • Enter the interface type and number and the optional detail keyword, if desired. LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
(SNMP) server of link operational status changes and any port role changes. SUMMARY STEPS 1. enable 2. configure terminal 3. snmp mib rep trap-rate value 4. end 5. show running-config 6. copy running-config startup-config LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Page 32
REP trap configuration. Example: Router# show running-config Step 6 copy running-config startup-config (Optional) Saves your entries in the router startup configuration file. Example: Router# copy running-config startup-config LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
• Enter the optional keywords and arguments, as desired. Router# show rep topology Configuring REP Configurable Timers Before You Begin For the REP operation, you must enable REP on each segment interface. LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Page 34
Entering the edge keyword without the primary keyword configures the port as the secondary edge port. • (Optional)no-neighbor—Configures the segment edge as one with no external REP neighbor on a port. LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Page 35
• Enter the vlan vlan-list keyword and arguments pair to block one VLAN or a range of VLANs. • Enter the vlan all keyword to block all VLANs. LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Page 36
Example: Router# show interface Gigabitethernet0/0/1 rep detail Step 12 copy running-config startup-config (Optional) Saves your entries in the router startup configuration file. Example: Router# copy running-config startup-config LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
• (Optional)no-neighbor-Indicates the segment edge as one with no external REP neighbor on a port. • (Optional) primary-Configures the port as the primary edge port, the port on which you can configure VLAN load balancing. LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
This example shows how to configure the VLAN blocking configuration as shown in the figure below. The alternate port is the neighbor with neighbor offset number 4. After manual preemption, VLANs 100 to 200 LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Introduction to spanning tree protocols Spanning Tree Protocol (STP)/802.1D Spanning Tree PortFast BPDU Guard Enhancement Spanning Tree PortFast BPDU Guard Enhancement feature LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Unless noted otherwise, subsequent releases of that software release train also support that feature. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Page 42
Configuring Resilient Ethernet Protocol Feature Information for Resilient Ethernet Protocol LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Information About the UDLD Protocol UDLD Overview The Cisco-proprietary UDLD protocol allows the devices connected through fiber optic or copper (for example, Category 5 cabling) Ethernet cables that are connected to the LAN ports to monitor the physical configuration of the cables and detect whether a unidirectional link exists. When a unidirectional link is detected, the UDLD shuts down the affected LAN port and alerts the corresponding user, because unidirectional links cause a variety of problems, including spanning tree topology loops.
UDLD neighbor relationship established stops receiving the UDLD packets. The UDLD tries to re-establish the connection with the neighbor; the port is disabled after eight failed retries. LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
UDLD mode. When UDLD is in normal mode, the link might be considered undetermined and might not be shut down. When UDLD is in LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Use the no form of this command to disable the UDLD on a non fiber-optic LAN port. Step 5 Returns to privileged EXEC mode. Example: Router# end LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
UDLD recovery when enabled, attempts to bring an UDLD error-disabled port out of reset. Tthe default recovery timer is 300 seconds. SUMMARY STEPS 1. enable 2. configure terminal 3. udld recovery inteval 4. end LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Enables privileged EXEC mode. enable Enter your password if prompted. Example: Router> enable Step 2 udld reset Resets ports that are shut down by UDLD. Example: Router(config)# udld reset LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Device ID: FOX1736P0JP Port ID: Te0/1/0 Neighbor echo 1 device: FOX1709P3D0 Neighbor echo 1 port: Te0/0/0 Message interval: 15 Time out interval: 5 CDP Device name: RSP1B Interface Gi0/2/0 LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Page 51
Interface Gi0/2/4 Port enable administrative configuration setting: Follows device default Port enable operational state: Disabled Current bidirectional state: Unknown Interface Gi0/2/5 Port enable administrative configuration setting: Disabled LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Page 52
Router# show udld neighbors Port Device Name Device ID Port ID Neighbor State ------------ ------------- ------------ ------------ ---------------- Te0/0/0 FOX1736P0JP Te0/1/0 Bidirectional Gi0/2/0 FOC1528V27K Gi0/2 Bidirectional Gi0/2/1 FOC1639V1Z4 Gi0/4 Bidirectional LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Ring Protection Link (RPL). A ring link is bound by two adjacent Ethernet ring nodes and a port for a ring link (also known as a ring port). There must be at least two Ethernet ring nodes in a Ethernet ring. LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
R-APS Signal Failure (R-APS SF) message in both directions of the nodes adjacent to the failed link, after the nodes have blocked the port facing the failed link. On obtaining this message, the RPL owner unblocks the RPL port. LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
VLANs can be configured under only one instance. They cannot overlap multiple instances. Otherwise, data traffic or Ring Automatic Protection Switching (R-APS) messages may cross logical rings, which is not desirable. LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
The default time interval is 0 seconds; the time interval ranges from 0 to 10 seconds. Faults are reported to the ring protection mechanism only if this timer expires. LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
4 Ethernet ring nodes C and D start sending Ring Automatic Protection Switching (R-APS) SF messages periodically along with the (node ID and bidirectional path-protected ring (BPR) identifier pair) on both ring ports while the SF condition persists. LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Page 58
Ethernet ring node D receives an R-APS NR message with a higher node ID from Ethernet ring node C, and unblocks its nonfailed ring port. LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
• Rewrite commands—In each EFP, VLAN tag management can be specified with the following actions: ◦Pop—1) pops out a tag; 2) pops out two tags ◦Push— pushes in a tag LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
• encapsulation--Configures Ethernet frame match criteria • exit--Exits from service instance configuration mode • no--Negates a command or sets its defaults • shutdown--Takes the service instance out of service LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
CFM monitoring. When CFM monitoring is configured, note the following points: • Static remote MEP (RMEP) checking should be enabled. • The MEPs should be configured to enable Ethernet fault detection. LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Device> enable Step 2 configure terminal Enters global configuration mode. Example: Device# configure terminal Step 3 ethernet cfm global Enables Ethernet CFM globally. Example: Device(config)# ethernet cfm global LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Page 64
Enables CFM to notify registered protocols when a defect is detected or cleared, which matches the current fault alarm priority. Example: Device(config-ecfm-srv)# efd notify g8032 LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
19. port0 service instance instance-id 20. port1 service instance {instance-id | none } 21. end DETAILED STEPS Command or Action Purpose Step 1 enable Enables privileged EXEC mode. LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Page 66
(port1) and detect ring failures. Example: • The interface (to which port1 is attached) must be a subinterface of the main interface. Device(config-erp-ring-port)# monitor service instance 2 LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Page 67
Specifies VLANs that are protected by the Ethernet ring protection mechanism. Example: VLANs should be within or equal to VLAN Note configured in the interface. Device(config-erp-inst)# inclusion-list vlan-ids 11 LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Device(config-if-srv)# end Verifying the Ethernet Ring Protection (ERP) Switching Configuration To verify the ERP switching configuration, use one or more of the following commands in any order. LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Page 71
Displays a summary of the number of ERP instances in each state of the ERP switching process. Example: Device# show ethernet ring g8032 summary LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Page 72
{ctrl [ring-name instance Displays information about ERP traces. instance-id] | sm} Example: Device# show ethernet ring g8032 trace sm Step 10 Returns to privileged EXEC mode. Example: Device# end LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
• Supports only 16 instances. • Untagged EVCs do not participate in MST loop detection. How to Configure MST Protocol This section describes the procedure for configuring MSTP: LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Maps the VLANs to an MST instance Example: Device(config-mstp-inst)# instance 1 vlan 450-480 Step 5 name region Sets the name of the MSTP region. Example: Device(config-mstp)# name m1 LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Router# configure terminal Step 3 interface interface number Specifies the Gigabit Ethernet interface to configure, where: slot/subslot/port-Specifies the location of the interface. Example: Router(config)# interface gigabitEthernet 0/0/5 LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
Page 78
GigabitEthernet0/0/0 no ip address negotiation auto service instance trunk 10 ethernet encapsulation dot1q 10-20 bridge-domain from-encapsulation service instance 1024 ethernet encapsulation untagged l2protocol peer stp bridge-domain 1024 LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)