352
Cisco Confidential - Beta Draft R3.7 FCI Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883 Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide Cisco IOS XR Software Release 3.7 FCI March, 2009 Text Part Number: OL-17103-01

PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

  • Upload
    others

  • View
    14

  • Download
    0

Embed Size (px)

Citation preview

Page 1: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Americas HeadquartersCisco Systems, Inc.170 West Tasman DriveSan Jose, CA 95134-1706 USAhttp://www.cisco.comTel: 408 526-4000

800 553-NETS (6387)Fax: 408 527-0883

Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application GuideCisco IOS XR Software Release 3.7 FCI

March, 2009

Text Part Number: OL-17103-01

Page 2: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.

THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.

The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB’s public domain version of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California.

NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS” WITH ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE.

IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

CCDE, CCENT, Cisco Eos, Cisco HealthPresence, the Cisco logo, Cisco Lumin, Cisco Nexus, Cisco StadiumVision, Cisco TelePresence, Cisco WebEx, DCE, and Welcome to the Human Network are trademarks; Changing the Way We Work, Live, Play, and Learn and Cisco Store are service marks; and Access Registrar, Aironet, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Collaboration Without Limitation, EtherFast, EtherSwitch, Event Center, Fast Step, Follow Me Browsing, FormShare, GigaDrive, HomeLink, Internet Quotient, IOS, iPhone, iQuick Study, IronPort, the IronPort logo, LightStream, Linksys, MediaTone, MeetingPlace, MeetingPlace Chime Sound, MGX, Networkers, Networking Academy, Network Registrar, PCNow, PIX, PowerPanels, ProConnect, ScriptShare, SenderBase, SMARTnet, Spectrum Expert, StackWise, The Fastest Way to Increase Your Internet Quotient, TransPath, WebEx, and the WebEx logo are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.

All other trademarks mentioned in this document or website 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. (0812R)

Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental.

Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide Copyright © 2009 Cisco Systems, Inc. All rights reserved.

Page 3: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASOL-17103-01

C O N T E N T S

Preface ES-xv

Prerequisites for Installing Ethernet Services Applications on the Cisco ASR 9000 Series Router ES-19

Contents ES-19

Router Management Interfaces ES-19

Command-Line Interface ES-20

Adding a Software Package to your Cisco ASR 9000 Series Router ES-20

Copying the PIE File to a Local Storage Device or Network Server ES-20

Adding Packages to an SDR ES-20

Activating Packages ES-21

Activating Multiple Packages or SMUs ES-21

Activating All Packages Added in a Specific Operation ES-22

Adding and Activating a Package with a Single Command ES-22

Upgrading and Downgrading Packages ES-22

Committing the Active Software Set ES-22

Rolling Back to a Previous Installation Operation ES-22

Configuring IGP ES-23

Configuring MPLS LDP ES-23

Configuring RSVP ES-23

Implementing MPLS Traffic Engineering ES-23

Configuring MPLS Tunnels ES-24

MPLS-TE and Fast Reroute over Link Bundles ES-24

Configuring L2TPv3 Tunnels ES-24

Where to Go Next ES-24

Bringing Up the Ethernet Services on a Cisco ASR 9000 Series Router ES-25

Contents ES-25

Prerequisites ES-25

Software Requirements ES-25

Hardware Prerequisites and Documentation ES-25

Bringing Up and Configuring a Cisco ASR 9000 Series Router ES-26

Examples ES-27

Verifying the System After Initial Bring-Up ES-27

ES-iiiR 9000 Series Aggregation Services Router Ethernet Services Application Guide

Page 4: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Contents

Examples of show Commands ES-28

install add ES-32

PIEs to add for Ethernet Services Support ES-37

Where to Go Next ES-37

Configuring Ethernet Layer 2 Switching ES-39

Contents ES-39

Layer 2 Ethernet Switching Overview ES-39

Layer 2 Local Switching Overview ES-39

ASR 9000 Reference Network ES-40

Understanding Ethernet CFM ES-40

CFM Domain ES-41

Maintenance Points ES-42

Ethernet CFM Overview ES-42

CFM Messages ES-43

Ethernet CFM ES-43

Benefits of Ethernet CFM ES-43

Customer Service Instance ES-44

Maintenance Domain ES-44

Maintenance Point ES-46

Maintenance Endpoints ES-46

Maintenance Intermediate Points ES-47

CFM Messages ES-48

Cross-Check Function ES-49

Ethernet Virtual Circuit ES-50

Configuring Ethernet CFM ES-50

Default Ethernet CFM Configuration ES-50

Ethernet CFM Configuration Guidelines ES-50

Preparing the Ethernet CFM Network ES-51

Configuring Ethernet CFM Service ES-52

Configuring Ethernet CFM Crosscheck ES-53

STP Overview ES-54

Ethernet Wire Service ES-55

IGMP Snooping ES-56

MPLS Services ES-57

L2VPN Overview ES-57

Ethernet Port Mode ES-58

Where to Go Next ES-58

ES-ivCisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 5: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Contents

Configuring Ethernet Virtual Connections (EVCs) ES-59

Contents ES-59

EVC ES-59

Restricted TCN Feature ES-60

Root Guard Feature ES-60

Ethernet CFM Overview ES-60

Configuring Ethernet Interfaces ES-61

Installing System Software on Your ASR 9000 ES-62

Examples ES-68

Committing the Active Package Set ES-71

Displaying the Committed Package Versions ES-72

Enabling Tacacs+ Accounting, Authorization, and Authentication ES-73

Enabling DNS Look Up ES-73

Enabling HTTP Server Access ES-73

Configuring a Gigabit Ethernet or 10-Gigabit Ethernet Interface ES-74

What to Do Next ES-77

Configuring MAC Accounting on an Ethernet Interface ES-77

Configuring an Attachment Circuit on an Ethernet Port ES-79

What to Do Next ES-81

Configuration Examples for Ethernet Interfaces ES-81

Configuring an Ethernet Interface: Example ES-81

Configuring MAC-accounting: Example ES-82

Configuring a Layer 2 VPN AC: Example ES-82

Ethernet Services ES-82

Ethernet Wire Service ES-83

Ethernet Relay Service ES-84

Ethernet Multipoint Service ES-85

EMS Example ES-86

What is an EFP? ES-86

EFP CLI Configuration Structure ES-87

Structured CLI ES-87

Where to Go Next ES-87

Additional References ES-87

Related Documents ES-88

Standards ES-88

MIBs ES-88

RFCs ES-88

Technical Assistance ES-88

ES-vCisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 6: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Contents

Setting Up Your Multicast Connections ES-89

Related Documents ES-93

Where to Go Next ES-93

Cisco ASR 9000 Series Router Platform Dependent Command Reference ES-95

Contents ES-95

Ethernet Interface Commands on Cisco ASR 9000 Series Routers ES-95

carrier-delay ES-97

clear ethernet cfm ccm-learning-database ES-99

clear ethernet cfm interfaces ES-101

clear ethernet cfm local meps ES-102

clear ethernet cfm interfaces ES-104

clear ethernet cfm peer meps ES-105

clear ethernet cfm traceroute-cache ES-107

clear ethernet oam statistics ES-108

clear mac-accounting (Ethernet) ES-109

encapsulation dot1q ES-111

ethernet cfm cc ES-112

ethernet cfm mep domain ES-114

ethernet cfm traceroute cache ES-115

ethernet cfm traceroute cache hold-time ES-116

ethernet cfm traceroute cache size ES-117

ethernet oam loopback ES-119

flow-control ES-120

interface GigabitEthernet ES-122

interface TenGigE ES-124

l2protocol (Ethernet) ES-126

l2transport (Ethernet) ES-128

loopback (Ethernet) ES-130

mac-accounting ES-132

mac-address (Ethernet) ES-133

negotiation auto ES-134

packet-gap non-standard ES-135

ping ethernet cfm ES-136

show controllers (Ethernet) ES-138

show ethernet cfm ccm-learning-database ES-146

ES-viCisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 7: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Contents

show ethernet cfm configuration-errors ES-147

ES-148

show ethernet cfm interfaces statistics ES-149

show ethernet cfm local maintenance-points ES-151

show ethernet cfm local maintenance-points ES-153

show ethernet cfm local meps ES-154

show ethernet cfm peer meps ES-155

show ethernet cfm traceroute-cache ES-157

show ethernet oam configuration ES-159

show ethernet oam discovery ES-161

show mac-accounting (Ethernet) ES-163

show spanning-tree mst ES-165

traceroute ethernet cfm (basic linktrace) ES-168

traceroute ethernet cfm (exploratory linktrace) ES-170

802.1Q VLAN Subinterface Commands on Cisco ASR 9000 Series Routers ES-172

dot1q native vlan ES-173

dot1q tunneling ethertype 0x9100 ES-175

dot1q vlan ES-177

interface (VLAN) ES-179

l2protocol (VLAN) ES-181

show vlan interface ES-183

show vlan tags ES-185

show vlan trunks ES-187

Where to Go Next ES-190

Additional References ES-190

Related Documents ES-191

Standards ES-191

MIBs ES-191

RFCs ES-191

Technical Assistance ES-191

Ethernet Services Configuration Examples ES-193

Cisco Per-VLAN Spanning Tree (PVST+) ES-193

Layer 2 or Layer 3 VPN ES-194

Why Layer 2 VPN? ES-194

Ethernet + IP/MPLS ES-194

VPLS ES-195

ES-viiCisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 8: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Contents

VPWS ES-195

Layer 2 VPN Types ES-196

P2P or MP, native Ethernet or MPLS ES-196

Contents ES-196

Configuration Examples for Ethernet Interfaces ES-196

Configuring an Ethernet Interface: Example ES-196

Point to Point Services Local Connect ES-198

Configuring MAC-accounting: Example ES-198

Configuring a Layer 2 VPN AC: Example ES-198

Configuring Layer 2 Local Switching: Example ES-198

Basic MPLS Configuration on the ASR 9000 ES-199

E-Line Configuration – EFP and L2VPN ES-200

Configuring a Cross-Connect ES-200

Verifying Cross-Connect Status ES-200

Verifying Layer 2 Forwarding ES-201

Ethernet Port Mode ES-201

Ethernet VLAN Mode ES-201

Ethernet VLAN Mode (QinQ) ES-201

Ethernet VLAN Mode (QinAny) ES-201

Ethernet VLAN Mode (QinAny) ES-201

Configuring Layer 2 EtherChannel ES-202

Configuring Layer 3 Logical EtherChannel ES-202

VTP, VLANs, Voice VLAN ES-203

VPLS Configuration Example ES-203

EFP Configuration (PE Configuration) ES-203

VPLS Show Layer 2 VPN Forwarding Command Example ES-204

Limitations ES-205

IOS-XR VPLS Configuration Commands ES-205

Configuring VFI under a Bridge Domain ES-205

Associating Pseudowires with VFI ES-206

Attaching Pseudowire Classes to Pseudowires ES-206

Configuring Static AToM Pseudowires ES-206

Shutting Down a VFI ES-206

Associating a Static MAC Address to the Bridge Domain ES-206

Assigning Interfaces to the Bridge Domain ES-206

Configuring Bridge Domain Parameters ES-207

Shutting Down a Bridge Domain ES-207

MAC Address Related Parameters ES-207

Cross Connect ES-207

Configuring a Point to Point Local Connect E-Line ES-208

ES-viiiCisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 9: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Contents

Configuring a Point to Point Ethernet Over MPLS E-Line ES-212

Configuring a Multi-Point Local Bridging E-LAN ES-216

Configuring a LAN Port for Layer 2 Switching ES-220

Virtual Router Redundancy Protocol (VRRP) ES-220

Where to Go Next ES-220

Additional References ES-221

Related Documents ES-221

Standards ES-221

MIBs ES-221

RFCs ES-221

Technical Assistance ES-221

Multicast Configuration ES-223

Contents ES-223

Implementing Multicast Routing - IGMP and PIM ES-223

Configuring PIM-SM and PIM-SSM ES-224

PIM-SM Operations ES-224

PIM-SSM Operations ES-224

Restrictions for PIM-SM and SSM ES-224

Configuring PIM-SSM for Use in a Legacy Multicast Deployment ES-227

Restrictions for PIM-SSM Mapping ES-227

Configuring a Set of Access Lists for Static SSM Mapping ES-227

Configuring a Set of Sources for SSM Mapping ES-229

Configuring a Static RP and Allowing Backward Compatibility ES-230

Configuring Auto-RP to Automate Group-to-RP Mappings ES-232

Configuring the Bootstrap Router ES-234

Calculating Rates per Route ES-237

Configuring Multicast Nonstop Forwarding ES-239

Prerequisites for Multicast Nonstop Forwarding ES-240

Interconnecting PIM-SM Domains with MSDP ES-243

Prerequisites for Interconnecting PIM-SM Domains with MSDP ES-243

Controlling Source Information on MSDP Peer Routers ES-246

Configuring MSDP MD5 Password Authentication ES-248

Configuration Examples for Implementing Multicast Routing - IGMP and PIM ES-250

MSDP Anycast RP Configuration: Example ES-250

Calculating Rates per Route: Example ES-252

Preventing Auto-RP Messages from Being Forwarded: Example ES-253

Inheritance in MSDP: Example ES-253

Configuring Multicast QoS: Example ES-254

Enabling and Disabling Interfaces ES-254

ES-ixCisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 10: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Contents

Multicast Routing Information Base ES-255

Multicast Forwarding Information Base ES-255

MSDP MD5 Password Authentication ES-255

Implementing Multicast Routing - PIM-SM and PIM-SSM ES-255

Configuring PIM-SM and PIM-SSM ES-256

PIM-SM Operations ES-256

PIM-SSM Operations ES-256

Restrictions for PIM-SM and SSM ES-257

Configuring PIM-SSM for Use in a Legacy Multicast Deployment ES-259

Restrictions for PIM-SSM Mapping ES-259

Configuring a Set of Access Lists for Static SSM Mapping ES-259

Configuring a Set of Sources for SSM Mapping ES-261

Configuring a Static RP and Allowing Backward Compatibility ES-262

Configuring Auto-RP to Automate Group-to-RP Mappings ES-264

Configuring the Bootstrap Router ES-266

Calculating Rates per Route ES-269

Configuring Multicast Nonstop Forwarding ES-271

Prerequisites for Multicast Nonstop Forwarding ES-272

Interconnecting PIM-SM Domains with MSDP ES-275

Prerequisites for Interconnecting PIM-SM Domains with MSDP ES-275

Controlling Source Information on MSDP Peer Routers ES-278

Configuring MSDP MD5 Password Authentication ES-280

Configuration Examples for Implementing Multicast Routing - PIM-SM and PIM-SSM ES-282

MSDP Anycast RP Configuration: Example ES-282

Calculating Rates per Route: Example ES-284

Preventing Auto-RP Messages from Being Forwarded: Example ES-285

Inheritance in MSDP: Example ES-285

Configuring Multicast QoS: Example ES-286

Multicast Command Summary ES-287

Multicast IPv4 Commands on Cisco ASR 9000 Series Routers ES-287

Multicast Source Discovery Protocol Commands on Cisco ASR 9000 Series Routers ES-288

Multicast Routing and Forwarding Commands on Cisco ASR 9000 Series Routers ES-289

IGMP Snooping Commands on Cisco ASR 9000 Series Routers ES-290

Multicast PIM Commands on Cisco ASR 9000 Series Routers ES-292

Multicast Tool and Utility Commands on Cisco ASR 9000 Series Routers ES-293

MPLS Configuration ES-295

Contents ES-295

Configuration Examples for Implementing LDP ES-295

ES-xCisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 11: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Contents

Configuring LDP with Graceful Restart: Example ES-296

Configuring LDP Discovery: Example ES-296

Configuring LDP Link: Example ES-296

Configuring LDP Discovery for Targeted Hellos: Example ES-296

Configuring Label Advertisement (Outbound Filtering): Example ES-297

Configuring LDP Neighbors: Example ES-297

Configuring LDP Forwarding: Example ES-297

Configuring LDP Nonstop Forwarding with Graceful Restart: Example ES-298

Configuring Label Acceptance (Inbound Filtering): Example ES-298

Configuring Local Label Allocation Control: Example ES-298

Configuring LDP Session Protection: Example ES-298

Configuring LDP IGP Synchronization - OSPF: Example ES-298

Configuring LDP IGP Synchronization - ISIS: Example ES-299

Configuring LDP Auto-configuration: Example ES-299

Configuration Examples for RSVP ES-299

Bandwidth Configuration (Prestandard): Example ES-300

Bandwidth Configuration (MAM): Example ES-300

Bandwidth Configuration (RDM): Example ES-300

Refresh Reduction and Reliable Messaging Configuration: Example ES-300

Changing the Refresh Interval and the Number of Refresh Messages ES-300

Configuring Retransmit Time Used in Reliable Messaging ES-300

Configuring Acknowledgement Times ES-301

Changing the Summary Refresh Message Size ES-301

Disabling Refresh Reduction ES-301

Configuring Graceful Restart: Example ES-301

Enabling Graceful Restart ES-301

Enabling Interface-Based Graceful Restart ES-301

Changing the Restart-Time ES-301

Changing the Hello Interval ES-302

Configuring ACL-based Prefix Filtering: Example ES-302

Setting DSCP for RSVP Packets: Example ES-302

Configuration Examples for RSVP Authentication ES-302

RSVP Authentication Global Configuration Mode: Example ES-302

RSVP Authentication for an Interface: Example ES-303

RSVP Neighbor Authentication: Example ES-303

RSVP Authentication by Using All the Modes: Example ES-303

Configuration Examples for Cisco MPLS-TE ES-304

Building MPLS-TE Topology and Tunnels: Example ES-305

Configuring IETF Diff-Serv TE Tunnels: Example ES-306

ES-xiCisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 12: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Contents

Configuring the Ignore IS-IS Overload Bit Setting in MPLS-TE: Example ES-306

Configuring GMPLS: Example ES-306

Configuring Flexible Name-based Tunnel Constraints: Example ES-308

Configuring an Interarea Tunnel: Example ES-310

Configuring Forwarding Adjacency: Example ES-310

Configuring Unequal Load Balancing: Example ES-310

Configuring PCE: Example ES-311

Configure Policy-based Tunnel Selection: Example ES-312

Configuration Examples for L2VPN ES-312

L2VPN Interface Configuration: Example ES-313

Point-to-Point Cross-connect Configuration: Examples ES-313

Inter-AS: Example ES-313

L2VPN Quality of Service: Example ES-315

Preferred Path: Example ES-315

Pseudowires: Examples ES-315

Configuring Dynamic Pseudowires at T-PE1 Node: Example ES-316

Configuring Dynamic Pseudowires at S-PE1 Node: Example ES-316

Configuring Dynamic Pseudowires at T-PE2 Node: Example ES-317

Configuring Dynamic Pseudowires and Preferred Paths at T-PE1 Node: Example ES-317

Configuring Dynamic Pseudowires and Preferred Paths at S-PE1 Node: Example ES-317

Configuring Dynamic Pseudowires and Preferred Paths at T-PE2 Node: Example ES-318

Configuring Static Pseudowires at T-PE1 Node: Example ES-319

Configuring Static Pseudowires at S-PE1 Node: Example ES-319

Configuring Static Pseudowires at T-PE2 Node: Example ES-319

Viewing Pseudowire Status: Example ES-319

show l2vpn xconnect ES-319

show l2vpn xconnect detail ES-320

Configuration Examples for Virtual Private LAN Services ES-322

Virtual Private LAN Services Configuration for Provider Edge-to-Provider Edge: Example ES-322

Virtual Private LAN Services Configuration for Provider Edge-to-Customer Edge: Example ES-323

Adding ACs to a Split Horizon Group: Example ES-323

Configuration Examples for 6PE ES-324

Configuring 6PE on a PE Router: Example ES-324

Configuration Examples for MPLS Layer 3 VPNs ES-324

Configuring an MPLS VPN Using BGP: Example ES-325

Configuring the Routing Information Protocol on the PE Router: Example ES-326

Configuring the PE Router Using EIGRP: Example ES-326

Configuration Examples for MPLS VPN CSC ES-326

Configuring the Backbone Carrier Core: Examples ES-327

ES-xiiCisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 13: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Contents

Configuring the Links Between CSC-PE and CSC-CE Routers: Examples ES-327

Configuring a Static Route to a Peer: Example ES-328

Configuration Examples for 6VPE ES-328

Configuring an IPv6 Address Family Under VRF: Example ES-328

Configuring BGP for the Address Family VPNv6: Example ES-328

Configuring the Address Family IPv6 for the VRF Configuration Under BGP: Example ES-329

Configuring a PE-CE Protocol: Example ES-329

Configuring an Entire 6VPE Configuration: Example ES-329

Configuration Examples for MPLS VPNs over IP Tunnels ES-334

Configuring an L2TPv3 Tunnel: Example ES-334

Configuring the Global VRF Definition: Example ES-334

Configuring a Route-Policy Definition: Example ES-335

Configuring a Static Route: Example ES-335

Configuring an IPv4 Loopback Interface: Example ES-335

Configuring a CFI VRF Interface: Example ES-335

MPLS Command Summary ES-337

MPLS Label Distribution Protocol Commands on Cisco ASR 9000 Series Routers ES-337

MPLS Forwarding Commands on Cisco ASR 9000 Series Routers ES-338

MPLS Traffic Engineering Commands on Cisco ASR 9000 Series Routers ES-339

RSVP Infrastructure Commands on Cisco ASR 9000 Series Routers ES-341

MPLS OAM Commands on Cisco ASR 9000 Series Routers ES-343

Virtual Private Network Commands on Cisco ASR 9000 Series Routers ES-343

Virtual Private LAN Services Commands on Cisco ASR 9000 Series Routers ES-345

Index

ES-xiiiCisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 14: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Contents

ES-xivCisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 15: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Preface

This guide describes how to create the initial configuration for Ethernet applications on the Cisco ASR 9000 Series Aggregation Services Router using the Cisco IOS XR software. This guide also describes how to complete additional administration, maintenance, and troubleshooting tasks that may be required after initial configuration of your Ethernet applications.

This preface contains the following sections:

• Changes to This Document, page xv

• About This Document, page xv

• Obtaining Documentation and Submitting a Service Request, page xvii

Changes to This DocumentTable 1 lists the technical changes made to this document since it was first printed.

About This DocumentThe following sections provide information about the Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guideand related documents:

• Intended Audience, page xvi

• Organization of the Document, page xvi

• Related Documents, page xvi

• Conventions, page xvii

Table 1 Changes to This Document

Revision Date Change Summary

OL-17103-01 February 2009 Initial release of this document.

ES-xvCisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 16: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Preface

Intended AudienceThis document is intended for the following people:

• Experienced service provider administrators

• Cisco telecommunications management engineers

• Third-party field service technicians who have completed the Cisco IOS XR software training sessions

• Customers who daily use and manage Cisco ASR 9000 Series Routers running Cisco IOS XR software

Organization of the DocumentThis document contains the following chapters:

• Prerequisites for Installing Ethernet Services Applications on the Cisco ASR 9000 Series Router

• Bringing Up the Ethernet Services on a Cisco ASR 9000 Series Router

• Configuring Ethernet Layer 2 Switching

• Configuring Ethernet Virtual Connections (EVCs)

• Ethernet Services Configuration Examples

• Cisco ASR 9000 Series Router Platform Dependent Command Reference

• Multicast Configuration

• Multicast Command Summary

• MPLS Configuration

• MPLS Command Summary

Related DocumentsFor a complete listing of available documentation for the Cisco ASR 9000 Series Router and the Cisco IOS XR software, see the following Web pages:

• Cisco ASR 9000 Software Documentation http://www.cisco.com/en/US/products/ps5845/tsd_products_support_series_home.html

– Cisco ASR 9000 System Management Configuration Guide Cisco ASR 9000 System Security Configuration Guide Cisco ASR 9000 Routing Configuration Guide Cisco ASR 9000 Interface and Hardware Component Configuration Guide http://www.cisco.com/en/US/products/ps5845/ products_installation_and_configuration_guides_list.html

– Cisco ASR 9000 Interface and Hardware Component Command Reference Cisco ASR 9000 Routing Command Reference http://www.cisco.com/en/US/products/ps5845/prod_command_reference_list.html

• Cisco ASR 9000 Series Router Hardware Documentation http://www.cisco.com/en/US/products/ps5763/tsd_products_support_series_home.html

ES-xviCisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 17: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Preface

ConventionsThis document uses the following conventions:

Note Means reader take note. Notes contain helpful suggestions or references to material not covered in the publication.

Tip Means the following information will help you solve a problem. The information in tips might not be troubleshooting or an action, but contains useful information.

Caution Means reader be careful. In this situation, you might do something that could result in equipment damage or loss of data.

Obtaining Documentation and Submitting a Service RequestFor information on obtaining documentation, submitting a service request, and gathering additional information, see the monthly What’s New in Cisco Product Documentation, which also lists all new and revised Cisco technical documentation, at:

http://www.cisco.com/en/US/docs/general/whatsnew/whatsnew.html

Subscribe to the What’s New in Cisco Product Documentation as a Really Simple Syndication (RSS) feed and set content to be delivered directly to your desktop using a reader application. The RSS feeds are a free service and Cisco currently supports RSS version 2.0.

Item Convention

Commands and keywords boldface font

Variable for which you supply values italic font

Displayed session and system information screen font

Commands and keywords you enter in an interactive environment

boldface screen font

Variables you enter in an interactive environment italic screen font

Menu items and button names boldface font

Menu navigation Option > Network Preferences

ES-xviiCisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 18: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Preface

ES-xviiiCisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 19: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Prerequisites for Installing Ethernet Services Applications on the Cisco ASR 9000 Series Router

The Cisco ASR 9000 Series Aggregation Services Router runs on Cisco IOS XR software. This module introduces the Cisco IOS XR software and the user interfaces you can use to create and manage Ethernet services applications on the Cisco ASR 9000 Series Router.

Contents • Router Management Interfaces, page 19

• Configuring IGP, page 23

• Configuring MPLS LDP, page 23

• Configuring RSVP, page 23

• Implementing MPLS Traffic Engineering, page 23

• Configuring MPLS Tunnels, page 24

• Configuring L2TPv3 Tunnels, page 24

• Where to Go Next, page 24

Router Management InterfacesBecause new routers are not yet configured for your environment, you must begin the configuration using the command-line interface (CLI). This guide provides instructions on using the CLI to configure basic router features. Cisco IOS XR software supports the following router management interfaces, which are described in the following sections:

• Command-Line Interface, page 20

• Adding a Software Package to your Cisco ASR 9000 Series Router, page 20

ES-19Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 20: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Prerequisites for Installing Ethernet Services Applications on the Cisco ASR 9000 Series RouterRouter Management Interfaces

Command-Line Interface The CLI is the primary user interface for configuring, monitoring, and maintaining routers that run the Cisco IOS XR software. The CLI allows you to directly and simply execute Cisco IOS XR commands.

All procedures in this guide use the CLI. Before you can use other router management interfaces, you must first use the CLI to install and configure those interfaces. For information on CLI procedures for these tasks, as well as hardware interface and software protocol management, see the Cisco IOS XR software documents listed in the “Related Documents” section on page xvi.

Adding a Software Package to your Cisco ASR 9000 Series RouterYou may need to add or upgrade Package Installation Envelopes (PIE), which are package software files. Table 1 describes the optional packages that can be activated individually.

Copying the PIE File to a Local Storage Device or Network Server

To add an optional package or upgrade or downgrade a package, you must copy the appropriate PIE file to a local storage device or to a network file server to which the router has access.

If you need to store PIE files on the router, we recommended storing PIE files on the harddisk. Flash disk0: serves as the boot device for packages that have been added or activated on the system. Flash disk1: is used as a backup for disk0:.

Tip Before copying PIE files to a local storage device, check to see if the required PIE files are already on the device.

Adding Packages to an SDR

Use the install add command to unpack the package software files from a PIE file and copy them to the boot device (usually disk0).

• From administration EXEC mode, the package software files are added to the boot device of the DSDRSC for a specific SDR specified by the sdr keyword in the install add command.

• From EXEC mode, the package software files are added to the boot device of the DSDRSC the current SDR only.

Table 1 Optional Cisco IOS XR Software Packages

Name Description

Manageability Support for HTTP, XML, SNMP and other management tools.

MPLS Support for Multiprotocol Label Switching (MPLS).

Multicast Support for multicast protocols.

Security Support for Secure Sockets Layer (SSL), certificates and other security tools.

Diagnostics Support for testing and verifying hardware functionality while connected to a live network, helping ensure high availability.

ES-20Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 21: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Prerequisites for Installing Ethernet Services Applications on the Cisco ASR 9000 Series RouterRouter Management Interfaces

• Package software files are also added to the standby DSDRSC for any SDR to which the package is added. This ensures that the files are available to the standby in the event of a redundancy switchover. In the Cisco CRS-1, the package files are also added to any additional installed DRPs.

• In addition, package software files are added to all active and standby route processors (RPs), even if they are not acting as a DSC or DSDRSC, as well as active and standby fabric shelf controllers (SCs).

Note The disk that holds the unpacked software files is also known as the boot device. By default, the Cisco ASR 9000 Series Router uses flash disk0 as the boot device. To use an alternate storage device, such as flash disk1, refer to the “Router Recovery with ROM Monitor” chapter of the Cisco IOS XR ROM Monitor Guide. Remember that all RPs in a system must use the same boot device. If the boot device on the primary RSP is flash disk0, then the standby RSP must also have a flash disk0.

Activating Packages

Software packages remain inactive until activated with the install activate command.

After a package has been added to the SDR, use the install activate command to activate the package or SMUs for all valid cards. Information within the package is used to verify compatibility with the target cards and with the other active software. Actual activation is performed only after the package compatibility and application program interface (API) compatibility checks have been passed.

Activating a Package for all Secure Domain Routers (SDRs)

To activate a package for all secure domain routers (SDRs) in the system, use the install activate command in administration EXEC mode. If used in administration EXEC mode, the install activate command also activates the package on all administration plane nodes and resources, including service processors (SPs), fabric SCs, fan controllers, alarm modules and power modules.

Note To enter administration EXEC mode, you must be logged in to the owner secure domain router (SDR) and have root-system access privileges.

Activating a Package for a Single SDR

• To activate a package for a specific SDR from administration EXEC mode, use the install activate command with the sdr keyword and sdr-name argument. This will also activate the package on all administration plane nodes and resources.

• To activate a package when logged in to an SDR, use the install activate command in EXEC mode.

Activating Multiple Packages or SMUs

To install multiple packages or Software Maintenance Upgrades (SMUs) with a single command, use the install activate command and either specify up to 32 packages by repeating device:package arguments or use wildcard syntax to specify multiple packages. Some SMUs may require a reload. If the operation requires a node reload, the user is prompted before the installation operation occurs.

ES-21Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 22: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Prerequisites for Installing Ethernet Services Applications on the Cisco ASR 9000 Series RouterRouter Management Interfaces

Activating All Packages Added in a Specific Operation

To install all packages that were added in a specific install add operation, use the install activate command with the id keyword and add-id argument, specifying the operation ID of the install add operation. You can specify up to 16 operations in a single command.

Adding and Activating a Package with a Single Command

To add and activate a package with a single command, use the install add command with the activate keyword.

• To add and activate a package for all SDRs, enter the install add command with the activate keyword from administration EXEC mode. To add and activate a package for a specific SDR, from administration EXEC mode enter the install add command with the activate and the sdr keywords.

• To add and activate a package on a non-owner SDR, enter the install add command with the activate keyword from EXEC mode.

Upgrading and Downgrading Packages

• To upgrade a package, activate the newer version of the package, and the older version is automatically deactivated.

• To downgrade a package, activate the older version of the package, and the newer version is automatically deactivated.

Actual activation is performed only after the compatibility checks have been passed.

Committing the Active Software Set

When a package is activated for one or more SDRs, it becomes part of the current running configuration for those SDRs. To make the package activation persistent across reloads, enter the install commit command. On startup, the designated secure domain router shelf controller (DSDRSC) of the SDR loads the committed software set.

• If the system is restarted before the active software set is saved with the install commit command, the previously committed software set is used.

• To commit the active software set for a specific SDR from administration EXEC mode, use the install commit command with the sdr sdr-name keyword and argument.

• To commit the active software set for all SDRs in the system, use the install commit command without keywords or arguments in administration EXEC mode.

Rolling Back to a Previous Installation Operation

Although the term commit sounds final, the Cisco IOS XR software provides the flexibility to roll back the selected package set to previously saved package sets. Each time a package is activated or deactivated, a rollback point is created that defines the package set that is active after the package activation or deactivation. The software also creates a rollback point for the last committed package set. If you find that you prefer a previous package set over the currently active package set, you can use the install rollback command to make a previously active package set active again.

For more information, refer to the Upgrading and Managing Cisco IOS XR Software module in the Cisco ASR 9000 Series Router Management Configuration Guide.

ES-22Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 23: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Prerequisites for Installing Ethernet Services Applications on the Cisco ASR 9000 Series RouterRouter Management Interfaces

Configuring IGPYou will need to configure IGP (Internet Gateway Protocol) for either OSPF (Open Shortest Path First) or IS-IS (Intermediate System-to-Intermediate System) .

For more information on configuring IS-IS, refer to the Implementing IS-IS on Cisco IOS XR Software module in the Cisco ASR 9000 Series Router Routing Configuration Guide.

Configuring MPLS LDPYou will need to configure MPLS LDP (Label Distribution Protocol) for either OSPF (Open Shortest Path First) or IS-IS (Intermediate System-to-Intermediate System) features.

For more information, refer to the Implementing MPLS Label Distribution Protocol on Cisco IOS XR Software module in the Cisco ASR 9000 Series Router MPLS Configuration Guide.

Configuring RSVPRSVP (Resource Reservation Protocol) supports Graceful Restart. RSVP graceful restart provides a control plane mechanism to ensure high availability, which allows detection and recovery from failure conditions while preserving nonstop forwarding services on the systems running Cisco IOS XR software.

RSVP graceful restart provides a mechanism that minimizes the negative effects on MPLS traffic caused by the following types of faults:

• Disruption of communication channels between two nodes when the communication channels are separate from the data channels. This is called control channel failure.

• The control plane of a node fails but the node preserves its data forwarding states. This is called node failure.

The procedure for RSVP graceful restart is described in the "Fault Handling" section of RFC 3473: Generalized MPLS Signaling, RSVP-TE Extensions. One of the main advantages of using RSVP graceful restart is recovery of the control plane while preserving nonstop forwarding and existing labels.

For more information, refer to the Implementing RSVP for MPLS-TE and MPLS O-UNI on Cisco IOS XR Software module in the Cisco ASR 9000 Series Router MPLS Configuration Guide.

Implementing MPLS Traffic EngineeringAs part of configuring MPLS Traffic Engineering for IS-IS you will need to configure IS-IS for MPLS TE. For a description of the MPLS TE tasks and commands that allow you to configure the router to support tunnels, configure an MPLS tunnel that IS-IS can use, and troubleshoot MPLS TE, see the Implementing MPLS Traffic Engineering on Cisco IOS XR Software module in the Cisco ASR 9000 Series Router MPLS Configuration Guide.

IOS-XR uses a structured CLI for EFP and EVC configuration.

• The layer2tranport command identifies a subinterface (of a physical port of bundle-port parent interface) as an EFP.

• The encapsulation command is used specify matching criteria.

ES-23Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 24: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Prerequisites for Installing Ethernet Services Applications on the Cisco ASR 9000 Series RouterWhere to Go Next

• The rewrite command is used to specify VLAN tag rewrite criteria.

• The service-policy input/output commands are used to specify QoS treatment.

• The Ethernet cfm command is used to set OAM features.

• The Ethernet services access-group command is used to set Layer 2 security ACLs.

Configuring MPLS Tunnels

MPLS-TE and Fast Reroute over Link Bundles

MPLS Traffic Engineering (TE) and Fast Reroute (FRR) are supported over bundle interfaces on the Cisco CRS-1 router only. MPLS-TE/FRR over virtual local area network (VLAN) interfaces is supported on the Cisco CRS-1 router only. Bidirectional forwarding detection (BFD) over VLAN is used as an FRR trigger to obtain more than 50 milliseconds of switchover time on the Cisco CRS-1.

The following link bundle types are supported for MPLS-TE/FRR:

• Over POS link bundles

• Over Ethernet link bundles

• Over VLANs over Ethernet link bundles

• Number of links are limited to 100 for MPLS-TE and FRR.

• VLANs go over any Ethernet interface (for example, GigabitEthernet, TenGigE, FastEthernet, and so forth).

FRR is supported over bundle interfaces in the following ways:

• Uses minimum links as a threshold to trigger FRR over a bundle interface.

• Uses the minimum total available bandwidth as a threshold to trigger FRR.

Configuring L2TPv3 TunnelsTraditionally, VPN services are deployed over IP core networks using MPLS, or L2TPv3 tunnels using point-to-point links. However, an L2TPv3 multipoint tunnel network allows L3VPN services to be carried through the core without the configuration of MPLS.

L2TPv3 multipoint tunneling supports multiple tunnel endpoints, which creates a full-mesh topology that requires only one tunnel to be configured on each PE router. This permits VPN traffic to be carried from enterprise networks across cooperating service provider core networks to remote sites.

Where to Go NextIf you have logged into the router, you are ready to perform general router configuration as described in Chapter 1, “Configuring Ethernet Layer 2 Switching.”

If the router is prompting you to enter a root-system username, bring up the router and see Chapter 1, “Bringing Up the Ethernet Services on a Cisco ASR 9000 Series Router.”

ES-24Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 25: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Bringing Up the Ethernet Services on a Cisco ASR 9000 Series Router

This chapter provides instructions for bringing up the Ethernet services on a Cisco ASR 9000 Series Aggregation Services Router for the first time using Cisco IOS XR software. This section applies to routers that are delivered with Cisco IOS XR software already installed. To install the Cisco IOS XR software, refer to the Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide.

Contents • Prerequisites, page 25

• Bringing Up and Configuring a Cisco ASR 9000 Series Router, page 26

• Verifying the System After Initial Bring-Up, page 27

• Where to Go Next, page 37

Prerequisites The following sections describe the software and hardware requirements for bringing up Ethernet services on a Cisco ASR 9000 Series Router running Cisco IOS XR Software Release 3.7 FCI.

Software RequirementsThe system requires compatible ROM Monitor firmware on all RSPs.

Hardware Prerequisites and DocumentationBefore a Cisco ASR 9000 Series Router can be started, the following hardware management procedures must be completed:

• Site preparation

• Equipment unpacking

• Router installation

ES-25Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 26: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Bringing Up the Ethernet Services on a Cisco ASR 9000 Series RouterBringing Up and Configuring a Cisco ASR 9000 Series Router

Your router must have at least one of the following line cards installed:

• 4x10GE Line Card

• 8x10GE Line Card

• 40x1GE Line Card

The configuration tasks in this document apply to 10 Gigabit Ethernet and Gigabit Ethernet interfaces on either of the two supported line cards. For any platform independent commands refer to the IOS XR document set listed in the “Related Documents” section on page xvi.

For information on how to complete installation procedures for your Cisco ASR 9000 Series Router 4x10GE Line Card, 8x 0GE Line Card and/or 40x1GE Line Card, see the hardware documents listed in the “Related Documents” section on page xvi.

Bringing Up and Configuring a Cisco ASR 9000 Series RouterTo bring up a Cisco ASR 9000 Series Router, you need to connect to the Console port on the router and configure root-system username and password as described in the following procedure:

SUMMARY STEPS

1. Establish a connection to the RSP Console port.

2. Type the username for the root-system login and press Return.

3. Type the password for the root-system login and press Return.

4. Log in to the router.

DETAILED STEPS

Command or Action Purpose

Step 1 Establish a connection to the RSP Console port. Initiates communication with the router.

• For instructions on connecting to the Console port, see the “Connecting to the Router Through the Console Port” module of the Cisco ASR 9000 Getting Started Guide.

• If the router has been configured, the router displays the prompt: Username:

• If the Username prompt appears, skip this procedure and continue general router configuration.

Step 2 Type the username for the root-system login and press Return.

Sets the root-system username, which is used to log in to the router.

Step 3 Type the password for the root-system login and press Return.

Creates an encrypted password for the root-system username.

Note This password can be changed with the secret command.

ES-26Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 27: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Bringing Up the Ethernet Services on a Cisco ASR 9000 Series RouterVerifying the System After Initial Bring-Up

Examples

The following example shows the root-system username and password configuration for a new router, and it shows the initial log in:

--- Administrative User Dialog ---

Enter root-system username: cisco Enter secret: Enter secret again:RP/0/RSP0/CPU0:Jan 10 12:50:53.105 : exec[65652]: %MGBL-CONFIG-6-DB_COMMIT :'Administration configuration committed by system'. Use 'show configurationcommit changes 2000000009' to view the changes.Use the 'admin' mode 'configure' command to modify this configuration.

User Access Verification

Username: ciscoPassword: RP/0/RSP0/CPU0:ios#

The secret line in the configuration command script shows that the password is encrypted. When you enter the password during configuration and login, the password is hidden.

Verifying the System After Initial Bring-UpTo verify the status of the router, perform the following procedure:

SUMMARY STEPS

1. show version

2. admin show platform [node-id] end

3. show redundancy

4. show environment

Step 4 Retype the password for the root-system login and press Return.

Allows the router to verify that you have entered the same password both times.

• If the passwords do not match, the router prompts you to repeat the process.

Step 5 Log in to the router. Establishes your access rights for the router management session.

• Enter the root-system username and password that were created earlier in this procedure.

• After you log in, the router displays the CLI prompt, which is described in the Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide.

Command or Action Purpose

ES-27Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 28: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Bringing Up the Ethernet Services on a Cisco ASR 9000 Series RouterVerifying the System After Initial Bring-Up

DETAILED STEPS

Examples of show Commands

The following sections provide examples of show commands:

• show version Command: Example, page 28

• show environment Command: Example, page 29

• show platform Command: Example, page 30

• show redundancy Command: Example, page 31

show version Command: Example

To display basic information about the router configuration, type the show version command in EXEC mode, as shown in the following example:

Command or Action Purpose

Step 1 show version

Example:RP/0/RSP0/CPU0:router# show version

Displays information about the router, including image names, uptime, and other system information.

Step 2 admin show platform [node-id] exit

Example:RP/0/RSP0/CPU0:router# adminRP/0/RSP0/CPU0:router(admin)# show platformRP/0/RSP0/CPU0:router(admin)# exit

Places the router in administration EXEC mode, displays information about the status of cards and modules installed in the router, and terminates administration EXEC mode.

• Some cards support a CPU module and service processor (SP) module. Other cards support only a single module.

• A card module is also called a node. When a node is working properly, the status of the node in the State column is IOS XR RUN.

• Use the show platform node-id command to display information for a specific node. Replace node-id with a node name from the show platform command Node column.

Note To view the status of all cards and modules, the show platform command must be executed in administration EXEC mode.

Step 3 show redundancy

Example:RP/0/RSP0/CPU0:router# show redundancy

Displays the state of the primary (active) and standby (inactive) RSPs, including the ability of the standby to take control of the system.

• If both RSPs are working correctly, one node displays active role, the Partner node row displays standby role, and the Standby node row displays Ready.

Step 4 show environment

Example:RP/0/RSP0/CPU0:router# show environment

Displays information about the hardware attributes and status.

ES-28Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 29: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Bringing Up the Ethernet Services on a Cisco ASR 9000 Series RouterVerifying the System After Initial Bring-Up

RP/0/RSP0/CPU0:router# show version

Cisco IOS XR Software, Version 3.7.0.26I[Default]Copyright (c) 2008 by Cisco Systems, Inc.

ROM: System Bootstrap, Version 1.150(20080604:125538) [ASR 9000 ROMMON],

ios uptime is 1 hour, 26 minutesSystem image file is "disk0:asr9K-os-mbi-3.7.0.26I/mbiasr9K-rp.vm"

cisco ASR9K-4/S (7457) processor with 4194304K bytes of memory.7457 processor at 1197Mhz, Revision 1.1

1 Ethernet/IEEE 802.3 interface(s)8 TenGigabitEthernet/IEEE 802.3 interface(s)1019k bytes of non-volatile configuration memory.38079M bytes of hard disk.1000592k bytes of disk0: (Sector size 512 bytes).

Boot device on node 0/3/SP is bootflash:Package active on node 0/3/SP:asr9K-admin, V 3.7.0.26I[Default], Cisco Systems, at disk0:asr9K-admin-3.7.0.26I Built on Wed Jun 11 20:29:27 UTC 2008 By edde-view5 in /vws/vuh/vuh/9K/ws for c2.95.3-p8

asr9K-base, V 3.7.0.26I[Default], Cisco Systems, at disk0:asr9K-base-3.7.0.26I Built on Wed Jun 11 20:30:46 UTC 2008 By edde-view5 in /vws/vuh/vuh/9K/ws for c2.95.3-p8

asr9K-os-mbi, V 3.7.0.26I[Default], Cisco Systems, at disk0:asr9K-os-mbi-3.7.0.26I Built on Wed Jun 11 20:29:04 UTC 2008 By edde-view5 in /vws/vuh/vuh/9K/ws for c2.95.3-p8

Configuration register on node 0/3/CPU0 is 0x102Boot device on node 0/3/CPU0 is bootflash:Package active on node 0/3/CPU0:asr9K-mcast, V 3.7.0.26I[Default], Cisco Systems, at disk0:asr9K-mcast-3.7.0.26I Built on Tue Jun 10 10:59:52 UTC 2008 By edde-view5 in /vws/vuh/vuh/9K/ws for c2.95.3-p8--More--

show environment Command: Example

To display environmental monitor parameters for the system, use the show environment command in EXEC or administration EXEC mode. The following command syntax is used:

show environment [options]

Enter the show environment ? command to display the command options.

In the following example, temperature information is shown:

RP/0/RSP0/CPU0:router# show environment temperatures

R/S/I Modules Inlet Exhaust Hotspot Temperature Temperature Temperature (deg C) (deg C) (deg C)

0/1/* host 32, 30 26, 27 35 cpu 34 fabricq0 27 fabricq1 32 ingressq 37

ES-29Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 30: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Bringing Up the Ethernet Services on a Cisco ASR 9000 Series RouterVerifying the System After Initial Bring-Up

egressq 32 27 ingresspse 35 egresspse 29 jacket 25 24 25 spa0 19 25, 32 spa5 25 24 0/6/* host 32, 26 27, 25 33 cpu 35 fabricq0 27 fabricq1 32 ingressq 37 egressq 30 25 ingresspse 31 egresspse 29 jacket 24 25 26 spa0 19 25, 31 spa4 22 33, 35 spa5 24 24 0/RSP0/* host 23 24 24, 33, 26, 24, 27 0/RSP1/* host 23 24 24, 32, 26, 24, 26

In the following example, LED status of the nodes in the router is shown:

RP/0/RSP0/CPU0:router# show environment leds

0/1/*: Module (host) LED status says: OK0/1/*: Module (jacket) LED status says: OK0/1/*: Module (spa0) LED status says: OK0/1/*: Module (spa5) LED status says: OK0/6/*: Module (host) LED status says: OK0/6/*: Module (jacket) LED status says: OK0/6/*: Module (spa0) LED status says: OK0/6/*: Module (spa4) LED status says: OK0/6/*: Module (spa5) LED status says: OK0/RSP0/*: Module (host) LED status says: OK0/RSP0/*: Alarm LED status says: NONE0/RSP1/*: Module (host) LED status says: OK0/RSP1/*: Alarm LED status says: NONE

See the Cisco ASR 9000 Series Router System Management Command Reference for more information.

show platform Command: Example

The show platform command displays information on router resources. In EXEC mode, the show platform command displays the resources assigned to the secure domain router (SDR) you are managing. In administration EXEC mode, the show platform command displays all router resources.

The following EXEC mode sample output displays the nodes assigned to the router, which is called the owner SDR:

RP/0/RSP0/CPU0:router# show platform

Node Type PLIM State Config State-----------------------------------------------------------------------------0/1/0 LINE CARD 4X10GE OK PWR,NSHUT,MON0/1/5 LINE CARD 40X1GE OK PWR,NSHUT,MON0/6/4 LINE CARD 8X10GE OK PWR,NSHUT,MON0/6/5 LINE CARD 40X1GE OK PWR,NSHUT,MON

ES-30Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 31: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Bringing Up the Ethernet Services on a Cisco ASR 9000 Series RouterVerifying the System After Initial Bring-Up

0/RSP0/CPU0 RSP(Active) N/A IOS XR RUN PWR,NSHUT,MON0/RSP1/CPU0 RSP(Standby) N/A IOS XR RUN PWR,NSHUT,MON

The following administration EXEC mode sample output displays all router nodes:

RP/0/RSP0/CPU0:router# adminRP/0/RSP0/CPU0:router(admin)# show platform

Node Type PLIM State Config State-----------------------------------------------------------------------------0/1/SP MSC(SP) N/A IOS XR RUN PWR,NSHUT,MON0/1/CPU0 MSC Jacket Card IOS XR RUN PWR,NSHUT,MON0/1/0 MSC(SPA) 4XOC3-POS OK PWR,NSHUT,MON0/1/5 MSC(SPA) 8X1GE OK PWR,NSHUT,MON0/6/SP MSC(SP) N/A IOS XR RUN PWR,NSHUT,MON0/6/CPU0 MSC Jacket Card IOS XR RUN PWR,NSHUT,MON0/6/0 MSC(SPA) 4XOC3-POS OK PWR,NSHUT,MON0/6/4 MSC(SPA) 8XOC3/OC12-POS OK PWR,NSHUT,MON0/6/5 MSC(SPA) 8X1GE OK PWR,NSHUT,MON0/RSP0/CPU0 RSP(Active) N/A IOS XR RUN PWR,NSHUT,MON0/RSP1/CPU0 RSP(Standby) N/A IOS XR RUN PWR,NSHUT,MON0/SM0/SP FC/S(SP) N/A IOS XR RUN PWR,NSHUT,MON0/SM1/SP FC/S(SP) N/A IOS XR RUN PWR,NSHUT,MON0/SM2/SP FC/S(SP) N/A IOS XR RUN PWR,NSHUT,MON0/SM3/SP FC/S(SP) N/A IOS XR RUN PWR,NSHUT,MON

RP/0/RSP0/CPU0:router# end

Note Line cards in the Cisco ASR 9000 Series Router are called modular services cards (MSCs).

In the following example, information is shown for a single node in a Cisco ASR 9000 Series Router:

RP/0/RSP0/CPU0:router# show platform 0/1/CPU0

Node Type PLIM State Config State-----------------------------------------------------------------------------0/1/CPU0 MSC Jacket Card IOS XR RUN PWR,NSHUT,MON

For more information on the show platform command, see the Cisco ASR 9000 Interface and Hardware Component Command Reference.

show redundancy Command: Example

To display information about the active and standby (inactive) RSPs, enter the show redundancy command as follows:

RP/0/RSP0/CPU0:router# show redundancy

Redundancy information for node 0/RSP0/CPU0:==========================================Node 0/RSP0/CPU0 is in ACTIVE rolePartner node (0/RSP1/CPU0) is in STANDBY roleStandby node in 0/RSP1/CPU0 is ready

Reload and boot info----------------------RSP reloaded Wed Feb 15 13:58:32 2006: 1 week, 6 days, 22 hours, 49 minutes agoActive node booted Wed Feb 15 13:58:32 2006: 1 week, 6 days, 22 hours, 49 minutes agoStandby node boot Wed Feb 15 13:59:00 2006: 1 week, 6 days, 22 hours, 49 minutes agoStandby node last went not ready Wed Mar 1 07:40:00 2006: 5 hours, 8 minutes agoStandby node last went ready Wed Mar 1 07:40:00 2006: 5 hours, 8 minutes agoThere have been 0 switch-overs since reload

ES-31Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 32: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Bringing Up the Ethernet Services on a Cisco ASR 9000 Series Routerinstall add

install addTo copy the contents of a package installation envelope (PIE) file to a storage device, use the install add command in EXEC or administration EXEC mode.

Administration EXEC Mode

install add [source source-path | tar] file [activate [admin-profile] [auto-abort-timer time] [location node-id]] [asynchronous | synchronous] [parallel-reload] [prompt-level {default | none}] [if-active] [sdr sdr-name]

EXEC Mode

install add [source source-path | tar] file [activate [auto-abort-timer time] [location node-id]] [asynchronous | synchronous] [parallel-reload] [prompt-level {default | none}]

Syntax Description source source-path Source location of the PIE files to be appended to the PIE filenames. Location options are as follows:

• disk0:

• disk1:

• compactflash:

• harddisk:

• ftp://username:password@hostname or ip-address/directory-path/

• rcp://username@hostname or ip-address/directory-path/

• tftp://hostname or ip-address/directory-path/

tar Indicates that the PIE file is contained in a tar file.

file Name and location of the PIE file (composite package) to install. If a source path location is specified using the source keyword, the file argument can be either a fully specified PIE file path, or a path to the PIE file relative to the source path.

Note Up to 32 PIE files can be added to a device in a single install add operation.

If the tar keyword is used, the file argument is a tar file that contains one or more PIE files, or directories containing PIE files.

activate (Optional) Activates the package or packages. This option is run only if the install add operation is successful.

auto-abort-timer time (Optional) Specifies an abort timer value, time, in minutes, which when expired loads the last committed loadpath.

ES-32Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 33: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Bringing Up the Ethernet Services on a Cisco ASR 9000 Series Routerinstall add

Defaults Packages are added to the storage device, but are not activated. The operation is performed in asynchronous mode: The install add command runs in the background, and the EXEC prompt is returned as soon as possible.

Command Modes EXEC Administration EXEC

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the install add command to unpack the package software files from a PIE file and copy them to the boot device (usually disk0).

location node-id (Optional) Activates a package on the designated node. The node-id argument is expressed in rack/slot/module notation.

Note A package cannot be activated on a single node unless some version of the package being activated is already active on all nodes. For example, a Multiprotocol Label Switching (MPLS) package cannot be active on only one node. If a version of the MPLS package is already active on all nodes, an MPLS package then could be upgraded or downgraded on a single node.

asynchronous (Optional) Performs the command in asynchronous mode. In asynchronous mode, this command runs in the background, and the EXEC prompt is returned as soon as possible. This is the default mode.

synchronous (Optional) Performs the command in synchronous mode. This mode allows the installation process to finish before the prompt is returned.

parallel-reload (Optional) Forces all cards on the router to reload at the same time and then come up with the new software, rather than proceeding according to the option encoded in the install package.

prompt-level {default | none}

(Optional) Specifies when you are prompted for input during the procedure.

• default—You are prompted only when input is required by the operation.

• none—You are never prompted.

if-active (Optional. Administration EXEC mode only.) Activates the optional packages only if a version is already active.

sdr sdr-name (Optional. Administration EXEC mode only.) Activates a package for a specific secure domain router (SDR). The sdr-name argument is the name assigned to the SDR.

Release Modification

Release 3.7 FCI This command was first supported on the Cisco ASR 9000 Series Router.

ES-33Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 34: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Bringing Up the Ethernet Services on a Cisco ASR 9000 Series Routerinstall add

• From administration EXEC mode, the package software files are added to all route processors (RPs) installed in the SDRs effected by the install add command. If the install add command is entered without specifying an SDR, then the package files are added to all RPs in all SDRs. If the install add command is entered with the sdr keyword (to add the package files to a specific SDR), then the package files are added to all RPs installed in the specified SDR.

• From EXEC mode, the package software files are added to the RPs only for the SDR to which you are logged in.

Note If a package is added only to a non-owner SDR, then the package files and functionality are not available on the owner SDR, or on any other SDR. To add a package to all SDRs in the system, use the install add command without specifying an SDR.

Adding and Activating a Package

Software packages remain inactive until activated with the install activate command.

To add and activate a package at the same time, use the install add command with the activate keyword. When this command is used, the keywords and rules for package activation apply. See the install activate command module of the Cisco ASR 9000 System Management Command Reference for more information.

• To add and activate a package for all SDRs, enter the install add command with the activate keyword from administration EXEC mode. To add and activate a package for a specific SDR from administration EXEC mode enter the install add file activate command with the sdr sdr-name keyword and argument.

• To add and activate a package on a non-owner SDR, enter the install add command with the activate keyword from EXEC mode.

Note SDR-specific activation is supported for specific packages and upgrades, such as optional packages and Software Maintenance Upgrades (SMUs). Packages that do not support SDR-specific activation can be activated for all SDRs simultaneously only from administration EXEC mode. For detailed instructions, see the Managing Cisco IOS XR Software Packages module of Cisco ASR 9000 System Management Configuration Guide.

Note If a software activation requires a node reload, the config-register for that node should be set to autoboot. If the config-register for the node is not set to autoboot, then the system automatically changes the setting and the node reloads. A message describing the change is displayed.

Synchronous Mode

Use the install add command with the synchronous keyword to complete the operation before the prompt is returned. A progress bar indicates the status of the operation. For example:

- 1% complete: The operation can still be aborted (ctrl-c for options)\ 10% complete: The operation can still be aborted (ctrl-c for options)

TFTP Services and Image Size

Some Cisco IOS XR images may be larger than 32 MB, and the TFTP services provided by some vendors (such as Sun Solaris) may not support a file this large. If you do not have access to a TFTP server that supports files larger than 32 MB:

• Download the software image using FTP or rcp.

ES-34Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 35: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Bringing Up the Ethernet Services on a Cisco ASR 9000 Series Routerinstall add

• Use a third-party or freeware TFTP server that supports file sizes larger than 32 MB.

Download a patch from Sun Microsystems to correct this limitation (http://www.sun.com).

Adding tar Files

Use the tar keyword to add one or more PIE files in the tar file format. If the tar keyword is used, only a single tar file can be added.

Note Multiple tar files or a combination of PIE and tar files is not supported.

Note the following regarding tar files:

• The file filename must include the complete location of the tar file.

• The tar file can contain only PIE files and directories containing PIE files. For example:

– The tar file pies.tar containing the files x.tar and y.pie fails because x.tar is not a PIE file.

– The tar file pies.tar containing the file x.pie and the directory dir_a, where dir_a contains a PIE file y.pie succeeds.

– The tar file pies.tar containing the file x.pie and the directory dir_a, where dir_a contains a tar file y.tar fails because y.tar is not a PIE file.

– The tar file pies.tar containing the PIE files x.pie, y.pie, ...*.pie succeeds.

• The source keyword is not supported with the tar keyword.

Following is a valid example of using the tar keyword:

RP/0/RSP0/CPU0:router(admin)# install add tar tftp://223.255.254.254/install/files/pies.tar

You can add and activate tar files at the same time. In other words, the install add command is supported using the tar and the activate keywords simultaneously.

Adding Multiple Packages

To add multiple PIE files, use the source keyword to specify the directory path location of the PIE files. Then list all the PIE filenames, as necessary. This alleviates the need to repeat the directory location for each PIE file. Following is an example of the install add command using the source keyword:

RP/0/RSP0/CPU0:router(admin)# install add source tftp://192.168.201.1/images/myimages/ comp-hfr-mini.pie hfr-mgbl-p.pie hfr-mpls-p.pie hfr-mcast-p.pie

The following example also illustrates a valid use of the install add command with the source keyword:

RP/0/RSP0/CPU0:router(admin)# install add source tftp://192.168.254.254/images/user/ hfr-mcast-p.pie pies/hfr-mpls-p.pie ftp://1.2.3.4/other_location/hfr-mgbl-p.pie

In the above example, three PIE files are added from the following locations:

• tftp://192.168.254.254/images/user/hfr-mcast-p.pie

• tftp://192.168.254.254/images/user/pies/hfr-mpls-p.pie

• ftp://1.2.3.4/other_location/hfr-mgbl-p.pie

Parallel Reload

Installation operations are activated according to the method encoded in the package being activated. Generally, this method has the least impact for routing and forwarding purposes, but it may not be the fastest method from start to finish and can require user interaction by default. To perform the installation procedure as quickly as possible, you can specify the parallel-reload keyword. This forces the

ES-35Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 36: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Bringing Up the Ethernet Services on a Cisco ASR 9000 Series Routerinstall add

installation to perform a parallel reload, so that all cards on the router reload simultaneously, and then come up with the new software. This impacts routing and forwarding, but it ensures that the installation is performed without other issues.

Task ID

Examples The following example shows how to add a PIE file for all SDRs in the system. In the following example, a Multiprotocol Label Switching (MPLS) package is added in synchronous mode. This operation copies the files required for the package to the storage device. This package remains inactive until it is activated with the install activate command.

RP/0/RSP0/CPU0:router# admin RP/0/RSP0/CPU0:router(admin)# install add tftp://209.165.201.1/hfr-mpls.pie synchronous

Install operation 4 'install add /tftp://209.165.201.1/hfr-mpls.pie synchronous' started by user'user_b' at 03:17:05 UTC Mon Nov 14 2005.Info: The following package is now available to be activated:Info: Info: disk0:hfr-mpls-3.3.80Info: Install operation 4 completed successfully at 03:18:30 UTC Mon Nov 14 2005.

In the following example, a package is added and activated on all SDRs with a single command:

RP/0/RSP0/CPU0:router# admin RP/0/RSP0/CPU0:router(admin)# install add disk1:hfr-mgbl-p.pie-3.4.0 activateInstall operation 4 'install add /disk1:hfr-mgbl-p.pie-3.4.0 activate' startedby user 'user_b' at 07:58:56 UTC Wed Mar 01 2006.The install operation will continue asynchronously.:router(admin)#Part 1 of 2 (add software): StartedInfo: The following package is now available to be activated:Info: Info: disk0:hfr-mgbl-3.4.0Info: Part 1 of 2 (add software): Completed successfullyPart 2 of 2 (activate software): StartedInfo: The changes made to software configurations will not be persistent acrosssystem reloads. Use the command 'admin installInfo: commit' to make changes persistent.Info: Please verify that the system is consistent following the software changeusing the following commands:Info: show system verifyInfo: install verifyPart 2 of 2 (activate software): Completed successfullyPart 1 of 2 (add software): Completed successfullyPart 2 of 2 (activate software): Completed successfullyInstall operation 4 completed successfully at 08:00:24 UTC Wed Mar 01 2006.

Related Commands

Task ID Operations

pkg-mgmt execute

Command Description

install activate Adds a software package or SMU to the active software set.

install commit Makes the current active software set persistent across RP reloads.

ES-36Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 37: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Bringing Up the Ethernet Services on a Cisco ASR 9000 Series RouterPIEs to add for Ethernet Services Support

PIEs to add for Ethernet Services SupportTable 1 describes the optional packages that will be activated individually to enable Ethernet services on the Cisco ASR 9000 Series Router.

Where to Go NextFor information on configuring layer 2 router features, see Configuring Ethernet Layer 2 Switching

show install log Displays the entries stored in the logging installation buffer.

show install request Displays the list of incomplete installation manager requests.

Command Description

Table 1 Optional Cisco IOS XR Software Packages

Name Description

Manageability Support for HTTP, XML, SNMP and other management tools.

MPLS Support for Multiprotocol Label Switching (MPLS).

Multicast Support for multicast protocols.

ES-37Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 38: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Bringing Up the Ethernet Services on a Cisco ASR 9000 Series RouterWhere to Go Next

ES-38Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 39: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Layer 2 Switching

This chapter describes how to configure ethernet layer 2 switching on the Cisco ASR 9000 Series Aggregation Services Router using the command-line interface (CLI), and it describes basic Cisco IOS XR software configuration management.

Contents • Layer 2 Ethernet Switching Overview, page 39

• Understanding Ethernet CFM, page 40

• Configuring Ethernet CFM, page 50

• Where to Go Next, page 58

Layer 2 Ethernet Switching OverviewLayer 2 Ethernet ports on Cisco ASR 9000 Series Routers support simultaneous, parallel connections between Layer 2 Ethernet segments. Switched connections between Ethernet segments last only for the duration of the packet. New connections can be made between different segments for the next packet.

Cisco switches that support Layer 2 Ethernet ports solve congestion problems caused by high-bandwidth devices and by a large number of users by assigning each device (for example, a server) to its own 10-, 100-, or 1000-Mbps collision domain. Because each LAN port connects to a separate Ethernet collision domain, servers in a properly configured switched environment achieve full access to the bandwidth.

Because collisions cause significant congestion in Ethernet networks, an effective solution is full-duplex communication. Normally, Ethernet operates in half-duplex mode, which means that stations can either receive or transmit. In full-duplex mode, two stations can transmit and receive at the same time. When packets can flow in both directions simultaneously, the effective Ethernet bandwidth doubles.

Layer 2 Local Switching OverviewLocal switching allows you to switch Layer 2 data between two interfaces of the same type (for example, Ethernet to Ethernet) on the same router. The interfaces can be on the same line card or on two different cards. During these kinds of switching, the Layer 2 address is used, not any Layer 3 address.

Additionally, same-port local switching allows you to switch Layer 2 data between two circuits on the same interface.

ES-39Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 40: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Layer 2 SwitchingUnderstanding Ethernet CFM

ASR 9000 Reference NetworkHere is an example of the ASR 9000 reference network:

Understanding Ethernet CFMEthernet CFM is an end-to-end per-service-instance (per VLAN) Ethernet layer OAM protocol that includes proactive connectivity monitoring, fault verification, and fault isolation. End-to-end can be provider-edge-to provider-edge (PE-to-PE) device or customer-edge-to-customer-edge (CE-to-CE) device. Ethernet CFM, as specified by IEEE 802.1ag, is the standard for Layer 2 ping, Layer 2 traceroute, and end-to-end connectivity check of the Ethernet network.

Unlike CFM, other metro-Ethernet OAM protocols are not end-to-end technologies. For example, IEEE 802.3ah OAM is a single-hop and per-physical-wire protocol and is not end-to-end or service aware. E-LMI is confined between the user provider-edge (UPE) and the CE device and relies on CFM for reporting status of the metro-Ethernet network to the customer-edge device.

These sections contain conceptual information about Ethernet CFM:

• CFM Domain, page 41

• Maintenance Points, page 42

• CFM Messages, page 43

• Configuring Ethernet CFM, page 50

ES-40Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 41: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Layer 2 SwitchingUnderstanding Ethernet CFM

CFM DomainA CFM maintenance domain is a management space on a network that is owned and operated by a single entity and defined by a set of ports internal to it, but at its boundary. You assign a unique maintenance level (from 0 to 7) to define the hierarchical relationship between domains. The larger the domain, the higher the level. For example, as shown in Figure 1, a service-provider domain would be larger than an operator domain and might have a maintenance level of 6, while the operator domain maintenance level is 3 or 4.

As shown in Figure 2, domains cannot intersect or overlap because that would require management by more than one entity, which is not allowed. Domains can touch or nest (if the outer domain has a higher maintenance level than the nested domain). Nesting domains is useful when a service provider contract with one or more operators to provide Ethernet service. Each operator has its own maintenance domain and the service provider domain is a superset of the operator domains. Maintenance levels of nesting domains should be communicated among the administrating organizations. CFM exchanges messages and performs operations on a per-domain basis.

Figure 1 CFM Maintenance Domains

1572

81

Operator Domains

Service Provider Domain Level 6

Operator 1PE 1CE 1 CE 2PE 2 PE 3 PE 4

Operator 2

MEP

Level 4 Level 4

Level 3

Level 2

MEP MEP

MIP

MIP MIP

MEP MEPMIP MIP

MIP MEP

ES-41Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 42: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Layer 2 SwitchingUnderstanding Ethernet CFM

Figure 2 Allowed Domain Relationships

Maintenance PointsA maintenance point is a demarcation point on an interface that participates in CFM within a maintenance domain. Maintenance points drop all lower-level frames and forward all higher-level frames. There are two types of maintenance points:

• Maintenance end points (MEPs) are inward-facing points at the edge of the domain that define the boundary and confine CFM messages within these boundaries. Inward facing means that they communicate through the relay function side, not the wire side (connected to the port). A MEP sends and receives CFM frames through the relay function. It drops all CFM frames of its level or lower that come from the wire side. For CFM frames from the relay side, it processes the frames at its level and drops frames at a lower level. The MEP transparently forwards all CFM frames at a higher level, regardless of whether they are received from the relay or wire side. CFM runs at the provider maintenance level (UPE-to-UPE), specifically with inward-facing MEPs at the user network interface (UNI).

• Maintenance intermediate points (MIPs) are internal to a domain, not at the boundary, and respond to CFM only when triggered by traceroute and loopback messages. They forward CFM frames received from MEPs and other MIPs, drop all CFM frames at a lower level, and forward all CFM frames at a higher level, regardless of whether they are received from the relay or wire side.

If port on which the MEP is configured is blocked by Spanning-Tree Protocol (STP), the port cannot receive or transmit CFM messages. If a port on which a MIP is configured is blocked by STP, the port cannot receive or respond to messages from the relay function side, but can receive and respond to CFM messages from the wire side.

Ethernet CFM OverviewEthernet Connectivity Fault Management (CFM) is an end-to-end per-service-instance Ethernet layer operations, administration, and maintenance (OAM) protocol. It includes proactive connectivity monitoring, fault verification, and fault isolation for large Ethernet metropolitan-area networks (MANs) and WANs.

The advent of Ethernet as a MAN and WAN technology imposes a new set of OAM requirements on Ethernet’s traditional operations, which were centered on enterprise networks only. The expansion of Ethernet technology into the domain of service providers, where networks are substantially larger and more complex than enterprise networks and the user base is wider, makes operational management of link uptime crucial. More importantly, the timeliness in isolating and responding to a failure becomes mandatory for normal day-to-day operations, and OAM translates directly to the competitiveness of the service provider.

1572

82

Scenario A:Touching Domains OK

Scenario B:Nested Domains OK

Scenario C:Intersecting Domains NotAllowed

ES-42Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 43: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Layer 2 SwitchingUnderstanding Ethernet CFM

CFM MessagesCFM uses standard Ethernet frames distinguished by EtherType or (for multicast messages) by MAC address. All CFM messages are confined to a maintenance domain and to a service-provider VLAN (S-VLAN). These CFM messages are supported:

• Continuity Check (CC) messages—multicast heartbeat messages exchanged periodically between MEPs that allow MEPs to discover other MEPs within a domain and allow MIPs to discover MEPs. CC messages are configured to a domain or VLAN.

• Loopback messages—unicast frames transmitted by a MEP at administrator request to verify connectivity to a particular maintenance point, indicating if a destination is reachable. A loopback message is similar to an Internet Control Message Protocol (ICMP) ping message.

• Traceroute messages—multicast frames transmitted by a MEP at administrator request to track the path (hop-by-hop) to a destination MEP. Traceroute messages are similar in concept to UDP traceroute messages.

Ethernet CFMEthernet CFM is an end-to-end per-service-instance Ethernet layer OAM protocol that includes proactive connectivity monitoring, fault verification, and fault isolation. End to end can be PE to PE or CE to CE. A service can be identified as a service provider VLAN (S-VLAN) or an EVC service.

Being an end-to-end technology is the distinction between CFM and other metro-Ethernet OAM protocols. For example, MPLS, ATM, and SONET OAM help in debugging Ethernet wires but are not always end-to-end. 802.3ah OAM is a single-hop and per-physical-wire protocol. It is not end to end or service aware. Ethernet Local Management Interface (E-LMI) is confined between the user-end provider edge (uPE) and CE and relies on CFM for reporting status of the metro-Ethernet network to the CE.

Troubleshooting carrier networks offering Ethernet Layer 2 services is challenging. Customers contract with service providers for end-to-end Ethernet service and service providers may subcontract with operators to provide equipment and networks. Compared to enterprise networks, where Ethernet traditionally has been implemented, these constituent networks belong to distinct organizations or departments, are substantially larger and more complex, and have a wider user base. Ethernet CFM provides a competitive advantage to service providers for which the operational management of link uptime and timeliness in isolating and responding to failures is crucial to daily operations.

Benefits of Ethernet CFM

Ethernet CFM provides the following benefits:

• End-to-end service-level OAM technology

• Reduced operating expense for service provider Ethernet networks

• Competitive advantage for service providers

• Supports both distribution and access network environments with the outward facing MEPs enhancement

ES-43Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 44: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Layer 2 SwitchingUnderstanding Ethernet CFM

Customer Service InstanceA customer service instance is an Ethernet virtual connection (EVC), which is identified by an S-VLAN within an Ethernet island, and is identified by a globally unique service ID. A customer service instance can be point-to-point or multipoint-to-multipoint. Figure 3 shows two customer service instances. Service Instance Green is point to point; Service Instance Blue is multipoint to multipoint.

Figure 3 Customer Service Instances

Maintenance DomainA maintenance domain is a management space for the purpose of managing and administering a network. A domain is owned and operated by a single entity and defined by the set of ports internal to it and at its boundary. Figure 4 illustrates a typical maintenance domain.

CPE

CPE CPE

CPE

CPE

U-PE

U-PE

U-PE

U-PE

Service Instance BlueS-VLAN 500

Service Instance GreenS-VLAN 100

1550

46

ES-44Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 45: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Layer 2 SwitchingUnderstanding Ethernet CFM

Figure 4 Ethernet CFM Maintenance Domain

A unique maintenance level in the range of 0 to 7 is assigned to each domain by a network administrator. Levels and domain names are useful for defining the hierarchical relationship that exists among domains. The hierarchical relationship of domains parallels the structure of customer, service provider, and operator. The larger the domain, the higher the level value. For example, a customer domain would be larger than an operator domain. The customer domain may have a maintenance level of 7 and the operator domain may have a maintenance level of 0. Typically, operators would have the smallest domains and customers the largest domains, with service provider domains between them in size. All levels of the hierarchy must operate together.

Domains should not intersect because intersecting would mean management by more than one entity, which is not allowed. Domains may nest or touch but when two domains nest, the outer domain must have a higher maintenance level than the domain nested within it. Nesting maintenance domains is useful in the business model where a service provider contracts with one or more operators to provide Ethernet service to a customer. Each operator would have its own maintenance domain and the service provider would define its domain—a superset of the operator domains. Furthermore, the customer has its own end-to-end domain which is in turn a superset of the service provider domain. Maintenance levels of various nesting domains should be communicated among the administering organizations. For example, one approach would be to have the service provider assign maintenance levels to operators.

CFM exchanges messages and performs operations on a per-domain basis. For example, running CFM at the operator level does not allow discovery of the network by the higher provider and customer levels.

Network designers decide on domains and configurations. Figure 5 illustrates a hierarchy of operator, service provider, and customer domains and also illustrates touching, intersecting, and nested domains.

Port interior to domain

Maintenancedomain

Port at edge of domain 1553

84

ES-45Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 46: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Layer 2 SwitchingUnderstanding Ethernet CFM

Figure 5 Ethernet CFM Maintenance Domain Hierarchy

Maintenance PointA maintenance point is a demarcation point on an interface (port) that participates in CFM within a maintenance domain. Maintenance points on device ports act as filters that confine CFM frames within the bounds of a domain by dropping frames that do not belong to the correct level. Maintenance points must be explicitly configured on Cisco devices. Two classes of maintenance points exist, MEPs and MIPs.

Maintenance Endpoints

MEPs have the following characteristics:

• Per maintenance domain (level) and service (S-VLAN or EVC)

• At the edge of a domain, define the boundary

• Within the bounds of a maintenance domain, confine CFM messages

• When configured to do so, proactively transmit CFM continuity check messages (CCMs)

• At the request of an administrator, transmit traceroute and loopback messages

CE

OperatorDomain Provider

Domain CustomerDomain

CE

PE PE

PEPE CE

CE

CE

CE

CE

Scenario A:Touching Domains OK

Scenario B:Intersecting Domains NotAllowed

Scenario C:Nested Domains OK 15

5048

ES-46Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 47: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Layer 2 SwitchingUnderstanding Ethernet CFM

Inward Facing MEPs

Inward facing means the MEP communicates through the Bridge Relay function and uses the Bridge-Brain MAC address. An inward facing MEP performs the following functions:

• Sends and receives CFM frames at its level through the relay function, not via the wire connected to the port on which the MEP is configured.

• Drops all CFM frames at its level (or lower level) that come from the direction of the wire.

• Processes all CFM frames at its level coming from the direction of the relay function.

• Drops all CFM frames at a lower level coming from the direction of the relay function.

• Transparently forwards all CFM frames at its level (or a higher level), independent of whether they come in from the relay function side or the wire side.

Note For the current Cisco IOS implementation, a MEP of level L (where L is less than 7) requires a MIP of level M > L on the same port; hence, CFM frames at a level higher than the level of the MEP will be catalogued by this MIP.

• If the port on which the inward MEP is configured is blocked by Spanning-Tree Protocol, the MEP can no longer transmit or receive CFM messages.

Outward Facing MEPs for Routed Ports and Switch Ports

Outward facing means that the MEP communicates through the wire. Outward facing MEPs can be configured on routed ports and switch ports. A MIP configuration at a level higher than the level of the outward facing MEP is not required.

Outward facing MEPs on routed ports use the port MAC address. Outward facing MEPs on port channels use the Bridge-Brain MAC address of the first member link. When port channel members change, the identities of outward facing MEPs do not have to change. Cisco IOS Release 12.2(33)SRD supports outward facing MEPs on switch ports and Ethernet flow points (EFPs).

An outward facing MEP performs the following functions:

• Sends and receives CFM frames at its level via the wire connected to the port where the MEP is configured.

• Drops all CFM frames at its level (or at a lower level) that come from the direction of the relay function.

• Processes all CFM frames at its level coming from the direction of the wire.

• Drops all CFM frames at a lower level coming from the direction of the wire.

• Transparently forwards all CFM frames at levels higher than the level of the outward facing MEP, independent of whether they come in from the relay function side or the wire side. This function is not applicable to routed ports.

• If the port on which the outward MEP is configured is blocked by Spanning-Tree Protocol, the MEP can still transmit and receive CFM messages via the wire. Cisco IOS Release 12.2(33)SRD does not support CFM messages passing through a blocked port.

Maintenance Intermediate Points

MIPs have the following characteristics:

• Per maintenance domain (level) and for all S-VLANs enabled or allowed on a port.

• Internal to a domain, not at the boundary.

ES-47Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 48: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Layer 2 SwitchingUnderstanding Ethernet CFM

• CFM frames received from MEPs and other MIPs are cataloged and forwarded, using both the wire and the relay function.

• All CFM frames at a lower level are stopped and dropped, independent of whether they originate from the wire or relay function.

• All CFM frames at a higher level are forwarded, independent of whether they arrive from the wire or relay function.

• Passive points respond only when triggered by CFM traceroute and loopback messages.

• Bridge-Brain MAC addresses are used.

If the port on which a MIP is configured is blocked by Spanning-Tree Protocol, the MIP cannot receive CFM messages or relay them toward the relay function side. The MIP can, however, receive and respond to CFM messages from the wire.

A MIP has only one level associated with it and the command-line interface (CLI) does not allow you to configure a MIP for a domain that does not exist.

Figure 6 illustrates MEPs and MIPs at the operator, service provider, and customer levels.

Figure 6 CFM MEPs and MIPs on Customer and Service Provider Equipment, Operator Devices

CFM MessagesCFM uses standard Ethernet frames. CFM frames are distinguishable by EtherType and for multicast messages by MAC address. CFM frames are sourced, terminated, processed, and relayed by bridges. Routers can support only limited CFM functions.

Bridges that cannot interpret CFM messages forward them as normal data frames. All CFM messages are confined to a maintenance domain and to an S-VLAN (PE-VLAN or Provider-VLAN). Three types of messages are supported:

• Continuity Check

• Loopback

• Traceroute

Equipment

Outwardfacing

Inwardfacing

Operatorlevel

Operatorlevel

Providerlevel

Customerlevel

MIPMEP

Operator A Bridges Operator B Bridges Equipment

1553

85

ES-48Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 49: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Layer 2 SwitchingUnderstanding Ethernet CFM

Continuity Check Messages

CFM CCMs are multicast heartbeat messages exchanged periodically among MEPs. They allow MEPs to discover other MEPs within a domain and allow MIPs to discover MEPs. CCMs are confined to a domain and S-VLAN.

CFM CCMs have the following characteristics:

• Transmitted at a configurable periodic interval by MEPs. The interval can be from 10 seconds to 65535 seconds, the default is 30.

• Contain a configurable hold-time value to indicate to the receiver the validity of the message. The default is 2.5 times the transmit interval.

• Catalogued by MIPs at the same maintenance level.

• Terminated by remote MEPs at the same maintenance level.

• Unidirectional and do not solicit a response.

• Carry the status of the port on which the MEP is configured.

Loopback Messages

CFM loopback messages are unicast frames that a MEP transmits, at the request of an administrator, to verify connectivity to a particular maintenance point. A reply to a loopback message indicates whether a destination is reachable but does not allow hop-by-hop discovery of the path. A loopback message is similar in concept to an Internet Control Message Protocol (ICMP) Echo (ping) message.

A CFM loopback message can be generated on demand using the CLI. The source of a loopback message must be a MEP; the destination may be a MEP or a MIP. CFM loopback messages are unicast; replies to loopback messages also are unicast. CFM loopback messages specify the destination MAC address, VLAN, and maintenance domain.

Traceroute Messages

CFM traceroute messages are multicast frames that a MEP transmits, at the request of an administrator, to track the path (hop-by-hop) to a destination MEP. They allow the transmitting node to discover vital connectivity data about the path, and allow the discovery of all MIPs along the path that belong to the same maintenance domain. For each visible MIP, traceroute messages indicate ingress action, relay action, and egress action. Traceroute messages are similar in concept to User Datagram Protocol (UDP) traceroute messages.

Traceroute messages include the destination MAC address, VLAN, and maintenance domain and they have Time To Live (TTL) to limit propagation within the network. They can be generated on demand using the CLI. Traceroute messages are multicast; reply messages are unicast.

Cross-Check FunctionThe cross-check function is a timer-driven post-provisioning service verification between dynamically discovered MEPs (via CCMs) and expected MEPs (via configuration) for a service. The cross-check function verifies that all endpoints of a multipoint or point-to-point service are operational. The function supports notifications when the service is operational; otherwise it provides alarms and notifications for unexpected endpoints or missing endpoints.

The cross-check function is performed one time. You must initiate the cross-check function from the CLI every time you want a service verification.

ES-49Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 50: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Layer 2 SwitchingConfiguring Ethernet CFM

Ethernet Virtual Circuit

An EVC as defined by the Metro Ethernet Forum is a port-level point-to-point or multipoint-to-multipoint Layer 2 circuit. EVC status can be used by a CE device to find an alternative path into the service provider network.

Configuring Ethernet CFMConfiguring Ethernet CFM requires preparing the network and configuring services. You can optionally configure and enable crosschecking. These sections are included

• Default Ethernet CFM Configuration, page 50

• Ethernet CFM Configuration Guidelines, page 50

• Preparing the Ethernet CFM Network, page 51

• Configuring Ethernet CFM Service, page 52

• Configuring Ethernet CFM Crosscheck, page 53

Default Ethernet CFM ConfigurationCFM is globally disabled.

CFM is enabled on all interfaces. A port can be configured as a flow point (MIP/MEP), a transparent port, or disabled (CFM disabled). By default, ports are transparent ports until configured as MEP, MIP, or disabled.

There are no MEPs or MIPs configured.

Ethernet CFM Configuration GuidelinesThese are the configuration guidelines and restrictions for CFM:

• CFM is not supported and cannot be configured on routed ports.

• You cannot configure CFM on VLAN interfaces.

• You cannot configure CFM on an EoMPLS port.

• CFM is not supported on private VLAN ports. The configuration is allowed, but does not take affect.

ES-50Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 51: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Layer 2 SwitchingConfiguring Ethernet CFM

Preparing the Ethernet CFM NetworkBeginning in privileged EXEC mode, follow these steps to prepare the network for Ethernet CFM:

Command Purpose

Step 1 configure terminal Enter global configuration mode.

Step 2 ethernet cfm traceroute cache [size entries | hold-time minutes]

(Optional) Configure the CFM traceroute cache. You can set a maximum cache size or hold time.

• (Optional) For size, enter the cache size in number of entry lines. The range is from 1 to 4095; the default is 100 lines.

• (Optional) For hold-time, enter the maximum cache hold time in minutes. The range is from 1 to 65535; the default is 100 minutes.

Step 3 ethernet cfm domain domain-name level level-id Define a CFM domain, set the domain level, and enter ethernet-cfm configuration mode for the domain. The maintenance level number range is 0 to 7.

Step 4 mep archive-hold-time minutes (Optional) Set the number of minutes that data from a missing maintenance end point (mep) is kept before it is purged. The range is 1 to 65535; the default is 100 minutes.

Step 5 exit Return to global configuration mode.

Step 6 interface interface-id Specify a physical interface or a port channel to configure, and enter interface configuration mode.

Step 7 ethernet cfm mip level level-id Configure an operator-level maintenance intermediate point (MIP) for the domain level-ID defined in Step 3.

Note If you plan to configure a MEP at level 7 on this interface, do not use this command to configure a MIP on the interface.

Step 8 exit Return to global configuration mode.

Step 9 ethernet cfm cc {[enable] level {level-id | any} vlan {vlan-id | any}}

Configure per domain continuity check (cc) parameters. The level ID identifies the domain to which configuration applies.

• Enter enable to enable CFM cc for the domain level.

• Enter a maintenance level as a level number (0 to 7) or as any for all maintenance levels.

• Enter the VLANs to apply the check to, as a VLAN-ID (1 to 4095), a range of VLAN-IDs separated by a hyphen, a series of VLAN IDs separated by commas, or any for any VLANs.

Step 10 end Return to privileged EXEC mode.

Step 11 show ethernet cfm domain brief

show ethernet cfm maintenance-points local

show ethernet cfm traceroute-cache

Verify the configuration.

ES-51Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 52: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Layer 2 SwitchingConfiguring Ethernet CFM

Use the no versions of the commands to remove the configuration or return to the default configurations.

Configuring Ethernet CFM ServiceBeginning in privileged EXEC mode, follow these steps to set up service for Ethernet CFM:

Step 12 show running-config Verify your entries.

Step 13 copy running-config startup-config (Optional) Save your entries in the configuration file.

Command Purpose

Command Purpose

Step 1 configure terminal Enter global configuration mode.

Step 2 ethernet cfm domain domain-name level level-id Define a CFM domain, set the domain level, and enter ethernet-cfm configuration mode for the domain. The maintenance level number range is 0 to 7.

Step 3 service csi-id vlan vlan-id Define a universally unique customer service instance (CSI) and VLAN ID within the maintenance domain.

• csi-id—a string of no more than 100 characters that identifies the CSI.

• vlan-id—VLAN range is from 1 to 4095. You cannot use the same VLAN ID for more than one domain at the same level.

Step 4 exit Return to global configuration mode.

Step 5 ethernet cfm enable Globally enable CFM.

Step 6 interface interface-id Specify a physical interface or a port channel to configure, and enter interface configuration mode.

Step 7 ethernet cfm mip level level-id Configure a customer level or service-provider level maintenance intermediate point (MIP) for the interface. The MIP level range is 0 to 7.

Note If you plan to configure a MEP at level 7 on this interface, do not use this command to configure a MIP on the interface.

ES-52Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 53: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Layer 2 SwitchingConfiguring Ethernet CFM

Use the no form of each command to remove a configuration or to return to the default settings.

Configuring Ethernet CFM CrosscheckBeginning in privileged EXEC mode, follow these steps to configure Ethernet CFM crosscheck:

Step 8 ethernet cfm mep level level-id [inward] mpid identifier vlan vlan-id

Configure maintenance end points (MEPs). for different maintenance levels. The MEP level range is 0 to 7.

• (Optional) Specify the end point in the inward direction.

• For mpid identifier, enter a maintenance end point identifier. The identifier must be unique for each VLAN (service instance). The range is 1 to 8191.

• For vlan vlan-id, enter the service provider VLAN ID or IDs as a VLAN-ID (1 to 4095), a range of VLAN-IDs separated by a hyphen, or a series of VLAN IDs separated by comma.

Note Repeat the command for different level IDs.

Step 9 exit Return to global configuration mode.

Step 10 snmp-server enable traps ethernet cfm cc [mep-up] [mep-down] [config] [loop] [cross-connect]

(Optional) Enable Ethernet CFM continuity check traps.

Step 11 snmp-server enable traps ethernet cfm crosscheck [mep-unknown] [mep-missing] [service-up]

(Optional) Enable Ethernet CFM crosscheck traps.

Step 12 end Return to privileged EXEC mode.

Step 13 show ethernet cfm {domain | maintenance-points} Verify the configuration.

Step 14 show running-config Verify your entries.

Step 15 copy running-config startup-config (Optional) Save your entries in the configuration file.

Command Purpose

Command Purpose

Step 1 configure terminal Enter global configuration mode.

Step 2 ethernet cfm mep crosscheck start-delay delay Configure the number of seconds that the device waits for remote MEPs to come up before the crosscheck is started. The range is 1 to 65535; the default is 30 seconds.

Step 3 ethernet cfm domain domain-name level level-id Define a CFM domain, set the domain level, and enter ethernet-cfm configuration mode for the domain. The maintenance level number range is 0 to 7.

ES-53Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 54: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Layer 2 SwitchingConfiguring Ethernet CFM

Use the no form of each command to remove a configuration or to return to the default settings.

Multiple Spanning Tree Protocol. A spanning-tree protocol used to prevent loops in bridge configurations. Unlike other types of STPs, MSTP can block ports selectively by VLAN.

NOTE: The difference between access interfaces and trunk interfaces is that access interfaces can be part of one VLAN only and the interface is normally attached to an end-user device (packets are implicitly associated with the configured VLAN). In contrast, trunk interfaces multiplex traffic from multiple VLANs and usually interconnect switches.

STP OverviewSTP is a Layer 2 link-management protocol that provides path redundancy while preventing undesirable loops in the network. For a Layer 2 Ethernet network to function properly, only one active path can exist between any two stations. STP operation is transparent to end stations, which cannot detect whether they are connected to a single LAN segment or a switched LAN of multiple segments.

Cisco ASR 9000 Series Routers use STP (the IEEE 802.1D bridge protocol) on all VLANs. By default, a single instance of STP runs on each configured VLAN (provided you do not manually disable STP). You can enable and disable STP on a per-VLAN basis.

Step 4 mep crosscheck mpid identifier vlan vlan-id [mac remote MAC address]

Define a remote maintenance end point (MEP) within a maintenance domain.

• For mpid identifier, enter a maintenance end point identifier. The identifier must be unique for each VLAN (service instance). The range is 1 to 8191.

• For vlan vlan-id, the VLAN range is from 1 to 4095.

• (Optional) Specify the MAC address of the remote MEP.

Step 5 end Return to privileged EXEC mode.

Step 6 ethernet cfm mep crosscheck {enable | disable} level level-id vlan {vlan-id | any}

Enable or disable CFM crosscheck for one or more maintenance levels and VLANs.

• For level level-id, enter a single level ID (0 to 7), a range of level IDs separated by a hyphen, or a series of level IDs separated by commas.

• For vlan vlan-id, enter the provider VLAN ID or IDs as a VLAN-ID (1 to 4095), a range of VLAN-IDs separated by a hyphen, or a series of VLAN IDs separated by commas, or enter any for any VLAN.

Step 7 end Return to privileged EXEC mode.

Step 8 show ethernet cfm maintenance-points remote crosscheck

Verify the configuration.

Step 9 show ethernet cfm errors Enter this command after you enable CFM crosscheck to display the results of the crosscheck operation.

Step 10 copy running-config startup-config (Optional) Save your entries in the configuration file.

Command Purpose

ES-54Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 55: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Layer 2 SwitchingEthernet Wire Service

When you create fault-tolerant internetworks, you must have a loop-free path between all nodes in a network. The STP algorithm calculates the best loop-free path throughout a switched Layer 2 network. Layer 2 LAN ports send and receive STP frames at regular intervals. Network devices do not forward these frames, but use the frames to construct a loop-free path.

Multiple active paths between end stations cause loops in the network. If a loop exists in the network, end stations might receive duplicate messages and network devices might learn end station MAC addresses on multiple Layer 2 LAN ports. These conditions result in an unstable network.

STP defines a tree with a root bridge and a loop-free path from the root to all network devices in the Layer 2 network. STP forces redundant data paths into a standby (blocked) state. If a network segment in the spanning tree fails and a redundant path exists, the STP algorithm recalculates the spanning tree topology and activates the standby path.

When two Layer 2 LAN ports on a network device are part of a loop, the STP port priority and port path cost setting determine which port is put in the forwarding state and which port is put in the blocking state. The STP port priority value represents the location of a port in the network topology and how efficiently that location allows the port to pass traffic. The STP port path cost value represents media speed.

Ethernet Wire ServiceAn Ethernet Wire Service is a service that emulates a point-to-point Ethernet segment. This is similar to Ethernet private line (EPL), a Layer 1 point-to-point service, except the provider edge operates at Layer 2 and typically runs over a Layer 2 network. The EWS encapsulates all frames that are received on a particular UNI and transports these frames to a single-egress UNI without reference to the contents contained within the frame. The operation of this service means that an EWS can be used with VLAN-tagged frames. The VLAN tags are transparent to the EWS (bridge protocol data units [BPDUs])—with some exceptions. These exceptions include IEEE 802.1x, IEEE 802.2ad, and IEEE 802.3x, because these frames have local significance and it benefits both the customer and the Service Provider to terminate them locally.

The customer side has the following types:

• Untagged

• Single tagged

• Double tagged

• 802.1q

• 802.1ad

E-Line service provides a point-to-point EVC between two UNIs.

Two types of E-Line Service

Ethernet Private Line (EPL)

• No service multiplexing allowed

• Transparent

• No coordination between customer and SP on VLAN ID map

Ethernet Virtual Private Line (EVPL)

• Allows service multiplexing

• No need for full transparency of service frames

ES-55Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 56: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Layer 2 SwitchingEthernet Wire Service

Ethernet LAN (E-LAN) Service

E-LAN service provides multipoint connectivity (can connect two or more UNIs).

All sites have Ethernet connectivity with each other

(inside the cloud is a multipoint-to-multipoint EVC)

Types of E-LAN services:

Transparent LAN Service (TLS)

• Bundled service

Ethernet Virtual Connection Service (EVCS)

• Per-VLAN service-multiplexed service

The Cisco Ethernet Relay Service concept corresponds to the MEF Ethernet Virtual Private Line concept.

The Cisco Ethernet Wire Service concept corresponds to the MEF Ethernet Private Line concept.

The Cisco Multipoint Service concept corresponds to the MEF Transparent LAN Service concept.

The Cisco Multipoint Relay Service concept corresponds to the MEF Ethernet Virtual Connection Service concept.

A UNI is the demarcation between the CE and the provider edge (PE).

Ethernet service is what the Service Provider provides between UNIs.

• Ethernet Line service (E-Line) point-to-point

• Ethernet LAN service (E-LAN) multipoint

• Ethernet Tree service (E-Tree) point-to-multipoint

This is Carrier Ethernet. This can replace Frame Relay/ATM within the cloud with the benefits including faster speeds (GigE and 10GigE).

VPLS (Virtual Private LAN Service) is an end-to-end architecture that allows MPLS networks to provide Multipoint Ethernet services.

It is “Virtual” because multiple instances of this service share the same physical infrastructure.

It is “Private” because each instance of the service is independent and isolated from one another.

It is “LAN Service” because it emulates Layer 2 multipoint connectivity between subscribers.

IGMP SnoopingIGMP snooping provides a way to constrain multicast traffic at Layer 2. By snooping the IGMP membership reports sent by hosts in the bridge domain, the IGMP snooping application can set up Layer 2 multicast forwarding tables to deliver traffic only to ports with at least one interested member, significantly reducing the volume of multicast traffic.

Configured at Layer 3, IGMP provides a means for hosts in an IPv4 multicast network to indicate which multicast traffic they are interested in and for routers to control and limit the flow of multicast traffic in the network (at Layer 3).

IGMP snooping uses the information in IGMP membership report messages to build corresponding information in the forwarding tables to restrict IP multicast traffic at Layer 2. The forwarding table entries are in the form <Route, OIF List>, where:

• Route is a <*, G> route or <S, G> route.

ES-56Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 57: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Layer 2 SwitchingEthernet Wire Service

• OIF List comprises all bridge ports that have sent IGMP membership reports for the specified route plus all Multicast Router (mrouter) ports in the bridge domain.

The IGMP snooping feature can provide the following benefits to a multicast network:

• Basic IGMP snooping reduces bandwidth consumption by reducing multicast traffic that would otherwise flood an entire VPLS bridge domain.

• With optional configuration options, IGMP snooping can provide security between bridge domains by filtering the IGMP reports received from hosts on one bridge port and preventing leakage towards the hosts on other bridge ports.

• With optional configuration options, IGMP snooping can reduce the traffic impact on upstream IP multicast routers by suppressing IGMP membership reports (IGMPv2) or by acting as an IGMP proxy reporter (IGMPv3) to the upstream IP multicast router.

Refer to the Implementing Layer 2 Multicast with IGMP Snooping on Cisco ASR 9000 Series Routers module in the Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide for information on configuring IGMP snooping.

The applicable IGMP snooping commands are described in the Cisco ASR 9000 Series Aggregation Services Router Multicast Command Reference.

MPLS Services

For more information on configuring VPLS, refer to the Implementing Virtual Private LAN Services on ASR 9000 Series Routers module of the Cisco ASR 9000 Series Router MPLS Configuration Guide.

In-depth description of the applicable commands supporting VPLS can be found in the Virtual Private LAN Services Commands module of the Cisco ASR 9000 Series Router MPLS Command Reference.

L2VPN OverviewLayer 2 VPN (L2VPN) emulates the behavior of a LAN across an IP or MPLS-enabled IP network allowing Ethernet devices to communicate with each other as they would when connected to a common LAN segment.

As service providers (SPs) look to replace their Frame Relay or Asynchronous Transfer Mode (ATM) infrastructures with an IP infrastructure, there is a need for to provide standard methods of using an IP infrastructure to provide a serviceable L2 interface to customers; specifically, to provide standard ways of using an IP infrastructure to provide virtual circuits between pairs of customer sites.

Building a L2VPN system requires coordination between the SP and the customer. The SP provides L2 connectivity; the customer builds a network using data link resources obtained from the SP. In an L2VPN service, the SP does not require information about a the customer's network topology, policies, routing information, point-to-point links, or network point-to-point links from other SPs.

ES-57Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 58: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Layer 2 SwitchingWhere to Go Next

Ethernet Port Mode

In Ethernet port mode, both ends of a pseudowire are connected to Ethernet ports. In this mode, the port is tunneled over the pseudowire or, using local switching (also known as an attachment circuit-to-attachment circuit cross-connect) switches packets or frames from one attachment circuit (AC) to another AC attached to the same PE node.

Figure 7 provides an example of Ethernet port mode.

Figure 7 Ethernet Port Mode Packet Flow

Where to Go NextWhen you have completed the configuration procedures in this chapter, consider the following resources for additional configuration documentation:

• For information on configuring Ethernet virtual connections, see Chapter 1, “Configuring Ethernet Virtual Connections (EVCs).”

• For ethernet services configuration examples, see Ethernet Services Configuration Examples

• For the list of platform-specific ethernet services commands on the Cisco ASR 9000 Series Router, see Cisco ASR 9000 Series Router Platform Dependent Command Reference

• For information on configuring interfaces, see the hardware documents listed in the Related Documents section.

EtherPE

EtherCE

EtherCE

EtherPE

MPLS emulated

VC Type 5

Packet flow

VC label

Control Word

PayloadPayloadPayload

VC label

Tunnel label

Control Word

Payload PayloadPayload

1582

76

ES-58Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 59: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)

This chapter describes how to configure Ethernet Virtual Connections (EVCs) on the Cisco ASR 9000 Series Aggregation Services Router using the command-line interface (CLI), and it describes basic Cisco IOS XR software configuration management.

Contents • EVC, page 59

• Restricted TCN Feature, page 60

• Root Guard Feature, page 60

• Ethernet CFM Overview, page 60

• Where to Go Next, page 93

EVCAn EVC as defined by the Metro Ethernet Forum is a port-level point-to-point or multipoint-to-multipoint Layer 2 circuit. It is an end-to-end representation of a single instance of a Layer 2 service being offered by a provider to a customer. An EVC embodies the different parameters on which the service is being offered. A service instance is the instantiation of an EVC on a specified port.

Service instances are configured under a port channel. The traffic, carried by the service instance is load balanced across member links. Service instances under a port channel are grouped and each group is associated with one member link. Ingress traffic for a single EVC can arrive on any member of the bundle. All egress traffic for a service instance uses only one of the member links. Load balancing is achieved by grouping service instances and assigning them to a member link.

Ethernet virtual connection services (EVCS) uses the concepts of EVCs and service instances to provide Layer 2 switched Ethernet services. EVC status can be used by a Customer Edge (CE) device either to find an alternative path into the service provider network or in some cases, to fall back to a backup path over Ethernet.

ES-59Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 60: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Restricted TCN Feature

Restricted TCN FeatureSupport for the Restricted TCN (Topology Change Notification) feature on the Cisco ASR 9000 Series Aggregation Services Router has been added to the Release 3.7 FCI IOS XR software.

A Topology Change Notification is a simple Bridge Protocol Data Unit (BPDU) that a bridge sends out to its root port to signal a topology change. Restricted TCN can be toggled between True and False. If set to True, this stops the port from propagating received topology change notifications and topology changes to other ports. The default is False.

Root Guard FeatureThe standard STP (Spanning Tree Protocol) does not provide any means for the network administrator to securely enforce the topology of the switched Layer 2 (L2) network. A means to enforce topology can be especially important in networks with shared administrative control, where different administrative entities or companies control one switched network.

The forwarding topology of the switched network is calculated. The calculation is based on the root bridge position, among other parameters. Any switch can be the root bridge in a network. But a more optimal forwarding topology places the root bridge at a specific predetermined location. With the standard STP, any bridge in the network with a lower bridge ID takes the role of the root bridge. The administrator cannot enforce the position of the root bridge.

Note The administrator can set the root bridge priority to 0 in an effort to secure the root bridge position. But there is no guarantee against a bridge with a priority of 0 and a lower MAC address.

The root guard feature provides a way to enforce the root bridge placement in the network.

The root guard ensures that the port on which root guard is enabled is the designated port. Normally, root bridge ports are all designated ports, unless two or more ports of the root bridge are connected together. If the bridge receives superior STP Bridge Protocol Data Units (BPDUs) on a root guard-enabled port, root guard moves this port to a root-inconsistent STP state. This root-inconsistent state is effectively equal to a listening state. No traffic is forwarded across this port. In this way, the root guard enforces the position of the root bridge.

Ethernet CFM OverviewEthernet CFM is an end-to-end per-service-instance (per VLAN) Ethernet layer OAM protocol. It includes proactive connectivity monitoring, fault verification, and fault isolation. End-to-end can be provider-edge-to provider-edge (PE-to-PE) device or customer-edge-to-customer-edge (CE-to-CE) device. Ethernet CFM, as specified by IEEE 802.1ag, is the standard for Layer 2 ping, Layer 2 traceroute, and end-to-end connectivity verification of the Ethernet network.

Note Unlike CFM, other metro-Ethernet OAM protocols are not end-to-end technologies. For example, IEEE 802.3ah OAM is a single-hop and per-physical-wire protocol and is not end-to-end or service aware.

ES-60Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 61: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Ethernet CFM Overview

Configuring Ethernet Interfaces

SUMMARY STEPS

1. configure interface TenGigE [instance]

2. ipv4 address ipv4-address mask

3. flow-control ingress

4. mtu bytes

5. mac-address value1.value2.value3

6. no shutdown

7. end

DETAILED STEPS

Command or Action Purpose

Step 1 configureinterface TenGigE [instance]

Example:RP/0/RSP0/CPU0:router# configureRP/0/RSP0/CPU0:router(config)# interface TenGigE 0/0/0/1

Enters interface configuration mode for a 10-Gigabit Ethernet interface.

Step 2 ipv4 address ipv4-address mask

Example:RP/0/RSP0/CPU0:router(config-if)# ipv4 address 172.18.189.38 255.255.255.224

Places the router in administration EXEC mode, displays information about the status of cards and modules installed in the router, and terminates administration EXEC mode.

• Some cards support a CPU module and service processor (SP) module. Other cards support only a single module.

• A card module is also called a node. When a node is working properly, the status of the node in the State column is IOS XR RUN.

• Use the show platform node-id command to display information for a specific node. Replace node-id with a node name from the show platform command Node column.

Note To view the status of all cards and modules, the show platform command must be executed in administration EXEC mode.

Step 3 show redundancy

Example:RP/0/RSP0/CPU0:router# show redundancy

Displays the state of the primary (active) and standby (inactive) RSPs, including the ability of the standby to take control of the system.

• If both RSPs are working correctly, one node displays active role, the Partner node row displays standby role, and the Standby node row displays Ready.

ES-61Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 62: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Installing System Software on Your ASR 9000

Installing System Software on Your ASR 9000Refer to the Upgrading and Managing Cisco IOS XR Software module of the Cisco ASR 9000 System Management Configuration Guide, Release 3.7 FCI.

SUMMARY STEPS

1. Connect to the console port and log in.

2. dir device:

3. (Optional) admin

4. Add the PIE file to the router boot device:

install add device:pie-file [sdr sdr-name] [activate]

or

install add tftp://hostname_or_ipaddress/directory-path/pie-file [sdr sdr-name] [activate]

or

install add ftp://username:password@hostname_or_ipaddress/directory-path/pie-file [sdr sdr-name] [activate]

or

install add rcp://username@hostname_or_ipaddress/directory-path/pie-file [sdr sdr-name] [activate]

5. show install inactive summary [sdr sdr-name]

6. install activate {id add-id | device:package} [test] [sdr sdr-name] [location nodeID]

7. Repeat Steps 4. through 6. until all packages are added and activated.

8. (Optional) show install active summary [sdr sdr-name]

9. (Optional) install verify packages [sdr sdr-name]

10. (Optional) exit

11. (Optional) Verify the system is stable:

a. show system verify start

b. show system verify [start | report | detail]

12. (Optional) Commit the current set of packages:

a. admin

b. install commit

Step 4 show environment

Example:RP/0/RSP0/CPU0:router# show environment

Displays information about the hardware attributes and status.

Command or Action Purpose

ES-62Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 63: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Installing System Software on Your ASR 9000

DETAILED STEPS

Command or Action Purpose

Step 1 Connect to the console port and log in. Establishes a CLI management session with the SDR.

• To log in to a specific SDR, connect to the console port of the active DSDRSC.

• To perform installation operations in administration EXEC mode, connect to the console port for the active DSC (active DSDRSC for the owner SDR).

For more information on console connections, see Cisco ASR 9000 Series Router Getting Started Guide.

Step 2 dir device:

Example:RP/0/RSP0/CPU0:router# dir disk1:

(Optional) Displays the package files that are available for package upgrades and additions.

• Only PIE files can be added and activated using this procedure.

• For more information on PIE file names, see the “PIEs to add for Ethernet Services Support” section on page 37.

Step 3 admin

Example:RP/0/RSP0/CPU0:router# admin

(Optional) Enters administration EXEC mode.

• From administration EXEC mode, you can perform installation operations for all SDRs, or for a specific SDR. To enter administration EXEC mode, you must be logged in to the owner secure domain router (SDR) and have root-system access privileges.

• This command is not required for users entering install CLIs for a specific SDR.

Note Some show install commands can be entered in EXEC mode on an SDR.

ES-63Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 64: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Installing System Software on Your ASR 9000

Step 4 install add [source source-path | tar] device:file [sdr sdr-name] [activate]

or

install add [source source-path | tar] tftp://hostname_or_ipaddress/directory-path/file [sdr sdr-name] [activate]

or

install add [source source-path | tar] ftp://username:password@hostname_or_ipaddress/ directory-path/file [sdr sdr-name] [activate]

or

install add [source source-path | tar] rcp://username@hostname_or_ipaddress/directory-path/file [sdr sdr-name] [activate]

Example:RP/0/RSP0/CPU0:router(admin)# install add disk1:c12k-mgbl.pie-3.3.30.1i

or

RP/0/RSP0/CPU0:router(admin)# install add source tftp://10.1.1.1/images/ hfr-k9sec-p.pie hfr-mpls-p.pie hfr-mcast-p.pie

or

RP/0/RSP0/CPU0:router(admin)# install add ftp://john:[email protected]/images/hfr-k9sec-p.pie

or

RP/0/RSP0/CPU0:router(admin)# install add tar rcp://[email protected]/images/CRS-1-iosxr-3.6.0.tar

Unpacks a PIE file from local storage device or network server and adds the package files to the boot device of the router. The boot device is located on the DSC.

• If the tar keyword is used, all PIE files contained in the tar file are unpacked.

• If the source keyword is used, the source-path specifies the directory path that is used for multiple filenames in the same directory.

The following arguments are used when adding a package from a PIE file located on a network server:

• Replace device: with the name of the local storage device where the PIE file is stored, such as disk1:.

• Replace file with the name of the PIE file you want to add. If the tar keyword is used, file is the name of a tar file containing one or more PIE files or directories containing PIE files.

• Replace hostname_or_ipaddress with the host name or IP address of the network file server.

• Replace directory-path with the network file server path that leads to the PIE file to be added.

• Replace username with a username that has access privileges to the directory in which the PIE file is stored.

• Replace password with the password associated with the username that has access privileges to the directory in which the PIE file is stored.

• Use the sdr sdr-name keyword and argument to specify an SDR in administration EXEC mode. This option is not supported in EXEC mode. Replace sdr-name with the name assigned to the SDR.

• The activate option automatically activates the software package after it is successfully added.

Note Multiple versions of a software package can be added to the storage device without impacting the running configuration, but only one version of a package can be activated for a card.

Command or Action Purpose

ES-64Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 65: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Installing System Software on Your ASR 9000

Step 5 show install inactive summary [sdr sdr-name]

Example:RP/0/RSP0/CPU0:router(admin)# show install inactive summary

(Optional) Displays the inactive packages on the router. Verify that the package added in the previous step appears in the display.

• To display the inactive packages for a specific SDR from administration EXEC mode, use the sdr sdr-name keyword and argument. This option is not supported in EXEC mode. Replace sdr-name with the name assigned to the SDR.

• To display the inactive packages for a specific card (node), use the location option and specify the node ID.

Command or Action Purpose

ES-65Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 66: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Installing System Software on Your ASR 9000

Step 6 install activate {id add-id | device:package} [test] [sdr sdr-name] [location nodeID]

Example:RP/0/RSP0/CPU0:router(admin)# install activate disk0:c12k-mgbl-3.3.30

Activates a package that was added to one or more SDRs.

• Skip this step if the package was activated earlier with the install add command.

• Use the id add-id option to specify the package using the operation ID of the install add operation in which you added the package. The operation ID is provided in the output of the install add command. You can also use show install log to display installation operation IDs.

• Use the device:package option to specify the package by name, and replace device:package with the name of the boot device and inactive package, which can be displayed as described in the previous step.

• Press ? after a partial package name to display all possible matches available for activation. If there is only one match, press [TAB] to fill in the rest of the package name.

• Use the sdr sdr-name option to specify an SDR in administration EXEC mode. This option is not supported in EXEC mode. Replace sdr-name with the name assigned to the SDR.

• By default, packages are activated for all cards supported by that package.

• To activate a package for a specific card (node), use the location option and specify the node ID. To display a list of node IDs for the entire system, enter the show platform command in administration EXEC mode. A package cannot be activated on a single node unless some version of the package being activated is already active on all nodes.

Note The package being activated must be compatible with the currently active software to operate. When an activation is attempted, the system runs an automatic compatibility check to ensure that the package is compatible with the other active software on the router. The activation is permitted only after all compatibility checks have been passed.

Tip When activating packages, use the test option to test the effects of a command without impacting the running system. After the activation process finishes, enter the show install log command to display the process results.

Step 7 Repeat Step 4 through Step 6 until all packages are activated.

Activates additional packages as required.

Command or Action Purpose

ES-66Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 67: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Installing System Software on Your ASR 9000

Step 8 show install active summary [sdr sdr-name]

Example:RP/0/RSP0/CPU0:router# show install active

(Optional) Displays all active packages. Use this display to determine if the correct packages are active.

• To display the active packages for a specific SDR from administration EXEC mode, use the sdr sdr-name keyword and argument. This option is not supported in EXEC mode. Replace sdr-name with the name assigned to the SDR.

Step 9 Verify that there are no corrupted software files.

install verify packages[sdr sdr-name]

Example:RP/0/RSP0/CPU0:router(admin)# install verify packages

(Optional) Verifies the consistency of a installed software set with the package file from which it originated. This command can be used as a debugging tool to verify the validity of the files that constitute the packages, to determine if there are any corrupted files. This command also checks for corruptions of installation state files and MBI image files. This command is particularly useful when issued after the activation of a package or upgrading the Cisco IOS XR software to a major release.

To perform the command for a specific secure domain router (SDR) in administration EXEC mode, use the sdr sdr-name keyword and argument.

Note The install verify packages command can take up to two minutes per package to process.

Step 10 exit

Example:RP/0/RSP0/CPU0:router(admin)# exit

(Optional) Exits administration EXEC mode and returns to EXEC mode.

Use this command only if you performed the installation operations in administration EXEC mode.

Command or Action Purpose

ES-67Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 68: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Installing System Software on Your ASR 9000

Examples

This section contains examples for the following subjects:

• Adding a Package: Example, page 69

• Activating a Package: Example, page 69

• Activating a Package Specifying Operation ID: Example, page 69

Step 11 show system verify start show system verify [detail | report]

Example:RP/0/RSP0/CPU0:router# show system verify startRP/0/RSP0/CPU0:router# show system verify

(Optional) Verifies the system is stable. A variety of information is displayed, including the memory and CPU usage, process status, protocol status, and other status information. Use this information to verify that the system is stable. Enter this command in EXEC mode for each SDR impacted by the installation operation.

• To initiate the system status check, enter the show system verify start command.

• Enter the show system verify or show system verify detail command display system status information.

– The detail keyword displays additional information at the card and processor level, including actual numbers.

– The report keyword displays the same information as the default show system verify command

Note While most of the output should display the status “OK”, some processes may show other output, such as “Warning”. This does not specifically indicate a problem. Contact your Cisco technical support representative for more information on the output of this command.

Step 12 admininstall commit [sdr sdr-name]

Example:RP/0/RSP0/CPU0:router(admin)# install commit

(Optional) Commits the current set of packages for an SDR or for all SDRs so that these packages are used if the router is restarted.

• Enter this command in administration EXEC mode to commit the active software set for all SDRs.

• Enter this command in EXEC mode to commit the active software set for the SDR to which you are logged in.

• To commit the active software set for a specific SDR from administration EXEC mode, use the sdr sdr-name keyword and argument.

For more information, see the “Committing the Active Package Set” section on page 71.

Command or Action Purpose

ES-68Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 69: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Installing System Software on Your ASR 9000

Adding a Package: Example

The following example shows how to add the contents of a PIE file on disk1 to the boot device. Because the software package is added to the boot device by default, it is not necessary to specify the destination device in the CLI.

RP/0/RSP0/CPU0:router(admin)# install add disk1:hfr-mpls-p.pie-3.3.30 synchronous

Install operation 4 'install add /disk1:hfr-mpls.pie synchronous' started by user'cisco' at 18:10:18 UTC Sat Apr 08 2006.Info: The following package is now available to be activated:Info: Info: disk0:hfr-mpls-3.3.80Info: Install operation 4 completed successfully at 18:14:11 UTC Sat Apr 08 2006.

The following example shows how to add the contents of a PIE file on a TFTP server to the boot device:

RP/0/RSP0/CPU0:router(admin)# install add tftp://209.165.201.1/hfr-mpls.pie synchronous

Install operation 4 '(admin) install add /tftp://209.165.201.1/hfr-mpls.pie synchronous' started by user 'cisco' at 18:16:18 UTC Thu Jan 03 2008.Info: The following package is now available to be activated:Info: Info: disk0:hfr-mpls-3.3.80Info: Install operation 4 completed successfully at 18:19:10 UTC Thu Jan 03 2008.

Activating a Package: Example

The following example shows the activation of the MPLS package on a Cisco ASR 9000 Series Router. The package is activated on the boot device disk0.

RP/0/RSP0/CPU0:router(admin)# install activate disk0:hfr-mpls-3.3.30 synchronous

Install operation 15 'install activate disk0:hfr-mpls-3.3.30 synchronous'started by user 'lab' at 19:15:33 UTC Sat Apr 08 2006.Info: The changes made to software configurations will not be persistentInfo: across system reloads. Use the command 'admin install commit' to makeInfo: changes persistent.Info: Please verify that the system is consistent following the softwareInfo: change using the following commands:Info: show system verifyInfo: install verify packagesInstall operation 5 completed successfully at 19:16:18 UTC Sat Apr 08 2006.

Activating a Package Specifying Operation ID: Example

The following example shows the activation of the MPLS package on a Cisco ASR 9000 Series Router using the operation ID of the install add operation that added the package:

RP/0/RSP0/CPU0:router(admin)# install activate id 4

Install operation 5 '(admin) install activate id 4' started by user 'lab' viaCLI at 18:20:17 UTC Thu Jan 03 2008.Info: This operation will activate the following package:Info: disk0:hfr-mpls-3.3.80Info: Install Method: Parallel Process RestartThe install operation will continue asynchronously.Info: The changes made to software configurations will not be persistentInfo: across system reloads. Use the command '(admin) install commit' toInfo: make changes persistent.Info: Please verify that the system is consistent following the software

ES-69Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 70: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Installing System Software on Your ASR 9000

Info: change using the following commands:Info: show system verifyInfo: install verify packagesInstall operation 5 completed successfully at 18:21:30 UTC Thu Jan 03 2008.

Adding and Activating a Package from an FTP File Server with One Command: Example

To add and activate a package with a single command, enter the install add command with the activate keyword. In the following example, the Manageability PIE located on disk1 is verified, unpacked, and added to the boot device disk0. Because this operation is performed in administration EXEC mode, the package is activated for all SDRs in the system.

RP/0/RSP0/CPU0:router(admin)# install add disk1:hfr-mgbl-p.pie-3.3.30 activate

Install operation 4 'install add /disk1:hfr-mgbl-p.pie-3.3.30 activate' startedby user 'cisco' at 07:58:56 UTC Wed Mar 01 2006.The install operation will continue asynchronously.:router(admin)#Part 1 of 2 (add software): StartedInfo: The following package is now available to be activated:Info: Info: disk0:hfr-mgbl-3.3.30Info: Part 1 of 2 (add software): Completed successfullyPart 2 of 2 (activate software): StartedInfo: The changes made to software configurations will not be persistent acrosssystem reloads. Use the command 'admin installInfo: commit' to make changes persistent.Info: Please verify that the system is consistent following the software changeusing the following commands:Info: show system verifyInfo: install verify packagesPart 2 of 2 (activate software): Completed successfullyPart 1 of 2 (add software): Completed successfullyPart 2 of 2 (activate software): Completed successfullyInstall operation 4 completed successfully at 08:00:24 UTC Wed Mar 01 2006.

Displaying the Active Packages: Example

The following example displays a summary of the active packages on a router. Because this operation is performed in administration EXEC mode, the active packages for all SDRs are displayed.

RP/0/RSP0/CPU0:router(admin)# show install active summary

Default Profile: SDRs: Owner CE1bActive Packages:Active Packages: disk0:hfr-pagent-3.5.0.1I disk0:hfr-fpd-3.5.0.1I disk0:hfr-firewall-3.5.0.1I disk0:hfr-doc-3.5.0.1I disk0:hfr-diags-3.5.0.1I disk0:hfr-mgbl-3.5.0.1I disk0:hfr-mcast-3.5.0.1I disk0:hfr-mpls-3.5.0.1I disk0:hfr-k9sec-3.5.0.1I disk0:comp-hfr-mini-3.5.0.1I

ES-70Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 71: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Installing System Software on Your ASR 9000

You can also display the active packages for a specific SDR, or for a specific node. Enter the show install active command in EXEC mode, or use the sdr option in administration EXEC mode, as shown in the following example:

RP/0/RSP0/CPU0:router(admin)# show install active sdr owner

Secure Domain Router: Owner

Node 0/1/CPU0 [LC] [SDR: Owner] Boot Device: mem: Boot Image: /disk0/hfr-os-mbi-3.5.0.1I/lc/mbihfr-lc.vm Active Packages: disk0:hfr-pagent-3.5.0.1I disk0:hfr-fpd-3.5.0.1I disk0:hfr-firewall-3.5.0.1I disk0:hfr-diags-3.5.0.1I disk0:hfr-mcast-3.5.0.1I disk0:hfr-mpls-3.5.0.1I disk0:comp-hfr-mini-3.5.0.1I

Node 0/6/CPU0 [LC] [SDR: Owner] Boot Device: mem: Boot Image: /disk0/hfr-os-mbi-3.5.0.1I/lc/mbihfr-lc.vm Active Packages: disk0:hfr-pagent-3.5.0.1I disk0:hfr-fpd-3.5.0.1I disk0:hfr-firewall-3.5.0.1I disk0:hfr-diags-3.5.0.1I disk0:hfr-mcast-3.5.0.1I disk0:hfr-mpls-3.5.0.1I disk0:comp-hfr-mini-3.5.0.1I

Node 0/RP0/CPU0 [RP] [SDR: Owner] Boot Device: disk0: Boot Image: /disk0/hfr-os-mbi-3.5.0.1I/mbihfr-rp.vm Active Packages: disk0:hfr-pagent-3.5.0.1I disk0:hfr-fpd-3.5.0.1I disk0:hfr-firewall-3.5.0.1I disk0:hfr-doc-3.5.0.1I disk0:hfr-diags-3.5.0.1I disk0:hfr-mgbl-3.5.0.1I disk0:hfr-mcast-3.5.0.1I disk0:hfr-mpls-3.5.0.1I disk0:hfr-k9sec-3.5.0.1I disk0:comp-hfr-mini-3.5.0.1I

Committing the Active Package SetWhen a package is activated, it becomes part of the current running configuration. To make the package activation persistent across SDR or system-wide reloads, enter the install commit command. On startup, the DSDRSC of the SDR loads this committed software set.

Note If an SDR reloads and the committed SDR software is incompatible with the current software running on the rest of the system, the committed software of the SDR will not be used and the current running SDR software is used.

ES-71Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 72: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Installing System Software on Your ASR 9000

If the system is reloaded before the current active software is committed with the install commit command, the previously committed software set is used.

• To commit the active software set for a specific SDR from administration EXEC mode, use the install commit command with the sdr sdr-name keyword and argument.

• To commit the active software set for all SDRs in the system, use the install commit command without keywords or arguments in administration EXEC mode.

Tip Before committing a package set, verify that the SDR is operating correctly and is forwarding packets as expected.

In the following example, the active software packages are committed on all SDRs in a Cisco ASR 9000 Series Router:

RP/0/RSP0/CPU0:router(admin)# install commit

Install operation 16 'install commit' started by user 'lab' at 19:18:58 UTCSat Apr 08 2006.Install operation 16 completed successfully at 19:19:01 UTC Sat Apr 08 2006.

Displaying the Committed Package Versions

To view which packages are committed, enter the show install committed command using the following syntax:

Administration EXEC Mode

show install committed [sdr sdr-name | location node-id] [summary [sdr sdr-name]] [detail [sdr sdr-name | location node-id]] [verbose [sdr sdr-name | location node-id]]

EXEC Mode

show install committed [location node-id] [summary] [detail [location node-id]] [verbose [location node-id]]

Note Enter the show install committed command in administration EXEC mode to display information for the entire system. Use the sdr sdr-name keyword and argument to display information for a specific SDR. Enter the show install committed command in EXEC mode of an SDR to display information for that SDR. For more information on the command options, see Cisco ASR 9000 Series Router System Management Command Reference.

In the following example, the committed packages are shown for the owner SDR:

RP/0/RSP0/CPU0:router# show install committed

Secure Domain Router: Owner

Node 0/1/SP [SP] [SDR: Owner] Boot Image: /disk0/hfr-os-mbi-3.3.30/sp/mbihfr-sp.vm Committed Packages: disk0:hfr-diags-3.3.30 disk0:comp-hfr-mini-3.3.30

Node 0/1/CPU0 [LC] [SDR: Owner]

ES-72Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 73: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Installing System Software on Your ASR 9000

Boot Image: /disk0/hfr-os-mbi-3.3.30/lc/mbihfr-lc.vm Committed Packages: disk0:hfr-diags-3.3.30 disk0:comp-hfr-mini-3.3.30

Node 0/6/SP [SP] [SDR: Owner] Boot Image: /disk0/hfr-os-mbi-3.3.30/sp/mbihfr-sp.vm Committed Packages: disk0:hfr-diags-3.3.30 disk0:comp-hfr-mini-3.3.30

Node 0/6/CPU0 [LC] [SDR: Owner] Boot Image: /disk0/hfr-os-mbi-3.3.30/lc/mbihfr-lc.vm Committed Packages: --More--

As with the show install active command, the show install committed command may display a composite package that represents all packages in the Cisco ASR 9000 Series Router Unicast Routing Core Bundle.

Enabling Tacacs+ Accounting, Authorization, and Authentication Refer to the Authentication, Authorization and Accounting Commands on Cisco IOS XR Software for Cisco ASR 9000 Series Routers module of the Cisco IOS XR System Security Command Reference for Cisco ASR 9000 Series Routers and the Configuring AAA Services on Cisco IOS XR Software for Cisco ASR 9000 Series Routers module of the Cisco IOS XR System Security Configuration Guide for Cisco ASR 9000 Series Routers .

Enabling DNS Look UpUse the lp domain-name command to enable DNS look up.

Enabling HTTP Server AccessRefer to the Manageability Commands on Cisco IOS XR Software for Cisco ASR 9000 Series Routers module of the Cisco IOS XR System Management Command Reference for Cisco ASR 9000 Series Routers.

The following example shows how to enable the HTTP server on the router:

RP/0/RSP0/CPU0:router(config)# http server

The following example shows how to enable SSL to run HTTP over a secure socket:

RP/0/RSP0/CPU0:router(config)# http server ssl

The following example shows how to enable SSL to run HTTP over a secure socket and to enable access to the CWI from only IP address that meeting the conditions of the access group named test:

RP/0/RSP0/CPU0:router(config)# http server ssl access-group test

The following sample output from the show ipv4 access-lists commands displays the IPv4 access list named test:

RP/0/RSP0/CPU0:router# show ipv4 access-lists test

ES-73Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 74: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Installing System Software on Your ASR 9000

ipv4 access-list test 10 deny ip host 171.71.163.96 any 20 permit ip host 64.102.48.34 any

Configuring a Gigabit Ethernet or 10-Gigabit Ethernet InterfaceUse the following procedure to create a basic Gigabit Ethernet or 10-Gigabit Ethernet interface configuration.

SUMMARY STEPS

1. show version

2. show interfaces [GigabitEthernet | TenGigE] instance

3. configure

4. interface [GigabitEthernet | TenGigE] instance

5. ipv4 address ip-address mask

6. flow-control {bidirectional | egress | ingress}

7. mtu bytes

8. mac-address value1.value2.value3

9. negotiation auto (on Gigabit Ethernet interfaces only)

10. no shutdown

11. end or commit

12. show interfaces [GigabitEthernet | TenGigE] instance

DETAILED STEPS

Command or Action Purpose

Step 1 show version

Example:RP/0/RSP0/CPU0:router# show version

(Optional) Displays the current software version, and can also be used to confirm that the router recognizes the modular services card.

Step 2 show interface [GigabitEthernet | TenGigE] instance

Example:RP/0/RSP0/CPU0:router# show interface TenGigE 0/1/0/0

(Optional) Displays the configured interface and checks the status of each interface port.

Possible interface types for this procedure are:

• GigabitEthernet

• TenGigE

ES-74Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 75: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Installing System Software on Your ASR 9000

Step 3 configure

Example:RP/0/RSP0/CPU0:router# configure terminal

Enters global configuration mode.

Step 4 interface [GigabitEthernet | TenGigE] instance

Example:RP/0/RSP0/CPU0:router(config)# interface TenGigE 0/1/0/0

Enters interface configuration mode and specifies the Ethernet interface name and notation rack/slot/module/port. Possible interface types for this procedure are:

• GigabitEthernet

• TenGigE

Note The example indicates an 8-port 10-Gigabit Ethernet interface in modular services card slot 1.

Step 5 ipv4 address ip-address mask

Example:RP/0/RSP0/CPU0:router(config-if)# ipv4 address 172.18.189.38 255.255.255.224

Assigns an IP address and subnet mask to the interface.

• Replace ip-address with the primary IPv4 address for the interface.

• Replace mask with the mask for the associated IP subnet. The network mask can be specified in either of two ways:

– The network mask can be a four-part dotted decimal address. For example, 255.0.0.0 indicates that each bit equal to 1 means that the corresponding address bit belongs to the network address.

– The network mask can be indicated as a slash (/) and number. For example, /8 indicates that the first 8 bits of the mask are ones, and the corresponding bits of the address are network address.

Step 6 flow-control {bidirectional| egress | ingress}

Example:RP/0/RSP0/CPU0:router(config-if)# flow control ingress

(Optional) Enables the sending and processing of flow control pause frames.

• egress—Enables the sending of flow control pause frames in egress.

• ingress—Enables the processing of received pause frames on ingress.

• bidirectional—Enables the sending of flow control pause frames in egress and the processing of received pause frames on ingress.

Step 7 mtu bytes

Example:RP/0/RSP0/CPU0:router(config-if)# mtu 1448

(Optional) Sets the MTU value for the interface.

• The default is 1514 bytes for normal frames and 1518 bytes for 802.1Q tagged frames.

• The range for Gigabit Ethernet and 10-Gigabit Ethernet mtu values is 64 bytes to 65535 bytes.

Command or Action Purpose

ES-75Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 76: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Installing System Software on Your ASR 9000

Step 8 mac-address value1.value2.value3

Example:RP/0/RSP0/CPU0:router(config-if)# mac address 0001.2468.ABCD

(Optional) Sets the MAC layer address of the Management Ethernet interface.

• The values are the high, middle, and low 2 bytes, respectively, of the MAC address in hexadecimal. The range of each 2-byte value is 0 to ffff.

Step 9 negotiation auto

Example:RP/0/RSP0/CPU0:router(config-if)# negotiation auto

(Optional) Enables autonegotiation on a Gigabit Ethernet interface.

• Autonegotiation must be explicitly enabled on both ends of the connection, or speed and duplex settings must be configured manually on both ends of the connection.

• If autonegotiation is enabled, any manually configured speed or duplex settings take precedence.

Note The negotiation auto command is available on Gigabit Ethernet interfaces only.

Step 10 no shutdown

Example:RP/0/RSP0/CPU0:router(config-if)# no shutdown

Removes the shutdown configuration, which forces an interface administratively down.

Step 11 end

or

commit

Example:RP/0/RSP0/CPU0:router(config-if)# end

or

RP/0/RSP0/CPU0:router(config-if)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 12 show interfaces [GigabitEthernet | TenGigE] instance

Example:RP/0/RSP0/CPU0:router# show interfaces TenGigE 0/3/0/0

(Optional) Displays statistics for interfaces on the router.

Command or Action Purpose

ES-76Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 77: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Installing System Software on Your ASR 9000

What to Do Next

• To configure MAC Accounting on the Ethernet interface, see the “Configuring MAC Accounting on an Ethernet Interface” section later in this module.

• To configure an 802.1Q VLAN subinterface on the Ethernet interface, see the “Ethernet Services Configuration Examples” module.

• To configure an AC on the Ethernet port for Layer 2 VPN implementation, see the “Configuring an Attachment Circuit on an Ethernet Port” section later in this module.

• To attach Layer 3 service policies, such as Multiprotocol Label Switching (MPLS) or Quality of Service (QoS), to the Ethernet interface, refer to the appropriate Cisco ASR 9000 Series Router configuration guide.

Configuring MAC Accounting on an Ethernet InterfaceThis task explains how to configure MAC accounting on an Ethernet interface. MAC accounting has special show commands, which are illustrated in this procedure. Otherwise, the configuration is the same as configuring a basic Ethernet interface, and the steps can be combined in one configuration session. See “Configuring Ethernet Interfaces” in this module for information about configuring the other common parameters for Ethernet interfaces.

SUMMARY STEPS

1. configure

2. interface [GigabitEthernet | TenGigE] instance

3. ipv4 address ip-address mask

4. mac-accounting {egress | ingress}

5. end or commit

6. show mac-accounting type location instance

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/RSP0/CPU0:router# configure

Enters global configuration mode.

Step 2 interface [GigabitEthernet | TenGigE] instance

Example:RP/0/RSP0/CPU0:router(config)# interface TenGigE 0/1/0/0

Enters the interface configuration mode and specifies the Ethernet interface name and instance in the rack/slot/module/port notation.

• The example indicates an 8-port 10-Gigabit Ethernet interface in modular services card slot 1.

ES-77Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 78: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Installing System Software on Your ASR 9000

Step 3 ipv4 address ip-address mask

Example:RP/0/RSP0/CPU0:router(config-if)# ipv4 address 172.18.189.38 255.255.255.224

Assigns an IP address and subnet mask to the interface.

• Replace ip-address with the primary IPv4 address for the interface.

• Replace mask with the mask for the associated IP subnet. The network mask can be specified in either of two ways:

– The network mask can be a four-part dotted decimal address. For example, 255.0.0.0 indicates that each bit equal to 1 means that the corresponding address bit belongs to the network address.

– The network mask can be indicated as a slash (/) and number. For example, /8 indicates that the first 8 bits of the mask are ones, and the corresponding bits of the address are network address.

Step 4 mac-accounting {egress | ingress}

Example:RP/0/RSP0/CPU0:router(config-if)# mac-accounting egress

Generates accounting information for IP traffic based on the source and destination MAC addresses on LAN interfaces.

• To disable MAC accounting, use the no form of this command.

Step 5 end

or

commit

Example:RP/0/RSP0/CPU0:router(config-if)# end

or

RP/0/RSP0/CPU0:router(config-if)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 6 show mac-accounting type location instance

Example:RP/0/RSP0/CPU0:router# show mac-accounting TenGigE location 0/2/0/4

Displays MAC accounting statistics for an interface.

Command or Action Purpose

ES-78Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 79: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Installing System Software on Your ASR 9000

Configuring an Attachment Circuit on an Ethernet PortUse the following procedure to configure an attachment circuit on a Gigabit Ethernet or 10-Gigabit Ethernet port.

Note The steps in this procedure configure the L2VPN Ethernet port to operate in port mode.

SUMMARY STEPS

1. configure

2. interface [GigabitEthernet | TenGigE] instance

3. l2transport

4. l2protocol {cdp | pvst | stp | vtp} {[tunnel] experimental bits | drop}

5. end or commit

6. show interfaces [GigabitEthernet | TenGigE] instance

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/RSP0/CPU0:router# configure

Enters global configuration mode.

Step 2 interface [GigabitEthernet | TenGigE] instance

Example:RP/0/RSP0/CPU0:router(config)# interface TenGigE 0/1/0/0

Enters interface configuration mode and specifies the Ethernet interface name and notation rack/slot/module/port. Possible interface types for this procedure are:

• GigabitEthernet

• TenGigE

Step 3 l2transport

Example:RP/0/RSP0/CPU0:router(config-if)# l2transport

Enables Layer 2 transport mode on a port and enter Layer 2 transport configuration mode.

ES-79Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 80: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Installing System Software on Your ASR 9000

Step 4 l2protocol {cdp | pvst | stp | vtp} {[tunnel] experimental bits | drop}

Example:RP/0/RSP0/CPU0:router(config-if-l2)# l2protocol stp

Configures Layer 2 protocol tunneling and data units parameters on an interface.

Possible protocols are:

• cdp—Cisco Discovery Protocol (CDP) tunneling and data unit parameters.

• pvst—Configures VLAN spanning tree protocol tunneling and data unit parameters.

• stp—spanning tree protocol tunneling and data unit parameters.

• vtp—VLAN trunk protocol tunneling and data unit parameters.

Use the tunnel option if you want to tunnel the packets associated with the specified protocol.

Use the experimental bits keyword argument to modify the MPLS experimental bits for the specified protocol.

Use the drop keyword to drop packets associated with the specified protocol.

Step 5 end

or

commit

Example:RP/0/RSP0/CPU0:router(config-if-l2)# end

or

RP/0/RSP0/CPU0:router(config-if-l2)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 6 show interfaces [GigabitEthernet | TenGigE] instance

Example:RP/0/RSP0/CPU0:router# show interfaces TenGigE 0/3/0/0

(Optional) Displays statistics for interfaces on the router.

Command or Action Purpose

ES-80Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 81: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Configuration Examples for Ethernet Interfaces

What to Do Next

• To configure a point-to-point pseudowire xconnect on the AC, see the “Implementing MPLS Layer 2 VPNs” module of the Cisco IOS XR Multiprotocol Label Switching Configuration Guide.

• To attach Layer 2 service policies, such as quality of service (QoS), to the Ethernet interface, refer to the appropriate Cisco IOS XR software configuration guide.

Configuration Examples for Ethernet InterfacesThis section provides the following configuration examples:

• Configuring an Ethernet Interface: Example

• Configuring MAC-accounting: Example

• Configuring a Layer 2 VPN AC: Example

Configuring an Ethernet Interface: ExampleThe following example shows how to configure an interface for a 10-Gigabit Ethernet modular services card:

RP/0/RSP0/CPU0:router# configureRP/0/RSP0/CPU0:router(config)# interface TenGigE 0/0/0/1RP/0/RSP0/CPU0:router(config-if)# ipv4 address 172.18.189.38 255.255.255.224RP/0/RSP0/CPU0:router(config-if)# flow-control ingressRP/0/RSP0/CPU0:router(config-if)# mtu 1448RP/0/RSP0/CPU0:router(config-if)# mac-address 0001.2468.ABCDRP/0/RSP0/CPU0:router(config-if)# no shutdownRP/0/RSP0/CPU0:router(config-if)# endUncommitted changes found, commit them? [yes]: yes

RP/0/RSP0/CPU0:router# show interfaces TenGigE 0/0/0/1

TenGigE0/0/0/1 is down, line protocol is down Hardware is TenGigE, address is 0001.2468.abcd (bia 0001.81a1.6b23) Internet address is 172.18.189.38/27 MTU 1448 bytes, BW 10000000 Kbit reliability 0/255, txload Unknown, rxload Unknown Encapsulation ARPA, Full-duplex, 10000Mb/s, LR output flow control is on, input flow control is on loopback not set ARP type ARPA, ARP timeout 01:00:00 Last clearing of "show interface" counters never 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 total input drops 0 drops for unrecognized upper-level protocol Received 0 broadcast packets, 0 multicast packets 0 runts, 0 giants, 0 throttles, 0 parity 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 packets output, 0 bytes, 0 total output drops Output 0 broadcast packets, 0 multicast packets 0 output errors, 0 underruns, 0 applique, 0 resets 0 output buffer failures, 0 output buffers swapped out 0 carrier transitions

ES-81Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 82: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Ethernet Services

Configuring MAC-accounting: ExampleThe following example indicates how to configure MAC-accounting on an Ethernet interface:

RP/0/RSP0/CPU0:router# configureRP/0/RSP0/CPU0:router(config)# interface TenGigE 0/0/0/2RP/0/RSP0/CPU0:router(config-if)# ipv4 address 172.18.189.38 255.255.255.224RP/0/RSP0/CPU0:router(config-if)# mac-accounting egressRP/0/RSP0/CPU0:router(config-if)# commitRP/0/RSP0/CPU0:router(config-if)# exitRP/0/RSP0/CPU0:router(config)# exit

Configuring a Layer 2 VPN AC: ExampleThe following example indicates how to configure a Layer 2 VPN AC on an Ethernet interface:

RP/0/RSP0/CPU0:router# configureRP/0/RSP0/CPU0:router(config)# interface TenGigE 0/0/0/2RP/0/RSP0/CPU0:router(config-if)# ipv4 address 172.18.189.38 255.255.255.224RP/0/RSP0/CPU0:router(config-if)# l2transportRP/0/RSP0/CPU0:router(config-if-l2)# l2protocol cdp drop RP/0/RSP0/CPU0:router(config-if-l2)# commit

Ethernet ServicesCisco and the Metro Ethernet Forum (MEF) endorse three main Layer 2 Ethernet service types. The names of the services differ, but their functionality is the same. They are as follows:

• Ethernet Wire Service (EWS)

• Ethernet Relay Service (ERS)

• Ethernet Multipoint Service (EMS)

When discussing an Ethernet WAN (EWAN), the following terminology should be used (Figure 1):

• CE (customer edge): The customer device connecting to the service provider

• PE (provider edge): The service provider device connecting to the customer

• UNI: The connection between the CE and PE

• Multiplexed UNI: A UNI supporting multiple VLAN flows

• Pseudowire: A term used to indicate an end-to-end path in a service provider network

ES-82Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 83: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Ethernet Services

Figure 1 EWAN Terms

Ethernet Wire Service

An Ethernet Wire Service is a service that emulates a point-to-point Ethernet segment (Figure 2). This is similar to Ethernet private line (EPL), a Layer 1 point-to-point service, except the provider edge operates at Layer 2 and typically runs over a Layer 2+ network. The EWS encapsulates all frames that are received on a particular UNI and transports these frames to a single-egress UNI without reference to the contents contained within the frame. The operation of this service means that an EWS can be used with VLAN-tagged frames. The VLAN tags are transparent to the EWS (bridge protocol data units [BPDUs])—with some exceptions. These exceptions include IEEE 802.1x, IEEE 802.2ad, and IEEE 802.3x, because these frames have local significance and it benefits both the customer and SP to terminate them locally.

Figure 2 EWS Example

CSC-CE

e1/0 e1/010.0.0.1 10.0.0.2

CSC-PE 1211

90

CSC-CE

e1/0 e1/010.0.0.1 10.0.0.2

CSC-PE 1211

90

ES-83Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 84: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Ethernet Services

Since the service provider simply accepts frames on an interface and transmits these without reference to the actual frame (other than verifying that the format and length are legal for the particular interface) the EWS is indifferent to VLAN tags that may be present within the customer Ethernet frames.

EWS subscribes to the concept of "all-to-one" bundling. That is, an EWS maps a port on one end to a point-to-point circuit and to a port on another end. EWS is a port-to-port service (Figure 3). Therefore, if a customer needs to connect a switch or router to n switches or routers it will need n ports and n pseudowires or logical circuits.

Figure 3 Nonservice Multiplexing Example: Each Destination (Left) Needs Its Own Port (Right)

One important point to consider is that, although the EWS broadly emulates an Ethernet Layer 1 connection, the service is provided across a shared infrastructure, and therefore it is unlikely that the full interface bandwidth will be, or needs to be, available at all times. EWS will typically be a sub-line rate service, where many users share a circuit somewhere in their transmission path. As a result, the cost will most likely be less than that of EPL. Unlike a Layer 1 EPL, the SP will need to implement QoS and traffic engineering to meet the specific objectives of a particular contract. However, if the customer's application requires a true wire rate transparent service, then an EPL service—delivered using optical transmission devices such as DWDM (dense wavelength division multiplexing), CDWM (coarse wavelength division multiplexing), or SONET/SDH—should be considered.

Ethernet Relay Service

Ethernet Relay Service is similar to EWS in that it offers point-to-point connectivity. The key differentiation between EWS and ERS is that an ERS uses a VLAN tag to multiplex several, non-same-destination pseudowires to one port. That is, unlike EPL and EWS, ERS is a "one-to-many," multiplexed service. Service multiplexing simply means that multiple pseudowires utilize a single access interface or UNI. These circuits can terminate within an L2VPN or on, for example, an Internet gateway. From the service user's perspective, this service multiplexing capability offers more efficient interface utilization, simplification of cable plant, and reduced maintenance costs associated with additional interfaces.

CSC-CE

e1/0 e1/010.0.0.1 10.0.0.2

CSC-PE 1211

90

ES-84Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 85: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Ethernet Services

Using the same example as above, where a router connects to n other routers, the source router only needs one port for the service instead of n, as is the case with an EWS. The service need not be port-to-port, but can be logical-pseudowire-to-logical-pseudowire. In the case of an ERS, each circuit can terminate at a different remote location (Figure 4), whereas using EWS, all frames are mapped to a single circuit and therefore a single egress point.

Figure 4 ERS Service Multiplexing Example: One Port (Left) Can Be Used for All Destinations

(Right)

Like Frame Relay, ERS allows a customer device to access multiple connections through a single physical port attached to the service provider network. The service offered by ERS can be thought of as being similar in concept to Frame Relay, in that a VLAN number is used as a virtual circuit identifier in a similar fashion to Frame Relay data link connection identifier (DLCI) or an ATM permanent virtual circuit (PVC). Unlike EWS, ERS does not forward BPDUs, because IEEE 802.1Q (VLAN tagging) only sends BPDUs on a default VLAN. In a hub-and-spoke network, only one spoke at most would receive BPDUs, thus breaking the spanning tree in the rest of the network. Therefore, an ERS does not transmit any BPDUs and runs routing protocols instead of Ethernet Spanning Tree. The routing protocols give the customer and provider greater flexibility, traffic determination characteristics, and value-added services.

Ethernet Multipoint ServiceAn Ethernet Multipoint Service (EMS) differs from EWS and ERS in that an EMS provides a multipoint connectivity model. It should be noted that an EMS service definition is still under review within the IETF Virtual Private LAN Service (VPLS) working group. Although EMS uses a multipoint model, it can forward unicast packets to single destinations; that is, it also supports point-to-point connections. To the end user, the network looks like a giant Ethernet switch where each customer has their own VLAN or broadcast domain, rather than end-to-end pseudowire link(s) (Figure 5).

CSC-CE

e1/0 e1/010.0.0.1 10.0.0.2

CSC-PE 1211

90

ES-85Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 86: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Ethernet Services

Figure 5 EMS Example

EMS Example

An EMS does not map an interface or VLAN to a specific point-to-point pseudowire. Instead, it models the operation of a virtual Ethernet switch: EMS uses the customer's MAC address to forward frames to the correct egress UNI within the service provider's network. An EMS emulates the service attributes of an Ethernet switch and learns source MAC to interface associations, floods unknown broadcast and multicast frames, and (optionally) monitors the service user's spanning tree protocol. One important point to note is that although the service provider may utilize spanning tree within the transport network, there is no interaction with the service user's spanning tree.

This service works similar to an MPLS VPN, except it functions at Layer 2 instead of Layer 3. While a VPLS EMS is a viable solution, its scalability and QoS control are suspect compared to that of MPLS VPNs. In addition, it is much more difficult, and may be impossible, for the service provider to offer value-added Layer 3 services (this is discussed later in the document).

What is an EFP?

EFP is an Ethernet Flowpoint

An EFP is an instantiation of a particular service. An EFP is defined by a set of filters. These filters are applied to all ingress traffic to classify which frames belong to a particular EFP. An EFP filter is a set of entries, where each entry looks very much like the start of a packet (ignoring source/destination MAC address)—so each entry is usually 0, 1 or 2 VLAN tags. A packet that starts with the same tags as an entry in the filter is said to match the filter; if the start of the packet does not correspond to any entry in the filter then the packet does not match.

ES-86Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 87: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Where to Go Next

EFP CLI Configuration Structure

Structured CLI

IOS-XR uses a structured CLI for EFP and EVC configuration.

The layer2tranport command identifies a subinterface (of a physical port of bundle-port parent interface) as an EFP.

The encapsulation command is used specify matching criteria.

The rewrite command is used to specify VLAN tag rewrite criteria.

The service-policy input/output commands are used to specify QoS treatment.

The Ethernet cfm command is used to set OAM features.

The Ethernet services access-group command is used to set Layer 2 security ACLs.

Where to Go NextWhen you have configured an Ethernet interface, you can configure individual VLAN subinterfaces on that Ethernet interface. For information about configuring VLAN subinterfaces, see the Configuring 802.1Q VLAN Interfaces on the Cisco ASR 9000 Series module later in the Cisco ASR 9000 Series Hardware Interfaces Configuration Guide..

For information about IPv6 see the Implementing Access Lists and Prefix Lists on Cisco ASR 9000 Series module in the Cisco ASR 9000 Series Addresses and Services Configuration Guide.

Additional ReferencesThe following sections provide references related to implementing Gigabit and 10-Gigabit Ethernet interfaces.

ES-87Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 88: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Additional References

Related Documents

Standards

MIBs

RFCs

Technical Assistance

Related Topic Document Title

Cisco IOS XR master command reference Cisco IOS XR Master Commands List

Standards Title

No new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature.

MIBs MIBs Link

There are no applicable MIBs for this module. To locate and download MIBs for selected platforms using Cisco IOS XR Software, use the Cisco MIB Locator found at the following URL:

http://cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml

RFCs Title

No new or modified RFCs are supported by this feature, and support for existing RFCs has not been modified by this feature.

Description Link

The Cisco Technical Support website contains thousands of pages of searchable technical content, including links to products, technologies, solutions, technical tips, and tools. Registered Cisco.com users can log in from this page to access even more content.

http://www.cisco.com/techsupport

ES-88Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 89: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Setting Up Your Multicast Connections

Setting Up Your Multicast ConnectionsRefer to the Implementing Multicast Routing on Cisco ASR 9000 Series Aggregation Services Routers module of the Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide and the Multicast Routing and Forwarding Commands on Cisco ASR 9000 Series Aggregation Services Routers module of the Cisco ASR 9000 Series Aggregation Services Router Multicast Command Reference.

SUMMARY STEPS

1. configure

2. multicast-routing

3. address-family ipv4

4. nsf

5. interface all enable

6. accounting per-prefix

7. router pim

8. vrf default address-family ipv4

9. rp-address

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/RSP0/CPU0:router# configure

Enters global configuration mode.

Step 2 multicast-routing [address-family ipv4]

Example:RP/0/RSP0/CPU0:router(config)# multicast-routing

Enters multicast routing configuration mode.

• The following multicast processes are started: MRIB, MFWD, PIM, and IGMP.

• For IPv4, IGMP version 3 is enabled by default.

• For IPv4, use the address-family ipv4 keywords.

Step 3 interface all enable

Example:RP/0/RSP0/CPU0:router(config-mcast-ipv4)# interface all enable

Enables multicast routing and forwarding on all new and existing interfaces.

Step 4 exit

Example:RP/0/RSP0/CPU0:router(config-mcast-ipv4)# exit

Exits multicast routing configuration mode, and returns the router to the parent configuration mode.

ES-89Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 90: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Setting Up Your Multicast Connections

Step 5 router igmp

Example:RP/0/RSP0/CPU0:router(config)# router igmp

(Optional) Enters router IGMP configuration mode.

Step 6 version {1 | 2 | 3}

Example:RP/0/RSP0/CPU0:router(config-igmp)# version 3

(Optional) Selects the IGMP version that the router interface uses.

• The default for IGMP is version 3.

• Host receivers must support IGMPv3 for PIM-SSM operation.

• If this command is configured in router IGMP configuration mode, parameters are inherited by all new and existing interfaces. You can override these parameters on individual interfaces from interface configuration mode.

Step 7 end orcommit

Example:RP/0/RSP0/CPU0:router(config-igmp)# end

or

RP/0/RSP0/CPU0:router(config-igmp)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 8 show pim [ipv4] group-map [ip-address-name] [info-source]

Example:RP/0//CPU0:router# show pim ipv4 group-map

(Optional) Displays group-to-PIM mode mapping.

Step 9 show pim [vrf vrf-name] [ipv4] topology [source-ip-address [group-ip-address] | entry-flag flag | interface-flag | summary] [route-count]

Example:RP/0/RSP0/CPU0:router# show pim topology

(Optional) Displays PIM topology table information for a specific group or all groups.

Command or Action Purpose

ES-90Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 91: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Setting Up Your Multicast Connections

The following example shows how to enter IPv4 multicast routing configuration mode:

RP/0/RSP0/CPU0:router(config)# multicast-routing RP/0/RSP0/CPU0:router(config-mcast)# address-family ipv4RP/0/RSP0/CPU0:router(config-mcast-default-ipv4)#

1. router msdp

2. connect-source type interface-id

3. peer peer-address

Detailed Steps

Step 1 router msdp

Example:RP/0/RSP0/CPU0:router(config)# router msdp

Enters MSDP protocol configuration mode.

Step 2 default-peer ip-address [prefix-list list]

Example:RP/0/RSP0/CPU0:router(config-msdp)# default-peer 172.23.16.0

(Optional) Defines a default peer from which to accept all MSDP SA messages.

Step 3 originator-id type interface-id

Example:RP/0/RSP0/CPU0:router(config-msdp)# originator-id pos 0/1/1/0

(Optional) Allows an MSDP speaker that originates a (Source-Active) SA message to use the IP address of the interface as the RP address in the SA message.

Step 4 peer peer-address

Example:RP/0/RSP0/CPU0:router(config-msdp)# peer 172.31.1.2

Enters MSDP peer configuration mode and configures an MSDP peer.

• Configure the router as a BGP neighbor.

• If you are also BGP peering with this MSDP peer, use the same IP address for MSDP and BGP. You are not required to run BGP or multiprotocol BGP with the MSDP peer, as long as there is a BGP or multiprotocol BGP path between the MSDP peers.

Step 5 connect-source type interface-id

Example:RP/0/RSP0/CPU0:router(config-msdp-peer)# connect-source loopback 0

(Optional) Configures a source address used for an MSDP connection.

Step 6 mesh-group name

Example:RP/0/RSP0/CPU0:router(config-msdp-peer)# mesh-group internal

(Optional) Configures an MSDP peer to be a member of a mesh group.

ES-91Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 92: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Setting Up Your Multicast Connections

Summary Steps

1. interface GigabitEthernet0/4/0/1.1 l2transport

2. service instance ethernet

3. encapsulation dot1q x second-dot1q 7

4. rewrite ingress tag translate 2-to-2 dot1q y second-dot1q x symmetric

5. interface GigabitEthernet0/4/0/1.2 l2transport

6. service instance ethernet

7. encapsulation dot1q x second-dot1q 8

8. rewrite ingress tag translate 2-to-1 dot1q x symmetric

Step 7 remote-as as-number

Example:RP/0/RSP0/CPU0:router(config-msdp-peer)# remote-as 250

(Optional) Configures the remote autonomous system number of this peer.

Step 8 end

or

commit

Example:RP/0/RSP0/CPU0:router(config-msdp-peer)# end

or

RP/0/RSP0/CPU0:router(config-msdp-peer)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

ES-92Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 93: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Where to Go Next

Related Documents

Where to Go NextWhen you have completed the configuration procedures in this chapter, consider the following resources for additional configuration documentation:

• For ethernet services configuration examples, see Ethernet Services Configuration Examples

• For the list of platform-specific ethernet services commands on the Cisco ASR 9000 Series Router, see Cisco ASR 9000 Series Router Platform Dependent Command Reference

• For information on configuring interfaces, see the hardware documents listed in the “Related Documents” section on page xvi.

Related Topic Document Title

Descriptions of the clock commands Clock Commands on the Cisco ASR 9000 Series Router module of Cisco ASR 9000 Series Router System Management Command Reference

Commands used to configure NTP NTP Commands on the Cisco ASR 9000 Series Router module of Cisco ASR 9000 Series Router System Management Command Reference

ES-93Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 94: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Configuring Ethernet Virtual Connections (EVCs)Where to Go Next

ES-94Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 95: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Reference

This module describes the Cisco IOS XRcommands used to configure the Ethernet interfaces and the VLAN subinterfaces on the Cisco ASR 9000 Series Aggregation Services Router using the command-line interface (CLI).

The distributed Gigabit Ethernet and 10-Gigabit Ethernet architecture and features deliver network scalability and performance, while enabling service providers to offer high-density, high-bandwidth networking solutions designed to interconnect the router with other systems in POPs, including core and edge routers and Layer 2 and 3 switches.

Contents • Ethernet Interface Commands on Cisco ASR 9000 Series Routers, page 95

• 802.1Q VLAN Subinterface Commands on Cisco ASR 9000 Series Routers, page 172

• Where to Go Next, page 190

• Additional References, page 190

Ethernet Interface Commands on Cisco ASR 9000 Series RoutersThis section containd the following commands:

• carrier-delay, page 97

• clear ethernet cfm ccm-learning-database, page 99

• clear ethernet cfm interfaces, page 101

• clear ethernet cfm local meps, page 102

• clear ethernet cfm peer meps, page 105

• clear ethernet cfm traceroute-cache, page 107

• clear ethernet oam statistics, page 108

• clear mac-accounting (Ethernet), page 109

• encapsulation dot1q, page 111

• ethernet cfm cc, page 112

ES-95Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 96: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command ReferenceEthernet Interface Commands on Cisco ASR 9000 Series Routers

• ethernet cfm mep domain, page 114

• ethernet cfm traceroute cache, page 115

• ethernet cfm traceroute cache hold-time, page 116

• ethernet cfm traceroute cache size, page 117

• ethernet oam loopback, page 119

• flow-control, page 120

• interface GigabitEthernet, page 122

• interface TenGigE, page 124

• l2protocol (Ethernet), page 126

• l2transport (Ethernet), page 128

• loopback (Ethernet), page 130

• mac-accounting, page 132

• mac-address (Ethernet), page 133

• negotiation auto, page 134

• packet-gap non-standard, page 135

• ping ethernet cfm, page 136

• show controllers (Ethernet), page 138

• show ethernet cfm ccm-learning-database, page 146

• show ethernet cfm configuration-errors, page 147

• show ethernet cfm interfaces statistics, page 149

• show ethernet cfm local maintenance-points, page 151

• show ethernet cfm local maintenance-points, page 153

• show ethernet cfm local meps, page 154

• show ethernet cfm peer meps, page 155

• show ethernet cfm traceroute-cache, page 157

• show ethernet oam configuration, page 159

• show ethernet oam discovery, page 161

• show mac-accounting (Ethernet), page 163

• show spanning-tree mst, page 165

• traceroute ethernet cfm (basic linktrace), page 168

• traceroute ethernet cfm (exploratory linktrace), page 170

ES-96Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 97: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referencecarrier-delay

carrier-delayTo delay the processing of hardware link down notifications, use the carrier-delay command in interface configuration mode.

carrier-delay {down milliseconds [up milliseconds] | up milliseconds [down milliseconds]}

Syntax Description

Defaults No carrier-delay is used, and the upper layer protocols are notified as quickly as possible when a physical link goes down.

Command Modes Interface configuration

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

When you delay the processing of hardware link down notifications, the higher layer routing protocols are unaware of a link until that link is stable.

If the carrier-delay down milliseconds command is configured on a physical link that fails and cannot be recovered, link down detection is increased, and it may take longer for the routing protocols to re-route traffic around the failed link.

In the case of very small interface state flaps, running the carrier-delay down milliseconds command prevents the routing protocols from experiencing a route flap.

Note Enter the show interface command to see the current state of the carrier-delay operation for an interface. No carrier-delay information is displayed if carrier-delay has not been configured on an interface.

Task ID

down milliseconds Length of time, in milliseconds, to delay the processing of hardware link down notifications. Range is from 1 through 5000.

up milliseconds Length of time, in milliseconds, to delay the processing of hardware link up notifications. Range is from 1 through 5000.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

interface read, write

ES-97Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 98: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referencecarrier-delay

Examples The following example shows how to delay the processing of hardware link down notifications:

RP/0/RSP0/CPU0:router(config-if)# carrier-delay down 10

The following example shows how to delay the processing of hardware link up and down notifications:

RP/0/RSP0/CPU0:router(config-if)# carrier-delay up 100 down 100

Related Commands Command Description

dampening Limits propagation of transient or frequently changing interface states on Interface Manager (IM) clients.

ES-98Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 99: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceclear ethernet cfm ccm-learning-database

clear ethernet cfm ccm-learning-databaseTo clear the ccm learning database, use the clear ethernet cfm ccm-learning-database command in interface configuration mode.

clear ethernet cfm ccm-learning-database {GigabitEthernet | TenGigE} statistics location { node-id | all }

Defaults All CFM ccm-learning-databases on all interfaces are cleared.

Command Modes Interface configuration

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Note The location cannot be specified if a particular interface is specified.

Task ID

Examples The following example shows how to clear all the CFM CCM learning databases on all interfaces:

RP/0/RSP0/CPU0:router(config-if)# clear ethernet cfm ccm-learning-database

Output: none

{GigabitEthernet | TenGigE}

Type of Ethernet interface whose CFM CCM learning database you want to clear. Enter GigabitEthernet or TenGigE.

location node-id (Optional) Clears the CFM CCM learning database for the designated node. The node-id argument is entered in the rack/slot/module notation.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

interface read, write

ES-99Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 100: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceclear ethernet cfm ccm-learning-database

Related Commands Command Description

show ethernet cfm ccm-learning-database

Displays the CFM CCM learning databases.

ES-100Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 101: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceclear ethernet cfm interfaces

clear ethernet cfm interfacesTo clear the per-interface counters, use the clear ethernet cfm interfaces command in interface configuration mode.

clear ethernet cfm interfaces {GigabitEthernet | TenGigE} statistics location { node-id | all }

Defaults All CFM counters from all interfaces are cleared.

Command Modes Interface configuration

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Note The location cannot be specified if a particular interface is specified.

Task ID

Examples The following example shows how to clear all the CFM counters from all interfaces:

RP/0/RSP0/CPU0:router(config-if)# clear ethernet cfm interfaces

Output: none

Related Commands

{GigabitEthernet | TenGigE}

Type of Ethernet interface whose CFM statistics you want to clear. Enter GigabitEthernet or TenGigE.

location node-id (Optional) Clears MAC accounting statistics for the designated node. The node-id argument is entered in the rack/slot/module notation.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

interface read, write

Command Description

show ethernet cfm configuration-errors

Displays the per-interface CFM counters.

ES-101Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 102: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceclear ethernet cfm local meps

clear ethernet cfm local mepsClear local MEP counters for the given MEPs

clear ethernet cfm local meps { all | domain domain-name { all | service service-name { all | mep-id id } } | interface efp { all | domain domain-name} }

Defaults All CFM counters from all interfaces are cleared.

Command Modes Interface configuration

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Note The location cannot be specified if a particular interface is specified.

Task ID

Examples The following example shows how to clear all the local MEP counters from all interfaces:

RP/0/RSP0/CPU0:router(config-if)# clear ethernet cfm local meps

domain domain-name String of a maximum of 154 characters that identifies the domain in which the maintenance points reside.

Note For more information about the syntax for the Cisco ASR 9000 Series Router, use the question mark (?) online help function.

service service-name String of a maximum of 154 characters that identifies the maintenance association to which the maintenance points belong.

mep-id id String of a maximum of 154 characters that identifies the ID number of the destination MEP.

interface efp String of a maximum of 154 characters that identifies the EFP (Ethernet Flow Point) of the destination MEP.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

interface read, write

ES-102Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 103: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceclear ethernet cfm local meps

Output: none

Related Commands Command Description

show ethernet cfm configuration-errors

Displays the per-interface CFM counters.

ES-103Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 104: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceclear ethernet cfm interfaces

clear ethernet cfm interfacesTo clear the per-interface counters, use the clear ethernet cfm interfaces command in interface configuration mode.

clear ethernet cfm interfaces {GigabitEthernet | TenGigE} statistics location { node-id | all }

Defaults All CFM counters from all interfaces are cleared.

Command Modes Interface configuration

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Note The location cannot be specified if a particular interface is specified.

Task ID

Examples The following example shows how to clear all the CFM counters from all interfaces:

RP/0/RSP0/CPU0:router(config-if)# clear ethernet cfm interfaces

Output: none

Related Commands

{GigabitEthernet | TenGigE}

Type of Ethernet interface whose CFM statistics you want to clear. Enter GigabitEthernet or TenGigE.

location node-id (Optional) Clears MAC accounting statistics for the designated node. The node-id argument is entered in the rack/slot/module notation.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

interface read, write

Command Description

show ethernet cfm configuration-errors

Displays the per-interface CFM counters.

ES-104Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 105: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceclear ethernet cfm peer meps

clear ethernet cfm peer mepsClear remote MEP counters for the given MEPs

clear ethernet cfm peer meps { all | domain domain-name { all | service service-name { all | mep-id id } } | interface efp { all | domain domain-name} }

Defaults All CFM remote MEP counters from all interfaces are cleared.

Command Modes Interface configuration

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Note The location cannot be specified if a particular interface is specified.

Task ID

Examples The following example shows how to clear all the remote MEP counters from all interfaces:

RP/0/RSP0/CPU0:router(config-if)# clear ethernet cfm peer meps

domain domain-name String of a maximum of 154 characters that identifies the domain in which the maintenance points reside.

Note For more information about the syntax for the Cisco ASR 9000 Series Router, use the question mark (?) online help function.

service service-name String of a maximum of 154 characters that identifies the maintenance association to which the maintenance points belong.

mep-id id String of a maximum of 154 characters that identifies the ID number of the destination MEP.

interface efp String of a maximum of 154 characters that identifies the EFP (Ethernet Flow Point) of the destination MEP.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

interface read, write

ES-105Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 106: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceclear ethernet cfm peer meps

Output: none

Related Commands Command Description

show ethernet cfm configuration-errors

Displays the per-interface CFM counters.

ES-106Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 107: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceclear ethernet cfm traceroute-cache

clear ethernet cfm traceroute-cacheTo remove the contents of the traceroute cache, use the clear ethernet cfm traceroute-cache command in privileged EXEC mode.

clear ethernet cfm traceroute-cache

Syntax Description This command has no arguments or keywords.

Command Modes Privileged EXEC (#)

Command History

Usage Guidelines Use the clear ethernet cfm traceroute-cache command to remove traceroute cache entries from previous traceroute operations issued on the device. This command also provides visibility into maintenance intermediate points and maintenance end points of a domain as they were recorded when the operation was performed.

Examples The following example shows the clear ethernet cfm traceroute-cache command:

Router# clear ethernet cfm traceroute-cache

Related Commands

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Command Description

ethernet cfm traceroute cache

Enables caching of Ethernet CFM data learned through traceroute messages.

show ethernet cfm traceroute-cache

Displays the contents of the traceroute cache.

ES-107Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 108: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceclear ethernet oam statistics

clear ethernet oam statisticsUse the clear ethernet oam statistics command to clear all OAM counters associated with a given interface. If no interface is specified, the clear ethernet oam statistics command clears all the OAM counters on all interfaces with OAM enabled.

clear ethernet oam statistics {interface {interface | all} | location {location | all}}

Syntax Description

Defaults No default behavior or values

Command Modes EXEC

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Examples The following example shows how to clear all OAM statistics for the TenGigE port at 1/0/0/1:

RP/0/RSP0/CPU0:router# clear ethernet oam statistics TenGigE 0/1/5/0 location 1/0/0/1

Related Commands

interface interface Type of Ethernet interface whose MAC accounting statistics you want to clear. Enter GigabitEthernet or TenGigE.

location node-id (Optional) Clears MAC accounting statistics for the designated node. The node-id argument is entered in the rack/slot/module notation.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

interface read, write

basic-services read, write

Command Description

mac-accounting Configures MAC accounting on an interface.

show mac-accounting (Ethernet)

Displays MAC accounting statistics for an interface.

ES-108Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 109: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceclear mac-accounting (Ethernet)

clear mac-accounting (Ethernet)To clear Media Access Control (MAC) accounting statistics, use the clear mac-accounting command in EXEC mode.

clear mac-accounting {GigabitEthernet | TenGigE} instance [location node-id]

Syntax Description

Defaults No default behavior or values

Command Modes EXEC

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

{GigabitEthernet | TenGigE}

Type of Ethernet interface whose MAC accounting statistics you want to clear. Enter GigabitEthernet or TenGigE.

instance Interface whose MAC accounting statistics you want to clear. The naming notation is rack/slot/module/port, and a slash between values is required as part of the notation.

• rack—Chassis number of the rack.

• slot—Physical slot number of the line card or modular services card.

• module—Module number. A physical layer interface module (PLIM) is always 0.

• port—Physical port number of the interface.

Note For more information about the syntax for the router, use the question mark (?) online help function.

location node-id (Optional) Clears MAC accounting statistics for the designated node. The node-id argument is entered in the rack/slot/module notation.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

interface read, write

basic-services read, write

ES-109Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 110: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceclear mac-accounting (Ethernet)

Examples The following example shows how to clear all MAC accounting statistics for the TenGigE port at 1/0/0/1:

RP/0/RSP0/CPU0:router# clear mac-accounting TenGigE 0/1/5/0 location 1/0/0/1

Related Commands Command Description

mac-accounting Configures MAC accounting on an interface.

show mac-accounting (Ethernet)

Displays MAC accounting statistics for an interface.

ES-110Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 111: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceencapsulation dot1q

encapsulation dot1qTo enable IEEE 802.1Q encapsulation of traffic on a specified subinterface in virtual LANs (VLANs), use the encapsulation dot1q subinterface configuration command.

encapsulation dot1q vlan-id [second-dot1q vlan-id ]

Syntax Description

Defaults No default values or behaviors.

Command Modes Interface configuration

Command History

Usage Guidelines IEEE 802.1Q encapsulation is configurable on Gigabit Ethernet and Ten Gigabit Ethernet interfaces. IEEE 802.1Q is a standard protocol for interconnecting multiple switches and routers and for defining VLAN topologies.

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Examples The following example encapsulates VLAN traffic using the IEEE 802.1Q protocol for VLAN 100:

RP/0/RSP0/CPU0:router# configureRP/0/RSP0/CPU0:router(config)# interface GigabitEther 0/2/0/0RP/0/RSP0/CPU0:router(config-if)# l2transportRP/0/RSP0/CPU0:router(config-if)# encapsulation dot1q 100 second-dot1q 215

Related Commands

vlan-id Virtual LAN identifier. The allowed range is from 1 to 4095.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

interface read, write

Command Description

interface GigabitEthernet

Enables the interface configuration mode for a Gigabit Ethernet interface.

interface TenGigE Enables enter interface configuration mode for a Ten Gigabit Ethernet interface.

ES-111Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 112: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceethernet cfm cc

ethernet cfm ccTo set parameters for continuity check messages (CCMs), use the ethernet cfm cc command in global configuration mode. To reset parameters to their default values, use the no form of this command.

ethernet cfm cc level {any | level-id | level-id-level-id | [,level-id-level-id]} vlan {vlan-id | any | vlan-id-vlan-id | [,vlan-id-vlan-id]} [interval seconds] [loss-threshold num_msgs]

no ethernet cfm cc level {any | level-id | level-id-level-id | [,level-id-level-id]} vlan {vlan-id | any | vlan-id-vlan-id | [,vlan-id-vlan-id]} [interval seconds] [loss-threshold num_msgs]

Syntax Description

Command Default For all maintenance levels and VLANs configured on a device, the interval is 30 seconds and the loss-threshold is 2.

Command Modes Global configuration (config)

level Indicates a maintenance level for the configuration.

any Indicates that all levels are to be configured.

level-id Integer from 0 to 7 that identifies a maintenance level.

level-id-level-id Integers from 0 to 7 that define a range of levels to be configured. The hyphen is required to separate starting and ending values that define the range.

,level-id-level-id (Optional) Integers from 0 to 7 that define a list of ranges to be configured. The comma must be entered to separate ranges. The hyphen is required to separate starting and ending values that are used to define each range of levels to be configured.

vlan Indicates a VLAN for configuration.

any Indicates that all VLANs are to be configured.

vlan-id Integer from 1 to 4094 that identifies a VLAN to be configured.

vlan-id-vlan-id Integers from 1 to 4094 that define a range of VLANs to be configured. The hyphen is required to separate starting and ending values that are used to define the range.

,vlan-id-vlan-id (Optional) Integers from 1 to 4094 that define a list of VLAN ranges to be configured. The comma must be entered to separate ranges. The hyphen is required to separate starting and ending values that are used to define each range of VLANs.

interval seconds (Optional) Specifies, in seconds, the time between CCM transmissions. Integer value in the range of 10 to 65535. The default is 30.

loss-threshold num_msgs

(Optional) Indicates the maximum number of CCMs that can be missed before declaring that a maintenance end point (MEP) is down. Integer in the range of 2 to 255 that specifies the maximum number of CCMs that can be lost before a MEP is declared down. The default is 2.

ES-112Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 113: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceethernet cfm cc

Command History

Usage Guidelines The ethernet cfm cc command is used to set parameters for generating and receiving CCMs in one of the following ways:

• Globally (per device)

• For a maintenance domain

• For a particular customer service instance (CSI)

• For a combination of maintenance domain and CSI

When the ethernet cfm cc command is issued, the system may perform optimizations by concatenating possible ranges, and the configuration may not go through nonvolatile generation (NVGEN) as it was originally entered.

If you configure the ethernet cfm cc command with the default values for interval and loss threshold, these parameters will not display after NVGEN. If you configure the command with at least one parameter not at the default value, all parameters are displayed.

Examples The following example shows how to configure an Ethernet connectivity fault management (CFM) level ID of 5 for all VLANs, with messages transmitted every 30 seconds and a remote MEP declared down after two messages are missed. Note that the interval and loss-threshold parameters are configured for the default values and do not display after NVGEN.

Router(config)# ethernet cfm cc level 5 vlan any interval 30 loss-threshold 2 (NVGEN)ethernet cfm cc level 5 vlan any

The following example shows how to configure an Ethernet CFM level ID of 5 for all VLANs, with messages transmitted every 1000 seconds and a remote MEP declared down after two messages (the default value) are missed:

Router(config)# ethernet cfm cc level 5 vlan any interval 1000 loss-threshold 2 (NVGEN)ethernet cfm cc level 5 vlan any interval 1000

The following example shows how to configure an Ethernet CFM level ID of 5 for all VLANs, with messages transmitted every 1000 seconds and a remote MEP declared down after seven messages are missed (neither value is a default value):

Router(config)# ethernet cfm cc level 5 vlan any interval 1000 loss-threshold 7 (NVGEN)ethernet cfm cc level 5 vlan any interval 1000 loss-threshold 7

The following example shows how to configure Ethernet CFM for multiple levels for VLANs 100 to 200 with messages transmitted every 50 seconds and a remote MEP declared down after five messages are missed (neither value is a default value):

Router(config)# ethernet cfm cc level 1-5 vlan 100-200 interval 50 loss 5 Router(config)# no ethernet cfm cc level 2-3 vlan 50-150 int 50 loss 5(NVGEN)ethernet cfm cc level 2-3 vlan 151-200 interval 50 loss-threshold 5 ethernet cfm cc level 1,4-5 vlan 100-200 interval 50 loss-threshold 5

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

ES-113Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 114: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceethernet cfm mep domain

ethernet cfm mep domainUse the ethernet cfm mep domain command to define a CFM domain, define the service name, set the MEP ID, set up the COS level, and enter ethernet-cfm configuration mode for the domain.

ethernet cfm mep domain name service name mep-id id [cos val]

Syntax Description

Command Default Caching is disabled.

Command Modes Global configuration (config)

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Examples The following example shows how to enable an Ethernet CFM MEP domain named berry:

Router(config)# ethernet cfm mep domain berry

Related Commands

domain name String of a maximum of 154 characters that identifies the domain in which the maintenance points reside.

Note For more information about the syntax for the Cisco ASR 9000 Series Router, use the question mark (?) online help function.

service name String of a maximum of 154 characters that identifies the maintenance association to which the maintenance points belong.

mep-id id (Optional) String of a maximum of 154 characters that identifies the ID number of the source MEP.

cos cos_val (Optional) Identifies the class of traffic of the source MEP by setting a CoS value. The valid values are from 0 to 7.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

ethernet cfm traceroute cache

Sets a maximum time that Ethernet CFM traceroute cache entries will be retained.

ethernet cfm traceroute cache size

Sets a maximum number for entries in an Ethernet CFM traceroute cache table.

ES-114Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 115: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceethernet cfm traceroute cache

ethernet cfm traceroute cacheTo enable caching of Ethernet connectivity fault management (CFM) data learned through traceroute messages, use the ethernet cfm traceroute cache command in global configuration mode. To disable caching, use the no form of this command.

ethernet cfm traceroute cache

no ethernet cfm traceroute cache

Syntax Description This command has no arguments or keywords.

Command Default Caching is disabled.

Command Modes Global configuration (config)

Command History

Usage Guidelines Setting a traceroute cache allows you to store the results of traceroute operations initiated on the device.

Examples The following example shows how to enable Ethernet CFM traceroute cache:

Router(config)# ethernet cfm traceroute cache

Related Commands

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

ethernet cfm traceroute cache

Sets a maximum time that Ethernet CFM traceroute cache entries will be retained.

ethernet cfm traceroute cache size

Sets a maximum number for entries in an Ethernet CFM traceroute cache table.

ES-115Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 116: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceethernet cfm traceroute cache hold-time

ethernet cfm traceroute cache hold-timeTo set the time that Ethernet connectivity fault management (CFM) traceroute cache entries are retained, use the ethernet cfm traceroute cache hold-time command in global configuration mode. To remove the configured time, use the no form of this command.

ethernet cfm traceroute cache hold-time minutes

no ethernet cfm traceroute cache hold-time minutes

Syntax Description

Command Default Entries are retained for 100 minutes.

Command Modes Global configuration (config)

Command History

Usage Guidelines Before you can issue this command, you must have enabled traceroute caching using the ethernet cfm traceroute cache command.

Examples The following example shows how to set the retention time for entries in an Ethernet CFM traceroute cache table to 5 minutes:

Router(config)# ethernet cfm traceroute cache hold-time 5

Related Commands

minutes Integer in the range of 1 to 65535 that specifies the number of minutes that cache entries will be retained. The default is 100.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

ethernet cfm traceroute cache

Enables caching of Ethernet CFM data learned from traceroute messages.

ethernet cfm traceroute cache size

Sets a maximum number for entries in an Ethernet CFM traceroute cache table.

ES-116Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 117: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceethernet cfm traceroute cache size

ethernet cfm traceroute cache sizeTo set a maximum size for the Ethernet connectivity fault management (CFM) traceroute cache table, use the ethernet cfm traceroute cache size command in global configuration mode. To remove the configured size, use the no form of this command.

ethernet cfm traceroute cache size entries

no ethernet cfm traceroute cache size entries

Syntax Description

Command Default If traceroute cache is enabled, traceroute replies are cached up to a maximum of 100 entries.

If traceroute cache is disabled, traceroute replies are not cached; the default size is 0.

Command Modes Global configuration (config)

Command History

Usage Guidelines Before you can issue this command, you must have enabled traceroute caching using the ethernet cfm traceroute cache command.

Entries in the traceroute cache table are single replies from remote devices—not the number of operations on the device. When the maximum cache size is reached, new replies will not be added to the cache. To add new replies, you must clear the cache or increase its size.

Setting the traceroute cache size when traceroute caching is disabled causes this command to be rejected and generates an error message. Setting the number of entries lower than the number previously set causes this command to be rejected, and you are prompted to clear the traceroute cache.

Examples The following example shows how to set the maximum number of entries in an Ethernet CFM traceroute cache table to 2500:

Router(config)# ethernet cfm traceroute cache size 2500

entries Number of entries in the traceroute cache table, expressed as an integer in the range of 1 to 4094. The default is 100.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

ES-117Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 118: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceethernet cfm traceroute cache size

Related Commands Command Description

ethernet cfm traceroute cache

Enables caching of Ethernet CFM data learned from traceroute messages.

ethernet cfm traceroute cache hold-time

Sets the maximum time that Ethernet CFM traceroute cache entries will be retained.

ES-118Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 119: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceethernet oam loopback

ethernet oam loopback Use the ethernet oam loopback command to start or stop remote loopback on the OAM peer of the given interface.

ethernet oam loopback {enable | disable} interface interface

Syntax Description

Defaults No default behavior or values.

Command Modes EXEC

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Examples The following example shows how to start an OAM loopback:

RP/0/RSP0/CPU0:router# ethernet oam loopback

Related Commands

interface Type of Ethernet interface you want to start or stop an OAM loopback. Enter GigabitEthernet or TenGigE.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

interface read, write

basic-services read, write

Command Description

mac-accounting Configures MAC accounting on an interface.

show mac-accounting (Ethernet)

Displays MAC accounting statistics for an interface.

ES-119Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 120: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceflow-control

flow-controlTo enable the sending of flow-control pause frames, use the flow-control command in interface configuration mode. To disable flow control, use the no form of this command.

flow-control {bidirectional | egress | ingress}

no flow-control ingress {bidirectional | egress | ingress}

Syntax Description

Defaults If autonegotiate is enabled on the interface, then the default is negotiated.

If autonegotiate is disabled on the interface, then the sending of flow-control pause frames is disabled for both egress and ingress traffic.

Command Modes Interface configuration

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Note When you explicitly enable the sending of flow-control pause frames, the value you configured with the flow-control command overrides any autonegotiated value. This prevents a link from coming up if the value you set with the flow-control command conflicts with the allowable settings on the other end of the connection.

Note The flow-control command is supported on Gigabit Ethernet and TenGigE interfaces only; the flow-control command is not supported on Management Ethernet Interfaces.

Note The flow-control command syntax options may vary, depending on the type of PLIM that is installed in your router.

bidirectional Sends flow-control pause frames for both ingress and egress traffic.

egress Sends flow-control pause frames for egress traffic.

ingress Sends flow-control pause frames for ingress traffic.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

ES-120Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 121: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceflow-control

Task ID

Examples The following example shows how to enable the sending of flow-control pause frames for ingress traffic on the TenGigE interface 0/3/0/0:

RP/0/RSP0/CPU0:router(config)# interface TenGigE 0/3/0/0RP/0/RSP0/CPU0:router(config-if)# flow-control ingress

Related Commands

Task ID Operations

interface read, write

Command Description

show interfaces Displays statistics for all interfaces configured on the router.

ES-121Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 122: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceinterface GigabitEthernet

interface GigabitEthernetTo enter interface configuration mode for a Gigabit Ethernet interface, use the interface GigabitEthernet command in global configuration mode. To delete a Gigabit Ethernet interface configuration, use the no form of this command.

interface GigabitEthernet instance

no interface GigabitEthernet instance

Syntax Description

Defaults No default behavior or values

Command Modes Global configuration

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Examples The following example shows how to enter interface configuration mode for a Gigabit Ethernet interface:

RP/0/RSP0/CPU0:router(config)# interface GigabitEthernet 0/4/0/0RP/0/RSP0/CPU0:router(config-if)#

instance Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.

• rack—Chassis number of the rack.

• slot—Physical slot number of the card.

• module—Module number. A physical layer interface module (PLIM) is always 0.

• port—Physical port number of the interface.

Note For more information about the syntax for the Cisco ASR 9000 Series Router, use the question mark (?) online help function.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

interface read, write

ES-122Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 123: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceinterface GigabitEthernet

Related Commands Command Description

show interfaces Displays statistics for all interfaces configured on the router.

ES-123Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 124: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceinterface TenGigE

interface TenGigETo enter interface configuration mode for a 10-Gigabit Ethernet interface, use the interface TenGigE command in global configuration mode. To delete a 10-Gigabit Ethernet interface configuration, use the no form of this command.

interface TenGigE instance

no interface TenGigE instance

Syntax Description

Defaults No default behavior or values

Command Modes Global configuration

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Examples The following example shows how to enter interface configuration mode for a 10-Gigabit Ethernet interface:

RP/0/RSP0/CPU0:router(config)# interface TenGigE 0/1/0/0

instance Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.

• rack—Chassis number of the rack.

• slot—Physical slot number of the card.

• module—Module number. A physical layer interface module (PLIM) is always 0.

• port—Physical port number of the interface.

Note For more information about the syntax for the Cisco ASR 9000 Series Router, use the question mark (?) online help function.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

interface read, write

ES-124Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 125: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceinterface TenGigE

RP/0/RSP0/CPU0:router(config-if)#

Related Commands Command Description

show interfaces Displays statistics for all interfaces configured on the router.

ES-125Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 126: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referencel2protocol (Ethernet)

l2protocol (Ethernet)To configure Layer 2 protocol tunneling and protocol data unit (PDU) filtering on an Ethernet interface, use the l2protocol command in Layer 2 transport configuration mode. To disable a Layer 2 protocol tunneling and Layer 2 protocol data units configuration, use the no form of this command.

l2protocol {cdp | pvst | stp | vtp} {[tunnel] experimental bits | drop}

no l2protocol

Syntax Description

Command Default All Layer 2 protocol data units are forwarded through the network without modification.

Command Modes Layer 2 transport configuration

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Note The l2protocol command is available only when Layer 2 transport port mode is enabled on the interface with the l2transport command.

cdp Configures Cisco Discovery Protocol (CDP) tunneling and data unit parameters for the Ethernet interface.

pvst Configures VLAN spanning tree protocol tunneling and data unit parameters.

stp Configures spanning tree protocol tunneling and data unit parameters for the Ethernet interface.

vtp Configures VLAN trunk protocol tunneling and data unit parameters.

tunnel Tunnels the packets associated with the specified protocol. When you specify the tunnel keyword, the packet destination MAC address is rewritten with an alternative address before that packet is sent over a pseudowire. After the packet comes through the other end of the pseudowire, the alternative address reverts to the original destination MAC address.

experimental bits

Replaces the experimental bits in the MPLS header with the IEEE 802.1p bits from the MAC header and vice-versa.

drop Drops packets associated with the specified protocol.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

ES-126Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 127: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referencel2protocol (Ethernet)

Task ID

Examples The following example shows how to configure an Ethernet interface to drop CDP packets:

RP/0/RSP0/CPU0:router# configureRP/0/RSP0/CPU0:router(config)# interface TenGigE 0/0/0/1RP/0/RSP0/CPU0:router(config-if)# l2transportRP/0/RSP0/CPU0:router(config-if-l2)# l2protocol cdp drop

Related Commands

Task ID Operations

l2vpn read, write

Command Description

l2transport (Ethernet)

Enables Layer 2 transport port mode on an Ethernet interface and enters Layer 2 transport configuration mode.

show interfaces Displays statistics for all interfaces configured on the router or for a specific node.

ES-127Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 128: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referencel2transport (Ethernet)

l2transport (Ethernet)To enable Layer 2 transport port mode on an Ethernet interface and enter Layer 2 transport configuration mode, use the l2transport command in interface configuration mode for an Ethernet interface. To disable Layer 2 transport port mode on an Ethernet interface, use the no form of this command.

l2transport

no l2transport

Syntax Description This command has no arguments or keywords.

Defaults No default behavior or values

Command Modes Interface configuration

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

When you issue the l2transport command in interface configuration mode, the CLI prompt changes to “config-if-l2,” indicating that you have entered the Layer 2 transport configuration submode. In the following sample output, the question mark (?) online help function displays all the commands available under Layer 2 transport configuration submode for an Ethernet interface:

RP/0/RSP0/CPU0:router#configureRP/0/RSP0/CPU0:router(config)# interface GigabitEthernet 0/1/5/0RP/0/RSP0/CPU0:router(config-if)# l2transportRP/0/RSP0/CPU0:router(config-if-l2)# ? commit Commit the configuration changes to running describe Describe a command without taking real actions do Run an exec command exit Exit from this submode no Negate a command or set its defaults service-policy Configure QoS Service policy show Show contents of configurationRP/0/RSP0/CPU0:router(config-if-l2)#

Note The l2transport command is mutually exclusive with any Layer 3 interface configuration.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

ES-128Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 129: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referencel2transport (Ethernet)

Task ID

Examples The following example shows how to enable Layer 2 transport port mode on an Ethernet interface and enter Layer 2 transport configuration mode:

RP/0/RSP0/CPU0:router# configureRP/0/RSP0/CPU0:router(config)# interface GigabitEther 0/2/0/0RP/0/RSP0/CPU0:router(config-if)# l2transportRP/0/RSP0/CPU0:router(config-if-l2)#

Related Commands

Task ID Operations

l2vpn read, write

Command Description

show interfaces Displays statistics for all interfaces configured on the router or for a specific node.

show l2vpn xconnect Displays brief information on configured xconnects.

ES-129Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 130: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceloopback (Ethernet)

loopback (Ethernet)To configure an Ethernet controller for loopback mode, use the loopback command in interface configuration mode. To disable loopback, use the no form of this command.

loopback {external | internal | line}

no loopback

Syntax Description

Defaults Loopback mode is disabled.

Command Modes Interface configuration

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The loopback command is available for all Ethernet interface types (Gigabit Ethernet and 10-Gigabit Ethernet).

Two loopback operation modes are supported for diagnostic purposes: internal and line. In the terminal (internal) loopback, the sent signal is looped back to the receiver. In the facility (line) loopback, the signal received from the far end is looped back and sent on the line. The two loopback modes cannot be active at the same time. In normal operation mode, neither of the two loopback modes is enabled.

Tip Use the loopback external command when an external loopback connector is attached to the interface.

Task ID

external All IPv4 self-ping packets are sent out of the interface and looped back externally before being received on the ingress path.

internal All packets will be looped back internally within the router before reaching an external cable.

line Incoming network packets will be looped back through the external cable.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

interface read, write

ES-130Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 131: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceloopback (Ethernet)

Examples In the following example, all packets are looped back to the TenGigE controller:

RP/0/RSP0/CPU0:router(config)# interface TenGigE 0/3/0/0RP/0/RSP0/CPU0:router(config-if)# loopback internal

ES-131Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 132: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referencemac-accounting

mac-accountingTo generate accounting information for IP traffic based on the source and destination MAC addresses on LAN interfaces, use the mac-accounting command in interface configuration mode. To disable MAC accounting, use the no form of this command.

mac-accounting {egress | ingress}

Syntax Description

Defaults MAC accounting is disabled

Command Modes Interface configuration

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The mac-accounting command calculates the total packet and byte counts for a LAN interface that receives or sends IPv4 packets to or from a unique MAC address.

Task ID

Examples The following example shows how to enable MAC accounting for the source MAC address on the ingress direction:

RP/0/RSP0/CPU0:router(config-if)# mac-accounting ingress

Related Commands

egress Generates accounting information for IP traffic based on the destination MAC addresses (egress direction).

ingress Generates accounting information for IP traffic based on the source MAC addresses (ingress direction).

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

interface read, write

Command Description

clear mac-accounting (Ethernet) Clears MAC accounting statistics for a specified interface.

show mac-accounting (Ethernet) Displays MAC accounting statistics for a specified interface.

ES-132Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 133: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referencemac-address (Ethernet)

mac-address (Ethernet)To set the MAC layer address of an Ethernet interface, use the mac-address command in interface configuration mode. To return the device to its default MAC address, use the no form of this command.

mac-address value1.value2.value3

no mac-address

Syntax Description

Defaults The default MAC address is read from the hardware burned-in address (BIA).

Command Modes Interface configuration

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The MAC address must be in the form of three 4-digit values (12 digits in dotted decimal notation).

The mac-address command is available for all types of line card Ethernet interfaces (Gigabit Ethernet and 10-Gigabit Ethernet) and for the Management Ethernet interface.

Task ID

Examples The following example shows how to set the MAC address of a Gigabit Ethernet interface located at 0/1/5/0:

RP/0/RSP0/CPU0:router(config)# interface GigabitEthernet 0/1/5/0 RP/0/RSP0/CPU0:router(config-if)# mac-address 0001.2468.ABCD

value1. High 2 bytes of the MAC address in hexadecimal format. Range is from 0 to ffff.

value2. Middle 2 bytes of the MAC address in hexadecimal. Range is from 0 to ffff.

value3 Low 2 bytes of the MAC address in hexadecimal. Range is from 0 to ffff.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

interface read, write

ES-133Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 134: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referencenegotiation auto

negotiation autoTo enable link autonegotiation on Gigabit Ethernet and Fast Ethernet interfaces, use the negotiation auto command in interface configuration mode. To disable link autonegotiation, use the no form of this command.

negotiation auto

no negotiation auto

Syntax Description This command has no arguments or keywords.

Defaults Link autonegotiation is disabled.

Command Modes Interface configuration

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The negotiation auto command is available on Gigabit Ethernet interfaces only.

Task ID

Examples The following example shows how to enable link autonegotiation on an interface:

RP/0/RSP0/CPU0:router(config)# interface GigabitEthernet 0/0/2/0RP/0/RSP0/CPU0:router(config-if)# negotiation auto

The following example shows how to disable link autonegotiation on an interface:

RP/0/RSP0/CPU0:router(config)# interface GigabitEthernet 0/0/2/0RP/0/RSP0/CPU0:router(config-if)# no negotiation auto

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

interface read, write

ES-134Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 135: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referencepacket-gap non-standard

packet-gap non-standardTo change the packet interval for traffic on an interface for improved interoperability with Cisco Catalyst 6000 series switches, use the packet-gap non-standard command in interface configuration mode. To use the standard packet interval as defined by the IEEE 802.ae specification, use the no form of this command.

packet-gap non-standard

no packet-gap non-standard

Syntax Description This command has no arguments or keywords.

Defaults The interface uses the standard packet interval as defined by the IEEE 802.ae specification.

Command Modes Interface configuration

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

An interface that is connected to a Cisco Catalyst 6000 series switch may experience packet loss problems that can be resolved by changing the packet interval of traffic from standard (as defined by the IEEE 802.ae specification) to nonstandard using the packet-gap non-standard command.

Note The packet-gap non-standard command is available on 10-Gigabit Ethernet interfaces only.

Task ID

Examples The following example shows how to change the packet interval for traffic on an interface from standard to nonstandard:

RP/0/RSP0/CPU0:router(config)# interface TenGigE 0/3/0/0RP/0/RSP0/CPU0:router(config-if)# packet-gap non-standard

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

interface read, write

ES-135Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 136: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceping ethernet cfm

ping ethernet cfmTo send Ethernet connectivity fault management (CFM) loopback messages to a maintenance endpoint (MEP) or MAC address destination from the specified source MEP, and display a summary of the responses, use the ping ethernet cfm command in privileged EXEC mode.

ping ethernet cfm domain domain-name service service-name [ mep-id id | mac-address mac ] source [mep-id id ] interface {GigabitEthernet | TenGigE} [ cos cos_val ] [ interval seconds ] | frequency n ] [ timeout time ] [ count n ] [ data-size n ] [ data-pattern hex ]

Command Modes Interface configuration

domain domain-name String of a maximum of 154 characters that identifies the domain in which the maintenance points reside.

Note For more information about the syntax for the Cisco ASR 9000 Series Router, use the question mark (?) online help function.

service service-name String of a maximum of 154 characters that identifies the maintenance association to which the maintenance points belong.

mep-id id String of a maximum of 154 characters that identifies the ID number of the destination MEP.

mac-address mac Identifies the six-byte ID number of the MAC address of the destination MEP.

source mep-id id String of a maximum of 154 characters that identifies the ID number of the source MEP.

interface {GigabitEthernet | TenGigE}

Type of Ethernet interface whose maintenance points you want to display. Enter GigabitEthernet or TenGigE.

cos cos_val (Optional) Identifies the class of traffic of the source MEP by setting a Class of Service (CoS) value. The valid values are from 0 to 7.

interval seconds (Optional) Specifies, in seconds, the time between pings. The n argument is entered in seconds. The default is 1 second.

frequency n (Optional) Specifies how often pings are sent. Integer value in the range of 10 to 65535. The default is 1.

timeout time (Optional) Displays the time-to-live (TTL) value for the specified interface on the specified node. The time argument is entered in seconds. The default is 2 seconds.

count n (Optional) Specifies the number of pings. Integer value. The default is 5.

data-size n (Optional) Specifies the size of the ping files. Integer value. The default is 0.

data-pattern hex (Optional) Specifies the data pattern within the ping files. Hexadecimal value. The default is 0.

ES-136Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 137: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceping ethernet cfm

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

A local MEP must be configured for the same level and EVC before you can use this command.

The optional source keyword is available only when you enter a domain name. The source keyword is useful when there are multiple local MEPs in the same domain, level, and EVC as the ping target. For outward facing MEPs, choosing the source MPID implicitly selects the interface from which the ping will be sent.

Examples The following example shows how to send an Ethernet CFM loopback message to MAC address 1010.pcef.1010 at maintenance level 2 on evc5:

RP/0/RSP0/CPU0:router(config-if)# ping ethernet 1010.pcef.1010 level 2 evc evc5Type escape sequence to abort.Sending 100000 CFM Loopbacks, timeout is 2 seconds - Domain fig (level 5), Service baySource: MEP ID 3, interface GigabitEthernet0/1/2/3.234Target: 2233.4455.6677 (MEP ID 4): Running (10s) ...Success rate is 98.4 percent (98456/100000), round-trip min/avg/max = 123/290/456 msOut-of-sequence: 1.2 percent (1181/98456)Received packet rate: 9845 pps

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

ES-137Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 138: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow controllers (Ethernet)

show controllers (Ethernet) To display status and configuration information about the Ethernet interfaces on a specific node, use the show controllers command in EXEC mode.

show controllers {GigabitEthernet | TenGigE} instance [all | bert | internal | mac | phy | stats | xgxs]

Syntax Description

Defaults No default behavior or values

Command Modes EXEC

Command History

{GigabitEthernet | TenGigE}

Indicates the type of Ethernet interface whose MAC accounting statistics you want to display. Enter GigabitEthernet or TenGigE.

instance (Optional) Specifies an Ethernet interface instance. The naming notation is rack/slot/module/port, and a slash between values is required as part of the notation.

• rack—Chassis number of the rack.

• slot—Physical slot number of the line card or modular services card.

• module—Module number. A physical layer interface module (PLIM) is always 0.

• port—Physical port number of the interface.

Note For more information about the syntax for the Cisco ASR 9000 Series Router, use the question mark (?) online help function.

all Displays detailed information for the specified interface.

bert Displays BERT status information for the interface.

internal Displays internal information for the interface.

mac Displays MAC information for the interface.

phy Displays physical information for the interface.

stats Displays statistical information for the interface.

xgxs Displays information about the 10 Gigabit Ethernet Extended Sublayer (XGXS).

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

ES-138Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 139: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow controllers (Ethernet)

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Examples The following example shows the output from the show controllers command:

RP/0/RSP0/CPU0:router#show controllers gigabitEthernet 0/4/0/0

port:0 good_octets_received: 6008282 bad_octets_received: 0 good_frames_received: 65020 bad_frames_received: 0 broadcast_frames_received: 11 multicast_frames_received: 49985 good_octets_sent: 4483774 good_frames_sent: 45648 broadcast_frames_sent: 0 multicast_frames_sent: 0 mac_transfer_error: 0 excessive_collision: 0 unrecog_mac_control_received: 0 fc_sent: 0 good_fc_received: 0 rx_over_flow_events: 0 undersize: 0 fragments: 0 oversize: 0 jabber: 0 mac_rcv_error: 0 bad_crc: 0 collisions: 0 late_collision: 0 rate_limit_dropped: 0 spi4_rx_frames: 0 spi4_tx_frames: 0 DeviceID: 0x211911ab RevisionID: 0x00000003 SideBandFC: 0xc0000000 SERDESGlbCntl: 0x80000800 GlblEPDCntlCfg: 0x0000a033 TxFIFOUrecECCErrCtr: 0x00000000 RxFIFOUrecECCErrCtr: 0x00000000 DeviceGlobalRst: 0x00000000 GlobalCfg: 0xb480d000 PortTest: 0x00000000 PL4IOGlblStat: 0x00000002 DeviceTest: 0x00000000 MACStatus Port0: 0x0000801f MACControl0 Port0: 0x000c0000 MACControl1 Port0: 0xb1240151 MACControl2 Port0: 0x0d805f60 SERDESCntl Port0: 0x0000501a RateLimCntl Port0: 0x00000001

Task ID Operations

interface read

ES-139Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 140: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow controllers (Ethernet)

SysIntMask: 0x000000f0 SysIntCause: 0x00000000

GOPIntMask0: 0x801ffffe GOPIntCause0: 0x40000000 GOPIntMask1: 0x00000000 GOPIntCause1: 0x00000000 GOPIntMask2: 0xffdfb800 GOPIntCause2: 0x00000000 GOPIntMask3: 0x00000000 GOPIntCause3: 0x00000000 CalendarParam: 0x00040004 SPI4SrcDPDeskew: 0x000f2710 SrcClndrCmd: 0x00100404 SnkCalSeqPrgm: 0x00100404 SinkControl: 0x00000000 SPI4SrcMaxBrst: 0x00040004 SPI4IntfBrstLen: 0x0007000f TxPacketSize: 0xc0280011 RxFullWatermarks: 0x01f000c0 RxFIFOXOnOffFCWtrmrk: 0x05000300

RP/0/RSP0/CPU0:router#

Table 1 describes the significant fields shown in the display.

Table 1 show controllers Command Field Descriptions

Field Description

port Identifies the Ethernet port whose information is displayed in the show controllers command output.

good_octets_received The count of received octets that had no errors.

bad_octets_received The count of received octets that had errors.

good_frames_received The count of received frames that had no errors.

bad_frames_received The count of received frames that had errors.

broadcast_frames_received The total number of well-formed broadcast packets received by the port. It excludes packets received with errors or with multicast des-tination addresses.

multicast_frames_received The total number of well-formed multicast packets received by the port. It excludes packets received with errors or with broadcast des-tination addresses.

good_octets_sent The count of transmitted octets that had no errors.

good_frames_sent The count of transmitted frames that had no errors.

broadcast_frames_sent The total number of well-formed broadcast packets transmitted by the port. It excludes packets received with errors or with multicast destination addresses.

multicast_frames_sent The total number of well-formed multicast packets transmitted by the port. It excludes packets received with errors or with multicast destination addresses.

mac_transfer_error Register that tracks all MAC transfer errors on the interface.

excessive_collision The total number of packets that failed to be sent after 16 collisions. It includes packets of all destination address types.

ES-140Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 141: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow controllers (Ethernet)

unrecog_mac_control_received Number of received MAC control frames that have an opcode different than 00-01.

fc_sent Number of flow control frames sent undersize.

good_fc_received Number of good flow control messages received

rx_over_flow_events Indicates the number of times the port RxFifo has reached full level and at least one packet was dropped

undersize Number of undersize frames received (valid packet with length less than 64 bytes).

fragments Number of fragments received on this interface.

oversize Number of oversized frames received on this interface.

jabber Number of jabber packets received (packet length is greater than the MRU, and there is an invalid CRC, and no Rx Error event).

mac_rcv_error Number of Rx Error events seen by the receive side of the MAC (the Rx Error signal/symbol was asserted while the frame is being re-ceived).

bad_crc The number of frames received with bad CRC.

Note Collisions and late collisions apply to only half duplex mode.

collisions The total number of packets sent without error after having 1 to 15 collisions. It includes packets of all destination address types and excludes packets discarded because of insufficient resources or late collisions.

late_collision The total number of packets discarded because of late collisions detected during transmission. It includes all transmit packets that had a collision after the transmission of the packet's 64th byte. The preamble and SFD are not included in the frame's byte count.

rate_limit_dropped Number of frames dropped due to the broadcast/multicast rate limit.

spi4_rx_frames SPI-4/1 receive frame count. This counter increments once for every Start of Packet (SOP) delineation marker sent on the SPI-4.2 receive interface.

Note Packets that come from the CPU are not counted.

spi4_tx_frames: SPI-4/1 transmit frame count. This counter increments once for every packet arriving on the SPI-4.2 receive interface.

Note Packets that contain certain types of errors and packets sent to the CPU are not counted.

DeviceID Unique number identifying the device.

RevisionID Indicates the revision of the device.

SideBandFC Indicates whether serial sideband flow control is enabled on this port, and the status of ports where flow control is currently active.

SERDESGlbCntl Displays information about SERDES speed and receive (Rx) Gain on this port.

GlblEPDCntlCfg Cisco-specific register that shows whether Ethernet Packet Decoding is enabled.

Table 1 show controllers Command Field Descriptions (continued)

Field Description

ES-141Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 142: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow controllers (Ethernet)

TxFIFOUrecECCErrCtr Transmit (Tx) FIFO unrecoverable ECC errors counter. This counter increments once per each ECC unrecoverable error. A masked interrupt is optionally generated.

RxFIFOUrecECCErrCtr Receive (Rx) FIFO unrecoverable ECC errors counter. This counter increments once per each ECC unrecoverable error. A masked interrupt is optionally generated.

DeviceGlobalRst Global register that controls device reset state.

GlobalCfg Global register that controls enable, clock modes, and Rx Interface behavior.

PortTest Port diagnostics register.

PL4IOGlblStat Register used during SPI4.2 initialization.

DeviceTest Diagnostic loopback register.

MACStatus Port0 MAC control port register.

MACControl0 Port0 MAC control port register. Indicates whether the port is enabled on this port, and the status of flow control on this port.

MACControl1 Port0 MAC control port1 register. Indicates whether the port is enabled on this port, and the status of flow control on this port.

MACControl2 Port0 MAC control port2 register. Indicates whether the port is enabled on this port, and the status of flow control on this port.

SERDESCntl Port0 SERDES control port register. The following information is displayed:

• 0 = 50 Ohm

• 1 = 75 Ohm

RateLimCntl Port0 Rate Limit control port 10 register.

SysIntMask When the matching bit in the mask register is reset, the matching interrupt in the cause register is not included in the sum.

SysIntCause Register that tracks the causes of system interrupts.

GOPIntMask0 GOP interrupt Mask0. When the matching bit in the mask register is reset, the matching cause in the GOP register is not included in the sum.

GOPIntCause0 Register that tracks all GOP interrupts and matches them with the GOP0 register.

GOPIntMask1 GOP interrupt Mask1. When the matching bit in the mask register is reset, the matching cause in the GOP register is not included in the sum.

GOPIntCause1 Register that tracks all GOP interrupts and matches them with the Mask1 register.

GOPIntMask2 GOP interrupt Mask2. When the matching bit in the mask register is reset, the matching cause in the GOP register is not included in the sum.

GOPIntCause2 Register that tracks all GOP interrupts and matches them with the Mask2 register.

Table 1 show controllers Command Field Descriptions (continued)

Field Description

ES-142Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 143: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow controllers (Ethernet)

The following example shows the output from the show controllers TenGigE command:

RP/0/RSP0/CPU0:router# show controllers TenGigE 0/3/0/0

PHY:XENPAK device registers:========================

Vendor Name: CISCO-INTEL Vendor PN: TXN174112013F06Vendor Rev: A1Vendor SN: INT08270015

Package OUI: 0041f426Vendor OUI: 00137b11Vendor Date Code: 2004071200nvr_control_status = 0x0007nvr_version = 0x1envr_size0 = 0x01nvr_size1 = 0x00mem_used0 = 0x01mem_used1 = 0x00basic_addr = 0x0bcust_addr = 0x77vend_addr = 0xa7

GOPIntMask3 GOP interrupt Mask3. When the matching bit in the mask register is reset, the matching cause in the GOP register is not included in the sum.

GOPIntCause3 Register that tracks all GOP interrupts and matches them with the Mask3 register.

CalendarParam Register that determines the value of Calendar_LEN and Calendar M for the sink and source side.

SPI4SrcDPDeskew Register used to control the training pattern generation on the source side.

SrcClndrCmd Register used to program the CALENDAR slots in the calendar report generated by the device.

SnkCalSeqPrgm Register used to program the CALENDAR slots in the calendar report generated by the device.

SinkControl Register used to control the operation of the SPI-4.2 SINK section.

SPI4SrcMaxBrst Register used to determine the system parameters MaxBurst1 and MaxBurst2 on the source side. These values are used by the internal packet scheduler to initiate bursts on the SP-4.2 Rx interface.

SPI4IntfBrstLen Register used to determine the actual length of the data bursts on the SP-4.2 physical interfaces. These values are different than the system parameters MaxBurts1/2, which corresponds to SP-4.2 flow control.

TxPacketSize Maximum transmit packet size for the port, in hexadecimal format.

RxFullWatermarks Determines the internal RxFIFO full thresholds.

RxFIFOXOnOffFCWtrmrk Determines the generation of 802.3x PAUSE frames based on RxFIFO data fill thresholds.

Table 1 show controllers Command Field Descriptions (continued)

Field Description

ES-143Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 144: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow controllers (Ethernet)

ext_vend_addr0= 0x00ext_vend_addr1= 0xffreserved0 = 0x00tcvr_type = 0x01connector = 0x01encoding = 0x01bitrate0 = 0x27bitrate1 = 0x10protocol = 0x01x_gbe_code_byte_0 = 0x02x_gbe_code_byte_1 = 0x00sonet_sdh_code_byte_0 = 0x00sonet_sdh_code_byte_1 = 0x00sonet_sdh_code_byte_2 = 0x00sonet_sdh_code_byte_3 = 0x00x_gfc_code_byte_0 = 0x00x_gfc_code_byte_1 = 0x00x_gfc_code_byte_2 = 0x00x_gfc_code_byte_3 = 0x00range0 = 0x03range1 = 0xe8fibre_type_byte_0 = 0x20fibre_type_byte_1 = 0x00

Center Wavelength:chan0 = 1310.00 nm

chan1 = 0.00 nm chan2 = 0.00 nm chan3 = 0.00 nm

basic_checksum = 0x00

Link Alarm Status Registers:rx_alarm_control = 0x0019tx_alarm_control = 0x0059lasi_control = 0x0000rx_alarm_status = 0x0018tx_alarm_status = 0x0058lasi_status = 0x0005

Digital Optical Monitoring: Transceiver Temp: 34.246 CLaser Bias Current: 4.8640 mALaser Output Power: 0.5059 mW, -3.0 dBmReceive Optical Power: 0.0000 mW, -inf dBm

Quake: devid 0x0043a40010GE PMA/PMD Registers:Control = 0x2040 Status = 0x0082 Dev ID 0 = 0x0043 Dev ID 1 = 0xa400 Speed Ability = 0x0001 Devices 1 = 0x001a Devices 2 = 0x0000 Control 2 = 0x0006 Status 2 = 0xb541 TxDisable = 0x0000 Rx Signal Detect = 0x0000 OUI 0 = 0x0041 OUI 1 = 0xf426

Quake (1.c001) = 0x0003

10GE PCS Registers:Control = 0x2040 Status = 0x0082 Dev ID 0 = 0x0043 Dev ID 1 = 0xa400 Speed Ability = 0x0001 Devices 1 = 0x001a Devices 2 = 0x0000 Control 2 = 0x0000 Status 2 = 0x8401 PKG ID 0 = 0x0000 PKG ID 1 = 0x0000 Base X Status = 0x0000 Base X Control = 0x0000 Base R Status 1 = 0x0004 Base R Status 2 = 0x0000 Base R jitter seed a0 = 0x0000 Base R jitter seed a1 = 0x0000 Base R jitter seed a2 = 0x0000 Base R jitter seed a3 = 0x0000 Base R jitter seed b0 = 0x0000 Base R jitter seed b1 = 0x0000 Base R jitter seed b2 = 0x0000 Base R jitter seed b3 = 0x0000 Base R jitter test control = 0x0000 Base R jitter test counter = 0x0000

ES-144Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 145: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow controllers (Ethernet)

10GE XS/XS Registers:Control = 0x2040 Status = 0x0002Dev ID 0 = 0x0043 Dev ID 1 = 0xa400Speed Ability = 0x0001 Devices 1 = 0x001a Devices 2 = 0x0000 Status 2 = 0x8000 PKG ID 0 = 0x0000 PKG ID 1 = 0x0000 Lane Status = 0x1c0f Test Control = 0x0000

DTE XGXS (BCM8011):Control = 0x0000 Status = 0x801fDev ID 0 = 0x0040 Dev ID 1 = 0x6092Control 2 = 0x202fStatus 2 = 0x8b01

Speed Ability = 0x0001 Devices 1 = 0x001a Devices 2 = 0x0000 Status 2 = 0x8000 PKG ID 0 = 0x0000 PKG ID 1 = 0x0000 Lane Status = 0x1c0f Test Control = 0x0000

DTE XGXS (BCM8011):Control = 0x0000 Status = 0x801fDev ID 0 = 0x0040 Dev ID 1 = 0x6092Control 2 = 0x202fStatus 2 = 0x8b01

MAC (PLA):Unicast MAC Address entries = 0

MAC (PLA) device is enabledMAC (PLA) device is in promiscuous modeMAC (PLA) device loopback is disabled

MAC (PLA) device MTU = 8226

8x10GE PLIM Registers:local_regs_id = 0xa6602000 local_regs_inter_stat = 0x00000000 local_regs_inter_stat_alias = 0x00000000 local_regs_inter_enbl_woset = 0x0000ff00 local_regs_inter_enbl_woclr =0x0000ff00 local_regs_chip_reset = 0x00000000 local_regs_reset = 0xff000000 local_regs_misc_io = 0x00010000 sn_link_framed = 0x00000001 sn_link_crc_errors = 0x00000000 sn_link_force_reframe = 0x00000000 sn_link_error_reframe = 0x00000001 sn_link_force_error = 0x00000000 sn_link_error_cause = 0x00000000 sn_link_error_interrupt_mask = 0x00000003 channel0_control = 0x000000a6 channel1_control = 0x000000a6 channel2_control = 0x0000008e channel3_control = 0x0000008e channel4_control = 0x0000008e channel5_control = 0x000000a6 channel6_control = 0x000000a6 channel7_control = 0x0000008e

RP/0/RSP0/CPU0:router#

ES-145Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 146: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow ethernet cfm ccm-learning-database

show ethernet cfm ccm-learning-database

show ethernet cfm ccm-learning-database [ location node-id ]

RP/0/RSP0/CPU0:router(config-if)# show ethernet cfm ccm-learning-database

Location 0/1/CPU0:

Domain/Level Service Source MAC Interface---------------------- -------------------- -------------- ------------------fig/5 bay 1122.3344.5566 Gi0/12/0/10.23456fig/5 bay 2222.3344.5566 Gi0/1/0/0fig/5 fred 2233.4455.6677 Gi0/1/0/1.1fig/5 fred 3344.5566.7788 Gi0/0/1/1.2

ES-146Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 147: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow ethernet cfm configuration-errors

show ethernet cfm configuration-errors

show ethernet cfm configuration-errors [ domain name [ service name [ id ] ] | interface intf [ domain name ] ]

RP/0/RSP0/CPU0:router(config-if)# show ethernet cfm cfm configuration-errors Domain fig (level 5), Service bay * MIP creation configured using bridge-domain blort, but bridge-domain blort does not exist. * An Up MEP is configured for this domain on interface GigabitEthernet0/1/2/3.234 and an Up MEP is also configured for domain blort, which is at the same level (5). * A MEP is configured on interface GigabitEthernet0/3/2/1.1 for this domain/service, which has CC interval X, but the lowest interval supported on that interface is Y

ES-147Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 148: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Reference

ES-148Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 149: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow ethernet cfm interfaces statistics

show ethernet cfm interfaces statisticsTo display the per-interface counters, use the clear ethernet cfm interfaces statistics command in interface configuration mode.

show ethernet cfm interfaces {GigabitEthernet | TenGigE} statistics location { node-id | all }

Defaults All CFM counters from all interfaces are displayed.

Command Modes Interface configuration

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Note The location cannot be specified if a particular interface is specified.

Task ID

Examples The following example shows all the CFM counters on all interfaces:

RP/0/RSP0/CPU0:router(config-if)# show ethernet cfm interfaces

Location 0/1/CPU0:

Interface Malformed Dropped Last Malformed Reason----------------- --------- --------- ---------------------Gi0/12/0/10.23456 2345 1234 Packet malformed - packet is too shortGi0/1/0/0 0 12345Gi0/1/0/1.1 0 0

{GigabitEthernet | TenGigE}

Type of Ethernet interface whose CFM statistics you want to display. Enter GigabitEthernet or TenGigE.

location node-id (Optional) Displays CFM statistics for the designated node. The node-id argument is entered in the rack/slot/module notation.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

interface read, write

ES-149Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 150: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow ethernet cfm interfaces statistics

Related Commands Command Description

clear ethernet cfm interfaces

Clears the per-interface CFM counters.

ES-150Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 151: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow ethernet cfm local maintenance-points

show ethernet cfm local maintenance-pointsTo display all the maintenance points that have been created, use the show ethernet cfm local maintenance-points command in interface configuration mode.

show ethernet cfm local maintenance-points [ domain name [ service name ] | interface {GigabitEthernet | TenGigE} ] [ mep | mip ]

Syntax Description

Defaults All maintenance points from all interfaces are displayed.

Command Modes Interface configuration

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Note The location cannot be specified if a particular interface is specified.

Task ID

Examples The following example shows all the CFM counters on all interfaces:

domain name String of a maximum of 154 characters that identifies the domain in which the maintenance points reside.

Note For more information about the syntax for the Cisco ASR 9000 Series Router, use the question mark (?) online help function.

service name String of a maximum of 154 characters that identifies the maintenance association to which the maintenance points belong.

interface {GigabitEthernet | TenGigE}

Type of Ethernet interface whose maintenance points you want to display. Enter GigabitEthernet or TenGigE.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

interface read, write

ES-151Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 152: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow ethernet cfm local maintenance-points

Domain/Level Service Interface Type ID MAC-------------------- ------------------- ----------------- ------ ---- --------fig/5 bay Gi0/10/0/12.23456 Dn MEP 2 44:55:66fig/5 bay Gi0/0/1/0.1 MIP 55:66:77fred/3 barney Gi0/1/0/0.1 Up MEP 5 66:77:88!

Related Commands Command Description

clear ethernet cfm interfaces

Clears all the maintenance points that have been created.

ES-152Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 153: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow ethernet cfm local maintenance-points

show ethernet cfm local maintenance-points

ES-153Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 154: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow ethernet cfm local meps

show ethernet cfm local meps

show ethernet cfm local meps [ domain name [ service name [ mep-id id ] ] | interface intf [ domain name ] ]

Domain fig (level 5), Service bay: ID Interface Dir MAC Address CcmSent CcmRcvd RD MEPs Err 2 Gi0/10/0/12.23456 (Down) Dn 2233.4455.6677 3456 54321 N 5 0 125 Gi0/1/0/0.1 (Up) Up 3344.5566.7788 1234 65432 Y 4 1

Domain fig (level 5), Service fred (cross-check suppressed) ID Interface Dir MAC Address CcmSent CcmRcvd RD MEPs Err12345 Gi0/0/0/0 (Up) Dn 1122.3344.5566 12345678 123456789 Y 1234 567

ES-154Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 155: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow ethernet cfm peer meps

show ethernet cfm peer meps

show ethernet cfm peer meps [ domain name [ service name [ local mep-id id ] [ peer mep-id id peer mac-address mac ]] | interface intf [ domain name [ peer mep-id id ] [ peer mac-address mac ]] ] [ errors | cross-check [ missing | unexpected ] ] [ detail ]

Normal output:

Flags: > - Ok I - Wrong interval R - Remote Defect received V - Wrong level L - Loop (our MAC received) T - Timed out C - Config (our ID received) M - Missing (cross-check) X - Cross-connect (wrong MAID) U - Unexpected (cross-check)

Domain fred (level 7), Service barneyUp MEP on GigabitEthernet0/1/0/0.234, MEP-ID 2================================================================================St ID MAC address Port Up/Downtime CcmRcvd SeqErr RDI Error-- ----- -------------- ------- ----------- --------- ------ ----- ----- > 1 0011.2233.4455 Up 00:00:01 1234 0 0 0R> 4 4455.6677.8899 Up 1d 03:04 3456 0 234 0L 2 1122.3344.5566 Up 3w 1d 6h 3254 0 0 3254C 2 7788.9900.1122 Test 00:13 2345 6 20 2345X 3 2233.4455.6677 Up 00:23 30 0 0 30I 3 3344.5566.7788 Down 00:34 12345 0 300 1234V 3 8899.0011.2233 Blocked 00:35 45 0 0 45 T 5 5566.7788.9900 00:56 20 0 0 0M 6 0 0 0 0U> 7 6677.8899.0011 Up 00:02 456 0 0 0

Domain fred (level 7), Service fig (cross-check suppressed)Down MEP on GigabitEthernet0/10/0/12.123, MEP-ID 3================================================================================St ID MAC address Port Up/Downtime CcmRcvd SeqErr RDI Error-- ----- -------------- ------- ----------- -------- ------ ----- ----- > 1 9900.1122.3344 Up 03:45 4321 0 0 0

Detailed output:

Domain fred (level 7), Service barneyUp MEP on GigabitEthernet0/1/0/0.234, MEP-ID 2================================================================================Remote MEP-ID 3, MAC 1122.3344.5566 CFM state: Ok, for 00:45, RDI received Port state: Up CCMs received: 1234 Out-of-sequence: 6 RDI: 345 Error: 0 Last CCM received 0.234s ago: Level: 7, version: 0, interval: 1s Sequence no: 291, MEP-ID: 3

ES-155Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 156: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow ethernet cfm peer meps

MAID: string fred, string barney Hostname: router1, address: 10.0.0.1 Port status: Up, Interface status: Up Organisational TLV (OUI: 23456): 0x01234567 89ABCDEF 12

Remote MEP-ID 4, MAC 2233.4455.6677 CFM state: Cross-connect (MAID: string fred, string wilma), for 01:23 Port state: Blocked CCMs received: 4321 Out-of-sequence: 24 RDI: 0 Error: 4321 Last CCM received 0.654s ago: Level: 7, version: 0, interval: 1s Sequence no: 7654, MEP-ID: 4 MAID: string fred, string wilma Hostname: router2, address: 10.0.0.2 Port status: Blocked, Interface status: Up Unknown TLV (type 32): 0xFEDCBA98

ES-156Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 157: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow ethernet cfm traceroute-cache

show ethernet cfm traceroute-cacheTo display the contents of the traceroute cache, use the show ethernet cfm traceroute-cache command in privileged EXEC mode.

show ethernet cfm traceroute-cache

Syntax Description This command has no arguments or keywords.

Command Modes Privileged EXEC (#)

Command History

Usage Guidelines Use the show ethernet cfm traceroute-cache command to display the contents of the traceroute cache; for example, to see the maintenance intermediate points and maintenance end points of a domain as they were discovered. The data is historic. The traceroute cache stores entries from previous traceroute operations.

Examples The following example shows output from a show ethernet cfm traceroute-cache command:

Router# show ethernet cfm traceroute-cache

Traceroute to aabb.cc00.0400 on Domain DOMAIN_OPERATOR_L5_1, Level 5, vlan 7 issued at 13:52:20 -------------------------------------------------------------------------------- MAC Ingress Ingress Action Relay Action Hops Host Forwarded Egress Egress Action Next Hop --------------------------------------------------------------------------------B 1 denver aabb.cc00.0200 RlyCCDB Forwarded Et0/0 EgrOK columbus ! 2 boston aabb.cc00.0400 RlyNone

Table 2 describes the significant fields shown in the display.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Table 2 show ethernet cfm traceroute-cache Field Descriptions

Field Description

Hops Number of hops of the traceroute

Host Name of the device

MAC Bridge Brain MAC address of the device

Forwarded Traceroute forwarded or not forwarded

Ingress Ingress port

ES-157Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 158: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow ethernet cfm traceroute-cache

Related Commands

Egress Egress port

Ingress Action Action on the ingress port: IngOk, IngFilter, IngBlocked

Egress Action Action on the egress port: EgrNone, EgrTTL, EgrDown, EgrBlocked, EgrOk, EgrGVRP, EgrDomainBoundary, EgrFiltered

Relay Action Type of relay action performed: RlyNone, RlyUnknown, RlyFDB, RlyCCDB, RlyFiltered

Next Hop Hostname of the neighboring device

Table 2 show ethernet cfm traceroute-cache Field Descriptions (continued)

Field Description

Command Description

ethernet cfm traceroute cache

Enables caching of Ethernet CFM data learned through traceroute messages.

clear ethernet cfm traceroute-cache

Removes the contents of the traceroute cache.

traceroute ethernet cfm (basic linktrace)

Sends Ethernet CFM traceroute messages to a destination MAC address.

ES-158Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 159: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow ethernet oam configuration

show ethernet oam configurationUse the show ethernet oam configuration command to display the current active OAM configuration on an interface.

show ethernet oam configuration interface {GigabitEthernet | TenGigE}

Syntax Description

Defaults No default behavior or values

Command Modes EXEC

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Examples The following example shows the output from the show ethernet oam configuration command, which displays the current active OAM configuration on the specified interface:

# show ethernet oam configuration

Link monitoring enabled: NRemote loopback enabled: NMib retrieval enabled: NConfigured mode: ActiveConnection timeout: 00000000000000005Symbol period window: 00000000000000100Symbol period low threshold: 00000000000000001Symbol period high threshold: NoneFrame window: 00000000000000001Frame low threshold: 00000000000000001Frame high threshold: NoneFrame period window:: 00000000000001000Frame period low threshold: 00000000000000001Frame period high threshold: None

{GigabitEthernet | TenGigE}

Type of Ethernet interface whose active OAM configuration you want to display. Enter GigabitEthernet or TenGigE.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

interface read

ES-159Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 160: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow ethernet oam configuration

Frame seconds window:: 00000000000000060Frame seconds low threshold: 00000000000000001Frame seconds high threshold: NoneHigh threshold action: DisabledLink fault action: LogDying gasp action: LogCritical event action: LogDiscovery timeout action: LogCapabilities conflict action: LogWiring conflict action: DisableSession up action: LogSession down action: LogRequire remote mode: IgnoreRequire remote MIB retrieval: NRequire remote loopback support: NRequire remote link monitoring: N

Related Commands Command Description

ethernet cfm traceroute cache

Enables caching of Ethernet CFM data learned through traceroute messages.

clear ethernet cfm traceroute-cache

Removes the contents of the traceroute cache.

traceroute ethernet cfm (basic linktrace)

Sends Ethernet CFM traceroute messages to a destination MAC address.

ES-160Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 161: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow ethernet oam discovery

show ethernet oam discoveryThis command shows the current status of the OAM sessions. If no interface is specified, then reports for all interfaces with OAM configured are printed.

show ethernet oam discovery [brief | interface interface [remote]]

Syntax Description This command has no arguments or keywords.

Command Modes Privileged EXEC (#)

Command History

Usage Guidelines Use the show ethernet oam discovery command to display the contents of the traceroute cache; for example, to see the maintenance intermediate points and maintenance end points of a domain as they were discovered. The data is historic. The traceroute cache stores entries from previous traceroute operations.

Examples The following example shows output from a show ethernet oam discovery command:

Router# show ethernet oam discovery

GigabitEthernet0/0/6/11Local client Administrative configuration: Mode: Active Unidirection: N Link monitor: N Remote loopback: Y MIB retrieval: Y MTU size: 1500

Operational status: Port status: operational/evaluating/unsatisfied PDU revision: 1

Remote client MAC address: 0030.96fd.6bfa Vendor (OUI): 00.00.0C (Cisco)

Administrative configuration: Mode: active Unidirection: not supported Link monitor: supported Remote loopback: supported MIB retrieval: not supported MTU size: 1500

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

ES-161Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 162: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow ethernet oam discovery

When the 'remote' keyword is specified, the output is displayed as if run on the remote client.

The 'brief' form of the command provides a summary of all interfaces.

# show ethernet oam discovery brief Local RemoteInterface MAC Address Vendor Mode Capability

Fa3/1 0080.09ff.e4a0 00000C active L R Gi6/11 0030.96fd.6bfa 00000C passive L R

Related Commands Command Description

ethernet cfm traceroute cache

Enables caching of Ethernet CFM data learned through traceroute messages.

clear ethernet cfm traceroute-cache

Removes the contents of the traceroute cache.

traceroute ethernet cfm (basic linktrace)

Sends Ethernet CFM traceroute messages to a destination MAC address.

ES-162Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 163: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow mac-accounting (Ethernet)

show mac-accounting (Ethernet)To display MAC accounting statistics for an interface, use the show mac-accounting command in EXEC mode.

show mac-accounting {GigabitEthernet | TenGigE} instance [location node-id]

Syntax Description

Defaults No default behavior or values

Command Modes EXEC

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

{GigabitEthernet | TenGigE}

Indicates the type of Ethernet interface whose MAC accounting statistics you want to display. Enter GigabitEthernet or TenGigE.

instance (Optional) Displays detailed MAC accounting information for the specified interface. The naming notation is rack/slot/module/port, and a slash between values is required as part of the notation.

• rack—Chassis number of the rack.

• slot—Physical slot number of the line card or modular services card.

• module—Module number. A physical layer interface module (PLIM) is always 0.

• port—Physical port number of the interface.

Note For more information about the syntax for the Cisco ASR 9000 Series Router, use the question mark (?) online help function.

location node-id (Optional) Displays detailed MAC accounting information for the specified interface on the specified node. The node-id argument is entered in the rack/slot/module/port notation.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

interface read

ES-163Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 164: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow mac-accounting (Ethernet)

Examples The following example shows the output from the show mac-accounting command, which displays MAC accounting statistics on the specified interface:

RP/0/RSP0/CPU0:router# show mac-accounting TenGigE 0/2/0/4 location 0/1/CPU0

TenGigE0/2/0/4 Input (511 free)

000b.4558.caca: 4 packets, 456 bytes Total: 4 packets, 456 bytes

Table 3 describes the significant fields shown in the display.

Related Commands

Table 3 show mac-accounting Field Descriptions

Field Description

Interface The interface from which the statistics are generated.

Input Heading for the ingress MAC accounting statistics. The number of MAC accounting entries still available is shown in parentheses.

Total Total statistics for the traffic accounted for by MAC accounting. This excludes any traffic for which there is no MAC address entry, such as non-IP traffic from an unknown MAC source address.

Command Description

clear mac-accounting (Ethernet) Clears MAC accounting statistics.

mac-accounting Generates MAC accounting statistics.

ES-164Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 165: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow spanning-tree mst

show spanning-tree mst This command produces more detailed information regarding interface state than the standard command as described above. In particular it includes interface information about that interface which applies to all MSTIs:

• Cost

• link-type

• hello-time

• portfast (including whether BPDU guard is enabled)

• guard root

• guard topology change

• BPDUs sent, received.

and information specific to each MSTI

• Port ID, Priority, Cost

• BPDU info from root (Bridge ID, cost, priority)

• BPDU info being sent on this port (Bridge ID, cost, priority)

• State transitions to reach this state.

show spanning-tree mst protocol instance identifier interface {GigabitEthernet | TenGigE} [ instance msti ]

Syntax Description protocol instance identifier

(Optional) Displays detailed MAC accounting information for the specified interface. The naming notation is rack/slot/module/port, and a slash between values is required as part of the notation.

• rack—Chassis number of the rack.

• slot—Physical slot number of the line card or modular services card.

• module—Module number. A physical layer interface module (PLIM) is always 0.

• port—Physical port number of the interface.

Note For more information about the syntax for the Cisco ASR 9000 Series Router, use the question mark (?) online help function.

ES-165Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 166: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow spanning-tree mst

Defaults No default behavior or values

Command Modes EXEC

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Examples Here’s the example:

# show spanning-tree mst a interface GigabitEthernet0/1/2/1 instance 3GigabitEthernet0/1/2/1 Cost: 20000link-type: point-to-pointhello-time 1Portfast: noBPDU Guard: noGuard root: noGuard topology change: noBPDUs sent 492, received 3

MST 3:

{GigabitEthernet | TenGigE}

Indicates the type of Ethernet interface whose MAC accounting statistics you want to display. Enter GigabitEthernet or TenGigE.

instance msti (Optional) Displays detailed MAC accounting information for the specified interface. The naming notation is rack/slot/module/port, and a slash between values is required as part of the notation.

• rack—Chassis number of the rack.

• slot—Physical slot number of the line card or modular services card.

• module—Module number. A physical layer interface module (PLIM) is always 0.

• port—Physical port number of the interface.

Note For more information about the syntax for the Cisco ASR 9000 Series Router, use the question mark (?) online help function.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

interface read

ES-166Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 167: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow spanning-tree mst

Edge port: Boundary : internalDesignated forwarding Vlans mapped to MST 3: 1-2,4-2999,4000-4094 Port info port id 128.193 cost 200000 Designated root address 0050.3e66.d000 priority 8193 cost 20004 Designated bridge address 0002.172c.f400 priority 49152 port id 128.193 Timers: message expires in 0 sec, forward delay 0, forward transitions 1 Transitions to reach this state: 12

Related Commands Command Description

clear mac-accounting (Ethernet) Clears MAC accounting statistics.

mac-accounting Generates MAC accounting statistics.

ES-167Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 168: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referencetraceroute ethernet cfm (basic linktrace)

traceroute ethernet cfm (basic linktrace)To send Ethernet connectivity fault management (CFM) traceroute messages to generate a directed, basic, or exploratory linktrace, use the traceroute ethernet command in EXEC mode.

traceroute ethernet cfm domain name service name { mep-id id | mac mac } source [ mep-id id ] interface intf [ cos cos_val ] [ filtering-db-only ] [ timeout time ]

Syntax Description

Defaults No default behavior or values

Command Modes EXEC

Command History

traceroute ethernet cfm

domain name String of a maximum of 154 characters that identifies the domain in which the destination MEP resides.

Note For more information about the syntax for the Cisco ASR 9000 Series Router, use the question mark (?) online help function.

service name String of a maximum of 154 characters that identifies the maintenance association to which the destination MEP belongs.

mep-id id String of a maximum of 154 characters that identifies the ID number of the destination MEP.

mac mac Identifies the six-byte ID number of the MAC address of the destination MEP.

source

mep-id id (Optional) String of a maximum of 154 characters that identifies the ID number of the source MEP.

interface intf (Optional) Identifies the interface of the source MEP. It must be an existing interface.

cos cos_val (Optional) Identifies the class of traffic of the source MEP by setting a Class of Service (CoS) value. The valid values are from 0 to 7.

filtering-db-only Sets whether or not the that remote MPs should base their responses on the filtering database only. Default: no (use both the filtering and MIP-CCM databases).

timeout time (Optional) Displays the time-to-live (TTL) value for the specified interface on the specified node. The time argument is entered in seconds.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

ES-168Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 169: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referencetraceroute ethernet cfm (basic linktrace)

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Examples Domain fig (level 5), Service bay: ID Interface Dir MAC Address CcmSent CcmRcvd RD MEPs Err 2 Gi0/10/0/12.23456 (Down) Dn 2233.4455.6677 3456 54321 N 5 0 125 Gi0/1/0/0.1 (Up) Up 3344.5566.7788 1234 65432 Y 4 1

Domain fig (level 5), Service fred (cross-check suppressed) ID Interface Dir MAC Address CcmSent CcmRcvd RD MEPs Err12345 Gi0/0/0/0 (Up) Dn 1122.3344.5566 12345678 123456789 Y 1234 567

Related Commands

Task ID Operations

interface read

Command Description

ethernet cfm traceroute cache

Enables caching of Ethernet CFM data learned through traceroute messages.

clear ethernet cfm traceroute-cache

Removes the contents of the traceroute cache.

show ethernet cfm traceroute-cache

Displays configured Ethernet CFM traceroute message caching.

ES-169Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 170: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referencetraceroute ethernet cfm (exploratory linktrace)

traceroute ethernet cfm (exploratory linktrace)

traceroute ethernet cfm domain name service name {explore [ all-ports ] [ from mac ] source [ mep-id id ] interface intf [ cos cos_val ] [ filtering-db-only ] [ timeout time ]

Syntax Description

Defaults No default behavior or values

Command Modes EXEC

Command History

traceroute ethernet cfm

domain name String of a maximum of 154 characters that identifies the domain in which the destination MEP resides.

Note For more information about the syntax for the Cisco ASR 9000 Series Router, use the question mark (?) online help function.

service name String of a maximum of 154 characters that identifies the maintenance association to which the destination MEP belongs.

explore Identifies that this is an exploratory linktrace.

all-ports String of a maximum of 154 characters that identifies ID number of the destination MEP.

from mac Identifies the six-byte ID number of the MAC address of the destination MEP.

source

mep-id id (Optional) String of a maximum of 154 characters that identifies the ID number of the source MEP.

interface intf (Optional) Identifies the interface of the source MEP. It must be an existing interface.

cos cos_val (Optional) Identifies the class of traffic of the source MEP by setting a CoS value. The valid values are from 0 to 7.

filtering-db-only Sets whether or not the that remote MPs should base their responses on the filtering database only. Default: no (use both the filtering and MIP-CCM databases).

timeout time (Optional) Displays the time-to-live (TTL) value for the specified interface on the specified node. The time argument is entered in seconds.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

ES-170Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 171: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referencetraceroute ethernet cfm (exploratory linktrace)

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Examples Domain fig (level 5), Service bay: ID Interface Dir MAC Address CcmSent CcmRcvd RD MEPs Err 2 Gi0/10/0/12.23456 (Down) Dn 2233.4455.6677 3456 54321 N 5 0 125 Gi0/1/0/0.1 (Up) Up 3344.5566.7788 1234 65432 Y 4 1

Domain fig (level 5), Service fred (cross-check suppressed) ID Interface Dir MAC Address CcmSent CcmRcvd RD MEPs Err12345 Gi0/0/0/0 (Up) Dn 1122.3344.5566 12345678 123456789 Y 1234 567

Related Commands

Task ID Operations

interface read

Command Description

ethernet cfm traceroute cache

Enables caching of Ethernet CFM data learned through traceroute messages.

clear ethernet cfm traceroute-cache

Removes the contents of the traceroute cache.

show ethernet cfm traceroute-cache

Displays configured Ethernet CFM traceroute message caching.

ES-171Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 172: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Reference802.1Q VLAN Subinterface Commands on Cisco ASR 9000 Series Routers

802.1Q VLAN Subinterface Commands on Cisco ASR 9000 Series Routers

This section describes the commands for configuring and monitoring 802.1Q VLAN commands on Cisco ASR 9000 Series Router.

This section containd the following commands:

• dot1q native vlan, page 173

• dot1q tunneling ethertype 0x9100, page 175

• dot1q vlan, page 177

• interface (VLAN), page 179

• l2protocol (VLAN), page 181

• show vlan interface, page 183

• show vlan tags, page 185

• show vlan trunks, page 187

ES-172Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 173: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referencedot1q native vlan

dot1q native vlanTo assign the native VLAN ID of a physical interface trunking 802.1Q VLAN traffic, use the dot1q native vlan command in interface configuration mode. To remove the VLAN ID assignment, use the no form of this command.

dot1q native vlan vlan-id

no dot1q native vlan vlan-id

Syntax Description

Defaults No default behavior or values

Command Modes Interface configuration

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The dot1q native vlan command defines the default, or native VLAN, associated with a 802.1Q trunk interface. The native VLAN of a trunk interface is the VLAN to which all untagged VLAN packets are logically assigned.

Note The native VLAN cannot be configured on a subinterface of the trunk interface. The native VLAN must be configured with the same value at both ends of the link, or traffic can be lost or sent to the wrong VLAN.

Task ID

Examples The following example shows how to configure the native VLAN of a TenGigE0/2/0/4 trunk interface as 1. Packets received on this interface that are untagged, or that have an 802.1Q tag with VLAN ID 1, are received on the main interface. Packets sent from the main interface are transmitted without an 802.1Q tag.

RP/0/RSP0/CPU0:router(config)# interface TenGigE 0/2/0/4RP/0/RSP0/CPU0:router(config-if)# dot1q native vlan 1

vlan-id Trunk interface ID. Range is from 1 to 4094 inclusive (0 and 4095 are reserved).

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

vlan read, write

ES-173Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 174: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referencedot1q native vlan

Related Commands Command Description

dot1q vlan Assigns a VLAN ID to a subinterface, or changes the VLAN ID assigned to a subinterface.

ES-174Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 175: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referencedot1q tunneling ethertype 0x9100

dot1q tunneling ethertype 0x9100To configure the Ethertype used by peer devices when implementing Q-in-Q VLAN tagging to be 0x9100, use the dot1q tunneling ethertype command in interface configuration mode for an Ethernet interface. To return to the default configuration of Ethertype 0x8100, use the no form of this command.

dot1q tunneling ethertype 0x9100

no dot1q tunneling ethertype 0x9100

Syntax Description This command has no arguments or keywords.

Defaults The Ethertype field used by peer devices when implementing Q-in-Q VLAN tagging is 0x8100.

Command Modes Interface configuration

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Q-in-Q tunneling uses a second ethertype and VLAN identification field that allows a service provider tag to be added to a packet that already has a customer VLAN tag.

Use the dot1q tunneling ethertype 0x9100 command if the peer switching devices are using an Ethertype field value of 0x9100. All Cisco switching devices use the default Ethertype field value of 0x8100.

After you issue the dot1q tunneling ethertype 0x9100 command, all peer devices will use that Ethertype when implementing Q-in-Q VLAN tagging.

Task ID

Examples The following example shows how to configure the inter-packet gap for a 10-Gigabit Ethernet interface:

RSP/0/0/CPU0:router# configureRSP/0/0/CPU0:router(config-if)# interface GigabitEthernet 0/1/5/0RSP/0/0/CPU0:router(config-if)# dot1q tunneling ethertype 0x9100

Related Commands

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

vlan read, write

ES-175Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 176: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referencedot1q tunneling ethertype 0x9100

Command Description

dot1q vlan Assigns a VLAN ID to a subinterface, or modifies the VLAN ID that is currently assigned to a subinterface.

ES-176Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 177: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referencedot1q vlan

dot1q vlanTo assign a VLAN ID to a subinterface (or to modify the VLAN ID that is currently assigned to a subinterface) use the dot1q vlan command in subinterface configuration mode. To remove the VLAN ID assigned to a subinterface, use the no form of this command.

On the Cisco CRS-1:

dot1q vlan vlan-id

no dot1q vlan vlan-id

On the Cisco XR 12000 Series Router.

dot1q vlan vlan-id [vlan-id2 | any]

no dot1q vlan vlan-id

Syntax Description

Defaults No default behavior or values

Command Modes Subinterface configuration

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The VLAN ID specifies where 802.1Q tagged packets are sent and received on a specified subinterface. An 802.1Q VLAN subinterface must have a configured VLAN ID to send and receive traffic; without a VLAN ID, the subinterface remains in the down state. All VLAN IDs must be unique among all

vlan-id ID of the subinterface. Range is from 1 to 4094 (0 and 4095 are reserved).

vlan-id2 (Optional) Identifies the host VLAN of a Q-in-Q VLAN pair. Replace vlan-id2 with a number that specifies the host VLAN. Range is from 1 to 4094.

Note The vlan-id2 argument is available for Q-in-Q VLANs on a 10-Gigabit Ethernet node only.

any (Optional) Identifies the host VLAN of a Q-in any VLAN pair.

Note The any keyword is available for Q-in-any VLANs on a 10-Gigabit Ethernet node only.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

ES-177Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 178: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referencedot1q vlan

subinterfaces configured on the same physical interface. To change a VLAN ID, the new VLAN must not already be in use on the same physical interface. To exchange VLAN IDs, you must remove the configuration information and reconfigure the ID for each device.

Note The subinterface does not pass traffic without an assigned VLAN ID.

Task ID

Examples The following example shows how to configure the VLAN ID and IP address on a subinterface:

RP/0/RSP0/CPU0:router# configure

RP/0/RSP0/CPU0:router(config)# interface TenGigE 0/2/0/4.1

RP/0/RSP0/CPU0:router(config-subif)# dot1q vlan 10

RP/0/RSP0/CPU0:router(config-subif)# ipv4 addr 10.0.0.1/24

The following example shows how to configure the VLAN IDs for both VLANS in a single Q-in-Q attachment circuit (AC). In this case, incoming traffic must match both of the VLAN IDs before it is accepted by the subinterface:

RSP/0/0/CPU0:router# configure

RSP/0/0/CPU0:router(config)# interface TenGigE 0/2/0/4.1

RSP/0/0/CPU0:router(config-subif)# dot1q vlan 10 20

The following example shows how to configure the VLAN IDs for a Q-in-any AC. In this case, all incoming traffic must have two VLAN tags, where the outer VLAN ID matches the configured value, while the inner VLAN ID can be any value.

RSP/0/0/CPU0:router# configure

RSP/0/0/CPU0:router(config)# interface TenGigE 0/2/0/4.1 l2transport

RSP/0/0/CPU0:router(config-subif)# dot1q vlan 10 any

Related Commands

Task ID Operations

vlan read, write

Command Description

dot1q native vlan Defines the native VLAN ID associated with a VLAN trunk.

show interfaces Displays statistics for all interfaces configured on the router or for a specific node,

show vlan interface Displays summarized information for the VLAN subinterfaces configured on your router.

show vlan tags Displays VLAN tagging allocation information.

ES-178Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 179: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceinterface (VLAN)

interface (VLAN)To create a VLAN subinterface, use the interface command in global configuration mode. To delete a subinterface, use the no form of this command.

interface {GigabitEthernet | TenGigE | FastEthernet | Bundle-Ether} instance.subinterface [l2transport]

no interface {GigabitEthernet | TenGigE | FastEthernet | Bundle-Ether} instance.subinterface [l2transport]

Syntax Description

Defaults No default behavior or values

Command Modes Global configuration

Command History

{GigabitEthernet | TenGigE}

Type of Ethernet interface on which you want to create a VLAN. Enter GigabitEthernet or TenGigE.

instance.subinterface Physical interface instance, followed by the subinterface identifier. Naming notation is instance.subinterface, and a period between arguments is required as part of the notation.

Replace the instance argument with one of the following Ethernet interface identifiers:

• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.

– rack—Chassis number of the rack.

– slot—Physical slot number of the card.

– module—Module number. A physical layer interface module (PLIM) is always 0.

– port—Physical port number of the interface.

Replace the subinterface argument with the subinterface value. Range is from 0 through 4095.

Note For more information about the syntax for the router, use the question mark (?) online help function.

l2transport Enables Layer 2 transport port mode on the specified VLAN interface and enters Layer 2 transport configuration mode. The l2transport keyword creates the Vlan interface in L2 mode so that it can be used for L2VPNs and local switching.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

ES-179Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 180: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceinterface (VLAN)

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

To configure a large number of subinterfaces, we recommend entering all configuration data before you commit the interface command.

To change an interface from Layer 2 to Layer 3 mode and back, you must delete the interface first and then re-configure it in the appropriate mode.

Note A subinterface does not pass traffic without an assigned VLAN ID.

Task ID

Examples The following example shows how to configure a VLAN subinterface on a 10-Gigabit Ethernet interface:

RP/0/RSP0/CPU0:router(config)# interface TenGigE 0/0/0/1.2

RP/0/RSP0/CPU0:router(config-subif)# dot1q vlan 1

RP/0/RSP0/CPU0:router(config-subif)# ipv4 address 50.0.0.1/24

The following example shows how to create a VLAN subinterface with Layer 2 transport port mode enabled, and enter Layer 2 transport configuration mode under that VLAN:

RSP/0/0/CPU0:router(config)# interface GigabitEthernet 0/4/0/1.1RP/0/RSP0/CPU0:router(config-if-l2)#

Related Commands

Task ID Operations

vlan read, write

Command Description

dot1q native vlan Defines the native VLAN ID associated with a VLAN trunk.

dot1q vlan Assigns a VLAN ID to a subinterface, or changes the VLAN ID assigned to a subinterface.

ES-180Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 181: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referencel2protocol (VLAN)

l2protocol (VLAN)To configure Layer 2 protocol tunneling and data units parameters on an VLAN interface, use the l2protocol command in subinterface configuration mode. To disable a Layer 2 protocol tunneling and Layer 2 protocol data units configuration, use the no form of this command.

l2protocol {cdp | pvst | stp | vtp} {[tunnel] experimental bits | drop}

no l2protocol

Syntax Description

Defaults All Layer 2 protocol data units are tunneled through the network without modification.

Command Modes Subinterface configuration

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The l2protocol command is accepted only when Layer 2 transport port mode is enabled on the interface.

Task ID

Examples The following example shows how configure a VLAN to drop CDP packets:

RP/0/RSP0/CPU0:router# configure

cdp Configures Cisco Discovery Protocol (CDP) tunneling and data unit parameters for the Ethernet interface.

pvst Configures VLAN spanning tree protocol tunneling and data unit parameters.

stp Configures spanning tree protocol tunneling and data unit parameters for the Ethernet interface.

vtp Configures VLAN trunk protocol tunneling and data unit parameters.

tunnel Tunnels the packets associated with the specified protocol.

experimental bits

Modifies the experimental bits for the specified protocol.

drop Drop packets associated with the specified protocol.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

l2vpn read, write

ES-181Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 182: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referencel2protocol (VLAN)

RP/0/RSP0/CPU0:router(config)# interface GigabitEthernet 0/1/5/0.1 l2transport

RP/0/RSP0/CPU0:router(config-subif)# l2protocol cdp drop

Related Commands Command Description

show interfaces Displays statistics for all interfaces configured on the router or for a specific node.

show l2vpn xconnect Displays brief information on configured xconnects.

ES-182Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 183: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow vlan interface

show vlan interfaceTo display summarized information about VLAN subinterfaces, use the show vlan interface command in EXEC mode.

show vlan interface [{GigabitEthernet | TenGigE } instance | location instance]

Syntax Description

Defaults No default behavior or values

Command Modes EXEC

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

{GigabitEthernet | TenGigE }

(Optional) Type of Ethernet interface whose VLAN information you want to display. Enter GigabitEthernet or TenGigE.

instance.subinterface Physical interface instance, followed by the subinterface identifier. Naming notation is instance.subinterface, and a period between arguments is required as part of the notation.

Replace the instance argument with one of the following Ethernet interface identifiers:

• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.

– rack—Chassis number of the rack.

– slot—Physical slot number of the card.

– module—Module number. A physical layer interface module (PLIM) is always 0.

– port—Physical port number of the interface.

Replace the subinterface argument with the subinterface value. Range is from 0 through 4095.

Note For more information about the syntax for the router, use the question mark (?) online help function.

location instance (Optional) Displays VLAN subinterfaces on a particular port. The instance argument is entered in the rack/slot/module/port notation.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

ES-183Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 184: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow vlan interface

Enter the show vlan interface command without including any of the optional parameters to display summarized information about all VLANs configured on the router.

Task ID

Examples The following is sample output from the show vlan interface command:

RP/0/RSP0/CPU0:router#show vlan interface

Interface Encapsulation Outer 2nd Service MTU LineP VLAN VLAN StateGi0/1/5/0.1 802.1Q 10 L3 1518 upGi0/1/5/0.2 None L3 1518 down

RP/0/RSP0/CPU0:P2_ASR9K#

Table 4 describes the significant fields shown in the display.

Related Commands

Task ID Operations

vlan read

Table 4 show vlan interface Field Descriptions

Field Description

interface VLAN subinterface.

encapsulation Encapsulation of the VLAN subinterface. Currently, this is always 802.1Q.

Outer VLAN VLAN ID currently assigned to the subinterface. Range is from 1 to 4094 (or blank if no VLAN ID has been assigned).

2nd VLAN VLAN ID currently assigned to the second subinterface in a pair. Range is from 1 to 4094 (or blank if no VLAN ID has been assigned). For Q-in-any VLANS, this field shows “Any.”

Service Service currently assigned to the VLAN. Possible services are L2 and L3.

MTU Maximum transmission unit (MTU) value configured for the specified VLAN, in bytes.

LineP state Displays the line protocol state of the VLAN interface. Possible states: up, down, admin-down. The line protocol state reflects whether a VLAN ID is configured or not.

Command Description

show interfaces Displays statistics for all interfaces configured on the router. These statistics include VLAN L2 interface statistics.

show vlan trunks Displays summary information about VLAN trunk interfaces.

ES-184Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 185: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow vlan tags

show vlan tags To display VLAN tagging allocation information, use the show vlan tags command in EXEC mode.

show vlan tags [GigabitEthernet instance | TenGigE instance | location node-id]

Syntax Description

Defaults Enter the command without any of the optional keywords or arguments to display tagging allocation information for all VLANS configured on the router.

Command Modes EXEC

Command History

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Examples The following example shows how to display VLAN tagging allocation information for a router:

RP/0/RSP0/CPU0:router# show vlan tags

Interface Outer 2nd Service MTU LineP VLAN VLAN StateGi0/1/5/0.1 10 L3 1518 upGi0/1/5/0.2 20 L3 1518 upGi0/1/5/0.3 30 L3 1518 up

RP/0/RSP0/CPU0:router

GigabitEthernet instance

Displays VLAN tagging information for a specific Gigabit Ethernet interface.

Note Use the show interfaces GigabitEthernet command to see a list of all Ethernet interfaces currently configured on the router.

TenGigE instance Displays VLAN tagging information for a specific 10-Gigabit Ethernet interface.

Note Use the show interfaces TenGigE command to see a list of all10-Gigabit Ethernet interfaces currently configured on the router.

location node-id Displays VLAN tagging information for a specific node. The node-id argument is entered in the rack/slot/module notation.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

Task ID Operations

vlan read

ES-185Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 186: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow vlan tags

Table 5 describes the significant fields shown in the display

Related Commands

Table 5 show vlan tags Field Descriptions

Field Description

Outer Vlan The first (outermost) 802.1Q VLAN ID. This field is empty if no VLAN ID is configured. An asterisk (*) indicate the native VLAN.

2nd Vlan The second 802.1Q VLAN ID. This field reports “any” for a Q-in-Any service. If no VLAN ID is configured, then this field is empty.

Service Service currently assigned to the subinterface. Can be Layer 2 (L2) or Layer 3 (L3).

MTU Maximum transmission unit (MTU) value configured for the specified VLAN, in bytes.

LineP state Displays the state of the VLAN interface. Possible states: up, down, admin-down.

Command Description

dot1q vlan Assigns a VLAN ID to a subinterface, or modifies the VLAN ID that is currently assigned to a subinterface.

show vlan interface Displays summary information about each of the VLAN interfaces and subinterfaces.

show vlan trunks Displays information about the VLAN trunks currently configured on your router.

ES-186Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 187: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow vlan trunks

show vlan trunksTo display information about VLAN trunks, use the show vlan trunks command in EXEC mode.

show vlan trunks [brief] [location node-id] [type instance] [summary]

Syntax Description

Defaults No default behavior or values

Command Modes EXEC

Command History

type (Optional) Type of Ethernet interface whose VLAN trunk information you want to display. Possible Ethernet types are GigabitEthernet or TenGigE.

instance Either a physical interface instance.

Replace the instance argument with one of the following Ethernet interface identifiers:

• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.

– rack—Chassis number of the rack.

– slot—Physical slot number of the card.

– module—Module number. A physical layer interface module (PLIM) is always 0.

– port—Physical port number of the interface.

Note For more information about the syntax for the router, use the question mark (?) online help function.

brief (Optional) Displays a short summary output.

summary (Optional) Displays a summarize output.

Note The summary option can be specified only if the trunk interface is not specified.

location node-id (Optional) Displays VLAN trunk information for a specific node. The node-id is expressed in the rack/slot/module notation.

Note For more information about the syntax for the router, use the question mark (?) online help function.

Release Modification

Release 3.7 FCI This command was first introduced on the Cisco ASR 9000 Series Router.

ES-187Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 188: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow vlan trunks

Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The show vlan trunks command provides summary information about VLAN trunk interfaces. It is used to determine the number of configured subinterfaces and verify the state of the subinterfaces.

Task ID

Examples The following is sample output from the show vlan trunks command:

RP/0/RSP0/CPU0:router# show vlan trunks

GigabitEthernet0/4/0/0 is up Outer VLAN tag format is Dot1Q (0x8100) L3 Encapsulations: Ether, 802.1Q Sub-interfaces: 2 2 are up Single tag sub-interfaces: 2 No native VLAN Id L2 Encapsulations: 802.1Q VLAN ACs: 1 1 are up Single tag ACs: 1

Task ID Operations

vlan read

ES-188Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 189: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command Referenceshow vlan trunks

Table 6 describes the significant fields shown in the display.

Related Commands

Table 6 show vlan trunks summary Field Descriptions

Field Description

Outer VLAN tag format The first (outermost) 802.1Q VLAN Id.

• This field is empty if no VLAN ID is configured.

• An asterisk (*) indicates that a native VLAN is configured.

L3 Encapsulations VLAN encapsulations currently used for terminated Layer 3traffic. Possible Layer 3 encapsulations are as follows:

• Nat – A Native VLAN is configured.

• Q – One or more sub-interfaces are configured with either 0 or 1 802.1Q VLAN tags.

• 2Q – One or more sub-interfaces have been configured with two 802.1Q VLAN tags.

Sub-interfaces The number of subinterfaces configured on the main Ethernet interface, and the current state of those subinterfaces. Possible states are up, down, and admin-down.

Note The number of Down and Admin-down subinterfaces is only reported only if that number is greater than 0.

Single tag sub-interfaces: Number of sub-interfaces configured with a single 802.1Q tag.

Note The number of sub-interfaces is displayed only if that number is greater than 0.

No native VLAN Id Indicate that a native VLAN ID is not configured on this interface.

L2 Encapsulations: VLAN encapsulations currently used for terminated L2 traffic. Possible Layer 2 encapsulations are as follows:

• Q – One or more single 802.1Q tag ACs are configured.

• 2Q – One or more double 802.1Q tag ACs have been configured.

• Qany – One or more double 802.1Q tag ACs have been configured that have a wildcard “any” innertag.

VLAN ACs Number of ACs currently configured under the specified interface.

Single tag ACs Note The number of sub-interfaces sub-interfaces configured with a single 802.1Q tag is displayed only if that number is greater than 0.

Command Description

interface (VLAN) Displays summary information about each of the VLAN interfaces and subinterfaces.

ES-189Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 190: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command ReferenceWhere to Go Next

Where to Go NextWhen you have configured an Ethernet interface, you can configure individual VLAN subinterfaces on that Ethernet interface. For information about configuring VLAN subinterfaces, see the Configuring 802.1Q VLAN Interfaces on the Cisco ASR 9000 Series Router module in the Cisco ASR 9000 Series Hardware Intercaces Configuration Guide.

For information about modifying Ethernet management interfaces for the shelf controller (SC), route switch processor (RSP), and distributed RSP, see the Advanced Configuration and Modification of the Management Ethernet Interface on the Cisco ASR 9000 Series Router module in the Cisco ASR 9000 Series Hardware Intercaces Configuration Guide.

For information about ACLs (Access Server Lists) see the Implementing Access Lists and Prefix Lists on the Cisco ASR 9000 Series Router module in the Cisco ASR 9000 Series Aggregation Services Router IP Addresses and Services Configuration Guide.

Additional ReferencesThe following sections provide references related to implementing Gigabit and 10-Gigabit Ethernet interfaces.

ES-190Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 191: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command ReferenceAdditional References

Related Documents

Standards

MIBs

RFCs

Technical Assistance

Related Topic Document Title

Cisco IOS XR master command reference Cisco ASR 9000 Series Router Master Commands List

Information about user groups and task IDs Cisco ASR 9000 Series Router Interface and Hardware Component Command Reference

Standards Title

No new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature.

MIBs MIBs Link

There are no applicable MIBs for this module. To locate and download MIBs for selected platforms using Cisco IOS XR Software, use the Cisco MIB Locator found at the following URL:

http://cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml

RFCs Title

No new or modified RFCs are supported by this feature, and support for existing RFCs has not been modified by this feature.

Description Link

The Cisco Technical Support website contains thousands of pages of searchable technical content, including links to products, technologies, solutions, technical tips, and tools. Registered Cisco.com users can log in from this page to access even more content.

http://www.cisco.com/techsupport

ES-191Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 192: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Router Platform Dependent Command ReferenceAdditional References

ES-192Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 193: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration Examples

This chapter describes several ethernet services configuration examples on the Cisco ASR 9000 Series Aggregation Services Router using the command-line interface (CLI). The distributed Gigabit Ethernet and 10-Gigabit Ethernet architecture and features deliver network scalability and performance, while enabling service providers to offer high-density, high-bandwidth networking solutions designed to interconnect the router with other systems in POPs, including core and edge routers and Layer 2 and Layer 3 switches.

Configuring Layer 2 features on a Cisco ASR 9000 Series Router can vary from the very simple (aggregated Ethernet trunk interfaces, spanning trees), to the more complex (inner and outer VLAN tags, broadcast domains), to the very complicated (integrated bridging and routing, Layer 2 filtering). This chapter offers a fairly complex configuration for Layer 2 processing in a bridged environment.

Generally, there are four things that you must configure in an Layer 2 environment:

• Interfaces and virtual LAN (VLAN) tags—Layer 2 interfaces are usually various type of Ethernet links with VLAN tags used to connect to customer devices or other bridges or routers.

• Bridge domains and virtual switches—Bridge domains limit the scope of media access control (MAC) learning (and thereby the size of the MAC table) and also determine where the device should propagate frames sent to broadcast, unknown unicast, and multicast (BUM) MAC addresses. Virtual switches allow for the configuration of multiple, independent bridge domains.

• Spanning Tree Protocols (xSTP, where the “x” represents the STP type)—Bridges function by associating a MAC address with an interface, similar to the way a router associates an IP network address with a next-hop interface. Just as routing protocols use packets to detect and prevent routing loops, bridges use xSTP frames to detect and prevent bridging loops. (Layer 2 loops are more devastating to a network because of the broadcast nature of Ethernet LANs.)

• Integrated bridging and routing (IRB)—Support for both Layer 2 bridging and Layer 3 routing on the same interface. Frames are bridged if they are not sent to the router's MAC address. Frames sent to the router's MAC address are routed to other interfaces configured for Layer 3 routing.

Cisco Per-VLAN Spanning Tree (PVST+)

The following two sections compare Virtual Private LAN Service (VPLS) and Virtual Private Wire Service (VPWS). Both services provide advanced packet-switched VPN solutions that blend Layer 2 and Layer 3 technologies to make it possible to operate private, point-to-point, and multipoint virtual LANs through public networks.

Multiple Layer 2 networks can be consolidated within enterprise or service provider environments into single networks with Layer 2 services running over a common IP/MPLS core. LANs also can be smoothly extended as private virtual LANs across a WAN.

ES-193Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 194: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration Examples

Layer 2 or Layer 3 VPNA virtual private network commonly referred to as VPN is a private communications network often used within a company, or by several companies or organizations, to communicate confidentially over a public network or the Internet. The VPN traffic is generally carried over the Internet using standard protocols or over a SP network under a Service Level Agreement (SLA) between the VPN customer and the SP. The VPN can be broadly divided into two categories namely L3VPN and L2VPN

Historically, if an organization wanted to extend their local area network (LAN) between locations across a geographic distance they would typically use a leased-line, circuit-based service such as frame relay (FR) or asynchronous transfer mode (ATM). However, leased-line, circuit-based architectures are limited in their ability to scale and provide multiservice capability. We needed to go from a point-to-point network to a network “cloud”, meaning any-to-any connectivity. The recent advances in VPN technologies have allowed SPs to accommodate traditional access technologies (such as, dial, Frame Relay, and ATM) along with new ones (like, Ethernet and wireless) and Layer 3 VPNs over a common network infrastructure. A new solution, enabling SPs to converge Layer 2 and Layer 3 services and provide legacy data services over an IP or MPLS backbone, promises to simplify matters, benefiting both SPs and enterprises.

Why Layer 2 VPN?

Ethernet + IP/MPLS

Layer 2 VPNs from an SP provides only a layer 2 interface to its customer, and the customer is responsible for creating and managing the layer 3 overlays.

The Service Provider provides layer 2 connectivity, and the customer builds his own VPN, using the provided layer 2 connectivity as one of the building blocks. In an L2VPN service, the Service Provider does not need to know about the customer's topology, about the customer's policies, or about the customer's routing. The Service Provider does not need to know whether all the point-to-point links he is providing are used by the customer as part of the same network, or whether a customer network has point-to-point links from other providers as well. In essence the customer builds his own network, using data link resources obtained from the Service Provider.

IP and MPLS connectionless, packet-switched architectures are now the choice of Service Providers worldwide. Ethernet, ubiquitous in the LAN market, has also evolved in both scale (10 Gigabit Ethernet and 100 Gigabit Ethernet are now available) and Layer 1 performance management (802.3 OAM, 802.1ag, 802.1ad, etc.), making it an ideal transport mechanism. IP provides QoS at the application layer rather than across the entire VC. Customers looking to extend their Ethernet LAN now have the option of connecting with Ethernet across the Service Provider IP/MPLS network. MPLS can be used to provide point-to-point or multipoint/any-any service connectivity. This capability is known as Layer 2 Virtual Private LAN Service (VPLS).

Today customers demand any application, any connectivity, on almost any device, whether accessing information or entertainment delivered via voice, video or data. We need to be “in the office” when we’re at home, and connected to our home when we’re at work. And of course, we want it all to be delivered as one service. All the characteristics of Carrier Ethernet mean that it is poised to be that “one service”

Carrier Ethernet is a network-wide set of Service Provider transport standards defined by the Metro Ethernet Forum (MEF). The MEF is a consortium of vendors, Service Providers and governing bodies. The MEF sets standards for services deployed over a Carrier Ethernet network.

ES-194Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 195: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration Examples

The ASR-9k enables converged aggregation for residential broadband and business Ethernet services. Residential broadband components include Internet Access, Broadcast TV, Video on Demand and Voice over IP. Business Ethernet components include the MEF standard services of E-Line, E-LAN and Access to Layer 3 Virtual Private Network (VPN). This is the Cisco Ethernet Infrastructure (EI) Model.

The Cisco EI model uses a series of Ethernet Flow Points (EFPs) and Bridge Domains to create an end to end Ethernet Virtual Connection (EVC). An EVC can be point-to-point or multipoint. A service is what the CE sees. Service frames cannot leak out of an EVC. The technology used inside the SP network is not visible to the end customer.

The ASR-9k connects Ethernet services (called Attachment Circuits, ACs) on its customer-facing or downstream side to Ethernet Virtual Circuits (EVCs) on its network or upstream side provided by an IP tunnel or MPLS pseudowire. The end-to-end service is a Layer 2 Virtual Private Network (L2VPN).

VPLS

VPLS is an attractive option for service providers because it uses a Layer 2 architecture to offer multipoint Ethernet VPNs that connect multiple sites over a metropolitan-area network (MAN) or WAN. Other technologies also enable Ethernet across the WAN, including Ethernet over MPLS, Ethernet over Layer 2 Tunneling Protocol Version 3 (L2TPv3), Ethernet over SONET/SDH, and Ethernet bridging over Any-Transport over MPLS AToM. However, they provide only point-to-point connectivity and VPLS is designed for applications that require multipoint or broadcast access.

For larger VPLS networks supporting applications requiring multipoint or broadcast access, VPLS scalability is achieved by using a hierarchy to reduce the signaling overhead and packet replication

requirements for the provider edge.

Using VPLS, service providers can create a Layer 2 “virtual switch” over an MPLS core to establish a distributed Network Access Point (NAP). The NAP allows transparent private peering between multiple ISPs and delivers robust connections to multiple sites within a specific metro region. Service provider-to-service provider VPLS can be supported using either Border Gateway Protocol (BGP) or Label Distribution Protocol (LDP). LDP provides more granular control of communication and quality of service between VPLS nodes, more control per node, and is a consistent signaling option to support MPLS, VPLS, or VPWS. BGP is less versatile because typically it communicates the same information to all nodes participating in a VPLS.

The hierarchical VPLS architecture includes customer edge devices connected to provider edge routers that aggregate VPLS traffic before it reaches the network provider edge routers, where the VPLS forwarding takes place.

VPWS

VPWS makes the integration of existing Layer 2 and Layer 3 services possible on a point-to-point basis across a service provider’s IP/MPLS cloud.

Two pseudowire technologies are available from Cisco Systems®:

• AToM is the Cisco® pseudowire technology that targets MPLS networks.

• L2TPv3 is the Cisco pseudowire technology for native IP networks.

Both AToM and L2TPv3 support the transport of Frame Relay, ATM, High-Level Data Link Control (HDLC), and Ethernet traffic over an IP or MPLS core.

ES-195Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 196: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesContents

Layer 2 VPN Types

P2P or MP, native Ethernet or MPLS

This table categorizes the L2VPN types. The table is divided vertically with P2P on the left and MP on the right. The table is divided horizontally with local services (one-platform) using native Ethernet on top and multi-platform services using MPLS on the bottom.

P2P

Local connect is a transparent connection between two EFPs (AC-AC) which resided on the same box. The EFPs the same or different LCs, the same or different physical port.. EoMPLS is a transparent connection between two EFPs on different platforms using an MPLS PW. Each platform has an AC-PW connection. There are two endpoints to the service, no MAC learning is performed.

MP

Local bridging uses a bridge-domain (BD) to interconnect 2 or more EFPs on a single platforms. VPLS bridging uses bridge-domains and a PW mesh to interconnect 2 or more EFPs on multiple platforms. MAC learning/forwarding is performed by the BD.

Contents • Configuring an Ethernet Interface: Example, page 196

• Configuring MAC-accounting: Example, page 198

• Configuring a Layer 2 VPN AC: Example, page 198

• Where to Go Next, page 220

Configuration Examples for Ethernet InterfacesThis section provides the following configuration examples:

• Configuring an Ethernet Interface: Example

• Configuring MAC-accounting: Example

• Configuring a Layer 2 VPN AC: Example

Configuring an Ethernet Interface: ExampleThe following example shows how to configure an interface for a 10-Gigabit Ethernet modular services card:

RP/0/RSP0/CPU0:router# configureRP/0/RSP0/CPU0:router(config)# interface TenGigE 0/0/0/1RP/0/RSP0/CPU0:router(config-if)# ipv4 address 172.18.189.38 255.255.255.224RP/0/RSP0/CPU0:router(config-if)# flow-control ingressRP/0/RSP0/CPU0:router(config-if)# mtu 1448RP/0/RSP0/CPU0:router(config-if)# mac-address 0001.2468.ABCDRP/0/RSP0/CPU0:router(config-if)# no shutdown

ES-196Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 197: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesConfiguration Examples for Ethernet Interfaces

RP/0/RSP0/CPU0:router(config-if)# endUncommitted changes found, commit them? [yes]: yes

RP/0/RSP0/CPU0:router# show interfaces TenGigE 0/0/0/1

TenGigE0/0/0/1 is down, line protocol is down Hardware is TenGigE, address is 0001.2468.abcd (bia 0001.81a1.6b23) Internet address is 172.18.189.38/27 MTU 1448 bytes, BW 10000000 Kbit reliability 0/255, txload Unknown, rxload Unknown Encapsulation ARPA, Full-duplex, 10000Mb/s, LR output flow control is on, input flow control is on loopback not set ARP type ARPA, ARP timeout 01:00:00 Last clearing of "show interface" counters never 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 total input drops 0 drops for unrecognized upper-level protocol Received 0 broadcast packets, 0 multicast packets 0 runts, 0 giants, 0 throttles, 0 parity 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 packets output, 0 bytes, 0 total output drops Output 0 broadcast packets, 0 multicast packets 0 output errors, 0 underruns, 0 applique, 0 resets 0 output buffer failures, 0 output buffers swapped out 0 carrier transitions

RP/0/RSP0/CPU0:router(config)# interface GigabitEthernet0/4/0/0.50 l2transportRP/0/RSP0/CPU0:router(config-if)# encapsulation dot1q 20

If encapsulation dot1q is specified, packets appear with the IEEE 802.1Q encapsulation. If these keywords are not specified, packets appear in the untagged format.

RP/0/RSP0/CPU0:router(config-if)# rewrite ingress tag push dot1ad 2 dot1q 10 symmetric

Pop - to remove an Ethernet tag. Useful at the NNI ingress to remove a provider tag.

Can pop one tag or two tags.

The number of tags you match are the number that you can pop.

RP/0/RSP0/CPU0:router(config)# interface GigabitEthernet0/4/0/0.20 l2transportRP/0/RSP0/CPU0:router(config-if)# encapsulation dot1q 50 second-dot1q 20RP/0/RSP0/CPU0:router(config-if)# rewrite ingress tag pop 2 symmetric

Translate a tag

Options are 1:1, 1:2, 2:1, 2:2

Useful for customer VLAN overlap

RP/0/RSP0/CPU0:router(config)# interface GigabitEthernet0/4/0/0.200 l2transportRP/0/RSP0/CPU0:router(config-if)# encapsulation dot1q 200 second-dot1q 10RP/0/RSP0/CPU0:router(config-if)# rewrite ingress tag translate 2-to-1 dot1q 30 symmetric

RP/0/RSP0/CPU0:router(config)# interface GigabitEthernet0/4/0/0.220 l2transportRP/0/RSP0/CPU0:router(config-if)# encapsulation dot1q 30RP/0/RSP0/CPU0:router(config-if)# rewrite ingress tag translate 1-to-2 dot1ad 40 dot1q 50 symmetric

RP/0/RSP0/CPU0:router(config)# interface type 0/0/slot/port.<sub-intf no.> l2transport

ES-197Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 198: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesConfiguration Examples for Ethernet Interfaces

RP/0/RSP0/CPU0:router(config-if)# encapsulation <vlan | untagged | default>RP/0/RSP0/CPU0:router(config-if)# rewrite ingress <push | pop | translate> Symmetric *RP/0/RSP0/CPU0:router(config-if)# service-policy inputRP/0/RSP0/CPU0:router(config-if)# service-policy output

Point to Point Services Local Connect

Left side

RP/0/RSP0/CPU0:router(config)# Interface GigabitEthernet0/0/0/4.1 l2transportRP/0/RSP0/CPU0:router(config-if)# encapsulation <vlan | untagged | default>RP/0/RSP0/CPU0:router(config-if)# rewrite ingress <push | pop | translate> Symmetric

Right side

RP/0/RSP0/CPU0:router# configureRP/0/RSP0/CPU0:router(config)# Interface GigabitEthernet0/0/0/5.1 l2transportRP/0/RSP0/CPU0:router(config-if)# encapsulation <vlan | untagged | default>RP/0/RSP0/CPU0:router(config-if)# rewrite ingress <push | pop | translate> Symmetric

Setting up the connection

RP/0/RSP0/CPU0:router(config)# l2vpn RP/0/RSP0/CPU0:router(config)# xconnect group cisco p2p lconnectRP/0/RSP0/CPU0:router(config)# interface GigabitEthernet0/0/0/4.1RP/0/RSP0/CPU0:router(config)# interface GigabitEthernet0/0/0/5.1

Configuring MAC-accounting: ExampleThe following example indicates how to configure MAC-accounting on an Ethernet interface:

RP/0/RSP0/CPU0:router# configureRP/0/RSP0/CPU0:router(config)# interface TenGigE 0/0/0/2RP/0/RSP0/CPU0:router(config-if)# ipv4 address 172.18.189.38 255.255.255.224RP/0/RSP0/CPU0:router(config-if)# mac-accounting egressRP/0/RSP0/CPU0:router(config-if)# commitRP/0/RSP0/CPU0:router(config-if)# exitRP/0/RSP0/CPU0:router(config)# exit

Configuring a Layer 2 VPN AC: ExampleThe following example indicates how to configure a Layer 2 VPN AC on an Ethernet interface:

RP/0/RSP0/CPU0:router# configureRP/0/RSP0/CPU0:router(config)# interface TenGigE 0/0/0/2RP/0/RSP0/CPU0:router(config-if)# ipv4 address 172.18.189.38 255.255.255.224RP/0/RSP0/CPU0:router(config-if)# l2transportRP/0/RSP0/CPU0:router(config-if-l2)# l2protocol cdp drop RP/0/RSP0/CPU0:router(config-if-l2)# commit

Configuring Layer 2 Local Switching: ExampleThe following example indicates how to configure Layer 2 local switchingon an Ethernet interface:

ES-198Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 199: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesConfiguration Examples for Ethernet Interfaces

RP/0/RSP0/CPU0:L2VPN-PE1(config)#RP/0/RSP0/CPU0:L2VPN-PE1(config)# l2vpn xconnect group AC2AC p2p con1RP/0/RSP0/CPU0:L2VPN-PE1(config-l2vpn-xconnect-p2p)# interface gigabitEthernet 0/2/0/0.100RP/0/RSP0/CPU0:L2VPN-PE1(config-l2vpn-xconnect-p2p)# interface gigabitEthernet 0/2/0/1.100RP/0/RSP0/CPU0:L2VPN-PE1(config-l2vpn-xconnect-p2p)# end

RP/0/RSP0/CPU0:L2VPN-PE1# sh l2vpn xconnect group AC2AC detail Group AC2AC, XC con1, state is up Segment 1 is AC: GigabitEthernet0/2/0/0.100, Xconnect ID: 2, type VLAN Tags: Outer 300, Inner 0, MTU 1500 State is up Statistics: packet totals: receive 0,send 0 byte totals: receive 0,send 0 drops: illegal VLAN 0, illegal length 0 Segment 2 is AC: GigabitEthernet0/2/0/1.100, Xconnect ID: 3, type VLAN Tags: Outer 350, Inner 0, MTU 1500 State is up Statistics: packet totals: receive 0,send 0 byte totals: receive 0,send 0 drops: illegal VLAN 0, illegal length 0

RP/0/RSP0/CPU0:L2VPN-PE1# sh l2vpn forwarding interface gigabitEthernet 0/2/0/0.100 detail location 0/2/cpu0Local interface: GigabitEthernet0/2/0/0.100, Xconnect id: 2, Status: up Segment 1 AC, GigabitEthernet0/2/0/0.100, Ethernet VLAN mode, status: Bound Packet switched: 0, byte switched: 0 Segment 2 AC, GigabitEthernet0/2/0/1.100, Ethernet VLAN mode, status: Bound Packet switched: 0, byte switched: 0

Basic MPLS Configuration on the ASR 9000Enable basic MPLS

Make sure OSPF is operational

Make sure the MPLS protocol is enabled

Enable layer 2 service instances or VLANs

Configure targeted LDP

RP/0/RSP0/CPU0:L2VPN-PE1# mpls ldp router-id loopback0RP/0/RSP0/CPU0:L2VPN-PE1# mpls ldp discovery targeted-hello accept

Note that the mpls ldp discovery targeted-hello accept command is optional.

On each end of the point-to-point link, configure the CPEs to create a virtual connection on virtual switched interfaces

Create an SVI —

RP/0/RSP0/CPU0:(config)# interface vlan number

Setup an EVC —

RP/0/RSP0/CPU0:(config)# xconnect destination vc-id encapsulation mpls

ES-199Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 200: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesConfiguration Examples for Ethernet Interfaces

E-Line Configuration – EFP and L2VPNEnable LDP globally, [We need to enable Graceful Reset for supporting Non-Stop Forwarding]

RP/0/RSP0/CPU0:L2VPN-PE1# config tRP/0/RSP0/CPU0:L2VPN-PE1(config)# mpls ldpRP/0/RSP0/CPU0:L2VPN-PE1(config-ldp)# router-id 101.101.101.101RP/0/RSP0/CPU0:L2VPN-PE1(config-ldp)# graceful-restartRP/0/RSP0/CPU0:L2VPN-PE1(config-ldp)# commitRP/0/RSP0/CPU0:L2VPN-PE1(config-ldp)# end

Configure the interface as a Layer 2 interface (VLAN)

RP/0/RSP0/CPU0:L2VPN-PE1# config tRP/0/RSP0/CPU0:L2VPN-PE1(config)# int gigabitEthernet 0/6/0/0.1001 l2transportRP/0/RSP0/CPU0:L2VPN-PE1(config-if)# encapsulation dot1q 1001RP/0/RSP0/CPU0:L2VPN-PE1(config-if-l2)# commitRP/0/RSP0/CPU0:L2VPN-PE1(config-if-l2)# end

Configuring a Cross-Connect

RP/0/RSP0/CPU0:L2VPN-PE1(config)# l2vpnRP/0/RSP0/CPU0:L2VPN-PE1(config-l2vpn)# xconnect group toPE2-Gig6RP/0/RSP0/CPU0:L2VPN-PE1(config-l2vpn-xconnect)# p2p vlan1001RP/0/RSP0/CPU0:L2VPN-PE1(config-l2vpn-xconnect-p2p)# interface GigabitEthernet0/6/0/2.1001RP/0/RSP0/CPU0:L2VPN-PE1(config-l2vpn-xconnect-p2p)# neighbor 102.102.102.102 pw-id 1001 RP/0/RSP0/CPU0:L2VPN-PE1(config-l2vpn-xconnect-p2p)# commit

Verifying Cross-Connect Status

RP/0/RSP0/CPU0:L2VPN-PE1# sh l2vpn xconnect detail Group to_PE2-Gig6, XC vlan1001, state is up; Interworking none AC: GigabitEthernet0/6/0/2.1001, state is up Type simple EFP; Num Ranges: 1 vlan ranges: [1001, 1001] MTU 4470; XC ID 0x7000001; interworking none; MSTi 0 Statistics: packet totals: send 0 byte totals: send 0 drops: illegal VLAN 0, illegal length 0 PW: neighbor 102.102.102.102, PW ID 1001, state is up ( established ) PW class not set, XC ID 0x7000001 Encapsulation MPLS, protocol LDP PW type Ethernet VLAN, control word enabled, interworking none Sequencing not set MPLS Local Remote ------------ ------------------------------ ----------------------------- Label 19492 21032 Group ID 0x7000400 0x8000e00 Interface GigabitEthernet0/6/0/2.1001 GigabitEthernet0/7/1/6.1001 MTU 4470 4470 Control word enabled enabled PW type Ethernet VLAN Ethernet VLAN VCCV CV type 0x2 0x2 (LSP ping verification) (LSP ping verification) VCCV CC type 0x3 0x3 (control word) (control word) (router alert label) (router alert label) ------------ ------------------------------ -----------------------------

ES-200Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 201: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesConfiguration Examples for Ethernet Interfaces

Create time: 18/07/2008 04:11:40 (6d08h ago) Last time status changed: 23/07/2008 17:20:55 (19:12:08 ago) Statistics: packet totals: receive 276516 byte totals: receive 386016336

Verifying Layer 2 Forwarding

RP/0/RSP0/CPU0:L2VPN-PE1# sh l2vpn forwarding location 0/6/cpu0Segment 1 Segment 2 State ------------------------------------ ------------------------------------ ------Gi0/6/0/2.1001(Eth VLAN) mpls 102.102.102.102 UP

RP/0/RSP0/CPU0:L2VPN-PE1# sh l2vpn forwarding detail location 0/6/cpu0Local interface: GigabitEthernet0/6/0/2.1001, Xconnect id: 0x7000001, Status: up Segment 1 AC, GigabitEthernet0/6/0/2.1001, Ethernet VLAN mode, status: Bound Packet switched: 0, byte switched: 0 Segment 2 MPLS, Destination address: 102.102.102.102, pw-id: 1001, status: Bound Pseudowire label: 21032 Packet switched: 278736, byte switched: 389115456

Ethernet Port Mode

RP/0/RSP0/CPU0:(config)# interface GigabitEthernet 0/0/0/0RP/0/RSP0/CPU0:(config-if)# l2transport

Ethernet VLAN Mode

RP/0/RSP0/CPU0:(config)# interface GigabitEthernet 0/0/0/0.1 RP/0/RSP0/CPU0:(config-if)# l2transportRP/0/RSP0/CPU0:(config-if)# dot1q vlan 999

Ethernet VLAN Mode (QinQ)

RP/0/RSP0/CPU0:(config)# interface TenGigE 0/0/0/0.1 l2transportRP/0/RSP0/CPU0:(config-if)# dot1q vlan 999 vlan 888

Ethernet VLAN Mode (QinAny)

RP/0/RSP0/CPU0:(config)# interface GigabitEthernet 0/0/0/0.1 l2transportRP/0/RSP0/CPU0:(config-if)# dot1q vlan 999 vlan 888

Ethernet VLAN Mode (QinAny)

RP/0/RSP0/CPU0:(config)# interface TenGigE 0/0/0/0.1 l2transportRP/0/RSP0/CPU0:(config-if)# dot1q vlan 999 vlan 888

ES-201Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 202: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesConfiguration Examples for Ethernet Interfaces

Configuring Layer 2 EtherChannel

Core# conf t Core(config)# interface range gigabitethernet1/0/1 -2 Core(config-if-range)# switchport mode accessCore(config-if-range)# switchport access vlan 100Core(config-if-range)# channel-group 5 mode activeCore(config-if-range)# end

StackMaster# conf t StackMaster(config)# interface range gigabitethernet1/0/23 -24 StackMaster(config-if-range)# switchport mode accessStackMaster(config-if-range)# switchport access vlan 100StackMaster(config-if-range)# channel-group 5 mode on StackMaster(config-if-range)# exitStackMaster(config)# interface gigabitethernet2/0/24StackMaster(config-if)# switchport mode accessStackMaster(config-if)# switchport access vlan 100StackMaster(config-if)# channel-group 5 mode on StackMaster(config-if)# exit

Configuring Layer 3 Logical EtherChannel

Core# conf t Core(config)# interface port-channel 5Core(config-if)# no switchportCore(config-if)# ip address 192.168.23.1 255.255.255.0Core(config-if)# end

Core# configure terminal Core(config)# interface range gigabitethernet1/0/1 -2 Core(config-if-range)# no ip address Core(config-if-range)# no switchportCore(config-if-range)# channel-group 5 mode onCore(config-if-range)# end

StackMaster# conf tStackMaster(config)# interface gigabitethernet1/0/24StackMaster(config-if)# no ip address StackMaster(config-if)# no switchportStackMaster(config-if)# channel-group 5 mode on StackMaster(config-if)# exit

StackMaster(config)# interface gigabitethernet2/0/24StackMaster(config-if)# no ip address StackMaster(config-if-range)# no switchportStackMaster(config-if)# channel-group 5 mode on StackMaster(config-if)# exit

StackMaster(config)# interface port-channel 1StackMaster(config-if)# ip address 192.168.23.2 255.255.255.0StackMaster(config-if)# no switchportStackMaster(config-if)# channel-group 5 mode on StackMaster(config-if)# exit

ES-202Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 203: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesConfiguration Examples for Ethernet Interfaces

VTP, VLANs, Voice VLAN

Core# conf t Core(config)# vtp domain MINFINCore(config)# vtp mode transparentCore(config)# vtp version 2

Core(config)# vlan 110Core(config-vlan)# name voiceCore(config-vlan)# exitCore(config)# vlan 100 Core(config-vlan)# name dataCore(config-vlan)# exit

Core(config)# interface vlan voiceCore(config-if)# ip address 192.168.110.1 255.255.255.0Core(config)# exitCore(config)# interface vlan dataCore(config-if)# ip address 192.168.100.1 255.255.255.0Core(config)# exit

StackMaster# conf tStackMaster(config)# vtp domain MINFINStackMaster(config)# vtp mode transparentStackMaster(config)# vtp version 2

VPLS Configuration Example

EFP Configuration (PE Configuration)

RP/0/RSP0/CPU0:PE3# interface GigabitEthernet0/2/0/16.2 l2transportRP/0/RSP0/CPU0:PE3# encapsulation dot1q 5RP/0/RSP0/CPU0:PE3# !RP/0/RSP0/CPU0:PE3# interface GigabitEthernet0/2/0/16.3 l2transportRP/0/RSP0/CPU0:PE3# encapsulation dot1ad 3 dot1q 300RP/0/RSP0/CPU0:PE3# !RP/0/RSP0/CPU0:PE3# mtu 1514!

interface GigabitEthernet0/2/0/16.4 l2transport (PUSH/POP Configuration Example)

RP/0/RSP0/CPU0:PE3# interface GigabitEthernet0/2/0/16.4 l2transport RP/0/RSP0/CPU0:PE3# encapsulation dot1ad 4 dot1q 20RP/0/RSP0/CPU0:PE3# rewrite ingress tag pop 1 symmetricRP/0/RSP0/CPU0:PE3# !

interface GigabitEthernet0/2/0/16.3 l2transport (1-to-1 rewrite example)

RP/0/RSP0/CPU0:PE3# interface GigabitEthernet0/2/0/16.3 l2transport RP/0/RSP0/CPU0:PE3# encapsulation dot1q 100RP/0/RSP0/CPU0:PE3# rewrite ingress tag translate 1-to-1 dot1q 200 symmetricRP/0/RSP0/CPU0:PE3# ! RP/0/RSP0/CPU0:PE3# sho ethernet tags GigabitEthernet0/7/0/18.2

ES-203Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 204: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesConfiguration Examples for Ethernet Interfaces

St: AD - Administratively Down, Dn - Down, Up - UpLy: L2 - Switched layer 2 service, L3 = Terminated layer 3 service,Xtra C - Match on Cos, E - Match on Ethertype, M - Match on source MAC-,+: Ingress rewrite operation; number of tags to pop and push respectively

Interface St MTU Ly Outer Inner Xtra -,+Gi0/7/0/18.2 Up 1514 L2 .1Q:2 .1Q:1002 - 0 0

VPLS Bridge Configuration (PE configuration)

RP/0/RSP0/CPU0:PE3# configureRP/0/RSP0/CPU0:PE3(config)# l2vpnRP/0/RSP0/CPU0:PE3(config-l2vpn)# bridge group bgRP/0/RSP0/CPU0:PE3(config-l2vpn-bg)# bridge-domain bd500RP/0/RSP0/CPU0:PE3(config-l2vpn-bg-bd)# !RP/0/RSP0/CPU0:PE3# interface GigabitEthernet0/6/0/19.500 ? Attachment Ciruit (EFP)RP/0/RSP0/CPU0:PE3(config-l2vpn-bg-bd-vfi-pw)# static-mac-address 0002.0002.0002 ? Static MAC address configuration exampleRP/0/RSP0/CPU0:PE3# !RP/0/RSP0/CPU0:PE3# vfi vfi500RP/0/RSP0/CPU0:PE3(config-l2vpn-bg-bd-vfi)# neighbor 15.15.15.15 pw-id 500 ? PW ConfigurationRP/0/RSP0/CPU0:PE3(config-l2vpn-bg-bd-vfi-pw)# !RP/0/RSP0/CPU0:PE3(config-l2vpn-bg-bd-vfi-pw)# !RP/0/RSP0/CPU0:PE3(config-l2vpn-bg-bd-vfi-pw)# !

Enabling MAC withdrawal under Bridge Domain

RP/0/RSP0/CPU0:PE3(config)# l2vpnRP/0/RSP0/CPU0:PE3(config-l2vpn)# bridge group bgRP/0/RSP0/CPU0:PE3(config-l2vpn-bg)# bridge-domain bd500RP/0/RSP0/CPU0:PE3(config-l2vpn-bg-bd)# macRP/0/RSP0/CPU0:PE3(config-l2vpn-bg-bd)# withdrawRP/0/RSP0/CPU0:PE3(config-l2vpn-bg-bd)# !

VPLS Show Layer 2 VPN Forwarding Command Example RP/0/RSP0/CPU0:ASR-9k_VPLS_05# sho l2vpn forwarding detail location 0/6/CPU0Local interface: GigabitEthernet0/6/0/19.500, Xconnect id: 0x2040002, Status: up Segment 1 AC, GigabitEthernet0/6/0/19.500, status: Bound Packet switched: 7247817134, byte switched: 943854963052 Packet dropped (MTU/Queue): 0/0, byte dropped (MTU/Queue): 0/0 Segment 2 Bridge id: 2, Split horizon group id: 0 MAC learning: enabled Flooding: Broadcast & Multicast: enabled Unknown unicast: enabled MAC aging time: 300 s, Type: inactivity MAC limit: 192000, Action: none, Notification: syslog MAC limit reached: no Security: disabled DHCPv4 snooping: profile not known on this node, disabled Packet switched: 10218382031, byte switched: 653976449984 Packet dropped (PLU/Queue): 0/0, byte dropped (PLU/Queue): 0/0

RP/0/RSP0/CPU0:ASR-9k_VPLS_05# sho l2vpn forwarding bridge-domain mac-address location 0/6/cpu0

ES-204Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 205: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesConfiguration Examples for Ethernet Interfaces

Mac Address Type Learned from/Filtered on LC learned Age --------------------------------------------------------------------------------0000.0100.0d00 dynamic Gi0/6/0/19.500 0/6/CPU0 0d 0h 2m 16s 0000.0100.0d01 dynamic Gi0/6/0/19.500 0/6/CPU0 0d 0h 2m 16s 0000.0100.0d02 dynamic Gi0/6/0/19.500 0/6/CPU0 0d 0h 1m 43s 0000.0100.0d03 dynamic Gi0/6/0/19.500 0/6/CPU0 0d 0h 1m 43s …0002.0002.0002 static Gi0/6/0/19.500 N/A N/A

Limitations

Use the show l2vpn capability system command to view the supported amounts for MAC addresses, bridhge domains, attachment circuits, and other features listed below.

RP/0/RSP0/CPU0:RO-C# show l2vpn capability system

System capability: Max MAC addresses: 192000 Max bridge-domains: 32768 Max attachment circuits: 131072 Max pseudowires: 131072 RSI bit size: 14 Per-AC drop counters supported: Y VPLS Preferred path allowed: Y Max attachment circuits per bridge-domain: 8192 Max virtual forwarding interfaces: 32768 Max virtual forwarding interfaces per bridge-domain: 1 Max pseudowires per bridge-domain: 4096 Max pseudowires per virtual forwarding interface: 4096 VPWS PW redundancy supported: Y Access PW supported: Y Bundle AC supported: Y Security config supported: Y DHCP snooping supported: Y Static MAC filter supported: Y MAC configs on bridge port supported: Y Flooding config on bridge port supported: Y MAC Aging Default Timer Value: 300 VPWS Max attachment circuits: 131072 VPWS Max pseudowires: 131072 VPWS Preferred path fallback enable allowed: Y VPWS Preferred path fallback disable allowed: Y VPLS allowed: Y VPLS Default MAC limit: 4000

IOS-XR VPLS Configuration Commands

Configuring VFI under a Bridge Domain

Router(config)# l2vpnRouter(config-l2vpn)# bridge group <bridge group name>Router(config-l2vpn-bg)# bridge-domain <bridge-domain name>Router(config-l2vpn-bg-bd)# [no] vfi <vfi name>

ES-205Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 206: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesConfiguration Examples for Ethernet Interfaces

Associating Pseudowires with VFI

Router(config)# l2vpnRouter(config-l2vpn)# bridge group customer_XRouter(config-l2vpn-bg)# bridge-domain <bridge-domain name>Router(config-l2vpn-bg-bd)# vfi <vfi name>Router(config-l2vpn-bg-bd-vfi)# [no] neighbor <IP address> PW-id <value>

Attaching Pseudowire Classes to Pseudowires

To configure the pseudowire class template name to use for the pseudowire, use the pw-class command in l2vpn bridge group bridge domain VFI pseudowire configuration mode. To delete the pseudowire class, use the no form of this command.

Router (config)# l2vpnRouter(config-l2vpn)# bridge group customer_XRouter(config-l2vpn-bg)# bridge-domain <bridge-domain name>Router(config-l2vpn-bg-bd)# vfi <vfi name>Router(config-l2vpn-bg-bd-vfi)# [no] neighbor <IP address> PW-id <value>Router(config-l2vpn-bg-bd-vfi-PW)# [no] PW-class <class name>

OR

Router(config-l2vpn-bg-bd-vfi)# neighbor <IP address> PW-id <value> PW-class <class name>

Configuring Static AToM Pseudowires

Router(config)# l2vpnRouter(config-l2vpn)# bridge group customer_XRouter(config-l2vpn-bg)# bridge-domain <bridge-domain name>Router(config-l2vpn-bg-bd)# vfi <vfi name>Router(config-l2vpn-bg-bd-vfi)# [no] neighbor <IP address> PW-id <value>Router(config-l2vpn-bg-bd-vfi-PW)# [no] mpls static label local < 16-15999> remote <16-15999>

Shutting Down a VFI

Router(config)# l2vpnRouter(config-l2vpn)# bridge group <bridge group name>Router(config-l2vpn-bg)# bridge-domain <bridge-domain name>Router(config-l2vpn-bg-bd)# vfi <vfi name> Router(config-l2vpn-bg-bd-vfi)# [no] shutdown

Associating a Static MAC Address to the Bridge Domain

Router(config)# l2vpnRouter(config-l2vpn)# bridge group customer_XRouter(config-l2vpn-bg)# bridge-domain <bridge-domain name>Router(config-l2vpn-bg-bd)# vfi fooRouter(config-l2vpn-bg-bd-vfi)# [no] neighbor <IP address> PW-id <value> PW-class <class name>Router(config-l2vpn-bg-bd-vfi-neighbor)# [no] static-mac-address <MAC address>

Assigning Interfaces to the Bridge Domain

Router(config)# l2vpnRouter(config-l2vpn)# bridge group customer_X

ES-206Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 207: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesConfiguration Examples for Ethernet Interfaces

Router(config-l2vpn-bg)# bridge-domain <bridge-domain name>Router(config-l2vpn-bg-bd)# interface GigabitEthernet 0/1/0/0Router(config-l2vpn-bg-bd-ac)# [no] static-mac-address <MAC address>

Configuring Bridge Domain Parameters

Router(config)# l2vpnRouter(config-l2vpn)# bridge group customer_XRouter(config-l2vpn-bg)# bridge-domain <bridge-domain name>Router(config-l2vpn-bg-bd)# [no] flooding disableRouter(config-l2vpn-bg-bd)# [no] mac-learning disableRouter(config-l2vpn-bg-bd)# mtu <value>

Shutting Down a Bridge Domain

Router(config)# l2vpnRouter(config-l2vpn)# bridge group <bridge group name>Router(config-l2vpn-bg)# bridge-domain <bridge-domain name>Router(config-l2vpn-bg-bd)# [no] shutdown

MAC Address Related Parameters

Router(config)# l2vpnRouter(config-l2vpn)# bridge group <bridge group name>Router(config-l2vpn-bg)# bridge-domain <bridge-domain name>Router(config-l2vpn-bg-bd)# [no] mac address-table limit [maximum <num>] [action {limit {flood | no-flood} | shutdown} ][notification {syslog | trap | both}]Router(config-l2vpn-bg-bd)# [no] mac address-table aging-time <time in sec>

Cross Connecthostname PE44_ASR-9010!interface GigabitEthernet0/1/0/3 description Connected to PE64_C3750-ME GE 1/0/2 mtu 9014!interface GigabitEthernet0/1/0/3.185 l2transport description P2P Local Connect E-Line encapsulation dot1q 100 second-dot1q 185!interface GigabitEthernet0/1/0/7 description Connected to PE66_C3750-ME GE 1/0/2 mtu 9014!interface GigabitEthernet0/1/0/7.185 l2transport description P2P Local Connect E-Line encapsulation dot1q 100 second-dot1q 185!l2vpn ! xconnect group 185 p2p 185 interface GigabitEthernet0/1/0/3.185 interface GigabitEthernet0/1/0/7.185

ES-207Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 208: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesConfiguration Examples for Ethernet Interfaces

Configuring a Point to Point Local Connect E-Line

Setting up the 3400:

hostname PE67_ME-C3400!system mtu 1998

MTU: MTU is short for Maximum Transmission Unit, the largest physical packet size, measured in bytes, that a network can transmit. Any messages larger than the MTU are divided into smaller packets before transmission.

system mtu jumbo 9000

Jumbo: Jumbo frames are frames that are bigger than the standard Ethernet frame size, which is 1518 bytes (including Layer 2 (L2) header and FCS). The definition of frame size is vendor-dependent, as these are not part of the IEEE standard.

system mtu routing 1500

When you use the system mtu bytes or system mtu jumbo bytes command to change the system MTU or system jumbo MTU size, you must reset the switch before the new configuration takes effect. The system mtu routing command does not require a switch reset to take effect.

!spanning-tree mode rapid-pvst

Rapid-PVST uses the existing PVST+ framework for configuration and interaction with other features. It also supports some of the PVST+ extensions.

spanning-tree extend system-id

You can enable the extended system ID on chassis that support 1024 MAC addresses

!!vlan internal allocation policy ascending!vlan 185!interface GigabitEthernet0/1

description Connected to PE66_C3750-ME GE 1/0/1

port-type nni switchport trunk allowed vlan 185 switchport mode trunk!interface Vlan185

description P2P Local Connect E-Line

ip address 185.0.0.67 255.255.255.0!

Setting up the 3750:

hostname PE66_C3750-ME!

ES-208Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 209: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesConfiguration Examples for Ethernet Interfaces

system mtu 1998system mtu jumbo 9000system mtu routing 1998!vtp domain Metro_Eth

Naming the virtual trunking protocol domain Metro Ethernet

vtp mode transparent

When you set the VTP mode to transparent, then the switches do not participate in VTP. A VTP transparent switch will not advertise its VLAN configuration and does not synchronize its VLAN configuration based on received messages.

!spanning-tree mode pvst

Sets the spanning tree mode to per VLAN spanning tree

spanning-tree extend system-id

Allows the system to use the total supply, or global resource, of MAC addresses for the switch (1024 MAC addresses).

!vlan internal allocation policy ascending

Configures the system to allocate internal VLANs from 1006 and up.

!vlan 100 !interface GigabitEthernet1/0/1

description Connected to PE67_ME-C3400 GE 0/1

switchport access vlan 100

Configures the default VLAN, which is used if the interface stops trunking.

switchport mode dot1q-tunnel

Configures the Layer 2 port as a tunnel port.

switchport nonegotiate switchport port-security maximum 200 switchport port-security switchport port-security violation restrict storm-control broadcast level 10.00 l2protocol-tunnel cdp l2protocol-tunnel stp l2protocol-tunnel vtp no cdp enable spanning-tree bpdufilter enable spanning-tree guard root!interface GigabitEthernet1/0/2 description Connected to PE44_ASR-9010 GE 0/1/0/7 switchport trunk encapsulation dot1q switchport trunk allowed vlan 100 switchport mode trunk switchport nonegotiate speed nonegotiate!

ES-209Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 210: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesConfiguration Examples for Ethernet Interfaces

Setting up the second 3400:

hostname PE65_ME-C3400!system mtu 1998system mtu jumbo 9000system mtu routing 1500!spanning-tree mode rapid-pvstspanning-tree extend system-id!!vlan internal allocation policy ascending!vlan 185!interface GigabitEthernet0/1 description Connected to PE64_C3750-ME GE 1/0/1 port-type nni switchport trunk allowed vlan 185 switchport mode trunk!interface Vlan185 description P2P Local Connect E-Line ip address 185.0.0.65 255.255.255.0!

Setting up the second 3750:

hostname PE64_C3750-ME!system mtu 1998system mtu jumbo 9000system mtu routing 1500!vtp domain Metro_Ethvtp mode transparent!spanning-tree mode pvstspanning-tree extend system-id!vlan internal allocation policy ascending!vlan 100 !interface GigabitEthernet1/0/1 description Connected to PE65_ME-C3400 GE 0/1 switchport access vlan 100 switchport mode dot1q-tunnel switchport nonegotiate switchport port-security maximum 200 switchport port-security switchport port-security violation restrict storm-control broadcast level 10.00 l2protocol-tunnel cdp l2protocol-tunnel stp l2protocol-tunnel vtp

ES-210Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 211: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesConfiguration Examples for Ethernet Interfaces

no cdp enable spanning-tree bpdufilter enable spanning-tree guard root!interface GigabitEthernet1/0/2 description Connected to PE44_ASR-9010 GE 0/1/0/3 switchport trunk encapsulation dot1q switchport trunk allowed vlan 100 switchport mode trunk switchport nonegotiate speed nonegotiate!

Setting up the ASR 9000:

hostname PE44_ASR-9010!interface GigabitEthernet0/1/0/3

description Connected to PE64_C3750-ME GE 1/0/2

mtu 9014!interface GigabitEthernet0/1/0/3.185 l2transport

description P2P Local Connect E-Line

encapsulation dot1q 100 second-dot1q 185!interface GigabitEthernet0/1/0/7

description Connected to PE66_C3750-ME GE 1/0/2

mtu 9014!interface GigabitEthernet0/1/0/7.185 l2transport

description P2P Local Connect E-Line

encapsulation dot1q 100 second-dot1q 185!l2vpn ! xconnect group 185

To configure cross-connect groups, use the xconnect group command in L2VPN configuration mode.

p2p 185

To enter p2p configuration submode to configure point-to-point cross-connects, use the p2p command in l2vpn xconnect mode

interface GigabitEthernet0/1/0/3.185 interface GigabitEthernet0/1/0/7.185

To enter interface configuration mode for a Gigabit Ethernet interface, use the interface GigabitEthernet command in global configuration mode.

description P2P_Local_Connect_E-Line ! !!

ES-211Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 212: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesConfiguration Examples for Ethernet Interfaces

Creates the interface between port 3 and port 7.

Configuring a Point to Point Ethernet Over MPLS E-Line

Setting up the 3400:

hostname PE67_ME-C3400!system mtu 1998system mtu jumbo 9000system mtu routing 1500!spanning-tree mode rapid-pvstspanning-tree extend system-id!!vlan internal allocation policy ascending!vlan 187!interface GigabitEthernet0/1 description Connected to PE66_C3750-ME GE 1/0/1 port-type nni switchport trunk allowed vlan 187 switchport mode trunk!interface Vlan187 description P2P EoMPLS E-Line ip address 187.0.0.67 255.255.255.0!

Setting up the 3750:

hostname PE66_C3750-ME!system mtu 1998system mtu jumbo 9000system mtu routing 1998!vtp domain Metro_Ethvtp mode transparent!spanning-tree mode pvstspanning-tree extend system-id!vlan internal allocation policy ascending!vlan 100 !interface GigabitEthernet1/0/1 description Connected to PE67_ME-C3400 GE 0/1 switchport access vlan 100 switchport mode dot1q-tunnel switchport nonegotiate

ES-212Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 213: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesConfiguration Examples for Ethernet Interfaces

switchport port-security maximum 200 switchport port-security switchport port-security violation restrict storm-control broadcast level 10.00 l2protocol-tunnel cdp l2protocol-tunnel stp l2protocol-tunnel vtp no cdp enable spanning-tree bpdufilter enable spanning-tree guard root!interface GigabitEthernet1/0/2 description Connected to PE44_ASR-9010 GE 0/1/0/7 switchport trunk encapsulation dot1q switchport trunk allowed vlan 100 switchport mode trunk switchport nonegotiate speed nonegotiate!

Setting up the ASR 9000:

hostname PE44_ASR-9010!interface Loopback0 ipv4 address 10.144.144.144 255.255.255.255!interface GigabitEthernet0/1/0/7 description Connected to PE66_C3750-ME GE 1/0/2 mtu 9014!interface GigabitEthernet0/1/0/7.187 l2transport description P2P EoMPLS E-Line encapsulation dot1q 100 second-dot1q 187 mtu 9014!interface GigabitEthernet0/1/0/23 description Connected to P11_CRS-4 GE 0/2/3/0 mtu 9216 ipv4 address 10.114.4.44 255.255.255.0!router ospf 100 router-id 10.144.144.144 nsf cisco area 0 interface Loopback0 passive enable ! interface GigabitEthernet0/1/0/23 ! !!l2vpn ! xconnect group 187 p2p 187 interface GigabitEthernet0/1/0/7.187 neighbor 10.19.19.19 pw-id 187 ! description P2P_EoMPLS_E-Line !

ES-213Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 214: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesConfiguration Examples for Ethernet Interfaces

!!mpls ldp router-id 10.144.144.144 log neighbor graceful-restart ! interface GigabitEthernet0/1/0/23 !!

Setting up the CRS-1:

hostname P11_CRS-4!interface Loopback0 ipv4 address 10.11.11.11 255.255.255.255!interface GigabitEthernet0/2/3/0 description Connected to PE44_ASR-9010 GE 0/1/0/23 mtu 9216 ipv4 address 10.114.4.11 255.255.255.0!interface GigabitEthernet0/2/3/6 description Connected to P19_C7609-S GE 8/0/12 mtu 9216 ipv4 address 10.119.4.11 255.255.255.0!router ospf 100 router-id 10.11.11.11 nsf cisco area 0 interface Loopback0 passive enable ! interface GigabitEthernet0/2/3/0 ! interface GigabitEthernet0/2/3/6 ! !!mpls ldp router-id 10.11.11.11 log neighbor graceful-restart ! interface GigabitEthernet0/2/3/0 ! interface GigabitEthernet0/2/3/6 !!

Setting up the 7600:

hostname P19_C7609-S

ES-214Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 215: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesConfiguration Examples for Ethernet Interfaces

!mpls label protocol ldp!interface Loopback0 ip address 10.19.19.19 255.255.255.255!interface GigabitEthernet8/0/3 description Connected to PE60_C3750-ME GE 1/0/2 mtu 9000 no ip address mls qos trust dscp service instance 187 ethernet

description P2P EoMPLS E-Line

encapsulation dot1q 100 second-dot1q 187 xconnect 10.144.144.144 187 encapsulation mpls !!interface GigabitEthernet8/0/12

description Connected to P11_CRS-4 GE 0/2/3/6

mtu 9202 ip address 10.119.4.19 255.255.255.0 speed nonegotiate mls qos trust dscp mpls label protocol ldp mpls ip!router ospf 100 router-id 10.19.19.19 log-adjacency-changes passive-interface Loopback0 network 10.19.19.19 0.0.0.0 area 0 network 10.119.4.0 0.0.0.255 area 0!mpls ldp router-id Loopback0!

Setting up the second 3750:

hostname PE60_C3750-ME!system mtu 1998system mtu jumbo 9000system mtu routing 1500!vtp domain Metro_Ethvtp mode transparent!spanning-tree mode pvstspanning-tree extend system-id!vlan internal allocation policy ascending!vlan 100!interface GigabitEthernet1/0/1 description Connected to PE61_ME-C3400 GE 0/1 switchport access vlan 100 switchport mode dot1q-tunnel

ES-215Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 216: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesConfiguration Examples for Ethernet Interfaces

switchport nonegotiate switchport port-security maximum 200 switchport port-security switchport port-security violation restrict storm-control broadcast level 10.00 l2protocol-tunnel cdp l2protocol-tunnel stp l2protocol-tunnel vtp no cdp enable spanning-tree bpdufilter enable spanning-tree guard root!interface GigabitEthernet1/0/2 description Connected to P19_C7609-S GE 8/0/3 switchport trunk encapsulation dot1q switchport trunk allowed vlan 100 switchport mode trunk switchport nonegotiate!

Setting up the second 3400:

hostname PE61_ME-C3400!system mtu 1998system mtu jumbo 9000system mtu routing 1500!spanning-tree mode rapid-pvstspanning-tree extend system-id!!!vlan internal allocation policy ascending!vlan 187!interface GigabitEthernet0/1 description Connected to PE60_C3750-ME GE 1/0/1 port-type nni switchport trunk allowed vlan 187 switchport mode trunk!interface Vlan187 description P2P EoMPLS E-Line ip address 187.0.0.61 255.255.255.0!

Configuring a Multi-Point Local Bridging E-LAN

Setting up the 3400:

hostname PE67_ME-C3400!system mtu 1998

ES-216Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 217: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesConfiguration Examples for Ethernet Interfaces

system mtu jumbo 9000system mtu routing 1500!spanning-tree mode rapid-pvstspanning-tree extend system-id!!vlan internal allocation policy ascending!vlan 189!interface GigabitEthernet0/1 description Connected to PE66_C3750-ME GE 1/0/1 port-type nni switchport trunk allowed vlan 189 switchport mode trunk!interface Vlan189 description Multipoint Local Bridging E-LAN ip address 189.0.0.67 255.255.255.0!

Setting up the 3750:

hostname PE66_C3750-ME!system mtu 1998system mtu jumbo 9000system mtu routing 1998!vtp domain Metro_Ethvtp mode transparent!spanning-tree mode pvstspanning-tree extend system-id!vlan internal allocation policy ascending!vlan 100 !interface GigabitEthernet1/0/1 description Connected to PE67_ME-C3400 GE 0/1 switchport access vlan 100 switchport mode dot1q-tunnel switchport nonegotiate switchport port-security maximum 200 switchport port-security switchport port-security violation restrict storm-control broadcast level 10.00 l2protocol-tunnel cdp l2protocol-tunnel stp l2protocol-tunnel vtp no cdp enable spanning-tree bpdufilter enable spanning-tree guard root!interface GigabitEthernet1/0/2 description Connected to PE44_ASR-9010 GE 0/1/0/7 switchport trunk encapsulation dot1q switchport trunk allowed vlan 100 switchport mode trunk switchport nonegotiate speed nonegotiate

ES-217Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 218: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesConfiguration Examples for Ethernet Interfaces

!

Setting up the second 3400:

hostname PE65_ME-C3400!system mtu 1998system mtu jumbo 9000system mtu routing 1500!spanning-tree mode rapid-pvstspanning-tree extend system-id!!vlan internal allocation policy ascending!vlan 189!interface GigabitEthernet0/1 description Connected to PE64_C3750-ME GE 1/0/1 port-type nni switchport trunk allowed vlan 189 switchport mode trunk!interface Vlan189 description Multipoint Local Bridging E-LAN ip address 189.0.0.65 255.255.255.0!

Setting up the second 3750:

hostname PE64_C3750-ME!system mtu 1998system mtu jumbo 9000system mtu routing 1500!vtp domain Metro_Ethvtp mode transparent!spanning-tree mode pvstspanning-tree extend system-id!vlan internal allocation policy ascending!vlan 100 !interface GigabitEthernet1/0/1 description Connected to PE65_ME-C3400 GE 0/1 switchport access vlan 100 switchport mode dot1q-tunnel switchport nonegotiate switchport port-security maximum 200 switchport port-security switchport port-security violation restrict storm-control broadcast level 10.00 l2protocol-tunnel cdp l2protocol-tunnel stp l2protocol-tunnel vtp no cdp enable

ES-218Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 219: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesConfiguration Examples for Ethernet Interfaces

spanning-tree bpdufilter enable spanning-tree guard root!interface GigabitEthernet1/0/2 description Connected to PE44_ASR-9010 GE 0/1/0/3 switchport trunk encapsulation dot1q switchport trunk allowed vlan 100 switchport mode trunk switchport nonegotiate speed nonegotiate!

Setting up the ASR 9000:

hostname PE44_ASR-9010!interface GigabitEthernet0/1/0/3 description Connected to PE64_C3750-ME GE 1/0/2 mtu 9014!interface GigabitEthernet0/1/0/3.189 l2transport description Multipoint Local Bridging E-LAN encapsulation dot1q 100 second-dot1q 189!interface GigabitEthernet0/1/0/7 description Connected to PE66_C3750-ME GE 1/0/2 mtu 9014!interface GigabitEthernet0/1/0/7.189 l2transport description Multipoint Local Bridging E-LAN encapsulation dot1q 100 second-dot1q 189!l2vpn ! bridge group 189 bridge-domain 189 mtu 9000 interface GigabitEthernet0/1/0/3.189 ! interface GigabitEthernet0/1/0/7.189 ! ! !!

ES-219Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 220: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesWhere to Go Next

Configuring a LAN Port for Layer 2 SwitchingTo configure a LAN port for Layer 2 switching, perform this task:

Virtual Router Redundancy Protocol (VRRP)The Virtual Router Redundancy Protocol (VRRP) feature can solve the static configuration problem. VRRP enables a group of routers to form a single virtual router. The LAN clients can then be configured with the virtual router as their default gateway. The virtual router, representing a group of routers, is also known as a VRRP group.

VRRP is supported on Ethernet and Gigabit Ethernet interfaces, and on MPLS VPNs and VLANs.

Where to Go NextWhen you have configured an Ethernet interface, you can configure individual VLAN subinterfaces on that Ethernet interface. For information about configuring VLAN subinterfaces, see the Configuring 802.1Q VLAN Interfaces on Cisco IOS XR Software module in the Cisco ASR 9000 Series Router Interface and Hardware Component Configuration Guide.

For information about modifying Ethernet management interfaces for the shelf controller (SC), route switching processor (RSP), and distributed RSP, see the Advanced Configuration and Modification of the Management Ethernet Interface on the Cisco ASR 9000 Series Router module in the Cisco ASR 9000 Series Router Interface and Hardware Component Configuration Guide.

Command Purpose

Step 1 Router(config)# interface type1 slot/port

1. type = gigabitethernet, or tengigabitethernet

Selects the LAN port to configure.

Step 2 Router(config-if)# shutdown (Optional) Shuts down the interface to prevent traffic flow until configuration is complete.

Step 3 Router(config-if)# switchport Configures the LAN port for Layer 2 switching.

Note You must enter the switchport command once without any keywords to configure the LAN port as a Layer 2 port before you can enter additional switchport commands with keywords.

Router(config-if)# no switchport Clears Layer 2 LAN port configuration.

Step 4 Router(config-if)# no shutdown Activates the interface. (Required only if you shut down the interface.)

Step 5 Router(config-if)# end Exits configuration mode.

Step 6 Router# show running-config interface [type1 slot/port]

Displays the running configuration of the interface.

Step 7 Router# show interfaces [type1 slot/port] switchport

Displays the switch port configuration of the interface.

Step 8 Router# show interfaces [type1 slot/port] trunk Displays the trunk configuration of the interface.

ES-220Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 221: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesAdditional References

Additional ReferencesThe following sections provide references related to implementing Gigabit and 10-Gigabit Ethernet interfaces.

Related Documents

Standards

MIBs

RFCs

Technical Assistance

Related Topic Document Title

Cisco IOS XR master command reference Cisco ASR 9000 Series Router Master Commands List

Information about user groups and task IDs Cisco ASR 9000 Series Router Getting Started Guide

Standards Title

No new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature.

MIBs MIBs Link

There are no applicable MIBs for this module. To locate and download MIBs for selected platforms using Cisco IOS XR Software, use the Cisco MIB Locator found at the following URL:

http://cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml

RFCs Title

No new or modified RFCs are supported by this feature, and support for existing RFCs has not been modified by this feature.

Description Link

The Cisco Technical Support website contains thousands of pages of searchable technical content, including links to products, technologies, solutions, technical tips, and tools. Registered Cisco.com users can log in from this page to access even more content.

http://www.cisco.com/techsupport

ES-221Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 222: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Ethernet Services Configuration ExamplesAdditional References

ES-222Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 223: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast Configuration

This chapter describes how to configure multicast connections on the Cisco ASR 9000 Series Aggregation Services Router using the command-line interface (CLI), and it describes basic Cisco IOS XR software multicast configuration examples.

Contents • Implementing Multicast Routing - IGMP and PIM, page 223

• Configuration Examples for Implementing Multicast Routing - IGMP and PIM, page 250

• Implementing Multicast Routing - PIM-SM and PIM-SSM, page 255

• Configuration Examples for Implementing Multicast Routing - PIM-SM and PIM-SSM, page 282

Implementing Multicast Routing - IGMP and PIMThis section contains instructions for the following tasks.

• Configuring PIM-SM and PIM-SSM, page 224 (required)

• Configuring PIM-SSM for Use in a Legacy Multicast Deployment, page 227 (optional)

• Configuring a Static RP and Allowing Backward Compatibility, page 230 (required)

• Configuring Auto-RP to Automate Group-to-RP Mappings, page 232 (optional)

• Configuring the Bootstrap Router, page 234 (optional)

• Calculating Rates per Route, page 237 (optional)

• Configuring Multicast Nonstop Forwarding, page 239 (optional)

• Interconnecting PIM-SM Domains with MSDP, page 243 (optional)

• Controlling Source Information on MSDP Peer Routers, page 246 (optional)

• Configuring MSDP MD5 Password Authentication, page 248 (optional)

ES-223Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 224: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

Configuring PIM-SM and PIM-SSMPIM is an efficient IP routing protocol that is “independent” of a routing table, unlike other multicast protocols such as Multicast Open Shortest Path First (MOSPF) or Distance Vector Multicast Routing Protocol (DVMRP).

Cisco IOS XR software supports Protocol Independent Multicast in sparse mode (PIM-SM) and Protocol Independent Multicast in Source-Specific Multicast (PIM-SSM), permitting both to operate on your router at the same time.

This task configures PIM-SM and PIM-SSM.

PIM-SM Operations

PIM in sparse mode operation is used in a multicast network when relatively few routers are involved in each multicast and these routers do not forward multicast packets for a group, unless there is an explicit request for the traffic.

For more information about PIM-SM, see the Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide.

PIM-SSM Operations

PIM in Source Specific Multicast operation uses information found on source addresses for a multicast group provided by receivers and performs source filtering on traffic.

• By default, PIM-SSM operates in the 232.0.0.0/8 multicast group range for IPv4. To configure these values, use the ssm range command.

• If SSM is deployed in a network already configured for PIM-SM, only the last-hop routers must be upgraded with Cisco IOS XR software that supports the SSM feature.

• No MSDP SA messages within the SSM range are accepted, generated, or forwarded.

For more information about PIM-SSM, see the Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide.

Restrictions for PIM-SM and SSM

Interoperability with SSM

PIM-SM operations within the SSM range of addresses change to PIM-SSM. In this mode, only PIM (S,G) join and prune messages are generated by the router, and no (S,G) RP shared tree or (*,G) shared tree messages are generated.

IGMP Version

To report multicast memberships to neighboring multicast routers, routers use IGMP and all routers on the subnet must be configured with the same version of IGMP.

A router running Cisco IOS XR software does not automatically detect Version 1 systems. You must use the version command in router IGMP configuration submode to configure the IGMP version.

SUMMARY STEPS

1. configure

ES-224Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 225: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

2. multicast-routing [address-family ipv4]

3. interface all enable

4. exit

5. router igmp

6. version {1 | 2 | 3}

7. end or commit

8. show pim [ipv4] group-map [ip-address-name] [info-source]

9. show pim [vrf vrf-name] [ipv4] topology [source-ip-address [group-ip-address] | entry-flag flag | interface-flag | summary] [route-count]

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/RSP0/CPU0:router# configure

Enters global configuration mode.

Step 2 multicast-routing [address-family ipv4]

Example:RP/0/RSP0/CPU0:router(config)# multicast-routing

Enters multicast routing configuration mode.

• The following multicast processes are started: MRIB, MFWD, PIM, IGMP.

• IGMP version 3 is enabled by default..

Step 3 interface all enable

Example:RP/0/RSP0/CPU0:router(config-mcast-ipv4)# interface all enable

Enables multicast routing and forwarding on all new and existing interfaces.

Step 4 exit

Example:RP/0/RSP0/CPU0:router(config-mcast-ipv4)# exit

Exits multicast routing configuration mode, and returns the router to the parent configuration mode.

Step 5 router igmp

Example:RP/0/RSP0/CPU0:router(config)# router igmp

(Optional) Enters router IGMP configuration mode.

ES-225Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 226: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

Step 6 version {1 | 2 | 3}

Example:RP/0/RSP0/CPU0:router(config-igmp)# version 3

(Optional) Selects the IGMP version that the router interface uses.

• The default is IGMP version 3.

• Host receivers must support IGMPv3 for PIM-SSM operation.

• If this command is configured in router IGMP configuration mode, parameters are inherited by all new and existing interfaces. You can override these parameters on individual interfaces from interface configuration mode.

Step 7 end orcommit

Example:RP/0/RSP0/CPU0:router(config-igmp)# end

or

RP/0/RSP0/CPU0:router(config-igmp)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 8 show pim [ipv4] group-map [ip-address-name] [info-source]

Example:RP/0//CPU0:router# show pim ipv4 group-map

(Optional) Displays group-to-PIM mode mapping.

Step 9 show pim [vrf vrf-name] [ipv4] topology [source-ip-address [group-ip-address] | entry-flag flag | interface-flag | summary] [route-count]

Example:RP/0/RSP0/CPU0:router# show pim topology

(Optional) Displays PIM topology table information for a specific group or all groups.

Command or Action Purpose

ES-226Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 227: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

Configuring PIM-SSM for Use in a Legacy Multicast DeploymentDeploying PIM-SSM in legacy multicast-enabled networks can be problematic, because it requires changes to the multicast group management protocols used on the various devices attached to the network. Host, routers, and switches must all be upgraded in such cases.

To support legacy hosts and switches in a PIM-SSM deployment, Cisco ASR 9000 Series Router offer a configurable mapping feature. Legacy group membership reports for groups in the SSM group range are mapped to a set of sources providing service for that set of (S,G) channels.

IGMP supports this mapping functionality. This configuration consists of two tasks:

• Configuring a Set of Access Lists for Static SSM Mapping, page 259

• Configuring a Set of Sources for SSM Mapping, page 261

Restrictions for PIM-SSM Mapping

PIM-SSM mapping does not modify the SSM group range. Instead, the legacy devices must report group membership for desired groups in the SSM group range. The router then maps to the sets of sources for those groups.

Configuring a Set of Access Lists for Static SSM Mapping

This tasks configures a set of access lists (ACLs) where each ACL describes a set of SSM groups to be mapped to one or more sources.

SUMMARY STEPS

1. configure

2. ipv4 access-list acl-name

3. [sequence-number] permit source [source-wildcard]

4. Repeat 3. to add more entries to the ACL.

5. Repeat Steps 2. through 4. until you have entered all of the ACLs you want to be part of the set.

6. end or commit

ES-227Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 228: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/0/CPU0:router# configure

Enters global configuration mode.

Step 2 ipv4 access-list acl-name

Example:RP/0/0/CPU0:router(config)# ipv4 access-list mc3

Enters IPv4 ACL configuration submode and creates a name for an IPv4 access list.

Step 3 [sequence-number] permit source [source-wildcard]

Example:RP/0/0/CPU0:router(config-ipv4-acl)# permit 1 host 232.1.1.2 any

Sets conditions for the access list to recognize the source as part of the specified access list set, in which each ACL describes a set of SSM groups to be mapped.

Step 4 Repeat Step 3 to add more entries to the ACL. —

Step 5 Repeat Step 2 through Step 4 until you have entered all the ACLs you want to be part of the set.

Step 6 endorcommit

Example:RP/0/0/CPU0:router(config-ipv4-acl)# end

or

RP/0/0/CPU0:router(config-ipv4-acl)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

ES-228Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 229: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

Configuring a Set of Sources for SSM Mapping

This task consists of configuring a set of sources mapped by SSM groups, as described by access lists (ACLs).

SUMMARY STEPS

1. configure

2. router igmp [vrf vrf-name]

3. ssm map static source-address access-list

4. Repeat Step 3. as many times as you have source addresses that you want to include in your set.

5. end or commit

6. show igmp [vrf vrf-name] ssm map [group-address ][detail]

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/0/CPU0:router# configure

Enters global configuration mode.

Step 2 router igmp [vrf vrf-name]

Example:RP/0/0/CPU0:router(config)# router igmp vrf vpn20

Enters router IGMP configuration mode.

Step 3 ssm map static source-address access-list

Example:RP/0/0/CPU0:router(config-igmp)# ssm map static 232.1.1.1 mc2

Configures a source as part of a set of sources that map SSM groups described by the specified access list.

Step 4 Repeat Step 3 as many times as you have source addresses to include in the set for SSM mapping.

ES-229Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 230: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

Configuring a Static RP and Allowing Backward CompatibilityWhen PIM is configured in sparse mode, you must choose one or more routers to operate as a rendezvous point (RP) for a multicast group. An RP is a single common root placed at a chosen point of a shared distribution tree. An RP can either must be configured statically in each router, or learned through Auto-RP or BSR.

This task configures a static RP. For more information about RPs, see the Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide. For configuration information for Auto-RP, see the “Configuring Auto-RP to Automate Group-to-RP Mappings” section on page 264.

SUMMARY STEPS

1. configure

2. router pim [address-family ipv4]

Step 5 endorcommit

Example:RP/0/0/CPU0:router(config-ipv4-acl)# end

or

RP/0/0/CPU0:router(config-ipv4-acl)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 6 show igmp [vrf vrf-name] ssm map [group-address][detail]

Example:RP/0/0/CPU0:router# show igmp vrf vrf20 ssm map 232.1.1.1

232.1.1.1 is static with 1 source

or

RP/0/0/CPU0:router# show igmp vrf vrf20 ssm map

232.1.1.0 is static with 3 sources232.1.1.1 is static with 1 source

(Optional) Queries the mapping state.

• When you provide one address for mapping, you receive the state for that address alone.

• When you provide no address for mapping, you receive the state for all sources.

Command or Action Purpose

ES-230Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 231: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

3. rp-address ip-address [group-access-list] [bidir] [override]

4. old-register-checksum

5. exit

6. ipv4 access-list name

7. [sequence-number] permit source [source-wildcard]

8. end or commit

9. show version

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/RSP0/CPU0:router# configure

Enters global configuration mode.

Step 2 router pim [address-family ipv4 ]

Example:RP/0/RSP0/CPU0:router(config)# router pim

Enters PIM configuration mode, or PM address-family configuration submode.

Step 3 rp-address ip-address [group-access-list] [bidir] [override]

Example:RP/0/RSP0/CPU0:router(config-pim-default-ipv4)# rp-address 172.16.6.22 rp-access

Assigns an RP to multicast groups.

• If you specify a group-access-list-number value, you must configure that access list using the ipv4 access-list command.

Step 4 old-register-checksum

Example:RP/0/RSP0/CPU0:router(config-pim-ipv4)# old-register-checksum

(Optional) Allows backward compatibility on the RP that uses old register checksum methodology.

Step 5 exit

Example:RP/0/RSP0/CPU0:router(config-pim-ipv4)# exit

Exits PIM configuration mode, and returns the router to the parent configuration mode.

Step 6 ipv4 access-list name

Example:RP/0/RSP0/CPU0:router(config)# ipv4 access-list rp-access

(Optional) Enters access list configuration mode and configures the RP access list.

• The access list called “rp-access” permits multicast group 239.1.1.0 0.0.255.255.

ES-231Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 232: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

Configuring Auto-RP to Automate Group-to-RP MappingsThis task configures the Auto-RP mechanism to automate the distribution of group-to-RP mappings in your network. In a network running Auto-RP, at least one router must operate as an RP candidate and another router must operate as an RP mapping agent.

For more information about Auto-RP, see the Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide.

SUMMARY STEPS

1. configure

2. router pim [address-family ipv4]

3. auto-rp candidate-rp type instance scope ttl-value [group-list access-list-name] [interval seconds] [bidir]

4. auto-rp mapping-agent type number scope ttl-value [interval seconds]

Step 7 [sequence-number] permit source [source-wildcard]

Example:RP/0/RSP0/CPU0:router(config-ipv4-acl)# permit 239.1.1.1 0.0.255.255

(Optional) Permits multicast group 239.1.1.1 0.0.255.255 for the “rp-access” list.

Tip The commands in Step 6 and Step 7 can be combined in one command string and entered from global configuration mode like this: ipv4 access-list rp-access permit 239.1.1.1 0.0.255.255.

Step 8 endorcommit

Example:RP/0/RSP0/CPU0:router(config-ipv4-acl)# end

or

RP/0/RSP0/CPU0:router(config-ipv4-acl)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 9 show version

Example:RP/0/RSP0/CPU0:router# show version

Displays the software release version.

Command or Action Purpose

ES-232Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 233: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

5. exit

6. ipv4 access-list name

7. [sequence-number] permit source [source-wildcard]

8. end or commit

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/RSP0/CPU0:router# configure

Enters global configuration mode.

Step 2 router pim [address-family ipv4]

Example:RP/0/RSP0/CPU0:router(config)# router pim

Enters PIM configuration mode, or PIM address-family configuration submode.

Step 3 auto-rp candidate-rp type instance scope ttl-value [group-list access-list-name] [interval seconds] [bidir]

Example:RP/0/RSP0/CPU0:router(config-pim-ipv4)# auto-rp candidate-rp GigabitEthernet0/1/0/1 scope 31 group-list 2

Configures an RP candidate that sends messages to the CISCO-RP-ANNOUNCE multicast group (224.0.1.39).

• This example sends RP announcements out all PIM-enabled interfaces for a maximum of 31 hops. The IP address by which the router wants to be identified as an RP is the IP address associated with GigabitEthernet interface 0/1/0/1.

• Access list 2 designates the groups this router serves as RP.

• If you specify group-list, you must configure the optional access-list command.

Step 4 auto-rp mapping-agent type number scope ttl-value [interval seconds]

Example:RP/0/RSP0/CPU0:router(config-pim-ipv4)# auto-rp mapping-agent GigabitEthernet0/1/0/1 scope 20

Configures the router to be an RP mapping agent on a specified interface.

• After the router is configured as an RP mapping agent and determines the RP-to-group mappings through the CISCO-RP-ANNOUNCE (224.0.1.39) group, the router sends the mappings in an Auto-RP discovery message to the well-known group CISCO-RP-DISCOVERY (224.0.1.40).

• A PIM DR listens to this well-known group to determine which RP to use.

• This example limits Auto-RP discovery messages to 20 hops.

Step 5 exit

Example:RP/0/RSP0/CPU0:router(config-pim-ipv4)# exit

Exits PIM configuration mode and returns the router to the parent configuration mode.

ES-233Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 234: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

Configuring the Bootstrap RouterThis task configures one or more candidate bootstrap routers (BSRs) and a BSR mapping agent. This task also connects and locates the candidate BSRs in the backbone portion of the network.

For more information about BSR see the Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide.

SUMMARY STEPS

1. configure

2. router pim [address-family ipv4]

3. bsr candidate-bsr ip-address [hash-mask-len length] [priority value]

4. bsr candidate-rp ip-address [group-list access-list] [interval seconds] [priority value]

5. interface type number

Step 6 ipv4 access-list name

Example:RP/0/RSP0/CPU0:router(config)# ipv4 access-list 2

(Optional) Defines the RP access list.

Step 7 [sequence-number] permit source [source-wildcard]

Example:RP/0/RSP0/CPU0:router(config-ipv4-acl)# permit 239.1.1.1 0.0.0.0

(Optional) Permits multicast group 239.1.1.1 for the RP access list.

Tip The commands in Step 6 and Step 7 can be combined in one command string and entered from global configuration mode like this: ipv4 access-list rp-access permit 239.1.1.1 0.0.0.0

Step 8 endorcommit

Example:RP/0/RSP0/CPU0:router(config-ipv4-acl)# endorRP/0/RSP0/CPU0:router(config-ipv4-acl)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting (yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Command or Action Purpose

ES-234Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 235: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

6. bsr border

7. exit

8. exit

9. ipv4 access-list name

10. [sequence-number] permit source [source-wildcard]

or

[sequence-number] permit source-prefix dest-prefix

11. end or commit

12. clear pim [vrf vrf-name] [ipv4] bsr

13. show pim [vrf vrf-name] [ipv4] bsr candidate-rp

14. show pim [vrf vrf-name] [ipv4] bsr election

15. show pim [vrf vrf-name] [ipv4] bsr rp-cache

16. show pim [vrf vrf-name] [ipv4] group-map [ip-address-name] [info-source]

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/RSP0/CPU0:router# configure

Enters global configuration mode.

Step 2 router pim [address-family ipv4]

Example:RP/0/RSP0/CPU0:router(config)# router pim

Enters PIM configuration mode, or address-family configuration submode.

Step 3 bsr candidate-bsr ip-address [hash-mask-len length] [priority value]

Example:RP/0/RSP0/CPU0:router(config-pim-default-ipv4)# bsr candidate-bsr 10.0.0.1 hash-mask-len 30

Configures the router to announce its candidacy as a BSR.

Step 4 bsr candidate-rp ip-address [group-list access-list] [interval seconds] [priority value]

Example:RP/0/RSP0/CPU0:router(config-pim-default-ipv4)# bsr candidate-rp 172.16.0.0 group-list 4

Configures the router to advertise itself as a PIM Version 2 candidate RP to the BSR.

• See Step 9 for group list 4 configuration.

ES-235Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 236: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

Step 5 interface type number

Example:RP/0/RSP0/CPU0:router(config-pim-default-ipv4)# interface GigabitEthernet0/1/0/0

(Optional) Enters interface configuration mode for the PIM protocol.

Step 6 bsr-border

Example:RP/0/RSP0/CPU0:router(config-pim-ipv4-if)# bsr-border

(Optional) Stops the forwarding of bootstrap router (BSR) messages on a Protocol Independent Multicast (PIM) router interface.

Step 7 exit

Example:RP/0/RSP0/CPU0:router(config-pim-ipv4-if)# exit

(Optional) Exits PIM interface configuration mode, and returns the router to PIM configuration mode.

Step 8 exit

Example:RP/0/RSP0/CPU0:router(config-pim-default-ipv4)# exit

Exits PIM configuration mode, and returns the router to global configuration mode.

Step 9 {ipv4 | ipv6} access-list name

Example:RP/0/RSP0/CPU0:router(config)# ipv4 access-list 4

(Optional) Defines the candidate group list to the BSR.

• Access list number 4 specifies the group prefix associated with the candidate RP address 172.16.0.0. (See Step 4).

• This RP is responsible for the groups with the prefix 239.

Step 10 [sequence-number] permit source [source-wildcard]

or

[sequence-number] permit source-prefix dest-prefix

Example:RP/0/RSP0/CPU0:router(config-ipv4-acl)# permit 239.1.1.1 0.255.255.255

(Optional) Permits multicast group 239.1.1.1 for the candidate group list.

Tip The commands in Step 6 and Step 7 can be combined in one command string and entered from global configuration mode like this: ipv4 access-list rp-access permit 239.1.1.1 0.255.255.255

Command or Action Purpose

ES-236Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 237: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

Calculating Rates per RouteThis procedure enables multicast hardware forward-rate counters on a per-VRF-family basis.

Step 11 end

or

commit

Example:RP/0/RSP0/CPU0:router(config-ipv4-acl)# end

or

RP/0/RSP0/CPU0:router(config-ipv4-acl)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 12 clear pim [vrf vrf-name] [ipv4] bsr

Example:RP/0/RSP0/CPU0:router# clear pim bsr

(Optional) Clears BSR entries from the PIM RP group mapping cache.

Step 13 show pim [vrf vrf-name] [ipv4] bsr candidate-rp

Example:RP/0/RSP0/CPU0:router# show pim bsr candidate-rp

(Optional) Displays PIM candidate RP information for the BSR.

Step 14 show pim [vrf vrf-name] [ipv4] bsr election

Example:RP/0/RSP0/CPU0:router# show pim bsr election

(Optional) Displays PIM candidate election information for the BSR.

Step 15 show pim [vrf vrf-name] [ipv4] bsr rp-cache

Example:RP/0/RSP0/CPU0:router# show pim bsr rp-cache

(Optional) Displays PIM RP cache information for the BSR.

Step 16 show pim [vrf vrf-name][ipv4] group-map [ip-address-name] [info-source]

Example:RP/0/RSP0/CPU0:router# show pim ipv4 group-map

(Optional) Displays group-to-PIM mode mapping.

Command or Action Purpose

ES-237Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 238: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

SUMMARY STEPS

1. configure

2. multicast-routing [vrf vrf-name] [address-family ipv4 ]

3. rate-per-route

4. interface {type interface-id | all} enable

5. accounting per-prefix

6. end or commit

7. show mfib [vrf vrf-name] [ipv4] route [rate | statistics] [* | source-address] [group-address [/prefix-length] [detail | old-output] | summary] [location node-id]

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/RSP0/CPU0:router# configure

Enters global configuration mode.

Step 2 multicast-routing [vrf vrf-name] [address-family ipv4 ]

Example:RP/0/RSP0/CPU0:router(config)# multicast-routing address-family ipv4

Enters multicast routing configuration mode.

• The following multicast processes are started: MRIB, MFWD, PIM, IGMP.

• For IPv4, IGMP version 3 is enabled by default.

Step 3 rate-per-route

Example:RP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# rate-per-route

Enables a per (S,G) rate calculation for a particular route.

Step 4 interface {type interface-id | all} enable

Example:RP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# interface all enable

or

RP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# interface FastEthernet0/3/3/1 enable

Enables multicast routing on all interfaces.

Step 5 accounting per-prefix

Example:RP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# accounting per-prefix

Enables per-prefix counters in hardware. Cisco IOS XR software counters are always present. When enabled, every existing and new (S, G) route is assigned forward, punt, and drop counters on the ingress route and forward and punt counters on the egress route. The (*, G) routes are assigned a single counter.

ES-238Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 239: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

Configuring Multicast Nonstop ForwardingThis task configures the nonstop forwarding (NSF) feature for multicast packet forwarding for the purpose of alleviating network failures, or software upgrades and downgrades.

Although we strongly recommend that you use the NSF lifetime default values, the optional Step 4 through Step 9 allow you to modify the NSF timeout values for Protocol Independent Multicast (PIM) and Internet Group Management Protocol (IGMP). Use these commands when PIM and IGMP are configured with nondefault interval or query intervals for join and prune operations.

Generally, configure the IGMP NSF and PIM NSF lifetime values to equal or exceed the query or join query interval. For example, if you set the IGMP query interval to 120 seconds, set the IGMP NSF lifetime to 120 seconds (or greater).

If the Cisco IOS XR software control plane does not converge and reconnect after NSF is enabled on your router, multicast packet forwarding continues for up to 15 minutes, then packet forwarding stops.

Step 6 end

or

commit

Example:RP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# end

or

RP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 7 show mfib [vrf vrf-name] [ipv4] route [rate | statistics] [* | source-address] [group-address [/prefix-length] [detail | old-output] | summary] [location node-id]

Example:RP/0/RSP0/CPU0:router# show mfib vrf 12 route statistics location 0/1/cpU0

Displays route entries in the Multicast Forwarding Information Base (MFIB) table.

• When the rate keyword is used with the source- and group-address, the command displays the cumulative rates per route for all line cards in the Multicast Forwarding Information Base (MFIB) table.

• When the statistics keyword is used, the command displays the rate per route for one line card in the Multicast Forwarding Information Base (MFIB) table.

Command or Action Purpose

ES-239Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 240: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

Prerequisites for Multicast Nonstop Forwarding

For NSF to operate in your multicast network, you must also enable NSF for the unicast protocols (such as IS-IS, OSPF, and BGP) that PIM relies on for Reverse Path Forwarding (RPF) information. See the appropriate configuration modules to learn how to configure NSF for unicast protocols.

SUMMARY STEPS

1. configure

2. multicast-routing [address-family ipv4]

3. nsf [lifetime seconds]

4. exit

5. router pim [address-family ipv4]

6. nsf lifetime seconds

7. exit

8. router igmp

9. nsf lifetime seconds

10. end or commit

11. show igmp [old-output] nsf

12. show mfib [ipv4] nsf [location node-id]

13. show mrib [ipv4] [old-output] nsf

14. show pim [ipv4] nsf

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/RSP0/CPU0:router# configure

Enters global configuration mode.

Step 2 multicast-routing [address-family ipv4]

Example:RP/0/RSP0/CPU0:router(config)# multicast-routing

Enters multicast routing configuration mode.

• The following multicast processes are started: MRIB, MFWD, PIM, IGMP.

• IGMP version 3 is enabled by default.

Step 3 nsf [lifetime seconds]

Example:RP/0/RSP0/CPU0:router(config-mcast)# nsf

Turns on NSF capability for the multicast routing system.

ES-240Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 241: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

Step 4 exit

Example:RP/0/RSP0/CPU0:router(config-mcast)# exit

(Optional) Exits multicast routing configuration mode, and returns the router to the parent configuration mode.

Step 5 router pim [address-family ipv4]

Example:RP/0/RSP0/CPU0:router(config)# router pim address-family ipv4

(Optional) Enters PIM address-family configuration submode.

Step 6 nsf lifetime seconds

Example:RP/0/RSP0/CPU0:router(config-pim-default-ipv4)# nsf lifetime 30

(Optional) Configures the NSF timeout value for multicast forwarding route entries under the PIM process.

Note If you configure the PIM hello interval to a nondefault value, configure the PIM NSF lifetime to a value less than the hello hold time. Typically the value of the hold-time field is 3.5 times the interval time value, or 120 seconds if the PIM hello interval time is 30 seconds.

Step 7 exit

Example:RRP/0/RSP0/CPU0:router(config-pim-default-ipv4)# exit

(Optional) Exits PIM configuration mode and returns the router to the parent configuration mode.

Step 8 router igmp

Example:RP/0/RSP0/CPU0:router(config)# router igmp

(Optional) Enters router IGMP configuration mode.

Step 9 nsf lifetime seconds

Example:RP/0/RSP0/CPU0:router(config-igmp)# nsf lifetime 30

(Optional) Configures the NSF timeout value for multicast forwarding route entries under the IGMP process.

Command or Action Purpose

ES-241Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 242: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

Step 10 end

or

commit

Example:RP/0/RSP0/CPU0:router(config-igmp)# end

or

RP/0/RSP0/CPU0:router(config-igmp)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 11 show igmp [old-output] nsf

Example:RP/0/RSP0/CPU0:router# show igmp nsf

(Optional) Displays the state of NSF operation in IGMP.

Step 12 show mfib [ipv4] nsf [location node-id]

Example:RP/0/RSP0/CPU0:router# show mfib nsf

(Optional) Displays the state of NSF operation for the MFIB line cards.

Step 13 show mrib [ipv4] [old-output] nsf

Example:RP/0/RSP0/CPU0:router# show mrib nsf

(Optional) Displays the state of NSF operation in the MRIB.

Step 14 show pim [ipv4] nsf

Example:RP/0/RSP0/CPU0:router# show pim nsf

(Optional) Displays the state of NSF operation for PIM.

Command or Action Purpose

ES-242Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 243: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

Interconnecting PIM-SM Domains with MSDPTo set up an MSDP peering relationship with MSDP-enabled routers in another domain, you configure an MSDP peer to the local router.

If you do not want to have or cannot have a BGP peer in your domain, you could define a default MSDP peer from which to accept all Source-Active (SA) messages.

Finally, you can change the Originator ID when you configure a logical RP on multiple routers in an MSDP mesh group.

Prerequisites for Interconnecting PIM-SM Domains with MSDP

You must configure MSDP default peering, if the addresses of all MSDP peers are not known in BGP or multiprotocol BGP.

SUMMARY STEPS

1. configure

2. interface type number

3. ipv4 address address mask

4. end

5. router msdp

6. default-peer ip-address [prefix-list list]

7. originator-id type interface-id

8. peer peer-address

9. connect-source type interface-id

10. mesh-group name

11. remote-as as-number

12. end or commit

13. show msdp [ipv4] globals

14. show msdp [ipv4] peer [peer-address]

15. show msdp [ipv4] rpf rpf-address

ES-243Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 244: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/RSP0/CPU0:router# configure

Enters global configuration mode.

Step 2 interface type number

Example:RP/0/RSP0/CPU0:router(config)# interface loopback 0

(Optional) Enters interface configuration mode to define the IPv4 address for the interface.

Note This step is required if you specify an interface type and number whose primary address becomes the source IP address for the TCP connection.

Step 3 ipv4 address address mask

Example:RP/0/RSP0/CPU0:router(config-if)# ipv4 address 10.0.1.3 255.255.255.0

(Optional) Defines the IPv4 address for the interface.

Note This step is required only if you specify an interface type and number whose primary address becomes the source IP address for the TCP connection. See optional Step 9 for information about configuring the connect-source command.

Step 4 exit

Example:RP/0/RSP0/CPU0:router(config-if)# end

Exits interface configuration mode, and returns the router to global configuration mode.

Step 5 router msdp

Example:RP/0/RSP0/CPU0:router(config)# router msdp

Enters MSDP protocol configuration mode.

Step 6 default-peer ip-address [prefix-list list]

Example:RP/0/RSP0/CPU0:router(config-msdp)# default-peer 172.23.16.0

(Optional) Defines a default peer from which to accept all MSDP SA messages.

Step 7 originator-id type interface-id

Example:RP/0/RSP0/CPU0:router(config-msdp)# originator-id GigabitEthernet0/1/1/0

(Optional) Allows an MSDP speaker that originates a (Source-Active) SA message to use the IP address of the interface as the RP address in the SA message.

Step 8 peer peer-address

Example:RP/0/RSP0/CPU0:router(config-msdp)# peer 172.31.1.2

Enters MSDP peer configuration mode and configures an MSDP peer.

• Configure the router as a BGP neighbor.

• If you are also BGP peering with this MSDP peer, use the same IP address for MSDP and BGP. You are not required to run BGP or multiprotocol BGP with the MSDP peer, as long as there is a BGP or multiprotocol BGP path between the MSDP peers.

ES-244Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 245: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

Step 9 connect-source type interface-id

Example:RP/0/RSP0/CPU0:router(config-msdp-peer)# connect-source loopback 0

(Optional) Configures a source address used for an MSDP connection.

Step 10 mesh-group name

Example:RP/0/RSP0/CPU0:router(config-msdp-peer)# mesh-group internal

(Optional) Configures an MSDP peer to be a member of a mesh group.

Step 11 remote-as as-number

Example:RP/0/RSP0/CPU0:router(config-msdp-peer)# remote-as 250

(Optional) Configures the remote autonomous system number of this peer.

Step 12 end

or

commit

Example:RP/0/RSP0/CPU0:router(config-msdp-peer)# end

or

RP/0/RSP0/CPU0:router(config-msdp-peer)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 13 show msdp [ipv4] globals

Example:RP/0/RSP0/CPU0:router# show msdp globals

Displays the MSDP global variables.

Command or Action Purpose

ES-245Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 246: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

Controlling Source Information on MSDP Peer Routers Your MSDP peer router can be customized to control source information that is originated, forwarded, received, cached, and encapsulated.

When originating Source-Active (SA) messages, you can control to whom you will originate source information, based on the source that is requesting information.

When forwarding SA messages you can do the following:

• Filter all source/group pairs

• Specify an extended access list to pass only certain source/group pairs

• Filter based on match criteria in a route map

When receiving SA messages you can do the following:

• Filter all incoming SA messages from an MSDP peer

• Specify an extended access list to pass certain source/group pairs

• Filter based on match criteria in a route map

In addition, you can use time to live (TTL) to control what data is encapsulated in the first SA message for every source. For example, you could limit internal traffic to a TTL of eight hops. If you want other groups to go to external locations, you send those packets with a TTL greater than eight hops.

By default, MSDP automatically sends SA messages to peers when a new member joins a group and wants to receive multicast traffic. You are no longer required to configure an SA request to a specified MSDP peer.

SUMMARY STEPS

1. configure

2. router msdp

3. sa-filter {in | out} {ip-address | peer-name} [list access-list-name] [rp-list access-list-name]

4. cache-sa-state [list access-list-name] [rp-list access-list-name]

5. ttl-threshold ttl-value

6. exit

7. ipv4 access-list name [sequence-number] permit source [source-wildcard]

Step 14 show msdp [ipv4] peer [peer-address]

Example:RP/0/RSP0/CPU0:router# show msdp peer 172.31.1.2

Displays information about the MSDP peer.

Step 15 show msdp [ipv4] rpf rpf-address

Example:RP/0/RSP0/CPU0:router# show msdp rpf 172.16.10.13

Displays the RPF lookup.

Command or Action Purpose

ES-246Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 247: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

8. end or commit

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/RSP0/CPU0:router# configure

Enters global configuration mode.

Step 2 router msdp

Example:RP/0/RSP0/CPU0:router(config)# router msdp

Enters MSDP protocol configuration mode.

Step 3 sa-filter {in | out} {ip-address | peer-name} [list access-list-name] [rp-list access-list-name]

Example:RP/0/RSP0/CPU0:router(config-msdp)# sa-filter out router.cisco.com list 100

Configures an incoming or outgoing filter list for messages received from the specified MSDP peer.

• If you specify both the list and rp-list keywords, all conditions must be true to pass any source, group (S, G) pairs in outgoing Source-Active (SA) messages.

• You must configure the ipv4 access-list command in Step 7.

• If all match criteria are true, a permit from the route map passes routes through the filter. A deny filters routes.

• This example allows only (S, G) pairs that pass access list 100 to be forwarded in an SA message to the peer named router.cisco.com.

Step 4 cache-sa-state [list access-list-name] [rp-list access-list-name]

Example:RP/0/RSP0/CPU0:router(config-msdp)# cache-sa-state 100

Creates and caches source/group pairs from received Source-Active (SA) messages and controls pairs through access lists.

Step 5 ttl-threshold ttl-value

Example:RP/0/RSP0/CPU0:router(config-msdp)# ttl-threshold 8

(Optional) Limits which multicast data is sent in SA messages to an MSDP peer.

• Only multicast packets with an IP header TTL greater than or equal to the ttl-value argument are sent to the MSDP peer specified by the IP address or name.

• Use this command if you want to use TTL to examine your multicast data traffic. For example, you could limit internal traffic to a TTL of 8. If you want other groups to go to external locations, send those packets with a TTL greater than 8.

• This example configures a TTL threshold of eight hops.

ES-247Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 248: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

Configuring MSDP MD5 Password Authentication This task describes how to configure Multicast Source Discovery Protocol (MSDP) MD5 password authentication.

SUMMARY STEPS

1. configure

2. router msdp

3. peer peer-address

4. password {clear | encrypted} password

5. end or commit

Step 6 exit

Example:RP/0/RSP0/CPU0:router(config-msdp)# exit

Exits the current configuration mode.

Step 7 ipv4 access-list name [sequence-number] permit source [source-wildcard]

Example:RP/0/RSP0/CPU0:router(config)# ipv4 access-list 100 20 permit 239.1.1.1 0.0.0.0

Defines an IPv4 access list to be used by SA filtering.

• In this example, the access list 100 permits multicast group 239.1.1.1.

• The ipv4 access-list command is required if the keyword list is configured for SA filtering in Step 3.

Step 8 end

or

commit

Example:RP/0/RSP0/CPU0:router(config-ipv4-acl)# end

or

RP/0/RSP0/CPU0:router(config-ipv4-acl)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Command or Action Purpose

ES-248Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 249: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - IGMP and PIM

6. show mfib [vrf vrf-name] [ipv4] hardware route {* | source-address | group-address [/prefix-length]} location node-id

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/RSP0/CPU0:router# configure

Enters global configuration mode.

Step 2 router msdp

Example:RP/0/RSP0/CPU0:router(config)# router msdp

Enters MSDP configuration mode.

Step 3 peer peer-address

Example:RP/0/RSP0/CPU0:router(config-msdp)# peer 10.0.5.4

Configures the MSDP peer.

Step 4 password {clear | encrypted} password

Example:RP/0/RSP0/CPU0:router(config-msdp-peer)# password encrypted a34bi5m

Configures the password.

ES-249Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 250: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationConfiguration Examples for Implementing Multicast Routing - IGMP and PIM

Configuration Examples for Implementing Multicast Routing - IGMP and PIM

This section provides the following configuration examples:

• MSDP Anycast RP Configuration: Example, page 282

• Calculating Rates per Route: Example, page 284

• Preventing Auto-RP Messages from Being Forwarded: Example, page 285

• Inheritance in MSDP: Example, page 285

• Configuring Multicast QoS: Example, page 286

MSDP Anycast RP Configuration: ExampleAnycast Route Processor (RP) allows two or more RPs to share the load for source registration and to act as hot backup routers for each other. MSDP is the key protocol that makes Anycast RP possible.

Step 5 end

or

commit

Example:RP/0/RSP0/CPU0:router(config-msdp-peer)# end

or

RP/0/RSP0/CPU0:router(config-msdp-peer)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 6 show mfib [vrf vrf-name] [ipv4] hardware route {* | source-address | group-address [/prefix-length]} location node-id

Example:RP/0/RSP0/CPU0:router# show mfib hardware route * location 0/1/cpu0

Displays multicast routes.

Command or Action Purpose

ES-250Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 251: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationConfiguration Examples for Implementing Multicast Routing - IGMP and PIM

In Anycast RP, two or more RPs are configured with the same IP address on loopback interfaces. Configure the Anycast RP loopback address with a 32-bit mask, making it a host address. Configure all downstream routers to “know” that the Anycast RP loopback address is the IP address of the local RP. IP routing automatically selects the topologically closest RP for each source and receiver.

As a source may register with one RP and receivers may join to a different RP, a method is needed for the RPs to exchange information about active sources. This information exchange is done with MSDP.

In Anycast RP, all the RPs are configured to be MSDP peers of each other. When a source registers with one RP, a Source-Active (SA) message is sent to the other RPs, informing them that there is an active source for a particular multicast group. The result is that each RP knows about the active sources in the area of the other RPs. If any of the RPs fails, IP routing converges and one of the RPs becomes the active RP in more than one area. New sources register with the backup RP, and receivers join the new RP.

Note that the RP is usually needed only to start new sessions with sources and receivers. The RP facilitates the shared tree so that sources and receivers can directly establish a multicast data flow. If a multicast data flow is already directly established between a source and the receiver, an RP failure does not affect that session. Anycast RP ensures that new sessions with sources and receivers can begin at any time.

The following Anycast RP example configures Router A and Router B as Anycast RPs. The Anycast RP IP address assignment is 10.0.0.1.

Router Ainterface loopback 0 ipv4 address 10.0.0.1/32 no shutdowninterface loopback 1 ipv4 address 10.2.0.1/32 no shutdownmulticast-routing interfaces all enable router pim rp-address 10.0.0.1 router msdp connect-source loopback 1 peer 10.2.0.2

Router Binterface loopback 0 ipv4 address 10.0.0.1/32 no shutdowninterface loopback 1 ipv4 address 10.2.0.2/32 no shutdownmulticast-routing interfaces all enable router pim rp-address 10.0.0.1 router msdp connect-source loopback 1 peer 10.2.0.1

Apply the following configuration to all network routers:

multicast-routing router pim rp-address 10.0.0.1

ES-251Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 252: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationConfiguration Examples for Implementing Multicast Routing - IGMP and PIM

Calculating Rates per Route: ExampleThe following example illustrates output from hardware counters based on rate per route for a specific source and group address location:

RP/0/RSP0/CPU0:router# configureRP/0/RSP0/CPU0:router(config)# multicast-routing vrf vpn12 address-family ipv4RP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# rate-per-routeRP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# interface all enableRP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# accounting per-prefix RP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# commitRP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# exit RP/0/RSP0/CPU0:router(config-mcast)# exitRP/0/RSP0/CPU0:router(config)# exitRP/0/RSP0/CPU0:router# show mfib route rate

IP Multicast Forwarding Rates Source Address, Group Address HW Forwarding Rates: bps In/pps In/bps Out/pps Out

(*,224.0.0.0/24)bps_in /pps_in /bps_out /pps_outN/A / N/A / N/A / N/A (*,224.0.1.39)bps_in /pps_in /bps_out /pps_outN/A / N/A / N/A / N/A (*,224.0.1.40)bps_in /pps_in /bps_out /pps_outN/A / N/A / N/A / N/A (*,232.0.0.0/8)bps_in /pps_in /bps_out /pps_outN/A / N/A / N/A / N/A(10.0.70.2,225.0.0.0)bps_in /pps_in /bps_out /pps_out22649 / 50 / 22951 / 50 (10.0.70.2,225.0.0.1)bps_in /pps_in /bps_out /pps_out22649 / 50 / 22951 / 50 (10.0.70.2,225.0.0.2)bps_in /pps_in /bps_out /pps_out22649 / 50 / 22951 / 50 (10.0.70.2,225.0.0.3)bps_in /pps_in /bps_out /pps_out22649 / 50 / 22951 / 50 (10.0.70.2,225.0.0.4)bps_in /pps_in /bps_out /pps_out22649 / 50 / 22951 / 50 (10.0.70.2,225.0.0.5)bps_in /pps_in /bps_out /pps_out22649 / 50 / 22951 / 50 (10.0.70.2,225.0.0.6)bps_in /pps_in /bps_out /pps_out

ES-252Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 253: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationConfiguration Examples for Implementing Multicast Routing - IGMP and PIM

Preventing Auto-RP Messages from Being Forwarded: ExampleThe following example shows that Auto-RP messages are prevented from being sent out of the GigabitEthernet interface 0/3/0/0. It also shows that access list 111 is used by the Auto-RP candidate and access list 222 is used by the boundary command to contain traffic on GigabitEthernet interface 0/3/0/0.

ipv4 access-list 111 10 permit 224.1.0.0 0.0.255.255 any 20 permit 224.2.0.0 0.0.255.255 any ! !Access list 111 is used by the Auto-RP candidate.!ipv4 access-list 222 10 deny any host 224.0.1.39 20 deny any host 224.0.1.40 ! !Access list 222 is used by the boundary command to contain traffic (on GigabitEthernet0/3/0/0) that is sent to groups 224.0.1.39 and 224.0.1.40.!router pim auto-rp mapping-agent loopback 2 scope 32 interval 30 auto-rp candidate-rp loopback 2 scope 15 group-list 111 interval 30 multicast-routing interface GigabitEthernet0/3/0/0 boundary 222!

Inheritance in MSDP: ExampleThe following MSDP commands can be inherited by all MSDP peers when configured under router MSDP configuration mode. In addition, commands can be configured under the peer configuration mode for specific peers to override the inheritance feature.

• connect-source

• sa-filter

• ttl-threshold

If a command is configured in both the router msdp and peer configuration modes, the peer configuration takes precedence.

In the following example, MSDP on Router A filters Source-Active (SA) announcements on all peer groups in the address range 226/8 (except IP address 172.16.0.2); and filters SAs sourced by the originator RP 172.16.0.3 to 172.16.0.2.

MSDP peers (172.16.0.1, 172.16.0.2, and 172.17.0.1) use the loopback 0 address of Router A to set up peering. However, peer 192.168.12.2 uses the IPv4 address configured on the GigabitEthernet interface to peer with Router A.

Router A! ipv4 access-list 111 10 deny ip host 172.16.0.3 any 20 permit any any !

ipv4 access-list 112 10 deny any 226.0.0.0 0.255.255.255 30 permit any any

ES-253Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 254: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationConfiguration Examples for Implementing Multicast Routing - IGMP and PIM

! router msdp connect-source loopback 0 sa-filter in rp-list 111 sa-filter out rp-list 111 peer 172.16.0.1 ! peer 172.16.0.2 sa-filter out list 112 ! peer 172.17.0.1 ! peer 192.168.12.2 connect-source GigabitEthernet0/2/0/0 !

Configuring Multicast QoS: Example

Note There are no commands to specifically enable Multicast QoS on Cisco ASR 9000 Series Router. The commands to configure QoS apply to multicast and unicast. See the Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide for information on configuring QoS on Cisco ASR 9000 Series Router.

The following example shows how to configure a multicast QoS shaping policy:

class-map match-any class1 match precedence flash-override ! policy-map policy1 class class1 shape average 200 kbps interface GigabitEthernet0/0/3/3 service-policy output class1 vrf mvpn1 ipv4 address 10.25.25.1 255.255.255.0 keepalive disable

Enabling and Disabling InterfacesWhen the Cisco IOS XR multicast routing feature is configured on your router, by default, no interfaces are enabled.

To enable multicast routing and protocols on a single interface or multiple interfaces, you must explicitly enable interfaces using the interface command in multicast routing configuration mode.

To set up multicast routing on all interfaces, enter the interface all command in multicast routing configuration mode. For any interface to be fully enabled for multicast routing, it must be enabled specifically (or be default) in multicast routing configuration mode, and it must not be disabled in the PIM and IGMP configuration modes.

For example, in the following configuration, all interfaces are explicitly configured from multicast routing configuration submode:

RP/0/RSP0/CPU0:router(config)# multicast-routingRP/0/RSP0/CPU0:router(config-mcast)# interface all enable

ES-254Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 255: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

To disable an interface that was globally configured from the multicast routing configuration submode, enter interface configuration submode, as illustrated in the following example:

RP/0/RSP0/CPU0:router(config-mcast)# interface GigabitEthernet0/1/0/0RP/0/RSP0/CPU0:router(config-mcast-default-ipv4-if)# disable

Multicast Routing Information BaseThe Multicast Routing Information Base (MRIB) is a protocol-independent multicast routing table that describes a logical network in which one or more multicast routing protocols are running. The tables contain generic multicast routes installed by individual multicast routing protocols. There is an MRIB for every logical network (VPN) in which the router is configured. MRIBs do not redistribute routes among multicast routing protocols; they select the preferred multicast route from comparable ones, and they notify their clients of changes in selected attributes of any multicast route.

Multicast Forwarding Information BaseMulticast Forwarding Information Base (MFIB) is a protocol-independent multicast forwarding system that contains unique multicast forwarding entries for each source or group pair known in a given network. There is a separate MFIB for every logical network (VPN) in which the router is configured. Each MFIB entry resolves a given source or group pair to an incoming interface (IIF) for reverse forwarding (RPF) checking and an outgoing interface list (olist) for multicast forwarding.

MSDP MD5 Password Authentication MSDP MD5 password authentication is an enhancement to support Message Digest 5 (MD5) signature protection on a TCP connection between two Multicast Source Discovery Protocol (MSDP) peers. This feature provides added security by protecting MSDP against the threat of spoofed TCP segments being introduced into the TCP connection stream.

MSDP MD5 password authentication verifies each segment sent on the TCP connection between MSDP peers. The password command is used to enable MD5 authentication for TCP connections between two MSDP peers. When MD5 authentication is enabled between two MSDP peers, each segment sent on the TCP connection between the peers is verified.

Note MD5 authentication must be configured with the same password on both MSDP peers; otherwise, the connection between them will not be made.

MSDP MD5 password authentication uses an industry-standard MD5 algorithm for improved reliability and security.

Implementing Multicast Routing - PIM-SM and PIM-SSMThis section contains instructions for the following tasks.

• Configuring PIM-SM and PIM-SSM, page 256 (required)

• Configuring PIM-SSM for Use in a Legacy Multicast Deployment, page 259 (optional)

ES-255Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 256: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

• Configuring a Static RP and Allowing Backward Compatibility (required)

• Configuring Auto-RP to Automate Group-to-RP Mappings, page 264 (optional)

• Configuring the Bootstrap Router, page 266 (optional)

• Calculating Rates per Route, page 269 (optional)

• Configuring Multicast Nonstop Forwarding, page 271 (optional)

• Interconnecting PIM-SM Domains with MSDP, page 275 (optional)

• Controlling Source Information on MSDP Peer Routers, page 278 (optional)

• Configuring MSDP MD5 Password Authentication, page 280 (optional)

Configuring PIM-SM and PIM-SSMPIM is an efficient IP routing protocol that is “independent” of a routing table, unlike other multicast protocols such as Multicast Open Shortest Path First (MOSPF) or Distance Vector Multicast Routing Protocol (DVMRP).

Cisco IOS XR software supports Protocol Independent Multicast in sparse mode (PIM-SM) and Protocol Independent Multicast in Source-Specific Multicast (PIM-SSM), permitting both to operate on your router at the same time.

This task configures PIM-SM and PIM-SSM.

PIM-SM Operations

PIM in sparse mode operation is used in a multicast network when relatively few routers are involved in each multicast and these routers do not forward multicast packets for a group, unless there is an explicit request for the traffic.

For more information about PIM-SM, see the Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide.

PIM-SSM Operations

PIM in Source Specific Multicast operation uses information found on source addresses for a multicast group provided by receivers and performs source filtering on traffic.

• By default, PIM-SSM operates in the 232.0.0.0/8 multicast group range for IPv4. To configure these values, use the ssm range command.

• If SSM is deployed in a network already configured for PIM-SM, only the last-hop routers must be upgraded with Cisco IOS XR software that supports the SSM feature.

• No MSDP SA messages within the SSM range are accepted, generated, or forwarded.

For more information about PIM-SSM, see the Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide.

ES-256Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 257: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

Restrictions for PIM-SM and SSM

Interoperability with SSM

PIM-SM operations within the SSM range of addresses change to PIM-SSM. In this mode, only PIM (S,G) join and prune messages are generated by the router, and no (S,G) RP shared tree or (*,G) shared tree messages are generated.

IGMP Version

To report multicast memberships to neighboring multicast routers, routers use IGMP and all routers on the subnet must be configured with the same version of IGMP.

A router running Cisco IOS XR software does not automatically detect Version 1 systems. You must use the version command in router IGMP configuration submode to configure the IGMP version.

SUMMARY STEPS

1. configure

2. multicast-routing [address-family ipv4]

3. interface all enable

4. exit

5. router igmp

6. version {1 | 2 | 3}

7. end or commit

8. show pim [ipv4] group-map [ip-address-name] [info-source]

9. show pim [vrf vrf-name] [ipv4] topology [source-ip-address [group-ip-address] | entry-flag flag | interface-flag | summary] [route-count]

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/RSP0/CPU0:router# configure

Enters global configuration mode.

Step 2 multicast-routing [address-family ipv4]

Example:RP/0/RSP0/CPU0:router(config)# multicast-routing

Enters multicast routing configuration mode.

• The following multicast processes are started: MRIB, MFWD, PIM, IGMP.

• IGMP version 3 is enabled by default..

ES-257Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 258: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

Step 3 interface all enable

Example:RP/0/RSP0/CPU0:router(config-mcast-ipv4)# interface all enable

Enables multicast routing and forwarding on all new and existing interfaces.

Step 4 exit

Example:RP/0/RSP0/CPU0:router(config-mcast-ipv4)# exit

Exits multicast routing configuration mode, and returns the router to the parent configuration mode.

Step 5 router igmp

Example:RP/0/RSP0/CPU0:router(config)# router igmp

(Optional) Enters router IGMP configuration mode.

Step 6 version {1 | 2 | 3}

Example:RP/0/RSP0/CPU0:router(config-igmp)# version 3

(Optional) Selects the IGMP version that the router interface uses.

• The default is IGMP version 3.

• Host receivers must support IGMPv3 for PIM-SSM operation.

• If this command is configured in router IGMP configuration mode, parameters are inherited by all new and existing interfaces. You can override these parameters on individual interfaces from interface configuration mode.

Step 7 end orcommit

Example:RP/0/RSP0/CPU0:router(config-igmp)# end

or

RP/0/RSP0/CPU0:router(config-igmp)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Command or Action Purpose

ES-258Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 259: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

Configuring PIM-SSM for Use in a Legacy Multicast DeploymentDeploying PIM-SSM in legacy multicast-enabled networks can be problematic, because it requires changes to the multicast group management protocols used on the various devices attached to the network. Host, routers, and switches must all be upgraded in such cases.

To support legacy hosts and switches in a PIM-SSM deployment, Cisco ASR 9000 Series Router offer a configurable mapping feature. Legacy group membership reports for groups in the SSM group range are mapped to a set of sources providing service for that set of (S,G) channels.

IGMP supports this mapping functionality. This configuration consists of two tasks:

• Configuring a Set of Access Lists for Static SSM Mapping, page 259

• Configuring a Set of Sources for SSM Mapping, page 261

Restrictions for PIM-SSM Mapping

PIM-SSM mapping does not modify the SSM group range. Instead, the legacy devices must report group membership for desired groups in the SSM group range. The router then maps to the sets of sources for those groups.

Configuring a Set of Access Lists for Static SSM Mapping

This tasks configures a set of access lists (ACLs) where each ACL describes a set of SSM groups to be mapped to one or more sources.

SUMMARY STEPS

1. configure

2. ipv4 access-list acl-name

3. [sequence-number] permit source [source-wildcard]

4. Repeat 3. to add more entries to the ACL.

5. Repeat Steps 2. through 4. until you have entered all of the ACLs you want to be part of the set.

Step 8 show pim [ipv4] group-map [ip-address-name] [info-source]

Example:RP/0//CPU0:router# show pim ipv4 group-map

(Optional) Displays group-to-PIM mode mapping.

Step 9 show pim [vrf vrf-name] [ipv4] topology [source-ip-address [group-ip-address] | entry-flag flag | interface-flag | summary] [route-count]

Example:RP/0/RSP0/CPU0:router# show pim topology

(Optional) Displays PIM topology table information for a specific group or all groups.

Command or Action Purpose

ES-259Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 260: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

6. end or commit

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/0/CPU0:router# configure

Enters global configuration mode.

Step 2 ipv4 access-list acl-name

Example:RP/0/0/CPU0:router(config)# ipv4 access-list mc3

Enters IPv4 ACL configuration submode and creates a name for an IPv4 access list.

Step 3 [sequence-number] permit source [source-wildcard]

Example:RP/0/0/CPU0:router(config-ipv4-acl)# permit 1 host 232.1.1.2 any

Sets conditions for the access list to recognize the source as part of the specified access list set, in which each ACL describes a set of SSM groups to be mapped.

Step 4 Repeat Step 3 to add more entries to the ACL. —

Step 5 Repeat Step 2 through Step 4 until you have entered all the ACLs you want to be part of the set.

Step 6 endorcommit

Example:RP/0/0/CPU0:router(config-ipv4-acl)# end

or

RP/0/0/CPU0:router(config-ipv4-acl)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

ES-260Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 261: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

Configuring a Set of Sources for SSM Mapping

This task consists of configuring a set of sources mapped by SSM groups, as described by access lists (ACLs).

SUMMARY STEPS

1. configure

2. router igmp [vrf vrf-name]

3. ssm map static source-address access-list

4. Repeat Step 3. as many times as you have source addresses that you want to include in your set.

5. end or commit

6. show igmp [vrf vrf-name] ssm map [group-address ][detail]

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/0/CPU0:router# configure

Enters global configuration mode.

Step 2 router igmp [vrf vrf-name]

Example:RP/0/0/CPU0:router(config)# router igmp vrf vpn20

Enters router IGMP configuration mode.

Step 3 ssm map static source-address access-list

Example:RP/0/0/CPU0:router(config-igmp)# ssm map static 232.1.1.1 mc2

Configures a source as part of a set of sources that map SSM groups described by the specified access list.

Step 4 Repeat Step 3 as many times as you have source addresses to include in the set for SSM mapping.

ES-261Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 262: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

Configuring a Static RP and Allowing Backward CompatibilityWhen PIM is configured in sparse mode, you must choose one or more routers to operate as a rendezvous point (RP) for a multicast group. An RP is a single common root placed at a chosen point of a shared distribution tree. An RP can either must be configured statically in each router, or learned through Auto-RP or BSR.

This task configures a static RP. For more information about RPs, see the Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide. For configuration information for Auto-RP, see the “Configuring Auto-RP to Automate Group-to-RP Mappings” section on page 264.

SUMMARY STEPS

1. configure

2. router pim [address-family ipv4]

Step 5 endorcommit

Example:RP/0/0/CPU0:router(config-ipv4-acl)# end

or

RP/0/0/CPU0:router(config-ipv4-acl)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 6 show igmp [vrf vrf-name] ssm map [group-address][detail]

Example:RP/0/0/CPU0:router# show igmp vrf vrf20 ssm map 232.1.1.1

232.1.1.1 is static with 1 source

or

RP/0/0/CPU0:router# show igmp vrf vrf20 ssm map

232.1.1.0 is static with 3 sources232.1.1.1 is static with 1 source

(Optional) Queries the mapping state.

• When you provide one address for mapping, you receive the state for that address alone.

• When you provide no address for mapping, you receive the state for all sources.

Command or Action Purpose

ES-262Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 263: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

3. rp-address ip-address [group-access-list] [bidir] [override]

4. old-register-checksum

5. exit

6. ipv4 access-list name

7. [sequence-number] permit source [source-wildcard]

8. end or commit

9. show version

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/RSP0/CPU0:router# configure

Enters global configuration mode.

Step 2 router pim [address-family ipv4 ]

Example:RP/0/RSP0/CPU0:router(config)# router pim

Enters PIM configuration mode, or PM address-family configuration submode.

Step 3 rp-address ip-address [group-access-list] [bidir] [override]

Example:RP/0/RSP0/CPU0:router(config-pim-default-ipv4)# rp-address 172.16.6.22 rp-access

Assigns an RP to multicast groups.

• If you specify a group-access-list-number value, you must configure that access list using the ipv4 access-list command.

Step 4 old-register-checksum

Example:RP/0/RSP0/CPU0:router(config-pim-ipv4)# old-register-checksum

(Optional) Allows backward compatibility on the RP that uses old register checksum methodology.

Step 5 exit

Example:RP/0/RSP0/CPU0:router(config-pim-ipv4)# exit

Exits PIM configuration mode, and returns the router to the parent configuration mode.

Step 6 ipv4 access-list name

Example:RP/0/RSP0/CPU0:router(config)# ipv4 access-list rp-access

(Optional) Enters access list configuration mode and configures the RP access list.

• The access list called “rp-access” permits multicast group 239.1.1.0 0.0.255.255.

ES-263Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 264: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

Configuring Auto-RP to Automate Group-to-RP MappingsThis task configures the Auto-RP mechanism to automate the distribution of group-to-RP mappings in your network. In a network running Auto-RP, at least one router must operate as an RP candidate and another router must operate as an RP mapping agent.

For more information about Auto-RP, see the Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide.

SUMMARY STEPS

1. configure

2. router pim [address-family ipv4]

3. auto-rp candidate-rp type instance scope ttl-value [group-list access-list-name] [interval seconds] [bidir]

4. auto-rp mapping-agent type number scope ttl-value [interval seconds]

Step 7 [sequence-number] permit source [source-wildcard]

Example:RP/0/RSP0/CPU0:router(config-ipv4-acl)# permit 239.1.1.1 0.0.255.255

(Optional) Permits multicast group 239.1.1.1 0.0.255.255 for the “rp-access” list.

Tip The commands in Step 6 and Step 7 can be combined in one command string and entered from global configuration mode like this: ipv4 access-list rp-access permit 239.1.1.1 0.0.255.255.

Step 8 endorcommit

Example:RP/0/RSP0/CPU0:router(config-ipv4-acl)# end

or

RP/0/RSP0/CPU0:router(config-ipv4-acl)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 9 show version

Example:RP/0/RSP0/CPU0:router# show version

Displays the software release version.

Command or Action Purpose

ES-264Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 265: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

5. exit

6. ipv4 access-list name

7. [sequence-number] permit source [source-wildcard]

8. end or commit

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/RSP0/CPU0:router# configure

Enters global configuration mode.

Step 2 router pim [address-family ipv4]

Example:RP/0/RSP0/CPU0:router(config)# router pim

Enters PIM configuration mode, or PIM address-family configuration submode.

Step 3 auto-rp candidate-rp type instance scope ttl-value [group-list access-list-name] [interval seconds] [bidir]

Example:RP/0/RSP0/CPU0:router(config-pim-ipv4)# auto-rp candidate-rp GigabitEthernet0/1/0/1 scope 31 group-list 2

Configures an RP candidate that sends messages to the CISCO-RP-ANNOUNCE multicast group (224.0.1.39).

• This example sends RP announcements out all PIM-enabled interfaces for a maximum of 31 hops. The IP address by which the router wants to be identified as an RP is the IP address associated with GigabitEthernet interface 0/1/0/1.

• Access list 2 designates the groups this router serves as RP.

• If you specify group-list, you must configure the optional access-list command.

Step 4 auto-rp mapping-agent type number scope ttl-value [interval seconds]

Example:RP/0/RSP0/CPU0:router(config-pim-ipv4)# auto-rp mapping-agent GigabitEthernet0/1/0/1 scope 20

Configures the router to be an RP mapping agent on a specified interface.

• After the router is configured as an RP mapping agent and determines the RP-to-group mappings through the CISCO-RP-ANNOUNCE (224.0.1.39) group, the router sends the mappings in an Auto-RP discovery message to the well-known group CISCO-RP-DISCOVERY (224.0.1.40).

• A PIM DR listens to this well-known group to determine which RP to use.

• This example limits Auto-RP discovery messages to 20 hops.

Step 5 exit

Example:RP/0/RSP0/CPU0:router(config-pim-ipv4)# exit

Exits PIM configuration mode and returns the router to the parent configuration mode.

ES-265Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 266: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

Configuring the Bootstrap RouterThis task configures one or more candidate bootstrap routers (BSRs) and a BSR mapping agent. This task also connects and locates the candidate BSRs in the backbone portion of the network.

For more information about BSR see the Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide.

SUMMARY STEPS

1. configure

2. router pim [address-family ipv4]

3. bsr candidate-bsr ip-address [hash-mask-len length] [priority value]

4. bsr candidate-rp ip-address [group-list access-list] [interval seconds] [priority value]

5. interface type number

Step 6 ipv4 access-list name

Example:RP/0/RSP0/CPU0:router(config)# ipv4 access-list 2

(Optional) Defines the RP access list.

Step 7 [sequence-number] permit source [source-wildcard]

Example:RP/0/RSP0/CPU0:router(config-ipv4-acl)# permit 239.1.1.1 0.0.0.0

(Optional) Permits multicast group 239.1.1.1 for the RP access list.

Tip The commands in Step 6 and Step 7 can be combined in one command string and entered from global configuration mode like this: ipv4 access-list rp-access permit 239.1.1.1 0.0.0.0

Step 8 endorcommit

Example:RP/0/RSP0/CPU0:router(config-ipv4-acl)# endorRP/0/RSP0/CPU0:router(config-ipv4-acl)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting (yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Command or Action Purpose

ES-266Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 267: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

6. bsr border

7. exit

8. exit

9. ipv4 access-list name

10. [sequence-number] permit source [source-wildcard]

or

[sequence-number] permit source-prefix dest-prefix

11. end or commit

12. clear pim [vrf vrf-name] [ipv4] bsr

13. show pim [vrf vrf-name] [ipv4] bsr candidate-rp

14. show pim [vrf vrf-name] [ipv4] bsr election

15. show pim [vrf vrf-name] [ipv4] bsr rp-cache

16. show pim [vrf vrf-name] [ipv4] group-map [ip-address-name] [info-source]

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/RSP0/CPU0:router# configure

Enters global configuration mode.

Step 2 router pim [address-family ipv4]

Example:RP/0/RSP0/CPU0:router(config)# router pim

Enters PIM configuration mode, or address-family configuration submode.

Step 3 bsr candidate-bsr ip-address [hash-mask-len length] [priority value]

Example:RP/0/RSP0/CPU0:router(config-pim-default-ipv4)# bsr candidate-bsr 10.0.0.1 hash-mask-len 30

Configures the router to announce its candidacy as a BSR.

Step 4 bsr candidate-rp ip-address [group-list access-list] [interval seconds] [priority value]

Example:RP/0/RSP0/CPU0:router(config-pim-default-ipv4)# bsr candidate-rp 172.16.0.0 group-list 4

Configures the router to advertise itself as a PIM Version 2 candidate RP to the BSR.

• See Step 9 for group list 4 configuration.

ES-267Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 268: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

Step 5 interface type number

Example:RP/0/RSP0/CPU0:router(config-pim-default-ipv4)# interface GigabitEthernet0/1/0/0

(Optional) Enters interface configuration mode for the PIM protocol.

Step 6 bsr-border

Example:RP/0/RSP0/CPU0:router(config-pim-ipv4-if)# bsr-border

(Optional) Stops the forwarding of bootstrap router (BSR) messages on a Protocol Independent Multicast (PIM) router interface.

Step 7 exit

Example:RP/0/RSP0/CPU0:router(config-pim-ipv4-if)# exit

(Optional) Exits PIM interface configuration mode, and returns the router to PIM configuration mode.

Step 8 exit

Example:RP/0/RSP0/CPU0:router(config-pim-default-ipv4)# exit

Exits PIM configuration mode, and returns the router to global configuration mode.

Step 9 {ipv4 | ipv6} access-list name

Example:RP/0/RSP0/CPU0:router(config)# ipv4 access-list 4

(Optional) Defines the candidate group list to the BSR.

• Access list number 4 specifies the group prefix associated with the candidate RP address 172.16.0.0. (See Step 4).

• This RP is responsible for the groups with the prefix 239.

Step 10 [sequence-number] permit source [source-wildcard]

or

[sequence-number] permit source-prefix dest-prefix

Example:RP/0/RSP0/CPU0:router(config-ipv4-acl)# permit 239.1.1.1 0.255.255.255

(Optional) Permits multicast group 239.1.1.1 for the candidate group list.

Tip The commands in Step 6 and Step 7 can be combined in one command string and entered from global configuration mode like this: ipv4 access-list rp-access permit 239.1.1.1 0.255.255.255

Command or Action Purpose

ES-268Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 269: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

Calculating Rates per RouteThis procedure enables multicast hardware forward-rate counters on a per-VRF-family basis.

Step 11 end

or

commit

Example:RP/0/RSP0/CPU0:router(config-ipv4-acl)# end

or

RP/0/RSP0/CPU0:router(config-ipv4-acl)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 12 clear pim [vrf vrf-name] [ipv4] bsr

Example:RP/0/RSP0/CPU0:router# clear pim bsr

(Optional) Clears BSR entries from the PIM RP group mapping cache.

Step 13 show pim [vrf vrf-name] [ipv4] bsr candidate-rp

Example:RP/0/RSP0/CPU0:router# show pim bsr candidate-rp

(Optional) Displays PIM candidate RP information for the BSR.

Step 14 show pim [vrf vrf-name] [ipv4] bsr election

Example:RP/0/RSP0/CPU0:router# show pim bsr election

(Optional) Displays PIM candidate election information for the BSR.

Step 15 show pim [vrf vrf-name] [ipv4] bsr rp-cache

Example:RP/0/RSP0/CPU0:router# show pim bsr rp-cache

(Optional) Displays PIM RP cache information for the BSR.

Step 16 show pim [vrf vrf-name][ipv4] group-map [ip-address-name] [info-source]

Example:RP/0/RSP0/CPU0:router# show pim ipv4 group-map

(Optional) Displays group-to-PIM mode mapping.

Command or Action Purpose

ES-269Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 270: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

SUMMARY STEPS

1. configure

2. multicast-routing [vrf vrf-name] [address-family ipv4 ]

3. rate-per-route

4. interface {type interface-id | all} enable

5. accounting per-prefix

6. end or commit

7. show mfib [vrf vrf-name] [ipv4] route [rate | statistics] [* | source-address] [group-address [/prefix-length] [detail | old-output] | summary] [location node-id]

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/RSP0/CPU0:router# configure

Enters global configuration mode.

Step 2 multicast-routing [vrf vrf-name] [address-family ipv4 ]

Example:RP/0/RSP0/CPU0:router(config)# multicast-routing address-family ipv4

Enters multicast routing configuration mode.

• The following multicast processes are started: MRIB, MFWD, PIM, IGMP.

• For IPv4, IGMP version 3 is enabled by default.

Step 3 rate-per-route

Example:RP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# rate-per-route

Enables a per (S,G) rate calculation for a particular route.

Step 4 interface {type interface-id | all} enable

Example:RP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# interface all enable

or

RP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# interface FastEthernet0/3/3/1 enable

Enables multicast routing on all interfaces.

Step 5 accounting per-prefix

Example:RP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# accounting per-prefix

Enables per-prefix counters in hardware. Cisco IOS XR software counters are always present. When enabled, every existing and new (S, G) route is assigned forward, punt, and drop counters on the ingress route and forward and punt counters on the egress route. The (*, G) routes are assigned a single counter.

ES-270Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 271: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

Configuring Multicast Nonstop ForwardingThis task configures the nonstop forwarding (NSF) feature for multicast packet forwarding for the purpose of alleviating network failures, or software upgrades and downgrades.

Although we strongly recommend that you use the NSF lifetime default values, the optional Step 4 through Step 9 allow you to modify the NSF timeout values for Protocol Independent Multicast (PIM) and Internet Group Management Protocol (IGMP). Use these commands when PIM and IGMP are configured with nondefault interval or query intervals for join and prune operations.

Generally, configure the IGMP NSF and PIM NSF lifetime values to equal or exceed the query or join query interval. For example, if you set the IGMP query interval to 120 seconds, set the IGMP NSF lifetime to 120 seconds (or greater).

If the Cisco IOS XR software control plane does not converge and reconnect after NSF is enabled on your router, multicast packet forwarding continues for up to 15 minutes, then packet forwarding stops.

Step 6 end

or

commit

Example:RP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# end

or

RP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 7 show mfib [vrf vrf-name] [ipv4] route [rate | statistics] [* | source-address] [group-address [/prefix-length] [detail | old-output] | summary] [location node-id]

Example:RP/0/RSP0/CPU0:router# show mfib vrf 12 route statistics location 0/1/cpU0

Displays route entries in the Multicast Forwarding Information Base (MFIB) table.

• When the rate keyword is used with the source- and group-address, the command displays the cumulative rates per route for all line cards in the Multicast Forwarding Information Base (MFIB) table.

• When the statistics keyword is used, the command displays the rate per route for one line card in the Multicast Forwarding Information Base (MFIB) table.

Command or Action Purpose

ES-271Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 272: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

Prerequisites for Multicast Nonstop Forwarding

For NSF to operate in your multicast network, you must also enable NSF for the unicast protocols (such as IS-IS, OSPF, and BGP) that PIM relies on for Reverse Path Forwarding (RPF) information. See the appropriate configuration modules to learn how to configure NSF for unicast protocols.

SUMMARY STEPS

1. configure

2. multicast-routing [address-family ipv4]

3. nsf [lifetime seconds]

4. exit

5. router pim [address-family ipv4]

6. nsf lifetime seconds

7. exit

8. router igmp

9. nsf lifetime seconds

10. end or commit

11. show igmp [old-output] nsf

12. show mfib [ipv4] nsf [location node-id]

13. show mrib [ipv4] [old-output] nsf

14. show pim [ipv4] nsf

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/RSP0/CPU0:router# configure

Enters global configuration mode.

Step 2 multicast-routing [address-family ipv4]

Example:RP/0/RSP0/CPU0:router(config)# multicast-routing

Enters multicast routing configuration mode.

• The following multicast processes are started: MRIB, MFWD, PIM, IGMP.

• IGMP version 3 is enabled by default.

Step 3 nsf [lifetime seconds]

Example:RP/0/RSP0/CPU0:router(config-mcast)# nsf

Turns on NSF capability for the multicast routing system.

ES-272Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 273: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

Step 4 exit

Example:RP/0/RSP0/CPU0:router(config-mcast)# exit

(Optional) Exits multicast routing configuration mode, and returns the router to the parent configuration mode.

Step 5 router pim [address-family ipv4]

Example:RP/0/RSP0/CPU0:router(config)# router pim address-family ipv4

(Optional) Enters PIM address-family configuration submode.

Step 6 nsf lifetime seconds

Example:RP/0/RSP0/CPU0:router(config-pim-default-ipv4)# nsf lifetime 30

(Optional) Configures the NSF timeout value for multicast forwarding route entries under the PIM process.

Note If you configure the PIM hello interval to a nondefault value, configure the PIM NSF lifetime to a value less than the hello hold time. Typically the value of the hold-time field is 3.5 times the interval time value, or 120 seconds if the PIM hello interval time is 30 seconds.

Step 7 exit

Example:RRP/0/RSP0/CPU0:router(config-pim-default-ipv4)# exit

(Optional) Exits PIM configuration mode and returns the router to the parent configuration mode.

Step 8 router igmp

Example:RP/0/RSP0/CPU0:router(config)# router igmp

(Optional) Enters router IGMP configuration mode.

Step 9 nsf lifetime seconds

Example:RP/0/RSP0/CPU0:router(config-igmp)# nsf lifetime 30

(Optional) Configures the NSF timeout value for multicast forwarding route entries under the IGMP process.

Command or Action Purpose

ES-273Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 274: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

Step 10 end

or

commit

Example:RP/0/RSP0/CPU0:router(config-igmp)# end

or

RP/0/RSP0/CPU0:router(config-igmp)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 11 show igmp [old-output] nsf

Example:RP/0/RSP0/CPU0:router# show igmp nsf

(Optional) Displays the state of NSF operation in IGMP.

Step 12 show mfib [ipv4] nsf [location node-id]

Example:RP/0/RSP0/CPU0:router# show mfib nsf

(Optional) Displays the state of NSF operation for the MFIB line cards.

Step 13 show mrib [ipv4] [old-output] nsf

Example:RP/0/RSP0/CPU0:router# show mrib nsf

(Optional) Displays the state of NSF operation in the MRIB.

Step 14 show pim [ipv4] nsf

Example:RP/0/RSP0/CPU0:router# show pim nsf

(Optional) Displays the state of NSF operation for PIM.

Command or Action Purpose

ES-274Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 275: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

Interconnecting PIM-SM Domains with MSDPTo set up an MSDP peering relationship with MSDP-enabled routers in another domain, you configure an MSDP peer to the local router.

If you do not want to have or cannot have a BGP peer in your domain, you could define a default MSDP peer from which to accept all Source-Active (SA) messages.

Finally, you can change the Originator ID when you configure a logical RP on multiple routers in an MSDP mesh group.

Prerequisites for Interconnecting PIM-SM Domains with MSDP

You must configure MSDP default peering, if the addresses of all MSDP peers are not known in BGP or multiprotocol BGP.

SUMMARY STEPS

1. configure

2. interface type number

3. ipv4 address address mask

4. end

5. router msdp

6. default-peer ip-address [prefix-list list]

7. originator-id type interface-id

8. peer peer-address

9. connect-source type interface-id

10. mesh-group name

11. remote-as as-number

12. end or commit

13. show msdp [ipv4] globals

14. show msdp [ipv4] peer [peer-address]

15. show msdp [ipv4] rpf rpf-address

ES-275Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 276: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/RSP0/CPU0:router# configure

Enters global configuration mode.

Step 2 interface type number

Example:RP/0/RSP0/CPU0:router(config)# interface loopback 0

(Optional) Enters interface configuration mode to define the IPv4 address for the interface.

Note This step is required if you specify an interface type and number whose primary address becomes the source IP address for the TCP connection.

Step 3 ipv4 address address mask

Example:RP/0/RSP0/CPU0:router(config-if)# ipv4 address 10.0.1.3 255.255.255.0

(Optional) Defines the IPv4 address for the interface.

Note This step is required only if you specify an interface type and number whose primary address becomes the source IP address for the TCP connection. See optional Step 9 for information about configuring the connect-source command.

Step 4 exit

Example:RP/0/RSP0/CPU0:router(config-if)# end

Exits interface configuration mode, and returns the router to global configuration mode.

Step 5 router msdp

Example:RP/0/RSP0/CPU0:router(config)# router msdp

Enters MSDP protocol configuration mode.

Step 6 default-peer ip-address [prefix-list list]

Example:RP/0/RSP0/CPU0:router(config-msdp)# default-peer 172.23.16.0

(Optional) Defines a default peer from which to accept all MSDP SA messages.

Step 7 originator-id type interface-id

Example:RP/0/RSP0/CPU0:router(config-msdp)# originator-id GigabitEthernet0/1/1/0

(Optional) Allows an MSDP speaker that originates a (Source-Active) SA message to use the IP address of the interface as the RP address in the SA message.

Step 8 peer peer-address

Example:RP/0/RSP0/CPU0:router(config-msdp)# peer 172.31.1.2

Enters MSDP peer configuration mode and configures an MSDP peer.

• Configure the router as a BGP neighbor.

• If you are also BGP peering with this MSDP peer, use the same IP address for MSDP and BGP. You are not required to run BGP or multiprotocol BGP with the MSDP peer, as long as there is a BGP or multiprotocol BGP path between the MSDP peers.

ES-276Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 277: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

Step 9 connect-source type interface-id

Example:RP/0/RSP0/CPU0:router(config-msdp-peer)# connect-source loopback 0

(Optional) Configures a source address used for an MSDP connection.

Step 10 mesh-group name

Example:RP/0/RSP0/CPU0:router(config-msdp-peer)# mesh-group internal

(Optional) Configures an MSDP peer to be a member of a mesh group.

Step 11 remote-as as-number

Example:RP/0/RSP0/CPU0:router(config-msdp-peer)# remote-as 250

(Optional) Configures the remote autonomous system number of this peer.

Step 12 end

or

commit

Example:RP/0/RSP0/CPU0:router(config-msdp-peer)# end

or

RP/0/RSP0/CPU0:router(config-msdp-peer)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 13 show msdp [ipv4] globals

Example:RP/0/RSP0/CPU0:router# show msdp globals

Displays the MSDP global variables.

Command or Action Purpose

ES-277Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 278: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

Controlling Source Information on MSDP Peer Routers Your MSDP peer router can be customized to control source information that is originated, forwarded, received, cached, and encapsulated.

When originating Source-Active (SA) messages, you can control to whom you will originate source information, based on the source that is requesting information.

When forwarding SA messages you can do the following:

• Filter all source/group pairs

• Specify an extended access list to pass only certain source/group pairs

• Filter based on match criteria in a route map

When receiving SA messages you can do the following:

• Filter all incoming SA messages from an MSDP peer

• Specify an extended access list to pass certain source/group pairs

• Filter based on match criteria in a route map

In addition, you can use time to live (TTL) to control what data is encapsulated in the first SA message for every source. For example, you could limit internal traffic to a TTL of eight hops. If you want other groups to go to external locations, you send those packets with a TTL greater than eight hops.

By default, MSDP automatically sends SA messages to peers when a new member joins a group and wants to receive multicast traffic. You are no longer required to configure an SA request to a specified MSDP peer.

SUMMARY STEPS

1. configure

2. router msdp

3. sa-filter {in | out} {ip-address | peer-name} [list access-list-name] [rp-list access-list-name]

4. cache-sa-state [list access-list-name] [rp-list access-list-name]

5. ttl-threshold ttl-value

6. exit

7. ipv4 access-list name [sequence-number] permit source [source-wildcard]

Step 14 show msdp [ipv4] peer [peer-address]

Example:RP/0/RSP0/CPU0:router# show msdp peer 172.31.1.2

Displays information about the MSDP peer.

Step 15 show msdp [ipv4] rpf rpf-address

Example:RP/0/RSP0/CPU0:router# show msdp rpf 172.16.10.13

Displays the RPF lookup.

Command or Action Purpose

ES-278Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 279: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

8. end or commit

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/RSP0/CPU0:router# configure

Enters global configuration mode.

Step 2 router msdp

Example:RP/0/RSP0/CPU0:router(config)# router msdp

Enters MSDP protocol configuration mode.

Step 3 sa-filter {in | out} {ip-address | peer-name} [list access-list-name] [rp-list access-list-name]

Example:RP/0/RSP0/CPU0:router(config-msdp)# sa-filter out router.cisco.com list 100

Configures an incoming or outgoing filter list for messages received from the specified MSDP peer.

• If you specify both the list and rp-list keywords, all conditions must be true to pass any source, group (S, G) pairs in outgoing Source-Active (SA) messages.

• You must configure the ipv4 access-list command in Step 7.

• If all match criteria are true, a permit from the route map passes routes through the filter. A deny filters routes.

• This example allows only (S, G) pairs that pass access list 100 to be forwarded in an SA message to the peer named router.cisco.com.

Step 4 cache-sa-state [list access-list-name] [rp-list access-list-name]

Example:RP/0/RSP0/CPU0:router(config-msdp)# cache-sa-state 100

Creates and caches source/group pairs from received Source-Active (SA) messages and controls pairs through access lists.

Step 5 ttl-threshold ttl-value

Example:RP/0/RSP0/CPU0:router(config-msdp)# ttl-threshold 8

(Optional) Limits which multicast data is sent in SA messages to an MSDP peer.

• Only multicast packets with an IP header TTL greater than or equal to the ttl-value argument are sent to the MSDP peer specified by the IP address or name.

• Use this command if you want to use TTL to examine your multicast data traffic. For example, you could limit internal traffic to a TTL of 8. If you want other groups to go to external locations, send those packets with a TTL greater than 8.

• This example configures a TTL threshold of eight hops.

ES-279Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 280: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

Configuring MSDP MD5 Password Authentication This task describes how to configure Multicast Source Discovery Protocol (MSDP) MD5 password authentication.

SUMMARY STEPS

1. configure

2. router msdp

3. peer peer-address

4. password {clear | encrypted} password

5. end or commit

Step 6 exit

Example:RP/0/RSP0/CPU0:router(config-msdp)# exit

Exits the current configuration mode.

Step 7 ipv4 access-list name [sequence-number] permit source [source-wildcard]

Example:RP/0/RSP0/CPU0:router(config)# ipv4 access-list 100 20 permit 239.1.1.1 0.0.0.0

Defines an IPv4 access list to be used by SA filtering.

• In this example, the access list 100 permits multicast group 239.1.1.1.

• The ipv4 access-list command is required if the keyword list is configured for SA filtering in Step 3.

Step 8 end

or

commit

Example:RP/0/RSP0/CPU0:router(config-ipv4-acl)# end

or

RP/0/RSP0/CPU0:router(config-ipv4-acl)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Command or Action Purpose

ES-280Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 281: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationImplementing Multicast Routing - PIM-SM and PIM-SSM

6. show mfib [vrf vrf-name] [ipv4] hardware route {* | source-address | group-address [/prefix-length]} location node-id

DETAILED STEPS

Command or Action Purpose

Step 1 configure

Example:RP/0/RSP0/CPU0:router# configure

Enters global configuration mode.

Step 2 router msdp

Example:RP/0/RSP0/CPU0:router(config)# router msdp

Enters MSDP configuration mode.

Step 3 peer peer-address

Example:RP/0/RSP0/CPU0:router(config-msdp)# peer 10.0.5.4

Configures the MSDP peer.

Step 4 password {clear | encrypted} password

Example:RP/0/RSP0/CPU0:router(config-msdp-peer)# password encrypted a34bi5m

Configures the password.

ES-281Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 282: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationConfiguration Examples for Implementing Multicast Routing - PIM-SM and PIM-SSM

Configuration Examples for Implementing Multicast Routing - PIM-SM and PIM-SSM

This section provides the following configuration examples:

• MSDP Anycast RP Configuration: Example, page 282

• Calculating Rates per Route: Example, page 284

• Preventing Auto-RP Messages from Being Forwarded: Example, page 285

• Inheritance in MSDP: Example, page 285

• Configuring Multicast QoS: Example, page 286

MSDP Anycast RP Configuration: ExampleAnycast Route Processor (RP) allows two or more RPs to share the load for source registration and to act as hot backup routers for each other. MSDP is the key protocol that makes Anycast RP possible.

Step 5 end

or

commit

Example:RP/0/RSP0/CPU0:router(config-msdp-peer)# end

or

RP/0/RSP0/CPU0:router(config-msdp-peer)# commit

Saves configuration changes.

• When you issue the end command, the system prompts you to commit changes:

Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:

– Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

– Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

– Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.

Step 6 show mfib [vrf vrf-name] [ipv4] hardware route {* | source-address | group-address [/prefix-length]} location node-id

Example:RP/0/RSP0/CPU0:router# show mfib hardware route * location 0/1/cpu0

Displays multicast routes.

Command or Action Purpose

ES-282Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 283: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationConfiguration Examples for Implementing Multicast Routing - PIM-SM and PIM-SSM

In Anycast RP, two or more RPs are configured with the same IP address on loopback interfaces. Configure the Anycast RP loopback address with a 32-bit mask, making it a host address. Configure all downstream routers to “know” that the Anycast RP loopback address is the IP address of the local RP. IP routing automatically selects the topologically closest RP for each source and receiver.

As a source may register with one RP and receivers may join to a different RP, a method is needed for the RPs to exchange information about active sources. This information exchange is done with MSDP.

In Anycast RP, all the RPs are configured to be MSDP peers of each other. When a source registers with one RP, a Source-Active (SA) message is sent to the other RPs, informing them that there is an active source for a particular multicast group. The result is that each RP knows about the active sources in the area of the other RPs. If any of the RPs fails, IP routing converges and one of the RPs becomes the active RP in more than one area. New sources register with the backup RP, and receivers join the new RP.

Note that the RP is usually needed only to start new sessions with sources and receivers. The RP facilitates the shared tree so that sources and receivers can directly establish a multicast data flow. If a multicast data flow is already directly established between a source and the receiver, an RP failure does not affect that session. Anycast RP ensures that new sessions with sources and receivers can begin at any time.

The following Anycast RP example configures Router A and Router B as Anycast RPs. The Anycast RP IP address assignment is 10.0.0.1.

Router Ainterface loopback 0 ipv4 address 10.0.0.1/32 no shutdowninterface loopback 1 ipv4 address 10.2.0.1/32 no shutdownmulticast-routing interfaces all enable router pim rp-address 10.0.0.1 router msdp connect-source loopback 1 peer 10.2.0.2

Router Binterface loopback 0 ipv4 address 10.0.0.1/32 no shutdowninterface loopback 1 ipv4 address 10.2.0.2/32 no shutdownmulticast-routing interfaces all enable router pim rp-address 10.0.0.1 router msdp connect-source loopback 1 peer 10.2.0.1

Apply the following configuration to all network routers:

multicast-routing router pim rp-address 10.0.0.1

ES-283Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 284: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationConfiguration Examples for Implementing Multicast Routing - PIM-SM and PIM-SSM

Calculating Rates per Route: ExampleThe following example illustrates output from hardware counters based on rate per route for a specific source and group address location:

RP/0/RSP0/CPU0:router# configureRP/0/RSP0/CPU0:router(config)# multicast-routing vrf vpn12 address-family ipv4RP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# rate-per-routeRP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# interface all enableRP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# accounting per-prefix RP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# commitRP/0/RSP0/CPU0:router(config-mcast-default-ipv4)# exit RP/0/RSP0/CPU0:router(config-mcast)# exitRP/0/RSP0/CPU0:router(config)# exitRP/0/RSP0/CPU0:router# show mfib route rate

IP Multicast Forwarding Rates Source Address, Group Address HW Forwarding Rates: bps In/pps In/bps Out/pps Out

(*,224.0.0.0/24)bps_in /pps_in /bps_out /pps_outN/A / N/A / N/A / N/A (*,224.0.1.39)bps_in /pps_in /bps_out /pps_outN/A / N/A / N/A / N/A (*,224.0.1.40)bps_in /pps_in /bps_out /pps_outN/A / N/A / N/A / N/A (*,232.0.0.0/8)bps_in /pps_in /bps_out /pps_outN/A / N/A / N/A / N/A(10.0.70.2,225.0.0.0)bps_in /pps_in /bps_out /pps_out22649 / 50 / 22951 / 50 (10.0.70.2,225.0.0.1)bps_in /pps_in /bps_out /pps_out22649 / 50 / 22951 / 50 (10.0.70.2,225.0.0.2)bps_in /pps_in /bps_out /pps_out22649 / 50 / 22951 / 50 (10.0.70.2,225.0.0.3)bps_in /pps_in /bps_out /pps_out22649 / 50 / 22951 / 50 (10.0.70.2,225.0.0.4)bps_in /pps_in /bps_out /pps_out22649 / 50 / 22951 / 50 (10.0.70.2,225.0.0.5)bps_in /pps_in /bps_out /pps_out22649 / 50 / 22951 / 50 (10.0.70.2,225.0.0.6)bps_in /pps_in /bps_out /pps_out

ES-284Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 285: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationConfiguration Examples for Implementing Multicast Routing - PIM-SM and PIM-SSM

Preventing Auto-RP Messages from Being Forwarded: ExampleThe following example shows that Auto-RP messages are prevented from being sent out of the GigabitEthernet interface 0/3/0/0. It also shows that access list 111 is used by the Auto-RP candidate and access list 222 is used by the boundary command to contain traffic on GigabitEthernet interface 0/3/0/0.

ipv4 access-list 111 10 permit 224.1.0.0 0.0.255.255 any 20 permit 224.2.0.0 0.0.255.255 any ! !Access list 111 is used by the Auto-RP candidate.!ipv4 access-list 222 10 deny any host 224.0.1.39 20 deny any host 224.0.1.40 ! !Access list 222 is used by the boundary command to contain traffic (on GigabitEthernet0/3/0/0) that is sent to groups 224.0.1.39 and 224.0.1.40.!router pim auto-rp mapping-agent loopback 2 scope 32 interval 30 auto-rp candidate-rp loopback 2 scope 15 group-list 111 interval 30 multicast-routing interface GigabitEthernet0/3/0/0 boundary 222!

Inheritance in MSDP: ExampleThe following MSDP commands can be inherited by all MSDP peers when configured under router MSDP configuration mode. In addition, commands can be configured under the peer configuration mode for specific peers to override the inheritance feature.

• connect-source

• sa-filter

• ttl-threshold

If a command is configured in both the router msdp and peer configuration modes, the peer configuration takes precedence.

In the following example, MSDP on Router A filters Source-Active (SA) announcements on all peer groups in the address range 226/8 (except IP address 172.16.0.2); and filters SAs sourced by the originator RP 172.16.0.3 to 172.16.0.2.

MSDP peers (172.16.0.1, 172.16.0.2, and 172.17.0.1) use the loopback 0 address of Router A to set up peering. However, peer 192.168.12.2 uses the IPv4 address configured on the GigabitEthernet interface to peer with Router A.

Router A! ipv4 access-list 111 10 deny ip host 172.16.0.3 any 20 permit any any !

ipv4 access-list 112 10 deny any 226.0.0.0 0.255.255.255 30 permit any any

ES-285Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 286: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast ConfigurationConfiguration Examples for Implementing Multicast Routing - PIM-SM and PIM-SSM

! router msdp connect-source loopback 0 sa-filter in rp-list 111 sa-filter out rp-list 111 peer 172.16.0.1 ! peer 172.16.0.2 sa-filter out list 112 ! peer 172.17.0.1 ! peer 192.168.12.2 connect-source GigabitEthernet0/2/0/0 !

Configuring Multicast QoS: Example

Note There are no commands to specifically enable Multicast QoS on Cisco ASR 9000 Series Router. The commands to configure QoS apply to multicast and unicast. See the Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide for information on configuring QoS on the Cisco ASR 9000 Series Router.

The following example shows how to configure a multicast QoS shaping policy:

class-map match-any class1 match precedence flash-override ! policy-map policy1 class class1 shape average 200 kbps interface GigabitEthernet0/0/3/3 service-policy output class1 vrf mvpn1 ipv4 address 10.25.25.1 255.255.255.0 keepalive disable

ES-286Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 287: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast Command Summary

Multicast IPv4 Commands on Cisco ASR 9000 Series RoutersThis section lists the commands used to configure and monitor IPv4 Multicast protocols on Cisco ASR 9000 Series Aggregation Services Routers.

For detailed information about IPv4 Multicast protocol command syntax, refer to the Multicast IPv4 Commands on Cisco ASR 9000 Series Routers module in the Cisco ASR 9000 Series Aggregation Services Router Multicast Command Reference.

For detailed information about multicast routing concepts, configuration tasks, and examples, refer to the Implementing Multicast Routing on Cisco IOS XR Software configuration module in the Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide.

access-group (IGMP)

clear igmp counters

clear igmp group

clear igmp reset

explicit-tracking

join-group

maximum groups

maximum groups-per-interface

nsf lifetime

query-interval

query-max-response-time

query-timeout

robustness-count

router

router igmp

show igmp groups

show igmp interface

show igmp nsf

ES-287Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 288: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast Command Summary

show igmp summary

show igmp ssm map

show igmp traffic

ssm map static

static-group

version

vrf (igmp)

Multicast Source Discovery Protocol Commands on Cisco ASR 9000 Series Routers

This section lists the commands used to configure and monitor the Multicast Source Discovery Protocol (MSDP) on Cisco ASR 9000 Series Aggregation Services Routers.

For detailed information about Multicast Source Discovery Protocol (MSDP) command syntax, refer to the Multicast Source Discovery Protocol Commands on Cisco ASR 9000 Series Routers module in the Cisco ASR 9000 Series Aggregation Services Router Multicast Command Reference.

For detailed information about multicast routing concepts, configuration tasks, and examples, refer to the Implementing Multicast Routing on Cisco IOS XR Software configuration module in the Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide.

cache-sa-holdtime

cache-sa-state

clear msdp peer

clear msdp sa-cache

clear msdp stats

connect-source

default-peer

description (peer)

maximum external-sa

maximum peer-external-sa

mesh-group (peer)

originator-id

password (peer)

peer (MSDP)

remote-as (multicast)

sa-filter

show msdp globals

show msdp peer

show msdp rpf

ES-288Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 289: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast Command Summary

show msdp sa-cache

show msdp statistics peer

show msdp summary

shutdown (MSDP)

ttl-threshold (MSDP)

Multicast Routing and Forwarding Commands on Cisco ASR 9000 Series Routers

This section lists the commands used to configure and monitor multicast routing and forwarding on Cisco ASR 9000 Series Aggregation Services Router.

For detailed information about multicast routing command syntax, refer to the Multicast Routing and Forwarding Commands on Cisco ASR 9000 Series Routers module in the Cisco ASR 9000 Series Aggregation Services Router Multicast Command Reference.

For detailed information about multicast routing concepts, configuration tasks, and examples, refer to the Implementing Multicast Routing on Cisco IOS XR Software configuration module in the Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide.

accounting per-prefix

address-family (multicast)

boundary

clear mfib counter

clear mfib database

clear mfib hardware resource-counters

clear mfib hardware route statistics

disable (multicast)

enable

interface (multicast)

interface all enable

interface-inheritance disable

log-traps

maximum disable

mhost default-interface

multicast-routing

multipath

nsf (multicast)

oom-handling

rate-per-route

show mfib connections

ES-289Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 290: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast Command Summary

show mfib counter

show mfib encap-info

show mfib hardware interface

show mfib hardware resource-counters

show mfib hardware route accept-bitmap

show mfib hardware route olist

show mfib hardware route statistics

show mfib hardware route summary

show mfib interface

show mfib nsf

show mfib route

show mfib table-info

show mhost default-interface

show mhost groups

show mrib client

show mrib nsf

show mrib platform trace

show mrib route

show mrib route-collapse

show mrib table-info

show mrib tlc

static-rpf

ttl-threshold (multicast)

vrf (multicast)

IGMP Snooping Commands on Cisco ASR 9000 Series RoutersThis section lists the commands used to configure and monitor multicast IGMP snooping on Cisco ASR 9000 Series Aggregation Services Routers.

For detailed information about multicast routing command syntax, refer to the IGMP Snooping Commands on Cisco ASR 9000 Series Routers module in the Cisco ASR 9000 Series Aggregation Services Router Multicast Command Reference.

For detailed information about multicast routing concepts, configuration tasks, and examples, refer to the Implementing Multicast Routing on Cisco IOS XR Software configuration module in the Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide.

clear igmp snooping bridge-domain

clear igmp snooping group

clear igmp snooping port

ES-290Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 291: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast Command Summary

clear igmp snooping summary

clear l2vpn forwarding bridge-domain mroute

igmp snooping profile

immediate-leave

internal-querier

internal-querier max-response-time

internal-querier query-interval

internal-querier robustness-variable

internal-querier tcn query count

internal-querier tcn query interval

internal-querier timer expiry

internal-querier version

last-member-query count

last-member-query interval

minimum-version

mrouter

querier query-interval

querier robustness-variable

report-suppression disable

router-alert-check disable

router-guard

show igmp snooping bridge-domain

show igmp snooping group

show igmp snooping port

show igmp snooping profile

show igmp snooping summary

show igmp snooping trace

show l2vpn forwarding bridge-domain mroute

static group

system-ip-address

tcn flood query count

tcn query solicit

ttl-check disable

unsolicited-report-interval

ES-291Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 292: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast Command Summary

Multicast PIM Commands on Cisco ASR 9000 Series RoutersThis section lists the commands used to configure and monitor Protocol Independent Multicast (PIM) on Cisco ASR 9000 Series Aggregation Services Routers.

For detailed information about multicast routing command syntax, refer to the Multicast PIM Commands on Cisco ASR 9000 Series Routers module in the Cisco ASR 9000 Series Aggregation Services Router Multicast Command Reference.

For detailed information about multicast routing concepts, configuration tasks, and examples, refer to the Implementing Multicast Routing on Cisco IOS XR Software configuration module in the Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide.

accept-register

auto-rp candidate-rp

clear pim counters

clear pim topology

dr-priority

embedded-rp

embedded-rp disable

hello-interval (PIM)

interface (PIM)

join-prune-interval

maximum register-states

maximum route-interfaces

maximum routes

neighbor-check-on-recv enable

neighbor-check-on-send enable

neighbor-filter

nsf lifetime (PIM)

old-register-checksum

router pim

rp-address

rpf topology route-policy

rpf-vector

rp-static-deny

show auto-rp candidate-rp

show pim context

show pim context table

show pim group-map

show pim interface

ES-292Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 293: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast Command Summary

show pim join-prune statistic

show pim mstatic

show pim neighbor

show pim nsf

show pim range-list

show pim rpf

show pim rpf hash

show pim rpf route-policy statistics

show pim rpf route-policy test

show pim rpf summary

show pim summary

show pim topology

show pim topology detail

show pim topology entry-flag

show pim topology interface-flag

show pim topology summary

show pim traffic

show pim tunnel info

spt-threshold infinity

ssm

Multicast Tool and Utility Commands on Cisco ASR 9000 Series RoutersThis section lists the commands commands used to troubleshoot multicast routing sessions on Cisco ASR 9000 Series Aggregation Services Routers.

For detailed information about multicast routing command syntax, refer to the Multicast PIM Commands on Cisco ASR 9000 Series Routers module in the Cisco ASR 9000 Series Aggregation Services Router Multicast Command Reference.

For detailed information about multicast routing concepts, configuration tasks, and examples, refer to the Implementing Multicast Routing on Cisco IOS XR Software configuration module in the Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide.

mrinfo

mtrace

sap cache-timeout

sap listen

show sap

ES-293Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 294: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Multicast Command Summary

ES-294Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 295: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS Configuration

This chapter describes how to configure MultiProtocol Label Switching (MPLS) connections on the Cisco ASR 9000 Series Aggregation Services Router using the command-line interface (CLI), and it describes basic Cisco IOS XR software MPLS configuration examples.

Contents • Configuration Examples for Implementing LDP, page 295

• Configuration Examples for RSVP, page 299

• Configuration Examples for RSVP Authentication, page 302

• Configuration Examples for Cisco MPLS-TE, page 304

• Configuration Examples for L2VPN, page 312

• Configuration Examples for Virtual Private LAN Services, page 322

• Configuration Examples for 6PE, page 324

• Configuration Examples for MPLS Layer 3 VPNs, page 324

• Configuration Examples for MPLS VPNs over IP Tunnels, page 334

Configuration Examples for Implementing LDPIThis section provides the following configuration examples:

• Configuring LDP with Graceful Restart: Example, page 296

• Configuring LDP Discovery: Example, page 296

• Configuring LDP Link: Example, page 296

• Configuring LDP Discovery for Targeted Hellos: Example, page 296

• Configuring Label Advertisement (Outbound Filtering): Example, page 297

• Configuring LDP Neighbors: Example, page 297

• Configuring LDP Forwarding: Example, page 297

• Configuring LDP Nonstop Forwarding with Graceful Restart: Example, page 298

• Configuring Label Acceptance (Inbound Filtering): Example, page 298

ES-295Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 296: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for Implementing LDP

• Configuring Local Label Allocation Control: Example, page 298

• Configuring LDP Session Protection: Example, page 298

• Configuring LDP IGP Synchronization - OSPF: Example, page 298

• Configuring LDP IGP Synchronization - ISIS: Example, page 299

• Configuring LDP Auto-configuration: Example, page 299

Configuring LDP with Graceful Restart: ExampleThe following example shows how to enable LDP with graceful restart on the GigabitEthernet interface 0/2/0/0:

mpls ldp graceful-restart interface eth0/2/0/0!

Configuring LDP Discovery: ExampleThe following example shows how to configure LDP discovery parameters:

mpls ldp router-id loopback0 discovery hello holdtime 15 discovery hello interval 5!

show mpls ldp parametersshow mpls ldp discovery

Configuring LDP Link: ExampleThe following example shows how to configure LDP link parameters:

mpls ldp interface GigabitEthernet 0/1/0/0 !!

show mpls ldp discovery

Configuring LDP Discovery for Targeted Hellos: ExampleThe following example shows how to configure LDP Discovery to accept targeted hello messages:

Active (tunnel head)mpls ldp router-id loopback0 interface tunnel-te 12001 !!

ES-296Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 297: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for Implementing LDP

Passive (tunnel tail)mpls ldp router-id loopback0 discovery targeted-hello accept!

Configuring Label Advertisement (Outbound Filtering): ExampleThe following example shows how to configure LDP label advertisement control:

mpls ldp label

advertisedisablefor pfx_acl_1 to peer_acl_1for pfx_acl_2 to peer_acl_2for pfx_acl_3interface GigabitEthernet 0/1/0/0interface GigabitEthernet 0/2/0/0

!!

!ipv4 access-list pfx_acl_1 10 permit ip host 1.0.0.0 any!ipv4 access-list pfx_acl_2 10 permit ip host 2.0.0.0 any!ipv4 access-list peer_acl_1 10 permit ip host 1.1.1.1 any

20 permit ip host 1.1.1.2 any!ipv4 access-list peer_acl_2 10 permit ip host 2.2.2.2 any!

show mpls ldp binding

Configuring LDP Neighbors: ExampleThe following example shows how to disable label advertisement:

mpls ldp router-id Loopback0 neighbor 1.1.1.1 password encrypted 110A1016141E

neighbor 2.2.2.2 implicit-withdraw!

Configuring LDP Forwarding: ExampleThe following example shows how to configure LDP forwarding:

mpls ldp explicit-null!

show mpls ldp forwarding

ES-297Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 298: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for Implementing LDP

show mpls forwarding

Configuring LDP Nonstop Forwarding with Graceful Restart: ExampleThe following example shows how to configure LDP nonstop forwarding with graceful restart:

mpls ldp loggraceful-restart! graceful-restart graceful-restart forwarding state-holdtime 180 graceful-restart reconnect-timeout 15 interface GigabitEthernet0/1/0/0!

show mpls ldp graceful-restartshow mpls ldp neighbor grshow mpls ldp forwardingshow mpls forwarding

Configuring Label Acceptance (Inbound Filtering): ExampleThe following example shows how to configure inbound label filtering:

mpls ldp label accept for pfx_acl_2 from 192.168.2.2! !!

Configuring Local Label Allocation Control: ExampleThe following example shows how to configure local label allocation control:

mpls ldp label allocate for pfx_acl_1 ! !

Configuring LDP Session Protection: ExampleThe following example shows how to configure session protection:

mpls ldp session protection for peer_acl_1 duration 60!

Configuring LDP IGP Synchronization - OSPF: ExampleThe following example shows how to configure LDP IGP synchronization:

ES-298Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 299: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for RSVP

router ospf 100mpls ldp sync!mpls ldp igp sync delay 30!

Configuring LDP IGP Synchronization - ISIS: ExampleThe following example shows how to configure LDP IGP synchronization:

router isis 100 interface GigabitEthernet 0/2/0/0address-family ipv4 unicastmpls ldp sync! !!mpls ldp igp sync delay 30!

Configuring LDP Auto-configuration: ExampleThe following example shows how to configure the IGP auto-configuration feature globally for a specific OSPF interface ID:

router ospf 100 mpls ldp auto-config area 0 interface GigabitEthernet 1/1/1/1

The following example shows how to configure the IGP auto-configuration feature on a given area for a given OSPF interface ID:

router ospf 100 area 0 mpls ldp auto-config interface interface GigabitEthernet 1/1/1/1

Configuration Examples for RSVPThe following section gives sample RSVP configurations for some of the supported RSVP features. More details on the commands can be found in the Resource Reservation Protocol Infrastructure Commands guide. Examples are provided for the following features:

• Bandwidth Configuration (Prestandard): Example, page 300

• Bandwidth Configuration (MAM): Example, page 300

• Bandwidth Configuration (RDM): Example, page 300

• Refresh Reduction and Reliable Messaging Configuration: Example, page 300

• Configuring Graceful Restart: Example, page 301

• Configuring ACL-based Prefix Filtering: Example, page 302

ES-299Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 300: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for RSVP

• Setting DSCP for RSVP Packets: Example, page 302

Bandwidth Configuration (Prestandard): ExampleThe following example shows the configuration of bandwidth on an interface using prestandard DS-TE mode. The example configures an interface for a reservable bandwidth of 7500, specifies the maximum bandwidth for one flow to be 1000 and adds a sub-pool bandwidth of 2000:

rsvp interface GigabitEthernet 0/3/0/0 bandwidth 7500 1000 sub-pool 2000

Bandwidth Configuration (MAM): ExampleThe following example shows the configuration of bandwidth on an interface using MAM. The example shows how to limit the total of all RSVP reservations on GigabitEthernet interface 0/3/0/0 to 7500 kbps, and allows each single flow to reserve no more than 1000 kbps:

rsvp interface GigabitEthernet 0/3/0/0 bandwidth mam 7500 1000

Bandwidth Configuration (RDM): ExampleThe following example shows the configuration of bandwidth on an interface using RDM. The example shows how to limit the total of all RSVP reservations on GigabitEthernet interface 0/3/0/0 to 7500 kbps, and allows each single flow to reserve no more than 1000 kbps:

rsvp interface GigabitEthernet 0/3/0/0 bandwidth rdm 7500 1000

Refresh Reduction and Reliable Messaging Configuration: ExampleRefresh reduction feature as defined by RFC 2961 is supported and enabled by default. The following examples illustrate the configuration for the refresh reduction feature. Refresh reduction is used with a neighbor only if the neighbor supports it also.

Changing the Refresh Interval and the Number of Refresh Messages

The following example shows how to configure the refresh interval to 30 seconds on GigabitEthernet 0/3/0/0 and how to change the number of refresh messages the node can miss before cleaning up the state from the default value of 4 to 6:

rsvp interface GigabitEthernet 0/3/0/0 signalling refresh interval 30 signalling refresh missed 6

Configuring Retransmit Time Used in Reliable Messaging

The following example shows how to set the retransmit timer to 2 seconds. To prevent unnecessary retransmits, the retransmit time value configured on the interface must be greater than the ACK hold time on its peer.

ES-300Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 301: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for RSVP

rsvp interface GigabitEthernet 0/4/0/1 signalling refresh reduction reliable retransmit-time 2000

Configuring Acknowledgement Times

The following example shows how to change the acknowledge hold time from the default value of 400 ms, to delay or speed up sending of ACKs, and the maximum acknowledgment message size from default size of 4096 bytes.

rsvp interface GigabitEthernet 0/4/0/1 signalling refresh reduction reliable ack-hold-time 1000rsvp interface GigabitEthernet 0/4/0/1 signalling refresh reduction reliable ack-max-size 1000

Note Make sure retransmit time on the peers’ interface is at least twice the amount of the ACK hold time to prevent unnecessary retransmissions.

Changing the Summary Refresh Message Size

The following example shows how to set the summary refresh message maximum size to 1500 bytes:

rsvp interface GigabitEthernet 0/4/0/1 signalling refresh reduction summary max-size 1500

Disabling Refresh Reduction

If the peer node does not support refresh reduction or for any other reason you want to disable refresh reduction on an interface, use the following commands to disable refresh reduction on that interface:

rsvp interface GigabitEthernet 0/4/0/1 signalling refresh reduction disable

Configuring Graceful Restart: ExampleRSVP graceful restart is configured globally or per interface (as are refresh-related parameters). The following examples show how to enable graceful restart, set the restart time, and change the hello message interval.

Enabling Graceful Restart

RSVP graceful restart is enabled by default. If disabled, enable it with the following command:

rsvp signalling graceful-restart

Enabling Interface-Based Graceful Restart

Configure the RSVP graceful restart feature on an interface using the following command:

signalling hello graceful-restart interface-based

Changing the Restart-Time

Configure the restart time that is advertised in hello messages sent to neighbor nodes:

ES-301Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 302: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for RSVP Authentication

rsvp signalling graceful-restart restart-time 200

Changing the Hello Interval

Configure the interval at which RSVP graceful restart hello messages are sent per neighbor, and change the number of hellos missed before the neighbor is declared down:

rsvp signalling hello graceful-restart refresh interval 4000rsvp signalling hello graceful-restart refresh misses 4

Configuring ACL-based Prefix Filtering: ExampleIn the following example, when RSVP receives a Router Alert (RA) packet from source address 1.1.1.1 and 1.1.1.1 is not a local address, the packet is forwarded with IP TTL decremented. Packets destined to 2.2.2.2 are dropped. All other RA packets are processed as normal RSVP packets.

show run ipv4 access-list ipv4 access-list rsvpacl 10 permit ip host 1.1.1.1 any 20 deny ip any host 2.2.2.2 !show run rsvp rsvp signalling prefix-filtering access-list rsvpacl !

Setting DSCP for RSVP Packets: ExampleThe following configuration can be used to set the Differentiated Services Code Point (DSCP) field in the IP header of RSVP packets:

rsvp interface eth0/2/0/1 signalling dscp 20

Configuration Examples for RSVP AuthenticationThis section provides the following configuration examples:

• RSVP Authentication Global Configuration Mode: Example, page 302

• RSVP Authentication for an Interface: Example, page 303

• RSVP Neighbor Authentication: Example, page 303

• RSVP Authentication by Using All the Modes: Example, page 303

RSVP Authentication Global Configuration Mode: ExampleThe following configuration is used to enable authentication of all RSVP messages and to increase the default lifetime of the SAs:

rsvp authentication key-source key-chain default_keys

ES-302Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 303: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for RSVP Authentication

life-time 3600 !!

Note The specified keychain (default_keys) must exist and contain valid keys, or signaling will fail.

RSVP Authentication for an Interface: ExampleThe following configuration is used to enable authentication of all RSVP messages that are being sent or received on one interface only, and sets the window-size of the SA's:

rsvp interface GigabitEthernet0/6/0/0 authentication window-size 64 ! !

Note Because the key-source keychain configuration is not specified, the global authentication mode keychain is used and inherited. The global keychain must exist and contain valid keys or signaling fails.

RSVP Neighbor Authentication: ExampleThe following configuration is used to enable authentication of all RSVP messages that being sent to and received from only a particular IP address:

rsvp neighbor 10.0.0.1 authentication key-source key-chain nbr_keys ! !!

RSVP Authentication by Using All the Modes: ExampleThe following configuration shows how to perform the following functions:

• Authenticates all RSVP messages.

• Authenticates the RSVP messages to or from 10.0.0.1 by setting the keychain for the key-source key-chain command to nbr_keys, SA lifetime is set to 3600, and the default window-size is set to 1.

• Authenticates the RSVP messages not to or from 10.0.0.1 by setting the keychain for the key-source key-chain command to default_keys, SA lifetime is set to 3600, and the window-size is set 64 when using GigabitEthernet0/6/0/0; otherwise, the default value of 1 is used.

rsvp interface GigabitEthernet0/6/0/0 authentication window-size 64 ! ! neighbor 10.0.0.1 authentication

ES-303Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 304: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for Cisco MPLS-TE

key-source key-chain nbr_keys ! ! authentication key-source key-chain default_keys life-time 3600 !!

Note If a keychain does not exist or contain valid keys, this is considered a configuration error because signaling fails. However, this can be intended to prevent signaling. For example, when using the above configuration, if the nbr_keys does not contain valid keys, all signaling with 10.0.0.1 fails.

Configuration Examples for Cisco MPLS-TEThis section provides the following examples:

• Configuring LDP with Graceful Restart: Example, page 296

• Configuring IETF Diff-Serv TE Tunnels: Example, page 306

• Configuring the Ignore IS-IS Overload Bit Setting in MPLS-TE: Example, page 306

• Configuring GMPLS: Example, page 306

• Configuring Flexible Name-based Tunnel Constraints: Example, page 308

• Configuring an Interarea Tunnel: Example, page 310

• Configuring Forwarding Adjacency: Example, page 310

• Configuring Unequal Load Balancing: Example, page 310

• Configuring PCE: Example, page 311

• Configure Policy-based Tunnel Selection: Example, page 312

ES-304Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 305: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for Cisco MPLS-TE

Building MPLS-TE Topology and Tunnels: ExampleThe following examples show how to build an OSPF and IS-IS topology:

(OSPF)...configure mpls traffic-eng interface GigabitEthernet 0/6/0/0 router id loopback 0 router ospf 1 router-id 192.168.25.66 area 0 interface GigabitEthernet 0/6/0/0 interface loopback 0 mpls traffic-eng router-id loopback 0 mpls traffic-eng area 0 rsvp interface GigabitEthernet 0/6/0/0 bandwidth 100 commitshow mpls traffic-eng topologyshow mpls traffic-eng link-management advertisement!(IS-IS)...configure mpls traffic-eng interface GigabitEthernet 0/6/0/0 router id loopback 0 router isis lab address-family ipv4 unicast mpls traffic-eng level 2 mpls traffic-eng router-id Loopback 0 ! interface GigabitEthernet0/0/0/0 address-family ipv4 unicast!

The following example shows how to configure tunnel interfaces:

interface tunnel-te1 destination 192.168.92.125 ipv4 unnumbered loopback 0 path-option l dynamic bandwidth 100 commitshow mpls traffic-eng tunnelsshow ipv4 interface briefshow mpls traffic-eng link-management admission-control!interface tunnel-te1 autoroute announce route ipv4 192.168.12.52/32 tunnel-te1 commitping 192.168.12.52show mpls traffic autoroute!interface tunnel-te1 fast-reroute mpls traffic-eng interface GigabitEthernet 0/6/0/0 backup-path tunnel-te 2 interface tunnel-te2 backup-bw global-pool 5000

ES-305Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 306: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for Cisco MPLS-TE

ipv4 unnumbered loopback 0 path-option l explicit name backup-path destination 192.168.92.125 commitshow mpls traffic-eng tunnels backupshow mpls traffic-eng fast-reroute database!rsvp interface GigabitEthernet 0/6/0/0 bandwidth 100 150 sub-pool 50 interface tunnel-te1 bandwidth sub-pool 10commit

Configuring IETF Diff-Serv TE Tunnels: ExampleThe following example shows how to configure DiffServ-TE:

rsvp interface GigabitEthernet 0/6/0/0 bandwidth rdm 100 150 bc1 50 mpls traffic-eng ds-te mode ietf interface tunnel-te 1 bandwidth 10 class-type 1 commit

configure rsvp interface 0/6/0/0 bandwidth mam max-reservable-bw 400 bc0 300 bc1 200 mpls traffic-eng ds-te mode ietf ds-te model mam interface tunnel-te 1bandwidth 10 class-type 1 commit

Configuring the Ignore IS-IS Overload Bit Setting in MPLS-TE: ExampleThe following example shows how to configure the IS-IS overload bit setting in MPLS-TE:

configure mpls traffic-eng path-selection ignore overload commit

Configuring GMPLS: ExampleThis example shows how to set up headend and tailend routers with bidirectional optical unnumbered tunnels using numbered TE links:

Headend Routerrouter ospf roswell router-id 11.11.11.11 nsf cisco area 23 !

ES-306Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 307: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for Cisco MPLS-TE

area 51 interface Loopback 0 ! interface MgmtEth0/0/CPU0/1 ! interface GigabitEthernet0/4/0/1 ! ! mpls traffic-eng router-id Loopback 0 mpls traffic-eng area 51!

rsvp interface GigabitEthernet0/2/0/3 bandwidth 2000 !!interface tunnel-te1 ipv4 unnumbered Loopback 0 switching transit fsc encoding ethernet switching endpoint psc1 encoding packet priority 3 3 signalled-bandwidth 500 destination 55.55.55.55 direction bidirectional path-option 1 dynamic!

mpls traffic-eng interface GigabitEthernet0/2/0/3 flooding-igp ospf roswell area 51 switching key 1 encoding packet capability psc1 ! switching link encoding ethernet capability fsc ! lmp data-link adjacency neighbor gmpls5 remote te-link-id ipv4 10.0.0.5 remote interface-id unnum 12 remote switching-capability psc1 ! ! lmp neighbor gmpls5 ipcc routed remote node-id 55.55.55.55 !!

Tailend Routerrouter ospf roswell router-id 55.55.55.55 nsf cisco area 23 ! area 51 interface Loopback 0 ! interface MgmtEth0/0/CPU0/1 !

ES-307Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 308: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for Cisco MPLS-TE

interface GigabitEthernet0/4/0/2 ! ! mpls traffic-eng router-id Loopback 0 mpls traffic-eng area 51!

mpls traffic-eng interface GigabitEthernet0/2/0/3 flooding-igp ospf roswell area 51 switching key 1 encoding packet capability psc1 ! switching link encoding ethernet capability fsc ! lmp data-link adjacency neighbor gmpls1 remote te-link-id ipv4 10.0.0.1 remote interface-id unnum 12 remote switching-capability psc1 ! ! lmp neighbor gmpls1 ipcc routed remote node-id 11.11.11.11 !!rsvp interface GigabitEthernet0/2/0/3 bandwidth 2000 !!interface tunnel-te1 ipv4 unnumbered Loopback 0 passive match identifier head_router_hostname_t1 destination 11.11.11.11!

Configuring Flexible Name-based Tunnel Constraints: ExampleThe following configuration shows the three-step process used to configure Flexible Name-based Tunnel Constraints.

R2line console exec-timeout 0 0 width 250!logging console debuggingexplicit-path name mypath index 1 next-address loose ipv4 unicast 3.3.3.3 !explicit-path name ex_path1 index 10 next-address loose ipv4 unicast 2.2.2.2 index 20 next-address loose ipv4 unicast 3.3.3.3 !interface Loopback0 ipv4 address 22.22.22.22 255.255.255.255 !interface tunnel-te1 ipv4 unnumbered Loopback0

ES-308Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 309: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for Cisco MPLS-TE

signalled-bandwidth 1000000 destination 3.3.3.3 affinity include green affinity include yellow affinity exclude white affinity exclude orange path-option 1 dynamic!router isis 1 is-type level-1 net 47.0001.0000.0000.0001.00 nsf cisco address-family ipv4 unicast metric-style wide mpls traffic-eng level-1 mpls traffic-eng router-id Loopback0 ! interface Loopback0 passive address-family ipv4 unicast ! ! interface GigabitEthernet0/1/0/0 address-family ipv4 unicast ! ! interface GigabitEthernet0/1/0/1 address-family ipv4 unicast ! ! interface GigabitEthernet0/1/0/2 address-family ipv4 unicast ! ! interface GigabitEthernet0/1/0/3 address-family ipv4 unicast ! !!rsvp interface GigabitEthernet0/1/0/0 bandwidth 1000000 1000000 ! interface GigabitEthernet0/1/0/1 bandwidth 1000000 1000000 ! interface GigabitEthernet0/1/0/2 bandwidth 1000000 1000000 ! interface GigabitEthernet0/1/0/3 bandwidth 1000000 1000000 !!mpls traffic-eng interface GigabitEthernet0/1/0/0 attribute-names red purple ! interface GigabitEthernet0/1/0/1 attribute-names red orange ! interface GigabitEthernet0/1/0/2 attribute-names green purple ! interface GigabitEthernet0/1/0/3

ES-309Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 310: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for Cisco MPLS-TE

attribute-names green orange ! affinity-map red 1 affinity-map blue 2 affinity-map black 80 affinity-map green 4 affinity-map white 40 affinity-map orange 20 affinity-map purple 10 affinity-map yellow 8!

Configuring an Interarea Tunnel: ExampleThe following configuration example shows how to configure a traffic engineering interarea tunnel. Router R1 is the headend for tunnel1, and router R2 (20.0.0.20) is the tailend. Tunnel1 is configured with a path option that is loosely routed through Ra and Rb.

Note Specifying the tunnel tailend in the loosely router path is optional.

configinterface Tunnel-te1ipv4 unnumbered Loopback0destination 192.168.20.20signalled-bandwidth 300path-option 1 explicit name path-tunnel1explicit-path name path-tunnel1next-address loose 192.168.40.40next-address loose 192.168.60.60next-address loose 192.168.20.20

Note Generally for an interarea tunnel you should configure multiple loosely routed path options that specify different combinations of ABRs (for OSPF) or level-1-2 boundary routers (for IS-IS) to increase the likelihood that the tunnel is successfully signaled. In this simple topology there are no other loosely routed paths.

Configuring Forwarding Adjacency: ExampleThe following configuration example shows how to configure an MPLS-TE forwarding adjacency on tunnel-te 68 with a holdtime value of 60:

configure interface tunnel-te 68 forwarding-adjacency holdtime 60 commit

Configuring Unequal Load Balancing: ExampleThe following configuration example illustrates unequal load balancing configuration:

configure interface tunnel-te0

ES-310Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 311: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for Cisco MPLS-TE

destination 1.1.1.1 path-option 1 dynamic ipv4 unnumbered Loopback0 interface tunnel-te1 destination 1.1.1.1 path-option 1 dynamic ipv4 unnumbered Loopback0 load-share 5 interface tunnel-te2 destination 1.1.1.1 path-option 1 dynamic ipv4 unnumbered Loopback0 signalled-bandwidth 5 interface tunnel-te10 destination 2.2.2.2 path-option 1 dynamic ipv4 unnumbered Loopback0 signalled-bandwidth 10 interface tunnel-te11 destination 2.2.2.2 path-option 1 dynamic ipv4 unnumbered Loopback0 signalled-bandwidth 10 interface tunnel-te12 destination 2.2.2.2 path-option 1 dynamic ipv4 unnumbered Loopback0 signalled-bandwidth 20 interface tunnel-te20 destination 3.3.3.3 path-option 1 dynamic ipv4 unnumbered Loopback0 signalled-bandwidth 10 interface tunnel-te21 destination 3.3.3.3 path-option 1 dynamic ipv4 unnumbered Loopback0 signalled-bandwidth 10 load-share 20 interface tunnel-te30 destination 4.4.4.4 path-option 1 dynamic ipv4 unnumbered Loopback0 signalled-bandwidth 10 load-share 5 interface tunnel-te31 destination 4.4.4.4 path-option 1 dynamic ipv4 unnumbered Loopback0 signalled-bandwidth 10 load-share 20 mpls traffic-eng load-share unequalend

Configuring PCE: ExampleThe following configuration example illustrates a PCE configuration:

configurempls traffic-eng

ES-311Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 312: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for L2VPN

interface GigabitEthernet 0/6/0/0 pce address ipv4 192.168.25.66 router id loopback 0 router ospf 1 router-id 192.168.25.66 area 0 interface GigabitEthernet 0/6/0/0 interface loopback 0 mpls traffic-eng router-id loopback 0 mpls traffic-eng area 0 rsvp interface GigabitEthernet 0/6/0/0 bandwidth 100 commit

The following configuration example illustrates PCC configuration:

configure int tunnel-te 10 ipv4 unnumbered loopback 0 destination 1.2.3.4 path-option 1 dynamic pce mpls traffic-eng interface GigabitEthernet 0/6/0/0 router id loopback 0 router ospf 1 router-id 192.168.25.66 area 0 interface GigabitEthernet 0/6/0/0 interface loopback 0 mpls traffic-eng router-id loopback 0 mpls traffic-eng area 0 rsvp interface GigabitEthernet 0/6/0/0 bandwidth 100 commit

Configure Policy-based Tunnel Selection: ExampleThe following configuration example illustrates a PBTS configuration:

configure interface tunnel-te0 ipv4 unnumbered Loopback3 signalled-bandwidth 50000 autoroute announce destination 1.5.177.2 policy-class 2 path-option 1 dynamic

Configuration Examples for L2VPNIn the following example, two traffic classes are created and their match criteria are defined. For the first traffic class called class1, ACL 101 is used as the match criterion. For the second traffic class called class2, ACL 102 is used as the match criterion. Packets are checked against the contents of these ACLs to determine if they belong to the class.

This section includes the following configuration examples:

ES-312Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 313: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for L2VPN

• L2VPN Interface Configuration: Example, page 313

• Point-to-Point Cross-connect Configuration: Examples, page 313

• Inter-AS: Example, page 313

• L2VPN Quality of Service: Example, page 315

• Preferred Path: Example, page 315

• Pseudowires: Examples, page 315

• Viewing Pseudowire Status: Example, page 319

L2VPN Interface Configuration: ExampleThe following example shows how to configure an L2VPN interface:

config interface GigabitEthernet0/0/0/0.1 l2transport dot1q vlan 1 end

Point-to-Point Cross-connect Configuration: ExamplesThis section includes configuration examples for both static and dynamic p2p cross-connects.

Static Config

The following example shows how to configure a static p2p cross-connect:

configl2vpnxconnect group vlan_grp_1p2p vlan1interface GigabitEthernet0/0/0/0.1neighbor 2.2.1.1 pw-id 1 commit

Dynamic Config

The following example shows how to configure a dynamic p2p cross-connect:

configl2vpnxconnect group vlan_grp_1p2p vlan1interface GigabitEthernet0/0/0/0.1neighbor 2.2.1.1 pw-id 1 commit

Inter-AS: ExampleThe following example shows how to set up an AC to AC cross connect from AC1 to AC2:

router-id Loopback0

interface Loopback0 ipv4 address 5.0.0.5 255.255.255.255

ES-313Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 314: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for L2VPN

!interface GigabitEthernet0/1/0/0.1 l2transport dot1q vlan 1!!interface GigabitEthernet0/0/0/3 ipv4 address 16.45.0.5 255.255.255.0 keepalive disable!interface GigabitEthernet0/0/0/4 ipv4 address 16.5.0.5 255.255.255.0 keepalive disable!router ospf 100 log adjacency changes detail area 0 interface Loopback0 ! interface GigabitEthernet0/0/0/3 ! interface GigabitEthernet0/0/0/4 ! !!router bgp 100 address-family ipv4 unicast allocate-label all ! neighbor 40.0.0.5 remote-as 100 update-source Loopback0 address-family ipv4 unicast ! address-family ipv4 labeled-unicast ! !!l2vpn xconnect group cisco p2p cisco1 interface GigabitEthernet0/1/0/0.1 neighbor 20.0.0.5 pw-id 101 ! p2p cisco2 interface GigabitEthernet0/1/0/0.2 neighbor 20.0.0.5 pw-id 102 ! p2p cisco3 interface GigabitEthernet0/1/0/0.3 neighbor 20.0.0.5 pw-id 103 ! p2p cisco4 interface GigabitEthernet0/1/0/0.4 neighbor 20.0.0.5 pw-id 104 ! p2p cisco5 interface GigabitEthernet0/1/0/0.5 neighbor 20.0.0.5 pw-id 105 ! p2p cisco6 interface GigabitEthernet0/1/0/0.6 neighbor 20.0.0.5 pw-id 106 ! p2p cisco7 interface GigabitEthernet0/1/0/0.7 neighbor 20.0.0.5 pw-id 107

ES-314Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 315: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for L2VPN

! p2p cisco8 interface GigabitEthernet0/1/0/0.8 neighbor 20.0.0.5 pw-id 108 ! p2p cisco9 interface GigabitEthernet0/1/0/0.9 neighbor 20.0.0.5 pw-id 109 ! p2p cisco10 interface GigabitEthernet0/1/0/0.10 neighbor 20.0.0.5 pw-id 110 ! !!mpls ldp router-id Loopback0 log neighbor ! interface GigabitEthernet0/0/0/3 ! interface GigabitEthernet0/0/0/4 !!end

L2VPN Quality of Service: ExampleThe following example shows how to attach a service-policy to an L2 interface in port mode:

configure interface type interface-id l2transport service-policy [input | output] [policy-map-name]commit

Preferred Path: ExampleThe following example shows how to configure preferred tunnel path:

configure l2vpn pw-class path1 encapsulation mpls preferred-path interface tunnel value fallback disable

Pseudowires: ExamplesThese examples include the following devices and connections:

• T-PE1 node has:

– Cross-connect with an AC interface (facing CE1)

– Pseudowire to S-PE1 node

– IP address 209.165.200.225

ES-315Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 316: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for L2VPN

• T-PE2 node

– Cross-connect with an AC interface (facing CE2)

– Pseudowire to S-PE1 node

– IP address 209.165.200.254

• S-PE1 node

– Multisegment pseudowire cross-connect with a pseudowire segment to T-PE1 node

– Pseudowire segment to T-PE2 node

– IP address 209.165.202.158

Configuring Dynamic Pseudowires at T-PE1 Node: Example

RP/0/RSP0/CPU0:T-PE1# configure

RP/0/RSP0/CPU0:T-PE1(config)# l2vpn

RP/0/RSP0/CPU0:T-PE1 (config-l2vpn)# pw-class dynamic_mpls

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-pwc)# encapsulation mpls

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-pwc-encap-mpls)# protocol ldp

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-pwc-encap-mpls)# control-word disable

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-pwc-encap-mpls)# exit

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-pwc)# exit

RP/0/RSP0/CPU0:T-PE1(config-l2vpn)# xconnect group XCON1

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-xc)# p2p xc1

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-xc-p2p)# description T-PE1 MS-PW to 209.165.202.158 via 209.165.200.254

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-xc-p2p)# interface gig0/1/0/0.1

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-xc-p2p)# neighbor 209.165.200.254 pw-id 100

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-xc-p2p-pw)# pw-class dynamic_mpls

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-xc-p2p-pw)# commit

Configuring Dynamic Pseudowires at S-PE1 Node: Example

RP/0/RSP0/CPU0:S-PE1# configure

RP/0/RSP0/CPU0:S-PE1(config)# l2vpn

RP/0/RSP0/CPU0:S-PE1(config-l2vpn)# pw-class dynamic_mpls

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-pwc)# encapsulation mpls

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-pwc-encap-mpls)# protocol ldp

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-pwc-encap-mpls)# control-word disable

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-pwc-encap-mpls)# exit

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-pwc)# exit

RP/0/RSP0/CPU0:S-PE1(config-l2vpn)# xconnect group MS-PW1

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-xc)# p2p ms-pw1

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-xc-p2p)# description S-PE1 MS-PW between 209.165.200.225 and 209.165.202.158

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-xc-p2p)# neighbor 209.165.200.225 pw-id 100

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-xc-p2p-pw)# pw-class dynamic_mpls

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-xc-p2p-pw)# exit

ES-316Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 317: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for L2VPN

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-xc-p2p)# neighbor 209.165.202.158 pw-id 300

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-xc-p2p-pw)# pw-class dynamic_mpls

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-xc-p2p-pw)# commit

Configuring Dynamic Pseudowires at T-PE2 Node: Example

RP/0/RSP0/CPU0:T-PE2# configure

RP/0/RSP0/CPU0:T-PE2(config)# l2vpn

RP/0/RSP0/CPU0:T-PE2 (config-l2vpn)# pw-class dynamic_mpls

RP/0/RSP0/CPU0:T-PE2 (config-l2vpn-pwc)# encapsulation mpls

RP/0/RSP0/CPU0:T-PE2 (config-l2vpn-pwc-encap-mpls)# protocol ldp

RP/0/RSP0/CPU0:T-PE2 (config-l2vpn-pwc-encap-mpls)# control-word disable

RP/0/RSP0/CPU0:T-PE2 (config-l2vpn-pwc-encap-mpls)# exit

RP/0/RSP0/CPU0:T-PE2 (config-l2vpn-pwc)# exit

RP/0/RSP0/CPU0:T-PE2(config-l2vpn)# xconnect group XCON1

RP/0/RSP0/CPU0:T-PE2(config-l2vpn-xc)# p2p xc1

RP/0/RSP0/CPU0:T-PE2(config-l2vpn-xc-p2p)# description T-PE2 MS-PW to 209.165.200.225 via 209.165.200.254

RP/0/RSP0/CPU0:T-PE2(config-l2vpn-xc-p2p)# interface gig0/2/0/0.4

RP/0/RSP0/CPU0:T-PE2(config-l2vpn-xc-p2p)# neighbor 209.165.200.254 pw-id 300

RP/0/RSP0/CPU0:T-PE2(config-l2vpn-xc-p2p-pw)# pw-class dynamic_mpls

RP/0/RSP0/CPU0:T-PE2(config-l2vpn-xc-p2p-pw)# commit

Configuring Dynamic Pseudowires and Preferred Paths at T-PE1 Node: Example

RP/0/RSP0/CPU0:T-PE1# configure

RP/0/RSP0/CPU0:T-PE1(config)# l2vpn

RP/0/RSP0/CPU0:T-PE1(config-l2vpn)# pw-class dynamic_mpls

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-pwc)# encapsulation mpls

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-pwc-encap-mpls)# protocol ldp

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-pwc-encap-mpls)# control-word disable

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-pwc-encap-mpls)# preferred-path interface tunnel-te 1000

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-pwc-encap-mpls)# exit

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-pwc)# exit

RP/0/RSP0/CPU0:T-PE1(config-l2vpn)# xconnect group XCON1

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-xc)# p2p xc1

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-xc-p2p)# description T-PE1 MS-PW to 209.165.202.158 via 209.165.200.254

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-xc-p2p)# interface gig0/1/0/0.1

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-xc-p2p)# neighbor 209.165.200.254 pw-id 100

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-xc-p2p-pw)# pw-class dynamic_mpls

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-xc-p2p-pw)# commit

Configuring Dynamic Pseudowires and Preferred Paths at S-PE1 Node: Example

RP/0/RSP0/CPU0:S-PE1# configure

ES-317Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 318: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for L2VPN

RP/0/RSP0/CPU0:S-PE1(config)# l2vpn

RP/0/RSP0/CPU0:S-PE1(config-l2vpn)# pw-class dynamic_mpls1

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-pwc)# encapsulation mpls

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-pwc-encap-mpls)# protocol ldp

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-pwc-encap-mpls)# control-word disable

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-pwc-encap-mpls)# preferred-path interface tunnel-te 1000

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-pwc-encap-mpls)# exit

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-pwc)# exit

RP/0/RSP0/CPU0:S-PE1(config-l2vpn)# pw-class dynamic_mpls2

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-pwc)# encapsulation mpls

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-pwc-encap-mpls)# protocol ldp

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-pwc-encap-mpls)# control-word disable

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-pwc-encap-mpls)# preferred-path interface tunnel-te 2000

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-pwc-encap-mpls)# exit

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-pwc)# exit

RP/0/RSP0/CPU0:S-PE1(config-l2vpn)# xconnect group MS-PW1

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-xc)# p2p ms-pw1

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-xc-p2p)# description S-PE1 MS-PW between 209.165.200.225 and 209.165.202.158

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-xc-p2p)# neighbor 209.165.200.225 pw-id 100

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-xc-p2p-pw)# pw-class dynamic_mpls1

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-xc-p2p-pw)# exit

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-xc-p2p)# neighbor 209.165.202.158 pw-id 300

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-xc-p2p-pw)# pw-class dynamic_mpls2

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-xc-p2p-pw)# commit

Configuring Dynamic Pseudowires and Preferred Paths at T-PE2 Node: Example

RP/0/RSP0/CPU0:T-PE2# configure

RP/0/RSP0/CPU0:T-PE2(config)# l2vpn

RP/0/RSP0/CPU0:T-PE2(config-l2vpn)# pw-class dynamic_mpls

RP/0/RSP0/CPU0:T-PE2(config-l2vpn-pwc)# encapsulation mpls

RP/0/RSP0/CPU0:T-PE2(config-l2vpn-pwc-encap-mpls)# protocol ldp

RP/0/RSP0/CPU0:T-PE2(config-l2vpn-pwc-encap-mpls)# control-word disable

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-pwc-encap-mpls)# preferred-path interface tunnel-te 2000

RP/0/RSP0/CPU0:T-PE2(config-l2vpn-pwc-encap-mpls)# exit

RP/0/RSP0/CPU0:T-PE2(config-l2vpn-pwc)# exit

RP/0/RSP0/CPU0:T-PE2(config-l2vpn)# xconnect group XCON1

RP/0/RSP0/CPU0:T-PE2(config-l2vpn-xc)# p2p xc1

RP/0/RSP0/CPU0:T-PE2(config-l2vpn-xc-p2p)# description T-PE2 MS-PW to 209.165.200.225 via 209.165.200.254

RP/0/RSP0/CPU0:T-PE2(config-l2vpn-xc-p2p)# interface gig0/2/0/0.4

RP/0/RSP0/CPU0:T-PE2(config-l2vpn-xc-p2p)# neighbor 209.165.200.254 pw-id 300

RP/0/RSP0/CPU0:T-PE2(config-l2vpn-xc-p2p-pw)# pw-class dynamic_mpls

ES-318Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 319: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for L2VPN

RP/0/RSP0/CPU0:T-PE2(config-l2vpn-xc-p2p-pw)# commit

Configuring Static Pseudowires at T-PE1 Node: Example

RP/0/RSP0/CPU0:T-PE1# configure

RP/0/RSP0/CPU0:T-PE1(config)# l2vpn

RP/0/RSP0/CPU0:T-PE1(config-l2vpn)# xconnect group XCON1

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-xc)# p2p xc1

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-xc-p2p)# interface gig0/1/0/0.1

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-xc-p2p)# neighbor 209.165.200.254 pw-id 100

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-xc-p2p-pw)# mpls static label local 50 remote 400

RP/0/RSP0/CPU0:T-PE1(config-l2vpn-xc-p2p-pw)# commit

Configuring Static Pseudowires at S-PE1 Node: Example

RP/0/RSP0/CPU0:S-PE1# configure

RP/0/RSP0/CPU0:S-PE1(config)# l2vpn

RP/0/RSP0/CPU0:S-PE1(config-l2vpn)# xconnect group MS-PW1

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-xc)# p2p ms-pw1

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-xc-p2p)# neighbor 209.165.200.225 pw-id 100

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-xc-p2p-pw)# mpls static label local 400 remote 50

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-xc-p2p-pw)# exit

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-xc-p2p)# neighbor 209.165.202.158 pw-id 300

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-xc-p2p-pw)# mpls static label local 40 remote 500

RP/0/RSP0/CPU0:S-PE1(config-l2vpn-xc-p2p-pw)# commit

Configuring Static Pseudowires at T-PE2 Node: Example

RP/0/RSP0/CPU0:T-PE2# configure

RP/0/RSP0/CPU0:T-PE2(config)# l2vpn

RP/0/RSP0/CPU0:T-PE2(config-l2vpn)# xconnect group XCON1

RP/0/RSP0/CPU0:T-PE2(config-l2vpn-xc)# p2p xc1

RP/0/RSP0/CPU0:T-PE2(config-l2vpn-xc-p2p)# interface gig0/2/0/0.4

RP/0/RSP0/CPU0:T-PE2(config-l2vpn-xc-p2p)# neighbor 209.165.200.254 pw-id 300

RP/0/RSP0/CPU0:T-PE2(config-l2vpn-xc-p2p-pw)# mpls static label local 500 remote 40

RP/0/RSP0/CPU0:T-PE2(config-l2vpn-xc-p2p-pw)# commit

Viewing Pseudowire Status: Example

show l2vpn xconnect

RP/0/RSP0/CPU0:router# show l2vpn xconnect

Legend: ST = State, UP = Up, DN = Down, AD = Admin Down, UR = Unresolved,

LU = Local Up, RU = Remote Up, CO = Connected

XConnect Segment 1 Segment 2

ES-319Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 320: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for L2VPN

Group Name ST Description ST Description ST

------------------------ ------------------------- -------------------------

MS-PW1 ms-pw1 UP 209.165.200.225 100 UP 209.165.202.158 300 UP

--------------------------------------------------------------------------------

show l2vpn xconnect detail

RP/0/RSP0/CPU0:router# show l2vpn xconnect detail

Group MS-PW1, XC ms-pw1, state is up; Interworking none

PW: neighbor 209.165.200.225, PW ID 100, state is up ( established )

PW class not set

Encapsulation MPLS, protocol LDP

PW type Ethernet VLAN, control word enabled, interworking none

PW backup disable delay 0 sec

Sequencing not set

PW Status TLV in use

MPLS Local Remote

------------ ------------------------------ -----------------------------

Label 16004 16006

Group ID 0x2000400 0x2000700

Interface GigabitEthernet0/1/0/2.2 GigabitEthernet0/1/0/0.3

MTU 1500 1500

Control word enabled enabled

PW type Ethernet VLAN Ethernet VLAN

VCCV CV type 0x2 0x2

(LSP ping verification) (LSP ping verification)

VCCV CC type 0x5 0x7

(control word) (control word)

(router alert label)

(TTL expiry) (TTL expiry)

------------ ------------------------------ -----------------------------

Incoming PW Switching TLVs (Label Mapping message):

None

Incoming Status (PW Status TLV and accompanying PW Switching TLV):

Status code: 0x0 (no fault) in Notification message

Outgoing PW Switching TLVs (Label Mapping message):

Local IP Address: 209.165.200.254 , Remote IP address: 209.165.202.158 , PW ID: 300

Description: S-PE1 MS-PW between 209.165.200.225 and 209.165.202.158

Outgoing Status (PW Status TLV and accompanying PW Switching TLV):

Status code: 0x0 (no fault) in Notification message

Local IP Address: 209.165.200.254

Create time: 04/04/2008 23:18:24 (00:01:24 ago)

Last time status changed: 04/04/2008 23:19:30 (00:00:18 ago)

Statistics:

packet totals: receive 0

ES-320Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 321: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for L2VPN

byte totals: receive 0

PW: neighbor 209.165.202.158 , PW ID 300, state is up ( established )

PW class not set

Encapsulation MPLS, protocol LDP

PW type Ethernet VLAN, control word enabled, interworking none

PW backup disable delay 0 sec

Sequencing not set

PW Status TLV in use

MPLS Local Remote

------------ ------------------------------ -----------------------------

Label 16004 16006

Group ID 0x2000800 0x2000200

Interface GigabitEthernet0/1/0/0.3 GigabitEthernet0/1/0/2.2

MTU 1500 1500

Control word enabled enabled

PW type Ethernet VLAN Ethernet VLAN

VCCV CV type 0x2 0x2

(LSP ping verification) (LSP ping verification)

VCCV CC type 0x5 0x7

(control word) (control word)

(router alert label)

(TTL expiry) (TTL expiry)

------------ ------------------------------ -----------------------------

Incoming PW Switching TLVs (Label Mapping message):

None

Incoming Status (PW Status TLV and accompanying PW Switching TLV):

Status code: 0x0 (no fault) in Notification message

Outgoing PW Switching TLVs (Label Mapping message):

Local IP Address: 209.165.200.254 , Remote IP address: 209.165.200.225, PW ID: 100

Description: S-PE1 MS-PW between 209.165.200.225 and 209.165.202.158

Outgoing Status (PW Status TLV and accompanying PW Switching TLV):

Status code: 0x0 (no fault) in Notification message

Local IP Address: 209.165.200.254

Create time: 04/04/2008 23:18:24 (00:01:24 ago)

Last time status changed: 04/04/2008 23:19:30 (00:00:18 ago)

Statistics:

packet totals: receive 0

byte totals: receive 0

RP/0/RSP0/CPU0:router#

""Show l2vpn xconnect summary": added PW-PW count.

"Show l2vpn forwarding location <> (no change: does not display MS-PWs)

"Show l2vpn forwarding summary location <> (no change: does not display MS-PWs)

ES-321Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 322: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for Virtual Private LAN Services

Configuration Examples for Virtual Private LAN ServicesThis section includes the following configuration examples:

• Virtual Private LAN Services Configuration for Provider Edge-to-Provider Edge: Example, page 322

• Virtual Private LAN Services Configuration for Provider Edge-to-Customer Edge: Example, page 323

• Adding ACs to a Split Horizon Group: Example, page 323

Virtual Private LAN Services Configuration for Provider Edge-to-Provider Edge: Example

These configuration examples show how to create a Layer 2 VFI with a full-mesh of participating VPLS provider edge (PE) nodes.

The following configuration example shows how to configure PE 1:

configure l2vpn bridge group 1 bridge-domain PE1-VPLS-A GigabitEthernet0/0---AC exit vfi 1 neighbor 2.2.2.2 pw-id 1---PW1 neighbor 3.3.3.3 pw-id 1---PW2 ! ! interface loopback 0 ipv4 address 1.1.1.1 255.255.255.25 commit

The following configuration example shows how to configure PE 2:

configure l2vpn bridge group 1 bridge-domain PE2-VPLS-A interface GigabitEthernet0/0---AC exit vfi 1 neighbor 1.1.1.1 pw-id 1---PW1 neighbor 3.3.3.3 pw-id 1---PW2 ! ! interface loopback 0 ipv4 address 2.2.2.2 255.255.255.25 commit

The following configuration example shows how to configure PE 3:

configure l2vpn bridge group 1 bridge-domain PE3-VPLS-A interface GigabitEthernet0/0---AC exit vfi 1

ES-322Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 323: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for Virtual Private LAN Services

neighbor 1.1.1.1 pw-id 1---PW1 neighbor 2.2.2.2 pw-id 1---PW2 ! ! interface loopback 0 ipv4 address 3.3.3.3 255.255.255.25 commit

Virtual Private LAN Services Configuration for Provider Edge-to-Customer Edge: Example

The following configuration shows how to configure VPLS for a PE-to-CE nodes:

configure interface GigabitEthernet0/0 l2transport---AC interface exit no ipv4 address no ipv4 directed-broadcast negotiation auto no cdp enable end configure interface GigabitEthernet0/0 l2transport exit no ipv4 address no ipv4 directed-broadcast negotiation auto no cdp enable end configure interface GigabitEthernet0/0 l2transport exit no ipv4 address no ipv4 directed-broadcast negotiation auto no cdp enable

Adding ACs to a Split Horizon Group: ExampleThe following example configures three interfaces for Layer 2 transport, adds them to a bridge domain, and assigns them to the AC split horizon group.

interface GigabitEthernet0/1/0/4 l2transportinterface GigabitEthernet0/1/0/5 l2transportinterface GigabitEthernet0/1/0/6 l2transport

l2vpn bridge group customer_X bridge-domain BD1

ES-323Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 324: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for 6PE

interface GigabitEthernet0/1/0/4 split-horizon group interface GigabitEthernet0/1/0/5 split-horizon group interface GigabitEthernet0/1/0/6 split-horizon group vfi VFI1 neighbor 10.11.11.11 pw-id 1

neighbor 10.13.13.13 pw-id 1

Configuration Examples for 6PEThis section includes the following configuration example:

• Configuring 6PE on a PE Router: Example, page 324

Configuring 6PE on a PE Router: ExampleThe following sample configuration shows the configuration of 6PE on a PE router:

interface GigabitEthernet0/3/0/0 ipv6 address 2001::1/64!router isis ipv6-cloud net 49.0000.0000.0001.00 address-family ipv6 unicast single-topology interface GigabitEthernet0/3/0/0 address-family ipv6 unicast !!router bgp 55400 bgp router-id 54.6.1.1 address-family ipv4 unicast ! address-family ipv6 unicast network 55:5::/64 redistribute connected redistribute isis ipv6-cloud ! neighbor 34.4.3.3 remote-as 55400 address-family ipv4 unicast ! address-family ipv6 labeled-unicast

Configuration Examples for MPLS Layer 3 VPNsThe following section provides sample configurations for MPLS L3VPN features, including:

• Configuring an MPLS VPN Using BGP: Example, page 325

• Configuring the Routing Information Protocol on the PE Router: Example, page 326

• Configuring the PE Router Using EIGRP: Example, page 326

ES-324Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 325: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for MPLS Layer 3 VPNs

• Configuration Examples for MPLS VPN CSC, page 326

• Configuration Examples for 6VPE, page 328

Configuring an MPLS VPN Using BGP: ExampleThe following example shows the configuration for an MPLS VPN using BGP on “vrf vpn1”:

address-family ipv4 unicast import route-target 100:1 ! export route-target 100:1 ! !!route-policy pass-all passend-policy!interface Loopback0 ipv4 address 10.0.0.1 255.255.255.255!interface gigabitEthernet 0/1/0/0 vrf vpn1 ipv4 address 34.0.0.2 255.0.0.0!interface gigabitEthernet 0/1/0/1 ipv4 address 30.0.0.1 255.0.0.0!router ospf 100 area 100 interface loopback0 interface gigabitEthernet 0/1/0/1 !!router bgp 100 address-family vpnv4 unicast neighbor 10.0.0.3 remote-as 100 update-source Loopback0 address-family vpnv4 unicast ! vrf vpn1 rd 100:1 address-family ipv4 unicast redistribute connected ! neighbor 34.0.0.1 remote-as 200 address-family ipv4 unicast as-override route-policy pass-all in route-policy pass-all out ! advertisement-interval 5 ! !!mpls ldp route-id looback0

ES-325Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 326: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for MPLS Layer 3 VPNs

interface gigabitEthernet 0/1/0/1!

Configuring the Routing Information Protocol on the PE Router: ExampleThe following example shows the configuration for the RIP on the PE router:

vrf vpn1 address-family ipv4 unicast import route-target 100:1 ! export route-target 100:1 ! !!route-policy pass-all passend-policy!

interface gigabitEthernet 0/1/0/0 vrf vpn1 ipv4 address 34.0.0.2 255.0.0.0!

router rip vrf vpn1 interface GigabitEthernet0/1/0/0 ! timers basic 30 90 90 120 redistribute bgp 100 default-metric 3 route-policy pass-all in !

Configuring the PE Router Using EIGRP: ExampleThe following example shows the configuration for the Enhanced Interior Gateway Routing Protocol (EIGRP) on the PE router:

Router eigrp 10 vrf VRF1 address-family ipv4 router-id 40.1.1.2 default-metric 100000 2000 255 1 1500 as 62 redistribute bgp 2000 interface Loopback0 ! interface GigabitEthernet0/6/0/0

Configuration Examples for MPLS VPN CSCConfiguration examples for the MPLS VPN CSC include:

• Configuring the Backbone Carrier Core: Examples, page 327

ES-326Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 327: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for MPLS Layer 3 VPNs

• Configuring the Links Between CSC-PE and CSC-CE Routers: Examples, page 327

• Configuring a Static Route to a Peer: Example, page 328

Configuring the Backbone Carrier Core: Examples

Configuration examples for the backbone carrier core included in this section are as follows:

• Configuring VRFs for CSC-PE Routers: Example, page 327

• Configuring the Links Between CSC-PE and CSC-CE Routers: Examples, page 327

Configuring VRFs for CSC-PE Routers: Example

The following example shows how to configure a VPN routing and forwarding instance (VRF) for a CSC-PE router:

config vrf vpn1 address-family ipv4 unicast import route-target 100:1 export route-target 100:1 end

Configuring the Links Between CSC-PE and CSC-CE Routers: Examples

This section contains the following examples:

• Configuring a CSC-PE: Example, page 327

• Configuring a CSC-CE: Example, page 328

Configuring a CSC-PE: Example

In this example, a CSC-PE router peers with a PE router, 60.0.0.2, in its own AS. It also has a labeled unicast peering with a CSC-CE router, 52.0.0.1.

configrouter bgp 2

address-family vpnv4 unicastneighbor 60.0.0.2

remote-as 2 update-source loopback0 address-family vpnv4 unicast vrf customer-carrier rd 1:100 address-family ipv4 unicast allocate-label all redistribute static neighbor 52.0.0.1 remote-as 1 address-family ipv4 labeled-unicast route-policy pass-all in route-policy pass-all out as-overrideend

ES-327Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 328: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for MPLS Layer 3 VPNs

Configuring a CSC-CE: Example

The following example shows how to configure a CSC-CE router. In this example, the CSC-CE router peers CSC-PE router 52.0.0.2 in AS 2.

configrouter bgp 1

address-family ipv4 unicast redistribute ospf 200 allocate-label all neighbor 52.0.0.2 remote-as 2 address-family ipv4 labeled-unicast route-policy pass-all in route-policy pass-all outend

Configuring a Static Route to a Peer: Example

The following example show how to configure a static route to an Inter-AS or CSC-CE peer:

config router static address-family ipv4 unicast 50.0.0.2/32 40.1.1.1end

Configuration Examples for 6VPEConfiguration examples for the MPLS VPN CSC include:

• Configuring an IPv6 Address Family Under VRF: Example, page 328

• Configuring BGP for the Address Family VPNv6: Example, page 328

• Configuring a PE-CE Protocol: Example, page 329

• Configuring an Entire 6VPE Configuration: Example, page 329

Configuring an IPv6 Address Family Under VRF: Example

The following example shows a standard configuration of an IPv6 address family under VRF:

configure vrf red address-family ipv6 unicast import route-target 500:1 ! export route-target 500:1 ! !

Configuring BGP for the Address Family VPNv6: Example

The following example shows the configuration for the address family VPNv6 under the PE peer:

configure router bgp 3

ES-328Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 329: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for MPLS Layer 3 VPNs

address-family vpnv6 unicast ! neighbor 192.168.254.3 remote-as 3 update-source Loopback0 address-family ipv4 unicast ! address-family vpnv44 unicast ! address-family ipv6 labeled-unicast ! address-family vpnv6 unicast ! !

Configuring the Address Family IPv6 for the VRF Configuration Under BGP: Example

The following example shows the configuration for the address family IPv6 for the VRF configuration under BGP:

! vrf red address-family ipv6 unicast redistribute connected !

Configuring a PE-CE Protocol: Example

The following example shows the eBGP configuration of a PE-CE protocol:

! neighbor 2001:db80:cafe:1::2 remote-as 100 address-family ipv6 unicast route-policy pass in route-policy pass out

Configuring an Entire 6VPE Configuration: Example

Two VPNs, which are named red and blue, are created across router2 and router4. The VRF red is for the user running IPv6 addressing in the network. The VRF blue is for the user running IPv4 addressing. 6VPE is implemented to carry the VPNv6 prefixes across to the other PE.

The following example shows the entire 6VPE configuration that includes the interface and VRF configurations of both PE routers across the route reflectors:

router2 (PE router)interface GigabitEthernet0/0/1/3.1 vrf red ipv4 address 192.3.1.1 255.255.255.0 ipv6 address 2001:db80:cafe:1::1/64 dot1q vlan 2!

show run interface gigabitEthernet 0/0/1/3.2interface GigabitEthernet0/0/1/3.2 vrf blue ipv4 address 192.3.2.1 255.255.255.0

ES-329Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 330: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for MPLS Layer 3 VPNs

dot1q vlan 3!

vrf red address-family ipv4 unicast import route-target 500:1 ! export route-target 500:1 ! ! address-family ipv6 unicast import route-target 500:1 ! export route-target 500:1 ! !!vrf blue address-family ipv4 unicast import route-target 600:1 ! export route-target 600:1 ! !

router bgp 3 address-family ipv4 unicast network 3.3.3.3/32 ! address-family vpnv4 unicast ! address-family ipv6 unicast network 2001:db82:cafe:1::/64 allocate-label all ! address-family vpnv6 unicast ! neighbor 192.168.253.4 remote-as 3 update-source Loopback0 address-family ipv4 unicast ! address-family vpnv4 unicast ! address-family ipv6 labeled-unicast ! address-family vpnv6 unicast ! ! neighbor 192.168.254.3 remote-as 3 update-source Loopback0 address-family ipv4 unicast ! address-family vpnv4 unicast !

ES-330Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 331: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for MPLS Layer 3 VPNs

address-family ipv6 labeled-unicast ! address-family vpnv6 unicast ! ! vrf red rd 500:1 address-family ipv4 unicast redistribute connected ! address-family ipv6 unicast redistribute connected ! neighbor 2001:db80:cafe:1::2 remote-as 100 address-family ipv6 unicast route-policy pass in route-policy pass out ! ! ! vrf blue rd 600:1 address-family ipv4 unicast redistribute connected ! !!

router3 (RR)

router bgp 3 bgp router-id 192.168.253.4 address-family ipv4 unicast ! address-family vpnv4 unicast ! address-family ipv6 unicast ! address-family vpnv6 unicast ! neighbor-group all remote-as 3 update-source Loopback0 address-family ipv4 unicast route-reflector-client ! address-family vpnv4 unicast route-reflector-client ! address-family ipv6 labeled-unicast route-reflector-client ! address-family vpnv6 unicast route-reflector-client ! ! neighbor 192.168.253.1 use neighbor-group all ! neighbor 192.168.253.2 use neighbor-group all !

ES-331Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 332: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for MPLS Layer 3 VPNs

neighbor 192.168.253.3 use neighbor-group all ! neighbor 192.168.253.5 use neighbor-group all ! neighbor 192.168.253.6 use neighbor-group all ! neighbor 192.168.254.3 remote-as 3 update-source Loopback0 address-family ipv4 unicast ! !!

router4(PE router)

vrf red address-family ipv4 unicast import route-target 500:1 ! export route-target 500:1 ! ! address-family ipv6 unicast import route-target 500:1 ! export route-target 500:1 ! !!vrf blue address-family ipv4 unicast import route-target 600:1 ! export route-target 600:1 ! !!

router bgp 3 address-family ipv4 unicast ! address-family vpnv4 unicast ! address-family ipv6 unicast network 2001:db84:beef:1::/64 allocate-label all ! address-family vpnv6 unicast ! neighbor 192.168.253.4 remote-as 3 update-source Loopback0 address-family ipv4 unicast

ES-332Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 333: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for MPLS Layer 3 VPNs

! address-family vpnv4 unicast ! address-family ipv6 labeled-unicast ! address-family vpnv6 unicast ! ! neighbor 192.168.254.3 remote-as 3 update-source Loopback0 address-family ipv4 unicast ! address-family vpnv4 unicast ! address-family ipv6 labeled-unicast ! ! vrf red rd 500:1 address-family ipv4 unicast redistribute connected ! address-family ipv6 unicast redistribute connected ! ! vrf blue rd 600:1 address-family ipv4 unicast redistribute connected ! !!

The following example displays the sample output for the entire 6VPE configuration:

show route vrf red ipv6

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - ISIS, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, su - IS-IS summary null, * - candidate default U - per-user static route, o - ODR, L - local

Gateway of last resort is not set

C 2001:db80:beef:1::/64 is directly connected, 19:09:50, GigabitEthernet0/0/1/3.1L 2001:db80:beef:1::1/128 is directly connected, 19:09:50, GigabitEthernet0/0/1/3.1B 2001:db80:cafe:1::/64 [200/0] via ::ffff:192.168.253.3 (nexthop in vrf default), 07:03:40

show route vrf red ipv6

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - ISIS, L1 - IS-IS level-1, L2 - IS-IS level-2

ES-333Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 334: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for MPLS VPNs over IP Tunnels

ia - IS-IS inter area, su - IS-IS summary null, * - candidate default U - per-user static route, o - ODR, L - local

Gateway of last resort is not set

B 2001:db80:beef:1::/64 [200/0] via ::ffff:192.168.253.6 (nexthop in vrf default), 07:04:14C 2001:db80:cafe:1::/64 is directly connected, 08:28:12, GigabitEthernet0/0/1/3.1L 2001:db80:cafe:1::1/128 is directly connected, 08:28:12, GigabitEthernet0/0/1/3.1

Configuration Examples for MPLS VPNs over IP TunnelsThis section provides the following examples:

• Configuring an L2TPv3 Tunnel: Example, page 334

• Configuring the Global VRF Definition: Example, page 334

• Configuring a Route-Policy Definition: Example, page 335

• Configuring a Static Route: Example, page 335

• Configuring an IPv4 Loopback Interface: Example, page 335

• Configuring a CFI VRF Interface: Example, page 335

Configuring an L2TPv3 Tunnel: ExampleThe following example shows how to configure an L2TPv3 tunnel:

tunnel-template t1 encapsulation l2tp ! source Loopback0!

Configuring the Global VRF Definition: ExampleThe following example shows how to configure an L2TPv3 tunnel:

vrf v1 address-family ipv4 unicast import route-target 1:1 ! export route-target 1:1 ! address-family ipv6 unicast import route-target 1:1! export route-target 1:1 !

ES-334Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 335: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for MPLS VPNs over IP Tunnels

Configuring a Route-Policy Definition: ExampleThe following example shows how to configure a route-policy definition:

configure route-policy pass-all passend-policy!

Configuring a Static Route: ExampleThe following example shows how to configure a static route:

configure router static maximum path ipv4 <1-140000> maximum path ipv6 <1-140000>end-policy!

Configuring an IPv4 Loopback Interface: ExampleThe following example shows how to configure an IPv4 Loopback Interface:

configure interface Loopback0 ipv4 address 1.1.1.1 255.255.255.255!

Configuring a CFI VRF Interface: ExampleThe following example shows how to configure an L2TPv3 tunnel:

configure interface GigabitEthernet0/0/0/1.1 vrf v1 ipv4 address 100.1.10.2 255.255.255.0 ipv6 address 100::1:10:2/64 dot1q vlan 101!

ES-335Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 336: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS ConfigurationConfiguration Examples for MPLS VPNs over IP Tunnels

ES-336Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 337: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS Command Summary

MPLS Label Distribution Protocol Commands on Cisco ASR 9000 Series Routers

This section lists the commands used to configure and monitor Label Distribution Protocol (LDP) in a Multiprotocol Label Switching (MPLS) network consisting of Cisco ASR 9000 Series Aggregation Services Routers.

For detailed information about MPLS command syntax, refer to the MPLS Label Distribution Protocol Commands on Cisco ASR 9000 Series Routers module in the Cisco ASR 9000 Series Aggregation Services Router MPLS Command Reference.

For detailed information about MPLS concepts, configuration tasks, and examples, refer to the Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide.

backoff

clear mpls ldp msg-counters neighbor

clear mpls ldp neighbor

default-route

discovery hello

discovery instance-tlv disable

discovery targeted-hello

discovery transport-address

explicit-null

graceful-restart (MPLS LDP)

holdtime (MPLS LDP)

igp auto-config disable

igp sync delay

interface (MPLS LDP)

label accept

label advertise

label allocate

ES-337Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 338: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS Command Summary

log graceful-restart

log neighbor

log nsr

log session-protection

maximum interfaces (MPLS LDP)

mpls ldp nsr

neighbor password

neighbor targeted

router-id (MPLS LDP)

session protection

show mpls ldp backoff

show mpls ldp bindings

show mpls ldp discovery

show mpls ldp forwarding

show mpls ldp graceful-restart

show mpls ldp igp sync

show mpls ldp interface

show mpls ldp neighbor

show mpls ldp parameters

show mpls ldp statistics msg-counters

show mpls ldp summary

signalling dscp (LDP)

snmp-server traps mpls ldp

MPLS Forwarding Commands on Cisco ASR 9000 Series RoutersThis section lists the commands used to configure and monitor Multiprotocol Label Switching (MPLS) forwarding on Cisco ASR 9000 Series Aggregation Services Routers.

For detailed information about MPLS command syntax, refer to the MPLS Forwarding Commands on Cisco ASR 9000 Series Routers module in the Cisco ASR 9000 Series Aggregation Services Router MPLS Command Reference.

For detailed information about MPLS concepts, configuration tasks, and examples, refer to the Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide.

clear mpls forwarding counters

mpls ip-ttl-propagate

mpls label range

show mpls forwarding

ES-338Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 339: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS Command Summary

show mpls forwarding exact-route

show mpls interfaces

show mpls label range

show mpls label table

show mpls lsd applications

show mpls lsd clients

show mpls traffic-eng fast-reroute database

show mpls traffic-eng fast-reroute log

MPLS Traffic Engineering Commands on Cisco ASR 9000 Series RoutersThis section lists the commands used to configure and monitor Multiprotocol Label Switching (MPLS) traffic engineering on Cisco ASR 9000 Series Aggregation Services Routers.

For detailed information about MPLS command syntax, refer to the MPLS Traffic Engineering Commands on Cisco ASR 9000 Series Routers module in the Cisco ASR 9000 Series Aggregation Services Router MPLS Command Reference.

For detailed information about MPLS concepts, configuration tasks, and examples, refer to the Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide.

admin-weight

affinity

affinity-map

attribute-flags

attribute-names

autoroute announce

autoroute metric

backup-bw

backup-path tunnel-te

clear mpls lmp

clear mpls traffic-eng counters tunnels

clear mpls traffic-eng fast-reroute log

clear mpls traffic-eng link-management statistics

destination (MPLS-TE)

disable (explicit-path)

explicit-path

fast-reroute

fast-reroute protect

flooding thresholds

ES-339Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 340: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS Command Summary

forwarding-adjacency

index exclude-address

index next-address

interface tunnel-te

ipv4 unnumbered (MPLS)

load-share

load-share unequal

mpls traffic-eng ds-te bc-model

mpls traffic-eng ds-te mode

mpls traffic-eng ds-te te-classes

mpls traffic-eng fast-reroute promote

mpls traffic-eng fast-reroute timers promotion

mpls traffic-eng interface

mpls traffic-eng level

mpls traffic-eng link-management flood

mpls traffic-eng link-management timers bandwidth-hold

mpls traffic-eng link-management timers periodic-flooding

mpls traffic-eng lmp router-id

mpls traffic-eng maximum tunnels

mpls traffic-eng path-selection ignore overload

mpls traffic-eng path-selection loose-expansion affinity

mpls traffic-eng path-selection loose-expansion metric

mpls traffic-eng path-selection metric

mpls traffic-eng pce address

mpls traffic-eng pce peer

mpls traffic-eng reoptimize (global)

mpls traffic-eng reoptimize (EXEC)

mpls traffic-eng reoptimize timers delay

mpls traffic-eng router-id (MPLS-TE)

mpls traffic-eng router-id secondary

mpls traffic-eng signalling advertise explicit-null

mpls traffic-eng timers loose-path

mpls traffic-eng topology holddown sigerr

path-option

path-selection metric

ES-340Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 341: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS Command Summary

policy-class

priority (MPLS-TE)

record-route

show explicit-paths

show mpls traffic-eng affinity-map

show mpls traffic-eng autoroute

show mpls traffic-eng counters tunnel

show mpls traffic-eng ds-te te-class

show mpls traffic-eng forwarding

show mpls traffic-eng forwarding-adjacency

show mpls traffic-eng igp-areas

show mpls traffic-eng link-management admission-control

show mpls traffic-eng link-management advertisements

show mpls traffic-eng link-management bandwidth-allocation

show mpls traffic-eng link-management bfd-neighbors

show mpls traffic-eng link-management igp-neighbors

show mpls traffic-eng link-management interfaces

show mpls traffic-eng link-management statistics

show mpls traffic-eng link-management summary

show mpls traffic-eng maximum tunnels

show mpls traffic-eng topology

show mpls traffic-eng tunnels

signalled-bandwidth

signalled-name

snmp traps mpls traffic-eng

RSVP Infrastructure Commands on Cisco ASR 9000 Series RoutersThis section lists the commands used to configure and monitor Resource Reservation Protocol (RSVP) on Cisco ASR 9000 Series Aggregation Services Routers.

For detailed information about RSVP command syntax, refer to the RSVP Infrastructure Commands on Cisco ASR 9000 Series Routers module in the Cisco ASR 9000 Series Aggregation Services Router MPLS Command Reference.

For detailed information about MPLS concepts, configuration tasks, and examples, refer to the Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide.

authentication (RSVP)

bandwidth (RSVP)

ES-341Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 342: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS Command Summary

bandwidth mam (RSVP)

bandwidth rdm (RSVP)

clear rsvp authentication

clear rsvp counters authentication

clear rsvp counters all

clear rsvp counters chkpt

clear rsvp counters events

clear rsvp counters messages

clear rsvp counters oor

clear rsvp counters prefix filtering

key-source key-chain (RSVP)

life-time (RSVP)

rsvp interface

rsvp neighbor

show rsvp authentication

show rsvp counters

show rsvp counters oor

show rsvp counters prefix filtering

show rsvp fast-reroute

show rsvp graceful-restart

show rsvp hello instance

show rsvp hello instance interface-based

show rsvp interface

show rsvp neighbor

show rsvp request

show rsvp reservation

show rsvp sender

show rsvp session

signalling dscp (RSVP)

signalling graceful-restart

signalling graceful-restart restart-time

signalling hello graceful-restart interface-based

signalling hello graceful-restart refresh interval

signalling hello graceful-restart refresh misses

signalling prefix-filtering access-list

ES-342Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 343: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS Command Summary

signalling prefix-filtering default-deny-action

signalling rate-limit

signalling refresh interval

signalling refresh missed

signalling refresh reduction bundle-max-size

signalling refresh reduction disable

signalling refresh reduction reliable

signalling refresh reduction summary

window-size (RSVP)

MPLS OAM Commands on Cisco ASR 9000 Series RoutersThis section lists the commands used to configure and monitor Multiprotocol Label Switching (MPLS) label switched path (LSP) verification on Cisco ASR 9000 Series Aggregation Services Routers.

For detailed information about Operations, Administration, and Maintenance (OAM) command syntax (including Multiprotocol Label Switching (MPLS) label switched path (LSP) verification commands), refer to the MPLS OAM Commands on Cisco ASR 9000 Series Routers module in the Cisco ASR 9000 Series Aggregation Services Router MPLS Command Reference.

For detailed information about MPLS concepts, configuration tasks, and examples, refer to the Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide.

clear mpls oam counters

clear mpls oam echo

echo disable-vendor-extension

echo revision

mpls oam

ping mpls ipv4

ping mpls pseudowire

ping mpls traffic-eng

show mpls oam

show mpls oam database

traceroute mpls

traceroute mpls multipath

Virtual Private Network Commands on Cisco ASR 9000 Series RoutersThis section lists the commands used to configure and monitor a Layer 2 or Layer 3 virtual private network (VPN) on Cisco ASR 9000 Series Aggregation Services Routers.

ES-343Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 344: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS Command Summary

For detailed information about Layer 2 or Layer 3 virtual private network (VPN) command syntax, refer to the Virtual Private Network Commands on Cisco ASR 9000 Series Routers module in the Cisco ASR 9000 Series Aggregation Services Router MPLS Command Reference.

For detailed information about MPLS concepts, configuration tasks, and examples, refer to the Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide.

authentication (L2TP)

backup (L2VPN)

backup disable (L2VPN)

clear l2tp counters control session

clear l2tp counters control tunnel

clear l2tp tunnel

clear l2vpn collaborators

clear l2vpn counters l2tp

clear l2vpn counters bridge mac-withdrawal

clear l2vpn forwarding counters

clear l2vpn forwarding mac-address-table

clear l2vpn forwarding message counters

clear l2vpn forwarding table

digest (L2TP)

hello-interval (L2TP)

hidden (L2TP)

hostname (L2TP)

interface (p2p)

l2tp-class

l2transport

l2transport cell-packing

l2transport l2protocol

l2transport propagate

l2transport service-policy

l2vpn

l2vpn switchover

logging (l2vpn)

mpls static label (L2VPN)

neighbor (L2VPN)

password (L2TP)

preferred-path

ES-344Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 345: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS Command Summary

pw-class (L2VPN)

pw-class encapsulation l2tpv3

pw-class encapsulation mpls

p2p

receive-window (L2TP)

retransmit (L2TP)

rollover

sequencing (L2VPN)

show l2tp class

show l2tp counters forwarding session

show l2tp session

show l2tp tunnel

show l2vpn collaborators

show l2vpn forwarding

show l2vpn forwarding l2tp

show l2vpn pw-class

show l2vpn resource

show l2vpn xconnect

timeout setup (L2TP)

transport mode (L2VPN)

tunnel-template

xconnect group

Virtual Private LAN Services Commands on Cisco ASR 9000 Series RoutersThis section lists the commands used to configure and monitor Virtual Private LAN Services (VPLS) on Cisco ASR 9000 Series Aggregation Services Routers.

For detailed information about Virtual Private LAN Services (VPLS) command syntax, refer to the Virtual Private LAN Services Commands on Cisco ASR 9000 Series Routers module in the Cisco ASR 9000 Series Aggregation Services Router MPLS Command Reference.

For detailed information about MPLS concepts, configuration tasks, and examples, refer to the Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide.

action (VPLS)

aging (VPLS)

bridge-domain (VPLS)

bridge group (VPLS)

ES-345Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 346: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

MPLS Command Summary

clear l2vpn bridge-domain (VPLS)

dhcp ipv4 snoop (VPLS)

flooding disable (VPLS)

interface (VPLS)

learning disable (VPLS)

limit (VPLS)

mac (VPLS)

maximum (VPLS)

mpls static label (VPLS)

mtu (VPLS)

neighbor (VPLS)

notification (VPLS)

pw-class (VFI)

security (VPLS)

show l2vpn bridge-domain (VPLS)

show l2vpn forwarding bridge-domain (VPLS)

show l2vpn forwarding bridge-domain mac-address (VPLS)

show l2vpn mstp port

show l2vpn mstp vlan

shutdown (Bridge Domain)

shutdown (VFI)

split-horizon group

static-address (VPLS)

static-mac-address (VPLS)

time (VPLS)

type (VPLS)

vfi (VPLS)

withdrawal (VPLS)

ES-346Cisco ASR 9000 Series Aggregation Services Router Ethernet Services Application Guide

OL-17103-01

Page 347: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Cisco ASR 9000 Series Aggregation SerOL-17103-01

I N D E X

A

Asynchronous Transfer Mode (ATM)

MPLS L2VPN ES-57

B

bring up

standalone router, first time ES-26

verification

standalone router ES-27

C

carrier-delay command ES-97

CFM

configuration guidelines ES-50

configuring crosscheck ES-53

configuring service ES-52

configuring the network ES-51

default configuration ES-50

defined ES-40

EtherChannel support ES-50

maintenance domain ES-41

maintenance point ES-42

types of messages ES-43

clear ethernet cfm traceroute-cache command ES-107

clear mac-accounting command ES-109

clear pim bsr command ES-237, ES-269

CLI

introduction ES-20

committing packages ES-71

configuration examples

building MPLS-TE topology and tunnels ES-305

LDP

advertisement ES-297

discovery ES-296

discovery for targeted hellos ES-296

forwarding ES-297

IGP synchronization ES-298, ES-299

inbound label filtering ES-298

link ES-296

local label allocation control ES-298

neighbors ES-297

non-stop forwarding with graceful restart ES-298

session protection ES-298

with graceful restart ES-296

MPLS L2VPN ES-312

RSVP

ACL-based prefix filtering ES-302

bandwidth (MAM) ES-300

bandwidth (Prestandard) ES-300

bandwidth (RDM) ES-300

DSCP ES-302

graceful restart ES-301

configuration guidelines

CFM ES-50

crosscheck, CFM ES-53

D

default configuration

CFM ES-50

dot1q native vlan command ES-173

dot1q tunneling ethertype 0x9100 command ES-175

dot1q vlan command ES-177

ES-347vices Router Ethernet Services Application Guide

Page 348: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Index

E

encapsulation dot1q command ES-111

EoMPLS

ethernet port mode ES-58

ethernet cfm cc vlan command ES-112

ethernet cfm traceroute-cache command ES-115, ES-116, ES-117

Ethernet interface

configuring an attachment circuit ES-79

configuring MAC accounting ES-78

configuring the IP address and subnet mask ES-75

configuring the MAC address ES-76

configuring the MTU ES-75

displaying Ethernet interfaces ES-76

displaying MAC accounting statistics ES-78

enabling flow-control ES-75

enabling Layer 2 transport mode ES-79

Layer 2 VPN

configuring Layer 2 protocol tunneling and data units ES-80

preparing a port for Layer 2 VPN ES-79

using the flow-control command ES-75

using the interface command ES-75

using the ipv4 address command ES-75

using the l2protocol command ES-80

using the l2transport command ES-79

using the mac address command ES-76

using the mtu command ES-75

using the negotiation auto command ES-76

using the no shutdown command ES-76

Ethernet interfaces

using the mac accounting command ES-78

ethernet port mode ES-58

F

flow-control command ES-75, ES-120

frame relay, MPLS L2VPN ES-57

ES-348Cisco ASR 9000 Series Aggregation Services Router Ethernet Ser

G

global configuration mode

access-list command ES-231, ES-234, ES-236, ES-263, ES-266, ES-268

interface command ES-243, ES-275

ipv4 access-list command ES-246, ES-278

permit ES-234, ES-266

permit command ES-232, ES-264

H

hello interval, how to change ES-302

I

IEEE 802.1ag ES-40

install activate command ES-66

install add command ES-32

interface (VLAN) command ES-179

interface command ES-75

for Ethernet interfaces ES-77

interface GigabitEthernet command ES-122

interface submode

ipv4 address command ES-244, ES-276

interface TenGigE command ES-124

ipv4 address command ES-75, ES-243, ES-275

L

l2protocol (Ethernet) command ES-126

l2protocol (VLAN) command ES-181

l2protocol command ES-80

l2transport (Ethernet) command ES-128

l2transport command ES-79

Layer 2

show interfaces ES-220

Layer 2 VPN

configuring an attachment circuit ES-79

vices Application GuideOL-17103-01

Page 349: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Index

configuring Layer 2 protocol tunneling and data units ES-80

enabling Layer 2 transport mode ES-79

using the l2transport command ES-79

LDP

configuration examples ES-295

loopback (Ethernet) command ES-130

M

mac accounting command ES-78

mac-accounting command ES-132

mac-address (Ethernet) command ES-133

mac address command ES-76

Maintenance end points

See MEPs

Maintenance intermediate points

See MIPs

MEPs

and STP ES-42

defined ES-42

MFIB (Multicast Forwarding Information Base)

See multicast routing, Multicast Forwarding Information Base

MIPs

and STP ES-42

defined ES-42

MPLS L2VPN

configuration examples ES-312

MRIB (Multicast Routing Information Base)

See multicast routing, Multicast Routing Information Base

MSDP (Multicast Source Discovery Protocol)

See multicast routing, MSDP

MSDP peer submode

remote-as command ES-245, ES-277

mtu command ES-75

multicast NSF (multicast nonstop forwarding)

See multicast routing, multicast NSF

Cisco ASR 9000 Series AggregOL-17103-01

multicast routing

Auto-RP

configuring ES-232, ES-264

bootstrap router

configuring ES-234, ES-266

interfaces

enabling and disabling ES-254

MSDP

default, SA messages ES-246, ES-278

default peering ES-243, ES-275

logical RP ES-243, ES-275

MD5 password authentication ES-248, ES-255, ES-280

PIM-SM domains, interconnecting ES-243, ES-275

source information, controlling ES-246, ES-278

Multicast Forwarding Information Base ES-255

multicast NSF

configuring ES-239, ES-271

converge and reconnect ES-239, ES-271

prerequisites ES-240, ES-272

timeout values ES-239, ES-271

Multicast Routing Information Base ES-255

PIM

configuring access lists for static SSM mapping ES-227, ES-259

configuring sources for SSM mapping ES-229, ES-261

PIM-SSM in legacy multicast deployments ES-227, ES-259

restrictions, configuration ES-224, ES-257

PIM-SM

configuring ES-224, ES-256

PIM-SSM

configuring ES-224, ES-256

mapping restrictions ES-227, ES-259

rate per route calculation ES-237, ES-269

static RP, configuring ES-230, ES-262

multicast-routing command ES-89, ES-225, ES-240, ES-257, ES-272

multicast-routing submode

ES-349ation Services Router Ethernet Services Application Guide

Page 350: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Index

interface all command ES-225, ES-257

interface all enable command ES-89, ES-225, ES-258

nsf command ES-240, ES-272

See multicast-routing command

multishelf system

software requirements ES-25

N

negotiation auto command ES-76, ES-134

no shutdown command

for Ethernet interfaces ES-76

nsf lifetime command ES-241, ES-273

P

package

addition, introduction ES-20, ES-33

committing a package set ES-22

rollback ES-22

set

committing ES-71

packet-gap non-standard command ES-135

peer submode

remote-as command ES-92, ES-245, ES-277

pseudowire (PW)

MPLS L2VPN ES-58

R

refresh interval, how to change ES-300

remote-as command ES-92, ES-245, ES-277

restart time, how to change ES-301

rollback

packages

introduction ES-22

router

verification

ES-350Cisco ASR 9000 Series Aggregation Services Router Ethernet Ser

standalone router ES-27

router command ES-225, ES-257

router igmp command ES-90, ES-225, ES-241, ES-258, ES-273

router igmp submode

nsf lifetime command ES-241, ES-273

version command ES-90, ES-225, ES-226, ES-257, ES-258

router mld command ES-90, ES-225, ES-241, ES-258, ES-273

router mld submode

nsf lifetime command ES-241, ES-273

version command ES-90, ES-225, ES-226, ES-257, ES-258

router msdp command ES-91, ES-243, ES-246, ES-249, ES-275, ES-278, ES-281

router msdp submode

cache-sa-state command ES-246, ES-278

connect-source command ES-91, ES-243, ES-275

default-peer command ES-243, ES-275

mesh-group command ES-243, ES-275

originator-id command ES-243, ES-275

password command ES-249, ES-281

peer command ES-91, ES-243, ES-249, ES-275, ES-281

remote-as command ES-243, ES-275

sa-filter command ES-246, ES-278

ttl-threshold command ES-246, ES-278

router pim command ES-229, ES-231, ES-233, ES-235, ES-241, ES-261, ES-263, ES-265, ES-267, ES-273

router pim submode

auto-rp candidate-rp command ES-233, ES-265

auto-rp mapping-agent command ES-233, ES-265

bsr border command ES-236, ES-268

bsr candidate-bsr command ES-235, ES-267

bsr candidate-rp command ES-235, ES-267

interface command ES-236, ES-268

nsf lifetime command ES-241, ES-273

old-register-checksum ES-231, ES-263

rp-address command ES-231, ES-263

S

show controllers command (Ethernet) ES-138

vices Application GuideOL-17103-01

Page 351: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Index

show environment command ES-29

show ethernet cfm traceroute-cache command ES-157

show igmp nsf command ES-242, ES-274

show install committed command ES-72

show interface command

for Ethernet interfaces ES-74

show interfaces command ES-220

for Ethernet interfaces ES-76, ES-80

show mac-accounting (Ethernet) command ES-163

show mac accounting command ES-78

show mfib hardware route command ES-250, ES-282

show mfib nsf command ES-242, ES-274

show mld nsf command ES-242, ES-274

show mrib nsf command ES-242, ES-274

show msdp globals command ES-243, ES-275

show msdp peer command ES-243, ES-275

show msdp rpf command ES-243, ES-275

show pim {ipv4 | ipv6} group-map command ES-225, ES-257

show pim bsr candidate-rp command ES-237, ES-269

show pim bsr election command ES-237, ES-269

show pim bsr rp-cache command ES-237, ES-269

show pim group-map command ES-90, ES-226, ES-237, ES-259, ES-269

show pim nsf command ES-242, ES-274

show pim topology command ES-90, ES-225, ES-226, ES-257, ES-259

show platform command ES-30

show redundancy command ES-31

show version command ES-28, ES-74, ES-230, ES-232, ES-262, ES-264

show vlan interface command ES-183

show vlan tags command ES-185

show vlan trunks command ES-187

software packages

committing ES-71

displaying committed versions ES-72

standalone router

bring up ES-26

verification after bring up ES-27

Cisco ASR 9000 Series AggregOL-17103-01

start up

standalone router, first time ES-26

verification

standalone router ES-27

summary refresh message size, how to change ES-301

switchport

show interfaces ES-220

U

user interfaces

CLI ES-20

XML API ES-20

X

XML

API ES-20

ES-351ation Services Router Ethernet Services Application Guide

Page 352: PDF Copy of the Cisco ASR 9000 Series Aggregation ......Cisco Confidential - Beta Draft R3.7 FCI Contents ES-iv Cisco ASR 9000 Series Aggregation Services Router Ethernet Services

Cisco Conf ident i a l - Be ta Dra ft R3 .7 FC I

Index

ES-352Cisco ASR 9000 Series Aggregation Services Router Ethernet Ser

vices Application Guide

OL-17103-01