hit counter script
Cisco ASR 9000 Series User Configuration Manual

Cisco ASR 9000 Series User Configuration Manual

Aggregation services router
Hide thumbs Also See for ASR 9000 Series:
Table of Contents

Advertisement

Cisco ASR 9000 Series Aggregation Services Router System
Management Configuration Guide, Release 5.1.x
First Published: 2013-09-01
Last Modified: 2014-04-01
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

Advertisement

Table of Contents
loading

Summary of Contents for Cisco ASR 9000 Series

  • Page 1 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x First Published: 2013-09-01 Last Modified: 2014-04-01 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883...
  • Page 2 Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks . Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company.
  • Page 3: Table Of Contents

    Prerequisites for Working with Secure Domain Routers Information About Configuring Secure Domain Routers What Is a Secure Domain Router? Owner SDR and Administration Configuration Mode SDR Access Privileges Root-System Users root-lr Users Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 4 Support for the Ignore Package Presence Check Option Upgrading Packages Downgrading Packages Impact of Package Version Changes Impact of Package Activation and Deactivation Delaying the Return of the CLI Prompt Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 5 Replacing the Primary Mirroring Device Configuration Examples for Enabling Disk Mirroring Additional References Software Entitlement C H A P T E R 6 What Is Software Entitlement? Implementing Default Licensing Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 6 Displaying Field-Programmable Device Compatibility RSP Redundancy and Switchover Establishing RSP Redundancy Determining the Active RP in a Redundant Pair Role of the Standby RSP Summary of Redundancy Commands Automatic Switchover Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 7 Changes to Configuration Group are Automatically Inherited: Example Configuration Examples for Flexible CLI Configuration Basic Flexible CLI Configuration: Example Interface MTU Settings for Different Interface Types: Example Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 8 Configuring Frequency Synchronization on an Interface Configuring Frequency Synchronization on a Clock Interface Verifying the Frequency Synchronization Configuration Additional References Implementing NTP C H A P T E R 1 1 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x viii...
  • Page 9 Configuring Global Profile Settings for PTP Configuring a PTP Slave Interface Configuring the Clock Interface for a PTP Master Configuring a PTP Master Interface Configuring GPS Settings for the Grand Master Clock Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 10 C H A P T E R 1 4 OpenFlow An overview of OFA Prerequisites for OpenFlow Agent Restrictions for OpenFlow Agent Advantages About OpenFlow Openflow Mode for ASR9000 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 11 Configuration Examples for Manageability Enabling VRF on an XML Agent: Examples Additional References Configuring Call Home C H A P T E R 1 6 About Call Home Destination Profiles Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 12 Building a Track Based on a List of Objects - Threshold Percentage Building a Track Based on a List of Objects - Threshold Weight Tracking IPSLA Reachability Configuration Examples for Configuring Object Tracking Additional References Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 13 Comparison of SNMPv1, v2c, and v3 Security Models and Levels for SNMPv1, v2, v3 SNMPv3 Benefits SNMPv3 Costs User-Based Security Model View-Based Access Control Model MIB Views Access Policy Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x xiii...
  • Page 14 How to Configure Periodic MIB Data Collection and Transfer Configuring a Bulk Statistics Object List Configuring a Bulk Statistics Schema Configuring Bulk Statistics Transfer Options Monitoring Periodic MIB Data Collection and Transfer Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 15 Information About Implementing CDP How to Implement CDP on Cisco IOS XR Software Enabling CDP Modifying CDP Default Settings Monitoring CDP Examples Configuration Examples for Implementing CDP Additional References Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 16 Contents Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 17 From Release 6.1.2 onwards, Cisco introduces support for the 64-bit Linux-based IOS XR operating system. Extensive feature parity is maintained between the 32-bit and 64-bit environments. Unless explicitly marked otherwise, the contents of this document are applicable for both the environments. For more details on Cisco IOS XR 64 bit, refer to the Release Notes for Cisco ASR 9000 Series Routers, Release 6.1.2 document.
  • Page 18 Preface Obtaining Documentation and Submitting a Service Request To receive new and revised Cisco technical content directly to your desktop, you can subscribe to the What's New in Cisco Product Documentation RSS feed. RSS feeds are a free service. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 19: New And Changed System Management Features, R51

    This feature was introduced. Release 5.1 4arg, on page 385 SNMP updates This feature was modified. Release 5.1 Session MIB support on subscriber sessions , on page 363 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 20 New and Changed System Management Features New and changed System Management features, R51 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 21: Restrictions Of Scale Profiles

    Information About Profiles, page 4 • How to Configure Profiles, page 5 • Additional References, page 10 Restrictions of Scale Profiles Video monitoring is not supported with the L3XL scale profile. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 22: Information About Profiles

    IPv4 routes, or up to 1 million IPv4 routes with 128,000 IPv6 routes. The layer 3 XL scale profile does not support video monitoring. You can increase the memory available for BGP by configuring the Layer 3 XL profile on the Cisco ASR9000 Series Router using the hw-module profile scale l3xl command. However, this reduces the memory available for some other processes.
  • Page 23: Relationship Between Scale And Feature Profiles

    Relationship Between Scale and Feature Profiles Although you are not limited in your selection of scale and feature profiles in relation to each other, Cisco recommends using the scale and feature profiles together as indicated here:...
  • Page 24 • Scale profile settings in the administration configuration override scale profile settings in the global configuration. • Cisco recommends that you configure all scale profile settings in the administration configuration and remove the global configuration settings. For more information, refer to...
  • Page 25: Configuring The Feature Profile

    SUMMARY STEPS 1. admin 2. configure 3. hw-module profile feature{default | l2} 4. commit 5. reload location {all | node-id} 6. show running-config 7. show hw-module profile feature Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 26 Example: configuration to take place. RP/0/RSP0/CPU0:router# show hw-module profile feature all Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 27: Removing The Scale Profile From The Global Configuration

    Command or Action Purpose Step 1 show running-config | file new-config-file Copies the contents of the running configuration to a file. Example: RP/0/RSP0/CPU0:router# show running-config | file new-config-file Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 28: Additional References

    Standards and RFCs Standard/RFC Title No new or modified standards are supported by this — feature, and support for existing standards has not been modified by this feature. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 29 Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds. Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 30 Configuring Profiles Additional References Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 31: Prerequisites For Working With Secure Domain Routers

    Series Router Secure domain routers (SDRs) are a means of dividing a single physical system into multiple logically separated routers. Cisco ASR 9000 Series Routers are single-shelf routers that only support one SDR—the owner SDR. Table 4: Feature History for Secure Domain Routers on Cisco IOS XR Software...
  • Page 32: Information About Configuring Secure Domain Routers

    Information About Configuring Secure Domain Routers What Is a Secure Domain Router? Cisco routers running the Cisco IOS XR software can be partitioned into multiple independent routers known as Secure Domain Routers (SDRs). An user defined SDR is termed as named-SDR.
  • Page 33: Root-System Users

    • Users with other access privileges can access features according to their assigned privileges for a specific SDR. For more information about AAA policies, see the Configuring AAA Services on the Cisco ASR 9000 Series Router module of Cisco ASR 9000 Series Aggregation Services Router System Security Configuration Guide.
  • Page 34: Other Sdr Users

    SDR. Designated Shelf Controller (DSC) In a router running Cisco IOS XR software, one RSP is assigned the role of DSC. The DSC provides system-wide administration and control capability, including access to the administration EXEC and administration configuration modes.
  • Page 35: Additional References

    Secure Domain Routers on the Cisco ASR 9000 Series Router Additional References see the Upgrading and Managing Cisco IOS XR Software module of Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide. See also the Software Package Management Commands on the Cisco ASR 9000 Series Router module of Cisco ASR 9000 Series Aggregation Services Router System Management Command Reference.
  • Page 36 Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 37: Upgrading And Managing Cisco Ios Xr Software

    Upgrading and Managing Cisco IOS XR Software Cisco IOS XR software is divided into software packages so that you can select which features run on your router. This module describes the concepts and tasks necessary to add feature packages, upgrade the active set of packages, roll back to a previously active set of packages, and perform other related package management tasks.
  • Page 38: Overview Of Cisco Ios Xr Software Packages

    Overview of Cisco IOS XR Software Packages Cisco IOS XR software is divided into software packages so that you can select which features run on your router. Each package contains the components to perform a specific set of router functions, such as routing, security, or modular services card (MSC) support.
  • Page 39: Summary Of Cisco Ios Xr Software Packages

    Summary of Cisco IOS XR Software Packages Every router includes a basic set of required packages contained in the Cisco IOS XR Unicast Routing Core Bundle. Additional optional packages can be added and activated on the router to provide specific features.
  • Page 40: Pie Filenames And Version Numbers

    Identifies a specific composite package. • The only composite PIE file at this time is named “mini” and includes all packages described in the Cisco IOS XR Unicast Routing Core Bundle. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 41 Cisco as compatible with each other. • A minor release may require a router reboot. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 42: Copying The Pie File To A Local Storage Device Or Network Server

    If you need to store PIE files on the router, we recommended storing PIE files on the hard disk. 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:. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 43: Information About Package Management

    3 Activate the package or packages on the router using the install activate command. 4 Commit the current set of packages using the install commit command. Figure 1: Process to Add, Activate, and Commit Cisco IOS XR Software Packages, on page 25 illustrates key steps in the package management process.
  • Page 44: Verifying Package Details

    To use an alternate storage device, such as flash disk1:, see the Router Recovery with ROM Monitor module of Cisco ASR 9000 Series Aggregation Services Router ROM Monitor Guide. Remember that all RSPs 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:.
  • Page 45: Activating Packages

    To downgrade a package, activate the previous version of the package; the latest version is automatically deactivated. Actual activation is performed only after compatibility checks have been passed. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 46: Committing The Active Software Set

    Multiple Disks Support during Installations In installations on platforms where Cisco IOS XR Software is supported, only a single disk is used as an install device; that is, either disk0 or disk1. When multiple packages are installed on a single disk, it results in space constraints.
  • Page 47: Deactivation Of Fully Superseded Smus

    Support for the Ignore Package Presence Check Option During any software package upgrade in Cisco IOS XR Software, two versions of the packages get stored, both the previous version and the upgraded version. In Route Switch Processor 2 (RSP2), the disk space is insufficient to hold all packages of these two versions.
  • Page 48: Upgrading Packages

    Deactivated packages are not removed from the router. To remove inactive package files, use the install remove command. See the Related Topics section for links to more information. Related Topics Deactivating and Removing Cisco IOS XR Software Packages, on page 64 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 49: Impact Of Package Version Changes

    • For specific information about the impact of an upgrade, consult the release notes for the package release, and test the impact of the package activation by adding the test option to the install activate command. • The Cisco IOS XR Software Selector tool also contains information on package version compatibility. Related Topics...
  • Page 50: Delaying The Return Of The Cli Prompt

    DLLs. RP/0/RSP0/CPU0:router(admin)# show install log verbose Install operation 1 started by user 'labuser' at 17:48:51 UTC Sat Jun 03 2009. install add /disk1:asr9k-diags-p.pie-PD34-06.06.07 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 51 Install operation 2 started by user 'labuser' at 18:06:32 UTC Sat Jun 03 2009. install activate disk0:asr9k-diags-3.7.2.1I disk0:asr9k-k9sec-3.7.2.1I disk0:asr9k-mcast-3.7.2.1I disk0:asr9k-mgbl-3.7.2.1I disk0:asr9k-mpls-3.7.2.1I Install operation 2 completed successfully at 18:07:48 UTC Sat Jun 03 2006. Summary: Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 52: Package Management Procedures

    • Verify that all cards are installed and operating properly. For example, do not activate or deactivate packages while cards are booting, while cards are being upgraded or replaced, or when you anticipate an automatic switchover activity. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 53: Obtaining And Placing Cisco Ios Xr Software

    There are two primary ways to obtain packages in Cisco IOS XR software: • Request the software from Cisco on a flash disk that you can insert into the removable flash disk slot (usually flash disk1:). Flash disk1: is optional. When it is installed, flash disk1: can be used to store PIE files, which can then be used to add new software to the boot device (usually flash disk0:).
  • Page 54: Transferring Installation Files From A Network File Server To A Local Storage Device

    Transferring Installation Files from a Network File Server to a Local Storage Device If the Cisco IOS XR software PIE files are located on a remote TFTP, FTP, SFTP, or rcp server, you can copy the files to a local storage device such as disk1:. When the PIE files are located on a local storage device, the software packages can be added and activated on the router from that storage device.
  • Page 55 Cisco IOS XR Software Packages, on page 20 descriptions of the available packages. username Required for FTP and rcp only and must be a valid username on the FTP or rcp server. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 56: Preparing For Software Installation Operations

    When the installation files have been transferred to a network file server or the router, you are ready to activate or upgrade the software. Files with the vm extension are bootable installation files used only to replace all current Cisco IOS XR Note software.
  • Page 57 See the Software Package Management Commands on the Cisco ASR 9000 Series Router module of Cisco ASR 9000 Series Aggregation Services Router System Management Command Reference for more information. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 58 • detail—Displays additional information at the card and processor level, RP/0/RSP0/CPU0:router# show system verify including actual numbers. • report—Displays the same information as the default show system verify command Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 59: Examples

    Verifying That the ROM Monitor Version Is Correct: Example In the following example, the ROM Monitor software version is displayed in the “ROMMON:” field for each card. For instructions to upgrade the ROM Monitor software, see Cisco ASR 9000 Series Aggregation Services Note Router ROM Monitor Guide.
  • Page 60 : V0.15 : V77.20 PortCtrl : V0.8 PHYCtrl : V0.6 40 Port Gigabit Ethernet Daughter board : V0.0 CBC (active partition) : v2.2 CBC (inactive partition) : v2.1 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 61 4 Port Ten Gigabit Ethernet Daughter board : V0.0 CBC (active partition) : v2.2 CBC (inactive partition) : v2.1 NODE power-module 0/PM0/SP : MAIN: board type 0xf00188 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 62 RP/0/RSP0/CPU0:router(admin)# show install active summary Mon Jun 22 13:01:46.438 PST Default Profile: SDRs: Owner Active Packages: disk0:comp-asr9k-mini-3.9.0.12I disk0:asr9k-fpd-3.9.0.12I disk0:asr9k-k9sec-3.9.0.12I disk0:asr9k-mcast-3.9.0.12I disk0:asr9k-mgbl-3.9.0.12I disk0:asr9k-mpls-3.9.0.12I Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 63 Info: /install/asr9k-fwdg-3.9.0.12I: [SUCCESS] Verification Successful. Info: /install/asr9k-fpd-3.9.0.12I: [ERROR] Detected anomalies. Info: /install/asr9k-diags-3.9.0.12I: [SUCCESS] Verification Info: Successful. Info: /install/asr9k-base-3.9.0.12I: [SUCCESS] Verification Successful. Info: /install/asr9k-admin-3.9.0.12I: [SUCCESS] Verification Info: Successful. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 64 No standby RP is present. Info: Please contact your technical services representative to repair Info: the system. Install operation 3 completed successfully at 13:21:29 DST Mon Jun 22 2009. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 65 Although most of the output should display the status “OK,” some processes may show other output, such Note as “Warning.” This does not specifically indicate a problem. Contact your Cisco technical support representative for more information on the output of this command.
  • Page 66: Adding And Activating Packages

    Adding and Activating Packages The procedure in this section describes how to upgrade or add Cisco IOS XR software PIE files that are stored on a local storage device, such as a flash disk, or on a remote TFTP, FTP, SFTP, or rcp server. The PIE software file can include any of the following: •...
  • Page 67 Establishes a CLI management session with the SDR. Connect to the console port for the active DSC. For more information on console connections, see Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 68 Trivial File Transfer Protocol. • ftp://—Unpacks the PIE file from a network server using File Transfer Protocol. • rcp://—Unpacks the PIE file from a network server using Remote Copy Protocol Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 69 (node). 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 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 70 Step 8 (Optional) show install active summary Displays all active packages. Use this display to determine if the correct packages are active: Example: RP/0/RSP0/CPU0:router(admin)# show install active Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 71 If you have enabled the fpd auto-upgrade command Note and add and activate the FPD PIE together with the software installation PIE, the FPD image is automatically upgraded before the router is rebooted. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 72: Examples

    'cisco' at 18:16:18 UTC Thu Jan 03 2009. Info: The following package is now available to be activated: Info: Info: disk0:asr9k-mpls-3.7.2 Info: Install operation 4 completed successfully at 18:19:10 UTC Thu Jan 03 2009. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 73 Part 2 of 2 (activate software): Started Info: The changes made to software configurations will not be persistent across system reloads. Use the command 'admin install Info: commit' to make changes persistent. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 74: Committing The Active Package Set

    Before committing a package set, verify that the SDR is operating correctly and is forwarding packets as expected. SUMMARY STEPS 1. admin 2. install commit 3. show install committed [detail | summary | verbose] [location node-id] Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 75: Examples

    Secure Domain Router: Owner Node 0/RSP0/CPU0 [RP] [SDR: Owner] Boot Device: disk0: Boot Image: /disk0/asr9k-os-mbi-3.9.0.12I/mbiasr9k-rp.vm Committed Packages: disk0:comp-asr9k-mini-3.9.0.12I disk0:asr9k-fpd-3.9.0.12I disk0:asr9k-k9sec-3.9.0.12I disk0:asr9k-mcast-3.9.0.12I disk0:asr9k-mgbl-3.9.0.12I disk0:asr9k-mpls-3.9.0.12I Node 0/1/CPU0 [LC] [SDR: Owner] Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 76: Upgrading To Cisco Ios Xr Software Release 4.0

    Cisco IOS XR Unicast Routing Core Bundle. Upgrading to Cisco IOS XR Software Release 4.0 In Cisco IOS XR Software Release 4.0, the software packages were reorganized into functionally well-defined and independently-releasable packages. For this reason, when you upgrade from a software release prior to Release 4.0, you must perform the following procedure in order to synchronize all of the software packages...
  • Page 77 RP/0/RSP0/CPU0:router(admin)# install commit committed. Step 7 install remove device:upgrade-package Removes the inactive upgrade package. Example: RP/0/RSP0/CPU0:router(admin)# install remove disk0:asr9k-upgrade-p-4.0.0 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 78 Install operation 7 '(admin) install activate disk0:asr9k-mini-p-4.0.0 Info: disk0:asr9k-upgrade-p-4.0.0 disk0:asr9k-mpls-p-4.0.0' Info: started by user 'lab'RP/0/RP1/CPU0:Jul 9 05:23:24.161 : instdir[235]: %INSTALL-INSTMGR-6-INSTALL_OPERATION_STARTED : Info: Install operation 7 '(admin) install activate disk0:asr9k-mini-p-4.0.0 Info: disk0:asr9k-upgrade-p-4.0.0 disk0:asr9k-mpls-p-4.0.0' Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 79 No MBI confirmation received from dSCboot: booting from bootflash:disk0/asr9k-os-mbi-4.0.0/mbiasr9k-rp.vm ..................################################################################################## Restricted Rights LegendUse, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph(c) of the Commercial Computer Software Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 80 Systems, Inc. 170 West Tasman Drive San Jose, California 95134-1706 Cisco IOS XR Software for the Cisco XR Router, Version 4.0.0 Copyright (c) 2010 by Cisco Systems, Inc. Jul 09 05:39:21.334 : Install (Node Preparation): Booting with software activated by previous...
  • Page 81 1% complete: The operation can no longer be aborted (ctrl-c for options) The install operation will continue asynchronously. RP/0/RSP0/CPU0:router(admin)#SP/0/SM0/SP:Jul 9 06:05:03.902 : envmon[117]: %PLATFORM-ENVMON-4-ALARM : MINOR_HI alarm cleared by host__temp__Inlet0 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 82: Deactivating And Removing Cisco Ios Xr Software Packages

    Before You Begin The following are the restrictions when deactivating and removing Cisco IOS XR Software packages: • A package cannot be deleted if it is part of the running or committed software of the SDR.
  • Page 83 Deactivating and Removing Cisco IOS XR Software Packages • FPD versions must be compatible with the Cisco IOS XR software that is running on the router; if an incompatibility exists between an FPD version and the Cisco IOS XR software, the device with the field-programmable gate array (FPGA) may not operate properly until the incompatibility is resolved.
  • Page 84 CPU usage, process status, protocol status, and Example: other status information. Use this information to verify that the system is RP/0/RSP0/CPU0:router# show system stable. verify Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 85 • To remove all inactive packages from all nodes in the system, use the install remove command with the inactive keyword. Related Topics Adding and Activating Packages, on page 48 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 86: Examples

    This operation will remove the following package: Info: disk0:asr9k-diags-3.7.2 Info: After this install remove the following install rollback points will Info: no longer be reachable, as the required packages will not be present: Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 87: Rolling Back To A Previous Software Set

    Rolling Back to a Previous Software Set Cisco IOS XR software allows you to roll back one or more SDRs to a previous committed or uncommitted software set. Use the show install rollback ? command to view the available rollback points and use the install rollback to command to roll back the SDR to a previous software set.
  • Page 88: Displaying The Active Packages Associated With A Rollback Point

    For more information on the command options, see the Software Package Management Commands on Note Cisco IOS XR Software module of Cisco ASR 9000 Series Aggregation Services Router System Management Command Reference. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 89: Rolling Back To A Specific Rollback Point

    Info: Please verify that the system is consistent following the software Info: change using the following commands: Info: show system verify Info: install verify packages Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 90: Additional References

    Upgrading and Managing Cisco IOS XR Software Additional References Install operation 27 completed successfully at 16:42:23 UTC Sat Nov 19 2009. Additional References The following sections provide references related to software package management on Cisco IOS XR software. Related Documents Related Topic Document Title...
  • Page 91 Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 92 Upgrading and Managing Cisco IOS XR Software Additional References Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 93: Configuring Disk Mirroring

    Cisco ASR 9000 Series Aggregation Services Router Commands Master List. Table 11: Feature History for Disk Mirroring for Cisco IOS XR Software...
  • Page 94: Information About Disk Mirroring

    Size of Disk Primary Partition Percentage Secondary Partition Percentage less than 900 MB Partitioning not supported Partitioning not supported 900 MB to 1.5 GB 1.5 GB to 3 GB Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 95: How To Enable Disk Mirroring

    Primary-device Enables disk mirroring of the primary-device to the Secondary-device secondary-device . If the primary boot device is not partitioned, the following occurs: Example: Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 96: Replacing The Secondary Mirroring Device

    5. Remove the device and insert a new device. 6. format secondary-device partition [location node-id] 7. show media [location node-id] 8. mirror resume [location node-id] 9. show mirror [location node-id] Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 97 The exact time depends on the number of RP/0/RSP0/CPU0:router# show mirror packages or files on the boot device. When the mirroring is complete, the Current Mirroring State should be Redundant. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 98: Replacing The Primary Mirroring Device

    Swaps the device roles such that the primary mirroring device Secondary-device now becomes the secondary device and the secondary mirroring device becomes the primary device. Example: RP/0/RSP0/CPU0:router(config)# mirror location 0/ RSP0 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 99 The exact time depends on the number of packages RP/0/RSP0/CPU0:router# show mirror or files on the boot device. When the mirroring is complete, the Current Mirroring State should be Redundant. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 100: Configuration Examples For Enabling Disk Mirroring

    7 13:02:26.520 PST Mirror Information for 0/RSP0/CPU0. ======================================================== Mirroring Enabled Configured Primary: disk0: Configured Secondary: disk1: Current Mirroring State: Redundant Current Physical Primary: disk0: Current Physical Secondary: disk1: Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 101: Additional References

    Cisco IOS XR boot commands Boot Commands on the Cisco ASR 9000 Series Router module of Cisco ASR 9000 Series Aggregation Services Router System Management Command Reference Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 102 Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 103: Chapter 6 Software Entitlement

    Additional References, page 95 What Is Software Entitlement? Software entitlement is a system that consists of a license manager on a Cisco IOS XR device that manages licenses for various software and hardware features. The license manager parses and authenticates a license before accepting it.
  • Page 104 Series Router module in Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Configuration Guide. Video Monitoring Video monitoring can be enabled for the Cisco ASR 9000 chassis by using a video monitoring license. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 105: Implementing Default Licensing

    Implementing Default Licensing Satellite Network Virtualization (nV) The Satellite nV license entitles satellite devices to connect to the Cisco ASR 9000 chassis. Satellite licenses are chassis licenses, and can provide the ability for one, five or 20 satellites to connect to a Cisco ASR 9000 host remotely.
  • Page 106: Slot-Based Licenses

    7. configure 8. license license-name location {all | node-id} 9. exit DETAILED STEPS Command or Action Purpose Step 1 admin Enters administration EXEC mode. Example: RP/0/RSP0/CPU0:router# admin Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 107 : FOX1232H67M Operation ID: 1 Step 3 Go to the license tool on Cisco.com. You must log in to the site http://www.cisco.com/go/license before you can access the license tool. Follow the instructions for product license registration. You are required to enter the feature PAK and the chassis UDI to acquire the license.
  • Page 108: Backing Up Licenses

    To use the feature associated with the added license, you must configure it on your router. To configure Layer 3 VPN, see the Implementing MPLS Layer 3 VPNs on Cisco IOS XR Software module in Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide.
  • Page 109: Examples

    Allocated Node(s): 0/RSP0/CPU0 1 [Owner] FeatureID: A9K-iVRF-LIC (Slot based, Permanent) Total licenses Pool: Owner FeatureID: A9K-iVRF-LIC (Slot based, Evaluation) Total licenses Pool: Owner Allocated Node(s): 0/1/CPU0 1 [Owner] Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 110: Restoring Licenses

    Info: This command will erase all existing licenses. Info: It is strongly recommended to backup existing licenses first. Do you wish to proceed? [yes/no]: y License command "license restore disk1:/license_back" completed successfully. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 111: Transferring Licenses To A New Route Switch Processor 440

    To upgrade a route switch processor (RSP) to the RSP440 with your active licenses, perform this task. SUMMARY STEPS 1. Save the original license file that you received from Cisco, in a USB drive or TFTP server. 2. save configuration running 3.
  • Page 112: Upgrading Line Cards And Licenses

    Beginning with Cisco IOS XR Release 4.3.1, Note this command is optional. If you do not use RP/0/RSP0/CPU0:router(admin-config)# license this command, it is configured as though the license is bound to all slots. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 113: Troubleshooting License Issues After A Software Upgrade

    Troubleshooting License Issues after a Software Upgrade In the instance that you were running Cisco IOS XR Release 3.9.0 and had the optic feature enabled on a interface and the A9K-ADV-OPTIC-LIC license was active on a particular slot, when you upgrade to Cisco IOS XR Release 4.0.0, the A9K-ADV-OPTIC-LIC license is still active, but you may get the following...
  • Page 114 To locate and download MIBs using Cisco IOS XR software, use the Cisco MIB Locator found at the following URL and choose a platform under the Cisco Access Products menu: http://cisco.com/public/ sw-center/netmgmt/cmtk/mibs.shtml Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 115 Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 116 Software Entitlement Additional References Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 117 To locate documentation for other commands that might appear in the course of performing a configuration task, search online in Cisco ASR 9000 Series Aggregation Services Router Commands Master List. Table 14: Feature History for Managing Router Hardware with Cisco IOS XR Software...
  • Page 118: Prerequisites For Managing Router Hardware

    : V77.20 USB1 : V77.20 CPUCtrl : V1.17 : V1.6 : V1.0 MLANSwitch : V0.0 EOBCSwitch : V2.0 CBC (active partition) : v1.2 CBC (inactive partition) : v1.1 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 119 : V0.0 CBC (active partition) : v2.2 CBC (inactive partition) : v2.1 NODE module 0/6/CPU0 : MAIN: board type 0x20208 S/N: FHH12250033 Top Assy. Number: 68-3184-02 PID: A9K-4T-B Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 120 : V0.16 PortCtrl : V0.10 PHYCtrl : V0.7 4 Port Ten Gigabit Ethernet Daughter board : V0.0 CBC (active partition) : v2.2 CBC (inactive partition) : v2.1 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 121: Displaying System Hardware Version Information

    : V1.0 MLANSwitch : V0.0 EOBCSwitch : V2.0 CBC (active partition) : v1.2 CBC (inactive partition) : v1.1 NODE fantray 0/FT0/SP : MAIN: board type 0x900211 S/N: Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 122 Board State : IOS XR RUN PLD: Motherboard: N/A, Processor: 0x8004 (rev: 2.2), Power: N/A ROMMON: Version 1.0(20081208:174521) [ASR9K ROMMON] Board FPGA/CPLD/ASIC Hardware Revision: : V3.194 : V3.194 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 123 CLEI: ACACACACAC PLD: Motherboard: N/A, Processor: N/A, Power: N/A ROMMON: Board FPGA/CPLD/ASIC Hardware Revision: NODE power-module 0/PM1/SP : MAIN: board type 0xf00188 S/N: Top Assy. Number: 341-00032-01 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 124: Displaying Software And Hardware Information

    Cisco IOS XR Software, Version 3.9.0.16I[DT_IMAGE] Copyright (c) 2009 by Cisco Systems, Inc. ROM: System Bootstrap, Version 1.1(20090521:183759) [ASR9K ROMMON], router uptime is 1 day, 2 hours, 34 minutes Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 125: Displaying Sdr Node Ids And Status

    3 07:39:01.416 DST Node Type State Config State ----------------------------------------------------------------------------- 0/RSP0/CPU0 A9K-RSP-4G(Active) IOS XR RUN PWR,NSHUT,MON 0/1/CPU0 A9K-40GE-B IOS XR RUN PWR,NSHUT,MON 0/4/CPU0 A9K-8T/4-B IOS XR RUN PWR,NSHUT,MON Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 126: Displaying Router Node Ids And Status

    [node-id] The following example displays the status for all nodes in the system: RP/0/RSP0/CPU0:router(admin)# show platform Sat Mar 24 05:02:18.569 DST Node Type State Config State ----------------------------------------------------------------------------- Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 127: Displaying Router Environment Information

    38.8 0/6/* host 32.7 42.0 0/FT0/* host 27.2 28.2 0/FT1/* host 27.4 30.2 Voltage Information --------------------------------------------- R/S/I Modules Sensor (mV) Margin 0/1/* host 10647 host 5.0V 4929 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 128 1.8VC 1806 host 1.5VB 1510 host 1.5VA 1503 host 1.1V(1.05V_CPU) 1048 host 0.75VA host 0.75VB_0.75VC host 1.1VB 1105 host 1.2V_TCAM0 1003 host 1.2V_TCAM1 1000 host 1.0V_Bridge_LDO Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 129 Status 0/RSP0/* host Critical-Alarm host Major-Alarm host Minor-Alarm host Fan Information --------------------------------------------- Fan speed (rpm): FAN0 FAN1 FAN2 FAN3 FAN4 FAN5 FAN6 FAN7 FAN8 FAN9 FAN10 FAN11 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 130: Configuring The Chassis Altitude

    In the following example, the show redundancy command displays the redundancy status for a redundant RSP pair: RP/0/RSP0/CPU0:router(admin)# show redundancy Mon Jun 29 04:49:26.098 PST Redundancy information for node 0/RSP0/CPU0: ========================================== Node 0/RSP0/CPU0 is in ACTIVE role Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 131: Displaying Field-Programmable Device Compatibility

    0.38 fpga2 0.10 cpld2 cpld1 0.15 cpld3 rommon fpga3 14.42 -------------------------------------------------------------------------------- 0/4/CPU0 A9K-8T/4-B fpga1 0.38 -------------------------------------------------------------------------------- 0/6/CPU0 A9K-4T-B fpga1 0.38 fpga2 0.10 cpld2 cpld1 0.15 cpld3 rommon Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 132 Module part number. HW Version Hardware model version for the module. Type Hardware type. Can be one of the following types: • spa—Shared port adapter • lc—Line card Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 133: Rsp Redundancy And Switchover

    Figure 3: Redundant Set of RSPs Installed in Slots RSP0 and RSP1 in an 8-Slot Chassis, on page 116). RSP0 is the slot on the left, facing the front of the chassis, Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 134: Determining The Active Rp In A Redundant Pair

    RP/0/RSP1/CPU0:router# In this example, the prompt indicates that you are communicating with the active RSP in slot RSP1. See Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide for a complete description of the CLI prompt. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 135: Role Of The Standby Rsp

    RSP immediately takes control of the system. Summary of Redundancy Commands RSP redundancy is enabled by default in the Cisco IOS XR software, but you can use the commands described Table 17: RSP Redundancy Commands, on page 117 to display the redundancy status of the cards or force a manual switchover.
  • Page 136: Automatic Switchover

    RSP. RSP Redundancy During RSP Reload The reload command causes the active RSP to reload the Cisco IOS XR software. When an RSP reload occurs, the RSPs respond as follows: • If a standby RSP is installed and “ready” for switchover, the standby RSP becomes the active RSP. The original active RSP reboots and becomes the standby RSP.
  • Page 137: Communicating With A Standby Rp

    Reloading, Shutting Down, or Power Cycling a Node Use the commands described in this section to reload the Cisco IOS XR software on the active RSP or on any specified node in the system. This section also describes the commands used to administratively shut down a node and power a node on or off.
  • Page 138: Reloading The Active Rsp

    RSP from which the command is entered. Reloading the Active RSP The reload command causes the active RSP to reload the Cisco IOS XR software according to the configuration register setting. This setting determines how the active RSP acts when reloaded.
  • Page 139 Managing the Router Hardware Reloading the Active RSP Because the reload command causes the active RSP to go off line and either reload the Cisco IOS XR Caution software or enter ROM Monitor mode, the router experiences a loss of service unless a redundant standby RSP is installed and in “ready”...
  • Page 140: Flash Disk Recovery

    Check fsck log at /tmp/chkfs_fd0.log init: special_commands:wait for disk0: failed If this occurs, then the flash disk is automatically reformatted and the Cisco IOS XR software is restored to the flash disk. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 141: Using Controller Commands To Manage Hardware Components

    These commands are primarily diagnostic and related to driver-level details. The information available with these commands varies widely and is hardware specific. For information on the use of these commands, see Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Command Reference.
  • Page 142: Removing And Replacing Cards

    20 interface preconfigure POS0/3/0/0 ipv4 address 10.10.50.1 255.255.255.0 interface preconfigure POS0/3/0/1 description POS0/3/0/1 shutdown interface preconfigure POS0/3/0/2 description POS0/3/0/2 shutdown interface preconfigure POS0/3/0/3 description POS0/3/0/3 shutdown Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 143: Replacing A Line Card With The Same Media Type And Port Count

    Building configuration... hostname rtp-gsr1 interface POS0/3/0/0 ipv4 address 10.10.50.1 255.255.255.0 interface preconfigure POS0/3/0/1 description POS0/3/0/1 shutdown interface preconfigure POS0/3/0/2 description POS0/3/0/2 shutdown interface preconfigure POS0/3/0/3 description POS0/3/0/3 shutdown Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 144: Replacing A Line Card Or Plim With A Different Media Type

    RP/0/RSP0/CPU0:router(admin)# upgrade cpuctrlbits all Examples The following example shows how to upgrade the CPU controller bits on all nodes in a router: RP/0/RSP0/CPU0:router# admin RP/0/RSP0/CPU0:router(admin)# upgrade cpucrtlbits all Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 145: Additional References

    Failure to do so may render the cards under upgrade to be unusable. Additional References The following sections provide references related to hardware management on Cisco IOS XR software. Related Documents Related Topic Document Title...
  • Page 146 Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 147: Information About Flexible Cli Configuration Groups

    If a match is found at a configuration submode, the corresponding configuration defined in the group is inherited within the matched submode. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 148: Flexible Configuration Restrictions

    • Some regular expressions are not supported within groups. For example, ‘?’, ‘|’ and ‘$,’ are not supported within groups. Also some characters such as /d and /w are not supported. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 149: Configuring A Configuration Group

    Use this task to create and use a configuration group. Flexible CLI configurations are not available through the XML interface. Note Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 150 GigabitEthernet0/2/0/0. If this group is applied in global configuration apply-group g-interf mode, the MTU value is inherited by all Gigabit Ethernet interfaces that do not have an MTU value configured. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 151: Simple Configuration Group: Example

    The same configuration group is used in both cases, but only the applicable configuration statements are used. Verifying the Configuration of Configuration Groups Use this task to verify the router configuration using configuration groups: Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 152 Displays the inherited configuration where ever a show running-config inheritance configuration group has been applied. Example: RP/0/RSP0/CPU0:router# show running-config inheritance group G-INTERFACE-MTU interface ‘POS.*’ mtu 1500 end-group Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 153: Apply Groups Priority Inheritance

    (different groups- nothing in common between them). While applying the group one (ONE TWO), all the seven groups that matches to the interface interface GigabitEthernet will be applied. 0/0/0/0 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 154: Regular Expressions In Configuration Groups

    Single quotes must be used to delimit a regular expression. For general information regarding regular expressions, refer to the Understanding Regular Expressions, Special Characters, and Patterns module in the Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide.
  • Page 155 To match AS dot format instances, use two regular expressions separated by a dot, as shown in this example: group g-bgp router bgp '*'.'*' address-family ipv4 unicast Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 156: Configuration Examples Using Regular Expressions

    ISIS routing parameters, using regular expressions for the exact interface: RP/0/RSP0/CPU0:router(config)# group g-isis-gige RP/0/RSP0/CPU0:router(config-GRP)# router isis '.*' RP/0/RSP0/CPU0:router(config-GRP-isis)# interface 'GigabitEthernet.*' RP/0/RSP0/CPU0:router(config-GRP-isis-if)# lsp-interval 20 RP/0/RSP0/CPU0:router(config-GRP-isis-if)# hello-interval 40 RP/0/RSP0/CPU0:router(config-GRP-isis-if)# address-family ipv4 unicast RP/0/RSP0/CPU0:router(config-GRP-isis-if-af)# metric 10 RP/0/RSP0/CPU0:router(config-GRP-isis-if-af)# end-group Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 157 The second way to configure these interfaces using the configuration group is to apply the configuration group within the router isis configuration, as shown here: router isis green apply-group g-isis-gige interface GigabitEthernet0/0/0/0 interface GigabitEthernet0/0/0/1 interface GigabitEthernet0/0/0/2 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 158: Configuration Group Inheritance With Regular Expressions: Example

    The result is effectively this configuration: router ospf 100 packet-size 1000 nsf cisco Note that is not inherited from the configuration group because the explicit local packet-size 3000 configuration has precedence. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 159: Layer 2 Transport Configuration Group: Example

    This is the output displayed from the show running-config inheritence command for the Ten Gigabit Ethernet interface: interface TenGigE0/0/0/0.1 l2transport ## Inherited from group g-l2trans-if mtu 1514 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 160: Configuration Group Precedence: Example

    RP/0/RSP0/CPU0:router(config)# group g-interface-mtu RP/0/RSP0/CPU0:router(config-GRP)# interface 'POS.*' RP/0/RSP0/CPU0:router(config-GRP-if)# mtu 2000 RP/0/RSP0/CPU0:router(config-GRP-if)# end-group When this configuration group is committed, the MTU configuration for interface POS0/4/1/0 is automatically updated to 2000. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 161: Configuration Examples For Flexible Cli Configuration

    ## Inherited from group gd21 description general interface inheritance check ## Inherited from group gd21 load-interval 30 ## Inherited from group gd21 mac-accounting ingress ## Inherited from group gd21 mac-accounting egress Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 162: Interface Mtu Settings For Different Interface Types: Example

    RP/0/RSP0/CPU0:router# show running interface gigabitEthernet0/0/0/9.800 interface GigabitEthernet0/0/0/9.800 encapsulation dot1q 800 RP/0/RSP0/CPU0:router# show running inheritance interface gigabitEthernet0/0/0/9.800 interface GigabitEthernet0/0/0/9.800 ## Inherited from group l2tr mtu 1400 encapsulation dot1q800 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 163 Hardware is VLAN sub-interface(s), address is 0026.9824.ee41 Layer 2 Transport Mode MTU 1400 bytes, BW 1000000 Kbit (Max: 1000000 Kbit) reliability Unknown, txload Unknown, rxload Unknown Encapsulation 802.1Q Virtual LAN, Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 164: Acl Referencing: Example

    GigabitEthernet0/0/0/31 ## Inherited from group l2tr mtu 1500 ## Inherited from group acref ipv4 access-group adem ingress ## Inherited from group acref ipv4 access-group adem egress Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 165: Local Configuration Takes Precedence: Example

    RP/0/RSP0/CPU0:router# show running interface gigabitEthernet 0/0/0/39 interface GigabitEthernet0/0/0/39 ipv4 access-group smany ingress ipv4 access-group smany egress RP/0/RSP0/CPU0:router# show running inheritance interface gigabitEthernet 0/0/0/39 interface GigabitEthernet0/0/0/39 ## Inherited from group l2tr Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 166: Isis Hierarchical Configuration: Example

    Loopback0 interface TenGigE0/2/0/0.3521 address-family ipv4 unicast interface TenGigE0/2/0/0.3522 address-family ipv4 unicast interface TenGigE0/2/0/0.3523 address-family ipv4 unicast interface TenGigE0/2/0/0.3524 address-family ipv4 unicast interface TenGigE0/2/0/0.3525 address-family ipv4 unicast Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 167 Building configuration... apply-group isis l2tr isis2 bundle1 acref 3 Check the inheritance view of the ISIS configuration: RP/0/RSP0/CPU0:router# show running inheritance router isis router isis vink net 49.0011.2222.2222.2222.00 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 168 TenGigE0/2/0/0.3525 ## Inherited from group isis lsp-interval 40 ## Inherited from group isis hello-interval 15 address-family ipv4 unicast ## Inherited from group isis metric 50 interface TenGigE0/2/0/0.3526 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 169: Ospf Hierarchy: Example

    1 Configure a local OSPF configuration: RP/0/RSP0/CPU0:router# show running router ospf router ospf 1 apply-group go-c router-id 121.121.121.121 nsf cisco redistribute connected address-family ipv4 unicast area 0 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 170 '.*' area '.*' interface 'Gig.*' cost 250 end-group RP/0/RSP0/CPU0:router# show running group go-c group go-c router ospf '.*' area '.*' interface 'Gig.*' cost 300 end-group Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 171 LS Ack List: current length 0, high water mark 0 Neighbor Count is 1, Adjacent neighbor count is 0 Suppress hello for 0 neighbor(s) Multi-area interface Count is 0 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 172: Link Bundling Usage: Example

    1000Mb/s Active GigabitEthernet0/1/0/12 Full-duplex 1000Mb/s Active GigabitEthernet0/1/0/13 Full-duplex 1000Mb/s Active GigabitEthernet0/1/0/14 Full-duplex 1000Mb/s Active GigabitEthernet0/1/0/15 Full-duplex 1000Mb/s Active GigabitEthernet0/1/0/16 Full-duplex 1000Mb/s Active Last input 00:00:00, output 00:00:00 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 173 Output 2 broadcast packets, 1202 multicast packets 0 output errors, 0 underruns, 0 applique, 0 resets 0 output buffer failures, 0 output buffers swapped out 0 carrier transitions Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 174 Configuring Flexible Command Line Interface Configuration Groups Link Bundling Usage: Example Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 175 SIPs and shared port adapters (SPAs), including FPGAs. Cisco IOS XR software provides the Cisco FPD upgrade feature to manage the upgrade of FPD images on SIPs and SPAs.
  • Page 176: Prerequisites For Fpd Image Upgrades

    SPA or SIP when you upgrade the Cisco IOS XR software image. FPD versions must be compatible with the Cisco IOS XR software that is running on the router; if an incompatibility exists between an FPD version and the Cisco IOS XR software, the device with the FPGA may not operate properly until the incompatibility is resolved.
  • Page 177: How To Upgrade Fpd Images

    : spa fpga2 instance 0 is down-rev (V0.6), upgrade to (V1.0). Use the "upgrade hw-module fpd" CLI in admin mode. If the FPD image on the card is newer then what is required by the currently running Cisco IOS XR software image on the router, you receive the following error message: LC/0/1/CPU0:Dec 23 16:33:47.955 : spa_192_jacket_v2[203]: %PLATFORM-UPGRADE_FPD-4-UP_REV :...
  • Page 178 4. upgrade hw-module fpd {all | fpga-type} [ force] location [all | node-id] 5. exit 6. (Optional) hw-module {location node-id | subslot subslot-id} reload 7. show platform Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 179 The “FPD upgrade in progress.” message is printed every minute. These logs are information logs, and as such, are displayed if the logging console informational command is configured. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 180 Verifies that the FPD image on the card has been successfully upgraded by displaying the status of all cards in the system. Example: RP/0/RSP0/CPU0:router# show platform Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 181: Configuration Examples For Fpd Image Upgrade

    14.42 -------------------------------------------------------------------------------- 0/4/CPU0 A9K-8T/4-B fpga1 0.38 -------------------------------------------------------------------------------- 0/6/CPU0 A9K-4T-B fpga1 0.38 fpga2 0.10 cpld2 cpld1 0.15 cpld3 rommon fpga3 14.42 -------------------------------------------------------------------------------- 0/6/CPU0 A9K-4T-B fpga1 0.38 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 182 Module part number. HW Version Hardware model version for the module. Type Hardware type. Can be one of the following types: • spa—Shared port adapter • lc—Line card Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 183: Show Fpd Package Command Output: Example

    Use the show fpd package command in administration EXEC mode to find out which SPAs and SIPs are supported with your current Cisco IOS XR software release, which FPD image package you need for each SPA or SIP, and what the minimum hardware requirements are for each module. If multiple FPD images are available for your card, they are listed as Subtype fpga2, fpga3, and so on.
  • Page 184 Can Bus Ctrl (CBC) LC2 2.02 CPUCtrl LC2 cpld1 1.00 PHYCtrl LC2 cpld2 0.06 PortCtrl LC2 fpga2 0.10 Bridge LC2 fpga1 0.43 ROMMONA LC2 rommonA 1.05 ROMMONB LC2 rommon 1.05 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 185 PortCtrl LC3 fpga2 0.11 Raven LC3 fpga1 1.02 ROMMONB LC3 rommon 1.03 ---------------------------------------------------------------------------------------------- A9K-16T/8-B Can Bus Ctrl (CBC) LC3 6.02 CPUCtrl LC3 cpld1 1.02 PHYCtrl LC3 cpld2 0.04 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 186 Can Bus Ctrl (CBC) LC3 6.02 CPUCtrl LC3 cpld1 1.02 PHYCtrl LC3 cpld2 0.04 LCClkCtrl LC3 cpld3 0.01 DB CPUCtrl LC3 cpld4 1.03 PortCtrl LC3 fpga2 0.01 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 187 Tomcat LC2 fpga2 0.16 Bridge LC2 fpga1 0.43 ROMMONB LC2 rommon 1.05 ---------------------------------------------------------------------------------------------- A9K-8T-L Can Bus Ctrl (CBC) LC3 6.02 CPUCtrl LC3 cpld1 1.02 PHYCtrl LC3 cpld2 0.08 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 188 IntCtrl RSP2 fpga2 1.15 ClkCtrl RSP2 fpga3 1.23 UTI RSP2 fpga4 3.08 PUNT RSP2 fpga1 1.05 HSBI RSP2 hsbi 4.00 ROMMONA RSP2 rommonA 1.05 ROMMONB RSP2 rommon 1.05 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 189 ROMMONB LC6 rommon 1.02 ---------------------------------------------------------------------------------------------- A9K-8T-B CPUCtrl LC3 cpld1 1.02 PHYCtrl LC3 cpld2 0.08 DB CPUCtrl LC3 cpld4 1.03 PortCtrl LC3 fpga2 0.11 Raven LC3 fpga1 1.02 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 190 1.00 SPA FPGA swv1.36 fpga1 1.36 0.49 SPA ROMMON swv2.2 rommon 2.02 0.49 ---------------------------------------------------------------------------------------------- SPA-8XOC12-POS SPA FPGA swv1.0 fpga1 1.00 ---------------------------------------------------------------------------------------------- SPA-8XCHT1/E1 SPA I/O FPGA fpga1 2.08 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 191 Min Req HW Vers Minimum required hardware version for the associated FPD image. A minimum hardware requirement of version 0.0 indicates that all hardware can support this FPD image version. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 192 29.10 0.00 ---------------------------------------------------------------------------------------------- ASR-9001-FAN Can Bus Ctrl (CBC) FAN 24.114 0.00 Can Bus Ctrl (CBC) FAN 24.114 0.00 ---------------------------------------------------------------------------------------------- A9K-40GE-B Can Bus Ctrl (CBC) LC2 2.03 0.00 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 193 2.03 0.00 CPUCtrl LC2 cpld1 1.00 0.00 PHYCtrl LC2 cpld2 0.06 0.00 PortCtrl LC2 fpga2 0.10 0.00 Bridge LC2 fpga1 0.44 0.00 ROMMONB LC2 rommon 1.05 0.00 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 194 1.03 0.00 ROMMONB LC3 rommon 1.03 0.00 ---------------------------------------------------------------------------------------------- A9K-16T/8-B Can Bus Ctrl (CBC) LC3 6.08 0.00 CPUCtrl LC3 cpld1 1.02 0.00 PHYCtrl LC3 cpld2 0.04 0.00 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 195 0.00 LCClkCtrl LC2 cpld3 0.03 0.00 PortCtrl LC2 fpga2 0.10 0.00 Serdes Upgrade LC2 fpga3 14.44 0.00 Bridge LC2 fpga1 0.44 0.00 ROMMONB LC2 rommon 1.05 0.00 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 196 1.03 0.00 ROMMONB LC3 rommon 1.03 0.00 ---------------------------------------------------------------------------------------------- A9K-SIP-700 Can Bus Ctrl (CBC) LC5 3.06 0.00 CPUCtrl LC5 cpld1 0.15 0.00 QFPCPUBridge LC5 fpga2 5.14 0.00 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 197 0.00 IntCtrl RSP2 fpga2 1.15 0.00 ClkCtrl RSP2 fpga3 1.23 0.00 UTI RSP2 fpga4 3.08 0.00 PUNT RSP2 fpga1 1.05 0.00 ROMMONB RSP2 rommon 1.06 0.00 ---------------------------------------------------------------------------------------------- Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 198 1.01 0.00 Fabric Ctrl6 MTFC fpga13 1.01 0.00 CPUCtrl1 fpga2 1.03 0.00 ClkCtrl fpga3 1.03 0.00 IntCtrl fpga4 1.03 0.00 fpga5 4.09 0.00 Timex fpga6 0.02 0.00 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 199 Fabric Ctrl0 MTFC fpga7 1.01 0.00 Fabric Ctrl1 MTFC fpga8 1.01 0.00 Fabric Ctrl2 MTFC fpga9 1.01 0.00 CPUCtrl0 fpga1 1.04 0.00 ROMMONB MTRP rommon 5.10 0.00 ---------------------------------------------------------------------------------------------- Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 200 A9K-2x100GE-TR Can Bus Ctrl (CBC) LC4 21.108 0.00 DB IO FPGA1 cpld1 1.03 0.00 MB CPUCtrl fpga2 1.08 0.00 PortCtrl fpga3 1.05 0.00 Imux fpga4 1.01 0.00 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 201 0.00 Imux fpga4 1.01 0.00 Emux fpga5 1.03 0.00 100GIGMAC fpga6 38.00 0.00 ROMMONB LC4 rommon 1.29 0.00 ---------------------------------------------------------------------------------------------- A9K-1x100GE-TR Can Bus Ctrl (CBC) LC4 21.108 0.00 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 202 ROMMONB RSP3 rommon 0.70 0.00 ---------------------------------------------------------------------------------------------- A9K-RSP-24G ClockCtrl0 RSP3 fpga2 1.06 0.00 UTI RSP3 fpga3 4.09 0.00 CPUCtrl RSP3 fpga1 0.09 0.00 ROMMONB RSP3 rommon 0.70 0.00 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 203 EP I/O FPGA fpga3 0.08 0.00 ---------------------------------------------------------------------------------------------- A9K-MPA-2X10GE EP I/O FPGA fpga6 1.06 0.00 ---------------------------------------------------------------------------------------------- A9K-MPA-4X10GE EP I/O FPGA fpga6 1.06 0.00 ---------------------------------------------------------------------------------------------- A9K-MPA-2X40GE EP Sage fpga7 1.03 0.00 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 204 SPA image. To upgrade a specific FPD with the upgrade hw-module fpd command, replace the fpga-type argument with the appropriate FPD from the “subtype” column, as shown in the following example: RP/0/RSP0/CPU0:router(admin)# upgrade hw-module fpd fpga2 location 0/3/1 reload Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 205: Upgrade Hw-Module Fpd Command Output: Example

    RP/0/RSP0/CPU0:router# show platform Sat Jul 25 12:26:38.905 DST Node Type State Config State ----------------------------------------------------------------------------- 0/RSP0/CPU0 A9K-RSP-4G(Active) IOS XR RUN PWR,NSHUT,MON 0/FT0/SP FAN TRAY READY 0/FT1/SP FAN TRAY READY Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 206: Troubleshooting Problems With Fpd Image Upgrades

    If you reload the SIP when the FPD image is corrupted, the SIP malfunctions and you must contact Cisco technical support for assistance. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 207: Additional References

    Upgrading FPD Additional References To recover a SIP from the failed state because of a corrupted FPD image, you must contact Cisco technical support. To recover a SIP from the failed state because of a corrupted FPD image, you must turn off the automatic reset of the SIP card.
  • Page 208 Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 209: Information About Frequency Synchronization

    Cisco IOS XR software. For more information about frequency synchronization on the Cisco IOS XR software and complete descriptions of the commands listed in this module, see Additional References. To locate documentation for other commands that might appear in the course of running a configuration task, search online in Cisco ASR 9000 Series Aggregation Services Router Commands Master List.
  • Page 210: Frequency Synchronization Timing Concepts

    Selection points form a graph representing the flow of timing signals between the different cards in a router running Cisco IOS XR software. For example, one or multiple selection points select between the different Synchronous Ethernet inputs available on a single line card, and the result of these selection points is forwarded to a selection point on the RSP to select between the selected source from each card.
  • Page 211: Configuring Frequency Synchronization

    If this command is not used, the default quality mode is used. In the default mode, the clock interface output is Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 212 EXEC mode. ◦ Entering no exits the configuration session and returns the router RP/0/RSP0/CPU0:router(config-freqsync)# to EXEC mode without committing the configuration changes. commit Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 213: Configuring Frequency Synchronization On An Interface

    9. quality transmit {exact | highest | lowest} itu-t option ql-option 10. quality receive {exact | highest | lowest} itu-t option ql-option 11. Use one of these commands: • end • commit Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 214 1 (highest priority) to 254 (lowest priority); the default value is RP/0/RSP0/CPU0:router(config-if-freqsync)# time-of-day-priority 50 100. Step 9 quality transmit {exact | highest | lowest} itu-t (Optional) Adjusts the QL that is transmitted in SSMs. option ql-option Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 215 [cancel]: Example: ◦ Entering yes saves configuration changes to the running RP/0/RSP0/CPU0:router(config-if-freqsync)# configuration file, exits the configuration session, and returns the router to EXEC mode. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 216: Configuring Frequency Synchronization On A Clock Interface

    The configuration on clock interfaces must be the same for corresponding clock interfaces across all RSPs Note to avoid changes in frequency synchronization behavior in the event of an RSP switchover. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 217 Example: The remaining steps in this task are the same as those used Note RP/0/RSP0/CPU0:router(config-clock-if)# to configure the interface frequency synchronization. frequency synchronization RP/0/RSP0/CPU0:router(config-clk-freqsync)# Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 218 QL than the QL specified here, DNU is sent instead. The quality option specified in this command must match the globally-configured quality option in the quality itu-t option command. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 219 • Use the commit command to save the configuration changes to the running configuration file, and remain within the configuration session. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 220: Verifying The Frequency Synchronization Configuration

    - Init state Interface QLrcv QLuse Pri QLsnt Source === ======================== ===== ===== === ===== ======================== >Sx GigabitEthernet0/2/0/0 Fail Fail 100 DNU None GigabitEthernet0/2/0/1 Fail 100 n/a None Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 221 Next selection points: LC_INGRESS RP/0/RSP0/CPU0:router# show frequency synchronization clock-interfaces location 0/1/CPU0 Node 0/1/CPU0: ============== Clock interface Sync0 (Down: mode not configured) SSM supported and enabled Input: Down Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 222 Placement: None startup_path: /pkg/startup/fsyncmgr.startup Ready: 0.133s Process cpu time: 1730768.741 user, -133848.-361 kernel, 1596920.380 total -------------------------------------------------------------------------------- Verifies that the fsyncmgr process is running on the appropriate nodes. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 223: Additional References

    Configuring Frequency Synchronization Additional References Additional References The following sections provide references related to Implementing frequency synchronization on Cisco IOS XR software. Related Documents Related Topic Document Title Cisco IOS XR frequency synchronization Frequency Synchronization Commands on the commands Cisco ASR 9000 Series Router module of...
  • Page 224 Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds. Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 225 Related Documents, on page 230. To locate documentation for other commands that might appear in the course of running a configuration task, search online in Cisco ASR 9000 Series Aggregation Services Router Commands Master List. Table 25: Feature History for Implementing NTP on Cisco IOS XR Software...
  • Page 226: Prerequisites For Implementing Ntp On Cisco Ios Xr Software

    This strategy effectively builds a self-organizing tree of NTP servers. The Cisco implementation of NTP does not support stratum 1 service; in other words, it is not possible to connect to a radio or atomic clock (for some specific platforms, however, you can connect a GPS time-source device).
  • Page 227: Ntp-Ptp Interworking

    This mode is most suited for file-server and workstation clients that are not required to provide any form of time synchronization to other local clients. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 228 5. Use one of the following commands: • end • commit DETAILED STEPS Command or Action Purpose Step 1 configure Step 2 Enters NTP configuration mode. Example: RP/0/RSP0/CPU0:router(config)# ntp Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 229 • Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 230: Configuring Broadcast-Based Ntp Associates

    7. Use one of the following commands: • end • commit DETAILED STEPS Command or Action Purpose Step 1 configure Step 2 Enters NTP configuration mode. Example: RP/0/RSP0/CPU0:router(config)# ntp Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 231 • Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 232: Configuring Ntp Access Groups

    3. access-group{peer | query-only | serve | serve-only} access-list-name 4. Use one of the following commands: • end • commit DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 233: Configuring Ntp Authentication

    Configuring NTP Authentication This task explains how to configure NTP authentication. No specific command enables NTP; the first NTP configuration command that you issue enables NTP. Note Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 234 Defines the authentication keys. encrypted] key-name • Each key has a key number, a type, a value, and, optionally, a name. Currently the only key type supported is md5. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 235: Disabling Ntp Services On A Specific Interface

    NTP is enabled globally when any NTP commands are entered. You can selectively prevent NTP packets from being received through a specific interface by turning off NTP on a given interface. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 236 • When you issue the end command, the system prompts you to commit changes: • commit Uncommitted changes found, commit them before exiting(yes/no/cancel)? Example: [cancel]: RP/0/RSP0/CPU0:router(config-ntp)# end Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 237: Configuring The Source Ip Address For Ntp Packets

    1. configure 2. ntp 3. source type interface-path-id 4. Use one of the following commands: • end • commit DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 238: Configuring The System As An Authoritative Ntp Server

    You can configure the router to act as an authoritative NTP server, even if the system is not synchronized to an outside time source. Note No specific command enables NTP; the first NTP configuration command that you issue enables NTP. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 239 • Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 240: Configuring Ntp-Ptp Interworking

    4. Use one of the following commands: • end • commit DETAILED STEPS Command or Action Purpose Step 1 configure Step 2 Enters NTP configuration mode. Example: RP/0/RSP0/CPU0:router(config)# ntp Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 241: Updating The Hardware Clock

    (set using NTP) is more accurate than the hardware clock. The time setting on the hardware clock has the potential to drift slightly over time. No specific command enables NTP; the first NTP configuration command that you issue enables NTP. Note Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 242 • Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 243: Verifying The Status Of The External Reference Clock

    1000.0000 Hz, actual freq is 999.9988 Hz, precision is 2**26 reference time is C54C131B.9EECF6CA (07:26:19.620 UTC Mon Nov 24 2008) clock offset is 66.3685 msec, root delay is 7.80 msec Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 244: Configuration Examples For Implementing Ntp

    • Serve-only restrictions are applied to IP addresses that pass the criteria of the access list named serve-only-acl. • Query-only restrictions are applied to IP addresses that pass the criteria of the access list named query-only-acl. peer 10.1.1.1 peer 10.1.1.1 peer 10.2.2.2 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 245 The following example shows an NTP configuration in which 0/2/0/0 interface is disabled: interface tengige 0/2/0/0 disable exit authentication-key 2 md5 encrypted 06120A2D40031D1008124 authentication-key 3 md5 encrypted 1311121E074110232621 authenticate Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 246: Configuring Ntp Server Inside Vrf Interface

    This task explains how to configure NTP server inside VRF interface. No specific command enables NTP; the first NTP configuration command that you issue enables NTP. Note Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 247 Uncommitted changes found, commit them before exiting(yes/no/cancel)? Example: [cancel]: RP/0/RSP0/CPU0:router(config-ntp)# ◦ Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 248: Additional References

    • Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session. Additional References The following sections provide references related to implementing NTP on Cisco IOS XR software. Related Documents Related Topic...
  • Page 249 Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 250 Implementing NTP Additional References Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 251 Additional References, on page 259. To locate documentation for other commands that might appear in the course of running a configuration task, search online in Cisco ASR 9000 Series Aggregation Services Router Commands Master List. Table 26: Feature History for Implementing PTP on Cisco IOS XR Software...
  • Page 252: Prerequisites For Implementing Ptp On Cisco Ios Xr Software

    Peer-delay mechanism is not supported on the Cisco ASR 9000 Series routers. Note The implementation of PTP on Cisco IOS XR software is designed to operate effectively in Telecommunication networks, which are different from the networks for which PTP was originally designed.
  • Page 253 • Unicast mode: In this mode, all PTP messages are sent as unicast messages. This is the default behavior. • Mixed mode: (Not supported for ASR 9000 series routers)In this mode, Announce and Sync messages are sent as multicast messages, while Signaling, Delay-Request, and Delay-Response messages are sent as unicast messages.
  • Page 254: Packet Types

    Configuring Frequency Synchronization, on page 191 ITU-T Telecom Profiles for PTP Cisco IOS XR software supports ITU-T Telecom Profiles for PTP as defined in the ITU-T recommendation. A profile consists of PTP configuration options applicable only to a specific application.
  • Page 255: States Of Ports

    • PTSF-lossAnnounce condition: Raised for master clocks that do not receive a reliable stream of Announce messages. • PTSF-unusable condition: Raised for master clocks that receives a reliable stream of Announce, Sync, and Delay-Resp messages, but not usable by slave clocks. Cisco IOS XR software does not use this condition. States of Ports State machine indicates the behavior of each port.
  • Page 256: How To Configure Ptp

    Sets ITU-T quality parameters. Example: RP/0/RSP0/CPU0:router(config-freqsync)# quality itu-t option 2 generation 2 Step 4 Use one of these commands: Saves configuration changes. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 257: Configuring Global Profile Settings For Ptp

    SUMMARY STEPS 1. configure 2. ptp 3. profile name 4. sync frequency rate 5. delay-request frequency rate 6. Use one of these commands: • end • commit Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 258 • Use the commit command to save the configuration changes to the running configuration file, and remain within the configuration session. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 259: Configuring A Ptp Slave Interface

    PTP is supported on Gigabit Ethernet and Bundle Ethernet interfaces. Example: RP/0/RSP0/CPU0:router(config)# interface TenGigE 0/1/0/5 Step 3 Enters PTP configuration mode for the interface. Example: RP/0/RSP0/CPU0:router(config-if)# ptp Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 260 Example: RP/0/RSP0/CPU0:router(config-if)# ipv4 address 1.7.1.1 255.255.255.0 Step 11 Configures the transceiver for the interface. transceiver permit pid all Example: RP/0/RSP0/CPU0:router(config-if)# transceiver permit pid all Step 12 commit Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 261: Configuring The Clock Interface For A Ptp Master

    6. priority number 7. wait-to-restore number 8. ssm disable 9. quality receive exact itu-t option number generation number PRS 10. Use one of these commands: • end • commit Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 262 Configures the wait-to-restore time for the clock interface. Example: RP/0/RSP0/CPU0:router(config-clk-freqsync)# wait-to-restore 0 Step 8 ssm disable Disables SSM packets for the clock interface. Example: RP/0/RSP0/CPU0:router(config-clk-freqsync)# ssm disable Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 263: Configuring A Ptp Master Interface

    Configuring a PTP Master Interface Use these steps to configure an interface that acts as a PTP master. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 264 PTP interface configuration mode RP/0/RSP0/CPU0:router(config-if-ptp)# profile override settings in this profile. tp64 Step 5 Specifies that IPv4 is the transport mode for PTP messages. transport ipv4 Example: RP/0/RSP0/CPU0:router(config-if-ptp)# transport ipv4 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 265: Configuring Gps Settings For The Grand Master Clock

    2 ipv4 address 1.7.1.2 255.255.255.0 transceiver permit pid all Configuring GPS Settings for the Grand Master Clock Use these steps to configure GPS settings for PTP. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 266 Enters configuration mode for the port parameters. Example: RP/0/RSP0/CPU0:router(config-clock-if)# port-parameters Step 4 Configures GPS input parameters. gps-input tod-format cisco pps-input rs422 Example: RP/0/RSP0/CPU0:router(config-clk-parms)# gps-input tod-format cisco pps-input rs422 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 267 Use one of these commands: Saves configuration changes. • end • When you issue the end command, the system prompts you to commit changes: • commit Uncommitted changes found, commit them Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 268: Configuring Ptp Hybrid Mode

    This task summaries the hybrid configuration. Refer to the other PTP configuration modules for more detailed information regarding the PTP configurations. Refer to the Configuring Ethernet Interfaces module in Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Configuration Guide for more information regarding SyncE configurations.
  • Page 269 Enables a PTP interface on the router and specifies an interface as the PTP master. Example: RP/0/RSP0/CPU0:router(config)# interface gigabitEthernet 0/1/0/1 RP/0/RSP0/CPU0:router(config-if)# ipv4 address 10.0.0.1/24 RP/0/RSP0/CPU0:router(config-if)# ptp RP/0/RSP0/CPU0:router(config-if-ptp)# master ipv4 10.0.0.2 RP/0/RSP0/CPU0:router(config-if-ptp)# commit Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 270: How To Configure Ptp Telecom Profile

    DETAILED STEPS Command or Action Purpose Step 1 configure Step 2 interface type interface-path-id Enters interface configuration mode for the specified interface. Example: RP/0/RSP0/CPU0:router(config)# interface gigabitethernet 0/1/0/1 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 271 Specifies the length of time in micro seconds that Sync messages are not received before a PTSF-lossSync is raised. Values can range from 100 to 10000. Example: RP/0/RSP0/CPU0:router(config-if-ptp)# sync timeout 120 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 272 • Use the commit command to save the configuration changes to the running configuration file, and remain within the configuration session. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 273: Configuring Ptp Clock Settings For The Telecom Profile

    Command or Action Purpose Step 1 configure Step 2 Enters PTP configuration mode. Example: RP/0/RSP0/CPU0:router(config)# ptp RP/0/RSP0/CPU0:router(config-ptp)# Step 3 clock Enters PTP clock configuration mode. Example: RP/0/RSP0/CPU0:router(config-ptp)# clock RP/0/RSP0/CPU0:router(config-ptp-clock)# Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 274 EXEC mode without committing the configuration changes. ◦ Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 275: Configuration Examples For Implementing Ptp

    2 ipv4 address 1.7.1.2 255.255.255.0 transceiver permit pid all Configuring GPS Settings: Example This example shows the GPS configuration for PTP. clock-interface sync 2 location 0/RSP0/CPU0 port-parameters Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 276: Ptp Hybrid Mode: Example

    Selection point: CHASSIS-TOD-SEL (2 inputs, 1 selected) Last programmed 18h30m ago, and selection made 4h30m ago Next selection points SPA scoped : None Node scoped : None Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 277: Additional References

    Available GigabitEthernet0/1/1/0 0/RSP0/CPU0 T0-SEL-B 1 Available Additional References The following sections provide references related to implementing PTP on Cisco IOS XR software. Related Documents Related Topic Document Title Cisco IOS XR PTP commands PTP Commands module of Cisco ASR 9000 Series...
  • Page 278 Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 279: Implementing Onepk

    One Platform Kit (onePK) is a cross platform API and software development kit that enables the user to develop applications that interact directly with Cisco networking devices, and provides the user with the ability to access networking services using a set of controlled APIs that share the same programming model and style.
  • Page 280: Understanding The Onepk System Architecture

    The onePK framework provides a client side application SDK to access the networking services running on Cisco devices. Enabling onePK on a Cisco platform requires that the platform be enabled to support the onePK abstraction side layer. The onePK enabled platforms make the onePK services accessible on that device when an application interacts with that device through the client side SDK.
  • Page 281: Supported Platforms And Linecards

    Figure 4: The OnePK system Supported Platforms and Linecards The onePK is supported on the following linecards on the Cisco ASR 9000 Series Router: • A9K-RSP440-SE RSP3 (for service edge) • A9K-RSP440-TR RSP3 (for transport) • A9K-2X100GE-SE= ASR 9000 2-port 100GE, Service Edge Optimized LC •...
  • Page 282: Supported Actions

    • Statistics • Policy Service Set: • Interface Policy • Interface Feature Policy • Forwarding Policy • Flow Action Policy • Routing Service Set: • Protocol Change Events Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 283: Hosting Models

    • Blade hosting enables an application to run close to the control and data planes and have dedicated resources to perform tasks. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 284: Onepk Transport

    For details about SSL, refer the Implementing SSL chapter in the Cisco ASR 9000 Series Aggregation Services Router System Security Configuration Guide.
  • Page 285: Dpss Flows

    • HelloElement—an application that connects to a network element, obtains the host name, then terminates. • HelloNetwork—an application that connects to a network, obtains the host name, then terminates. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 286 Developing OnePK applications • SyslogDemo—an application that connects to a network element and discovers further network elements using Cisco Discovery Protocol (CDP). Figure 6: Developing OnePK applications with Linux Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 287: Enabling Onepk

    Configuring onePK This procedure describes the steps involved in configuring the various onePK parameters. The onePK commands used in this configuration procedure, are discussed in detail in the Cisco ASR 9000 Series Aggregation Services Router System Management Command Reference. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 288 • cpu threshold rising • history size Example: RP/0/RSP0/CPU0:router(config-onep) # session max 10 Step 4 Exits from the current mode. exit Example: RP/0/RSP0/CPU0:router(config-onep) # exit Step 5 commit Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 289: Example: 1P Data Path Configuration

    ONEP_1 destination-port 19999 ==> LOCAL_PORT from dpss.conf encapsulation udp source-port 6633 service-endpoint-ip 192.168.2.102 ==> LOCAL_IP from dpss.conf my-sender-id 1 endpoint-sender-id 1 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 290 Implementing OnePK Example: 1P Data Path configuration Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 291: Implementing Open Flow Agent

    • Configuring a Layer 2_Layer 3 Logical Switch for the OpenFlow Agent, page 289 • Configuring a Layer 3_VRF Logical Switch for the OpenFlow Agent, page 290 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 292: Openflow

    The following prerequisites are required to use the OpenFlow agent on the platforms supporting IOS-XR: • Special build of the Release 5.1.x software that has the OpenFlow functionality is required. • The Enhanced Ethernet line card for the Cisco ASR 9000 Series Router is required for the OpenFlow agent feature.
  • Page 293: Restrictions For Openflow Agent

    Any network management is either part of the controller or accomplished through the controller. In the Cisco OpenFlow scheme, the physical switch is divided into multiple logical switches by using the CLI to configure the connection to the controller for each logical switch and enable interfaces for each logical switch.
  • Page 294: Openflow Mode For Asr9000

    About OpenFlow Openflow Mode for ASR9000 Openflow for the Cisco ASR 9000 Series router functions in the Integrated Hybrid mode. In this mode, both Openflow and normal switching and routing (for layer 3) operations such as L2 ethernet switching, L3 routing, etc are supported.
  • Page 295: Openflow Agent Packet In And Out Feature

    The following parameters must be specified on the OpenFlow Agent logical switch: • Interface associated with the OpenFlow Agent logical switch that is enabled for NetFlow. • Flow Monitor Map • Sampler Map Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 296: Ofa On Cisco Routers And Switches

    • OF protocol stack • OF switch model derived from disparate Cisco software and hardware • Version, model and feature negotiation • Local aggregation of state and statistics Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 297: Functional Components

    OpenFlow logical switch flow tables and interfaces. It will receive flow entries from the controllers and report interface and flow status and statistics to the controllers. The set nexthop action for layer 3 matches is implemented through a Cisco extension to the OpenFlow (1.0 and 1.3) protocol.
  • Page 298 ToS field) OFPXMT_OFB_IP_ECN IP ECN (2 bits in ToS field) OFPXMT_OFB_IP_PROTO IP protocol OFPXMT_OFB_IPV4_SRC IPv4 source address OFPXMT_OFB_IPV4_DST IPv4 destination address OFPXMT_OFB_TCP_SRC TCP source port Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 299 ARP source hardware address OFPXMT_OFB_ARP_THA ARP target hardware address OFPXMT_OFB_IPV6_SRC IPv6 source address OFPXMT_OFB_IPV6_DST IPv6 destination address OFPXMT_OFB_IPV6_FLABEL IPv6 Flow Label OFPXMT_OFB_ICMPV6_TYPE ICMPv6 type OFPXMT_OFB_ICMPV6_CODE ICMPv6 code Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 300: Openflow Actions

    • Group tables and Meter tables are not supported. Following table shows the list of action types supported on ASR9K for various table types. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 301 IP TTL OFPAT_DEC_NW_TTL Decrement IP OFPAT_SET_FIELD Set a header field using OXM TLV format OFPAT_PUSH_PBB Push a new PBB service tag (I-TAG) OFPAT_POP_PBB Pop the outer PBB service Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 302: Cisco Extension Actions

    The set fcid (Forward Class ID) action can be used to support PBTS (Policy Based Tunnel Selection) functionality using OpenFlow. Following table shows the list of actions added by Cisco to support some extra features on ASR9K. Cisco proprietary actions...
  • Page 303 UDP source port OFPXMT_OFB_UDP_DST destination port OFPXMT_OFB_SCTP_SRC SCTP source port OFPXMT_OFB_SCTP_DST SCTP destination port OFPXMT_OFB_ICMPV4_TYPE ICMP type OFPXMT_OFB_ICMPV4_CODE ICMP code OFPXMT_OFB_ARP_OP ARP opcode OFPXMT_OFB_ARP_SPA ARP source IPv4 address Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 304 OFPXMT_OFB_IPV6_ND_TLL Target link-layer for OFPXMT_OFB_MPLS_LABEL MPLS label OFPXMT_OFB_MPLS_TC MPLS TC OFPXMT_OFP_MPLS_BOS MPLS BoS OFPXMT_OFB_PBB_ISID PBB I-SID OFPXMT_OFB_TUNNEL_ID Logical Port Metadata OFPXMT_OFB_IPV6_EXTHDR IPv6 Extension Header pseudo-field Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 305: Configuring Onep For Openflow

    3. switch switch -id pipeline pipeline-number 4. tls trust-point local local-tp-name remote remote-tp-name 5. bridge-group SDN-id bridge-domain switch-id 6. controller ipv4 ip-address security [tls | none] 7. commit 8. commit Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 306 ( the support for high-availability is a controller functionality). Step 7 Adds the Layer 2 logical switch configuration for the OpenFlow commit agent to the running configuration. Example: RP/0/RSP0/CPU0:router(logical-switch)# commit Step 8 commit Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 307: Configuring A Layer 2_Layer 3 Logical Switch For The Openflow Agent

    Step 5 bridge-group SDN-id bridge-domain switch-id Configures a bridge-domain for the openflow switch. Example: RP/0/RSP0/CPU0:router (config-openflow) # bridge-group SDN-1 bridge-domain of2 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 308: Configuring A Layer 3_Vrf Logical Switch For The Openflow Agent

    3. switch switch -id pipeline pipeline-number 4. vrf IPv4 5. tls trust-point local local-tp-name remote remote-tp-name 6. controller ipv4 ip-address security [tls | none] 7. commit 8. commit Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 309 OpenFlow agent to the running configuration. Example: RP/0/RSP0/CPU0:router(logical-switch)# commit Step 8 commit What to Do Next Repeat these steps to configure another logical switch for the OpenFlow Agent. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 310: Configuring A Layer 3_Dual-Stack Logical Switch For The Openflow Agent

    Enters the TLS configuration mode. Configures the local and remote trustpoints. remote-tp-name Example: RP/0/RSP0/CPU0:router(config-openflow-switch)# tls trust-point local tp1 remote tp2 Step 6 bridge-group SDN-id bridge-domain switch-id Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 311: Enabling Tls

    5. end DETAILED STEPS Command or Action Purpose Step 1 configure Step 2 openflow switch logical-switch-id Enters the OpenFlow logical switch configuration mode. Example: RP/0/RSP0/CPU0:router(config)# openflow switch 100 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 312: Configuring Netflow For The Openflow Agent

    11. cache timeout {active timeout-value | inactive timeout-value | update timeout-value} 12. commit 13. exit 14. sampler-map map-name 15. random 1 out-of sampling-interval 16. commit 17. exit 18. commit Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 313 Step 9 exporter map-name Associates an exporter map with a monitor map. A single flow monitor map can support up to eight Note exporters. Example: RP/0/RSP0/CPU0:router(config-fmm)# exporter fmap Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 314 For the sampling-interval argument, specify a number from 1 to 65535. Example: RP/0/RSP0/CPU0:router(config-sm)# random 1 out-of 65535 Step 16 commit Commits the configuration changes to running to the running configuration. Example: RP/0/RSP0/CPU0:router(config-sm)# commit Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 315: Configuration Examples: Openflow

    • L3_DS switch can be attached either to a VRF or directly to layer 3 interfaces under global VRF. openflow switch l2 pipeline 132 vrf IPv4 controller ipv4 5.0.1.200 port 6653 security none Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 316: Openflow Agent With Netflow Collection And Analytics Configuration: Example

    Loopback i/f: <none> Loopback addr: <none> Interfaces: GigabitEthernet0/1/0/6 Device# show openflow switch 100 flows Fri Jan 25 14:29:24.787 UTC Logical Openflow Switch [100]: NXST_FLOW reply (xid=0x0): Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 317: Usecase For Layer2

    • Match on Flow 3 (destined to File transfer server) and redirect traffic to Path-3 The Inference: Effectively utilizing the network bandwidth by redirecting destination specific traffic using OpenFlow rules. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 318 Implementing Open Flow Agent Usecase for Layer3 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 319 This module contains the following topics: • Information About XML Manageability, page 302 • How to Configure Manageability, page 302 • Configuration Examples for Manageability, page 303 • Additional References, page 304 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 320: Information About Xml Manageability

    Management Data API (MDA), which provides a mechanism for Cisco IOS XR components to publish their data models through MDA schema definition files. Cisco IOS XR software provides the ability to access the router via XML using a dedicated TCP connection, Secure Socket Layer (SSL), or a specific VPN routing and forwarding (VRF) instance.
  • Page 321: Configuration Examples For Manageability

    RP/0/RSP0/CPU0:router:router(config)# xml agent ssl RP/0/RSP0/CPU0:router:router(config-xml-agent)# vrf VRF1 RP/0/RSP0/CPU0:router:router(config-xml-agent)# vrf VRF2 The following example removes access for VRF2 from the dedicated XML agent: RP/0/RSP0/CPU0:router:router(config)# xml agent ssl RP/0/RSP0/CPU0:router:router(config-xml-agent)# no vrf VRF2 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 322: Additional References

    Configuring Manageability Additional References Additional References The following sections provide references related to configuring manageability on Cisco IOS XR software. Related Documents Related Topic Document Title Cisco IOS XR commands Cisco ASR 9000 Series Aggregation Services Router Commands Master List...
  • Page 323 Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds. Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 324 Configuring Manageability Additional References Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 325 Manually sending command output message for a Command List , page 324 • Configuring a HTTP Proxy Server , page 325 • Configuring Snapshot alert group, page 326 • Configuring Anonymous Reporting , page 327 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 326: About Call Home

    XML-based automated parsing applications. You can use this feature to page a network support engineer, email a Network Operations Center, or use Cisco Smart Call Home services to generate a case with the Technical Assistance Center. The Call Home feature can deliver alert messages containing information about diagnostics and environmental faults and events.
  • Page 327: Call Home Alert Groups

    This alert group can be configured By default, this alert group has no for periodic notifications commands to be run. You can add the required commands that need to be run. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 328: Call Home Message Levels

    Major Critical (2) Major conditions. Minor Error (3) Minor conditions. Warning Warning (4) Warning conditions. Notification Notice (5) Basic notification and informational messages. Possibly independently insignificant. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 329: Obtaining Smart Call Home

    Debugging messages. Obtaining Smart Call Home If you have a service contract directly with Cisco Systems, you can register your devices for the Smart Call Home service. Smart Call Home provides fast resolution of system problems by analyzing Call Home messages sent from your devices and providing background information and recommendations.
  • Page 330: Configuring Call Home

    Configuring Call Home Configuring Call Home When Call Home is configured for anonymous reporting, only , inventory, and test messages are sent to Cisco. No identifying information is sent. When you enable Anonymous Reporting, you acknowledge your consent to transfer the specified data to Note Cisco or to vendors operating on behalf of Cisco (including countries outside the United States).
  • Page 331 Configures the site ID for the system. Enter up to 200 characters. If you include spaces, you must enclose the entry Example: in quotes (""). RP/0/RSP0/CPU0:router(config-call-home)# site-id SJ-RouterRoom1 Step 9 commit Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 332: Configuring And Activating Destination Profiles

    Enters call home configuration mode. Example: RP/0/RSP0/CPU0:router(config)# call-home RP/0/RSP0/CPU0:router(config-call-home)# Step 3 profile profile-name Enters call home profile configuration mode to configure a new or existing profile. Example: RP/0/RSP0/CPU0:router(config-call-home)# profile my_profile RP/0/RSP0/CPU0:router(config-call-home-profile)# Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 333: Associating An Alert Group With A Destination Profile

    RP/0/RSP0/CPU0:router# show call-home profile all Associating an Alert Group with a Destination Profile An alert is sent only to destination profiles that have subscribed to the Call Home alert group. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 334 • critical—Includes events requiring immediate attention environment severity major (system log level 1). • disaster—Includes events with significant network impact. • fatal—Includes events where the system is unusable (system log level 0). Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 335 (system log level 6). This is the default. • notification—Includes events informational message events (system log level 5). • warning—Includes events classified as warning conditions (system log level 4). Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 336: Configuring Email

    2. call-home 3. (Optional) sender from email-address 4. (Optional) sender reply-to email-address 5. mail-server address priority priority 6. rate-limit events-count 7. commit 8. show call-home mail-server status Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 337 Example: RP/0/RSP0/CPU0:router(config-call-home)# rate-limit 4 Step 7 commit Step 8 show call-home mail-server status Displays the status of the specified mail server. Example: RP/0/RSP0/CPU0:router# show call-home mail-server status Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 338: Enabling Call Home

    Configuring Smart Call Home (single command) SUMMARY STEPS 1. configure 2. call-home reporting { anonymous | contact-email email-address } [ http-proxy { address } port port-number ] Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 339: Configuring Call Home Data Privacy

    • hostname - scrubbing the hostname from call-home messages may cause Smart Call Home processing failure. Enabling the data-privacy command can affect CPU utilization Note when scrubbing a large amount of data. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 340: Configuring Syslog Throttling

    This task is used to enable AAA authorization for Call Home messages. SUMMARY STEPS 1. configure 2. call-home 3. aaa-authorization [ username username] DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 341: Sending Call Home Alert Group Messages Manually

    Sends a snapshot alert group message to one destination profile if specified or to all subscribed destination profiles. Example: RP/0/RSP0/CPU0:router # call-home send alert-group snapshot profile p1 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 342: Manually Sending Command Output Message For A Command List

    1. call-home send { cli command | cli list } [ email email msg-format { long-text | xml } | http { destination-email-address email } ] [ tac-request SR# ] Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 343: Configuring A Http Proxy Server

    This task enables the user to configure a HTTP Proxy Server. SUMMARY STEPS 1. configure 2. call-home 3. http-proxy proxy-server-name port port-number DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 344: Configuring Snapshot Alert Group

    Example: RP/0/RSP0/CPU0:router (config-call-home) # alert-group-configuration snapshot Step 4 add-command "command string" Adds the command to the snapshot alert group. Example: RP/0/RSP0/CPU0:router (config-call-home-snapshot) # add-command "show ver" Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 345: Configuring Anonymous Reporting

    Example: RP/0/RSP0/CPU0:router (config-call-home-profile) # anonymous-reporting-only What to Do Next • Configuring Call Home to use VRF SUMMARY STEPS 1. configure 2. call-home 3. vrf vrf-name Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 346: Configuring Source Interface

    RP/0/RSP0/CPU0:router (config) # call-home Step 3 source-interface type interface-path-id Configures the source interface. Source-interface supports email and HTTP Note messages. Example: RP/0/RSP0/CPU0:router (config) # source-interface tengige 10.1.1.1 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 347: Prerequisites For Implementing Object Tracking

    C H A P T E R Implementing Object Tracking This module describes the configuration of object tracking on your Cisco IOS XR network. For complete descriptions of the commands listed in this module, see Related Documents, on page 340. To locate documentation for other commands that might appear in the course of performing a configuration task, search online in Cisco ASR 9000 Series Aggregation Services Router Commands Master List.
  • Page 348: Information About Object Tracking

    3. type line-protocol state 4. interface type interface-path-id 5. exit 6. (Optional) delay {up seconds|down seconds} 7. Use one of the following commands: • end • commit Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 349 [cancel]: RP/0/RSP0/CPU0:router(config-track)# end ◦ Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode. RP/0/RSP0/CPU0:router(config-track)# commit Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 350: Tracking Ip Route Reachability

    5. exit 6. (Optional) delay {up seconds|down seconds} 7. commit DETAILED STEPS Command or Action Purpose Step 1 configure Step 2 track track-name Enters track configuration mode. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 351: Building A Track Based On A List Of Objects

    AND or OR operators. For example, when tracking two interfaces, using the AND operator, up means that both interfaces are up, and down means that either interface is down. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 352 • or—Specifies that the list is up if at least one object is up. For example, when tracking two interfaces, up means that either interface is up, and down means that both interfaces are down. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 353: Building A Track Based On A List Of Objects - Threshold Percentage

    Perform this task in the global configuration mode to create a tracked list of objects (which, in this case, are lists of interfaces or prefixes) using a threshold percentage to determine the state of the list. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 354 UP state and object 4 is in the DOWN state, the list is threshold percentage up 50 down 33 considered to be in the UP state. Step 6 Use one of the following commands: Saves configuration changes. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 355: Building A Track Based On A List Of Objects - Threshold Weight

    3. type list threshold weight 4. object object-name weight weight 5. threshold weight up weight down weight 6. Use one of the following commands: • end • commit Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 356 EXEC mode without committing the configuration changes. ◦ Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 357: Tracking Ipsla Reachability

    Step 4 commit Configuring IPSLA Tracking: Example This example shows the configuration of IPSLA tracking: RP/0/RSP0/CPU0:router(config)# track track1 RP/0/RSP0/CPU0:router(config-track)# type rtr 1 reachability RP/0/RSP0/CPU0:router(config-track)# delay up 5 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 358: Configuration Examples For Configuring Object Tracking

    IP SLA commands IP Service Level Agreement Commands on the Cisco ASR 9000 Series Router module in Cisco ASR 9000 Series Aggregation Services Router System Monitoring Command Reference Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 359 Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 360 Implementing Object Tracking Additional References Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 361: Implementing Physical And Virtual Terminals

    This module describes the new and revised tasks you need to implement physical and virtual terminals on your Cisco IOS XR network. For more information about physical and virtual terminals on the Cisco IOS XR software and complete descriptions of the terminal services commands listed in this module, see Related Documents, on page 352.
  • Page 362: Prerequisites For Implementing Physical And Virtual Terminals

    • absolute-timeout—Specifies a timeout value for line disconnection. • escape-character—Changes the line escape character. • exec-timeout—Specifies the EXEC timeout. • length—Sets the number of lines displayed on the screen. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 363: Line Template Guidelines

    Each virtual line is a member of a pool of connections using a common line template configuration. Multiple vty pools may exist, each containing a defined number of vtys as configured in the vty pool. The Cisco IOS XR software supports the following vty pools by default: •...
  • Page 364: How To Implement Physical And Virtual Terminals On Cisco Ios Xr Software

    • commit DETAILED STEPS Command or Action Purpose Step 1 configure Step 2 line {console | default} Enters line template configuration mode for the specified line template. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 365: Creating And Modifying Vty Pools

    This task explains how to create and modify vty pools. You can omit Step 3, on page 348 Step 5, on page 348 if you are configuring the default line template to reference a vty pool. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 366 ◦ You can resize the default vty pool by increasing the range of vtys that compose the default vty pool. RP/0/RSP0/CPU0:router(config)# vty-pool pool1 5 50 line-template template1 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 367: Monitoring Terminals And Terminal Sessions

    DETAILED STEPS Command or Action Purpose Step 1 show line [aux location node-id | console (Optional) location node-id | vty number] Displays the terminal parameters of terminal lines. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 368: Craft Panel Interface

    Modifying the Console Template: Example This configuration example shows how to modify the terminal attribute settings for the console line template: line console exec-timeout 0 0 escape-character 0x5a Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 369 • The length, the number of lines that will display at one time on the terminal referencing the default template, is set to 512 lines (the default length for the default line template is 24 lines). Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 370: Additional References

    Cisco ASR 9000 Series Aggregation Services Router System Management Command Reference Cisco IOS XR command master index Cisco ASR 9000 Series Aggregation Services Router Commands Master List Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 371 Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 372 Implementing Physical and Virtual Terminals Additional References Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 373: Implementing Snmp

    SNMP managers and agents. SNMP provides a standardized framework and a common language used for the monitoring and management of devices in a network. This module describes the new and revised tasks you need to implement SNMP on your Cisco IOS XR network.
  • Page 374: Prerequisites For Implementing Snmp

    The agent and MIB reside on the router. To enable the SNMP agent, you must define the relationship between the manager and the agent. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 375: Snmp Notifications

    Note Inform requests (inform operations) are supported in Cisco IOS XR software from release 4.1 onwards. For more info http://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k_r5-3/sysman/command/reference/b-sysman-cr53x Traps are less reliable than informs because the receiver does not send any acknowledgment when it receives a trap.
  • Page 376: Snmp Versions

    The SNMPv2c improved error handling support includes expanded error codes that distinguish different kinds of error conditions; these conditions are reported Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 377: Comparison Of Snmpv1, V2C, And V3

    You must configure the SNMP agent to use the version of SNMP supported by the management station. An agent can communicate with multiple managers; for this reason, you can configure the Cisco IOS-XR software to support communications with one management station using the SNMPv1 protocol, one using the SNMPv2c protocol, and another using SMNPv3.
  • Page 378: Security Models And Levels For Snmpv1, V2, V3

    Username Uses a username match for authentication. authNoPriv HMAC-MD5 or Provides HMAC-SHA authentication based on the HMAC -MD5 algorithm or the HMAC-SHA Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 379: Snmpv3 Benefits

    • Masquerade—The threat that an SNMP user may assume the identity of another SNMP user to perform management operations for which that SNMP user does not have authorization. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 380: Snmpv3 Costs

    SNMPv3 authorizes management operations only by configured users and encrypts SNMP messages. USM uses two authentication protocols: • HMAC-MD5-96 authentication protocol • HMAC-SHA-96 authentication protocol Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 381: View-Based Access Control Model

    (PPPoE) data. It is required to support notifications (traps) for aggregate session counts crossing configured thresholds. Generic MIB Data Collector Manager (DCM) support for CISCO-SUBSCRIBER-SESSION-MIB, helps faster data collection and also better handling of parallel data. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 382: Snmp Notifications

    Notifications can indicate improper user authentication, restarts, the closing of a connection, loss of connection to a neighbor router, or other significant events. Inform requests (inform operations) are supported in Cisco IOS XR software from release 4.1 onwards. For more inform Note http://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k_r5-3/sysman/command/reference/b-sysman-cr53xasr...
  • Page 383: Session Types

    The snmp-server commands enable SNMP on Management Ethernet interfaces by default. For information on how to enable SNMP server support on other inband interfaces, see the Implementing Management Plane Protection on Cisco IOS XR Software module in Cisco ASR 9000 Series Aggregation Services Router System Security Configuration Guide.
  • Page 384: Configuring Snmp Trap Notifications

    Step 5 commit Configuring SNMP Trap Notifications This task explains how to configure the router to send SNMP trap notifications. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 385 In the case of multiple SNMP RP/0/RSP0/CPU0:router(config)# snmp-server user managers, multiple unique usernames are required. noauthuser group_name v3 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 386: Setting The Contact, Location, And Serial Number Of The Snmp Agent

    The sequence in which you issue the snmp-server commands for this task does not matter. Note SUMMARY STEPS 1. configure 2. (Optional) snmp-server contact system-contact-string 3. (Optional) snmp-server location system-location 4. (Optional) snmp-server chassis-id serial-number 5. commit Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 387: Defining The Maximum Snmp Agent Packet Size

    The sequence in which you issue the snmp-server commands for this task does not matter. Note SUMMARY STEPS 1. configure 2. (Optional) snmp-server packetsize byte-count 3. commit DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 388: Changing Notification Operation Values

    Command or Action Purpose Step 1 configure Step 2 snmp-server trap-source type interface-path-id (Optional) Specifies a source interface for trap notifications. Example: RP/0/RSP0/CPU0:router(config)# snmp-server trap-source POS 0/0/1/0 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 389: Setting Ip Precedence And Dscp Values

    Use one of the following commands: Configures an IP precedence or IP DSCP value for SNMP traffic. • snmp-server ipv4 precedence value • snmp-server ipv4 dscp value Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 390: Configuring Mib Data To Be Persistent

    5. snmp-server ifindex persist DETAILED STEPS Command or Action Purpose Step 1 snmp-server entityindex persist (Optional) Enables the persistent storage of ENTITY-MIB data. Example: RP/0/RSP0/CPU0:router(config)# snmp-server entityindex persist Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 391: Configuring Linkup And Linkdown Traps For A Subset Of Interfaces

    3. notification linkupdown disable 4. commit 5. (Optional) show snmp interface notification subset subset-number 6. (Optional) show snmp interface notification regular-expression expression 7. (Optional) show snmp interface notification type interface-path-id Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 392 Step 7 show snmp interface notification type (Optional) interface-path-id Displays the linkUp and linkDown notification status for the specified interface. Example: RP/0/RSP0/CPU0:router# show snmp interface notification tengige 0/4/0/3.10 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 393: Configuration Examples For Implementing Snmp

    This example shows how to create a view that includes all the OIDs under the system group except the sysName object (1.3.6.1.2.1.1.5), which has been excluded: config snmp-server view SNMP_VIEW1 1.3.6.1.2.1.1 included Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 394 SNMP_VIEW1 1.3.6.1.2.1.1.5 - excluded nonVolatile active Creating Groups If you do not explicitly specify a notify, read, or write view, the Cisco IOS XR software uses the v1 default (1.3.6.1). This example shows how to create a group that utilizes the default view:...
  • Page 395 This example shows how to create a user with authentication (including encryption), read, and write view access to a system group: config snmp-server user userv3authpriv SNMP_GROUP1 v3 auth md5 password123 priv aes 128 password123 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 396 This example shows how to verify the attributes that apply to the SNMP user: RP/0/RSP0/CPU0:router# show snmp user User name: privuser Engine ID: localSnmpID storage-type: nonvolatile active Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 397: Configuring Trap Notifications: Example

    Notification host: 10.50.32.170 udp-port: 2345 type: trap user: userV3priv security model: v3 priv Notification host: 10.50.32.170 udp-port: 2345 type: trap user: userv2c security model: v2c Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 398: Setting An Ip Precedence Value For Snmp Traffic: Example

    45 exit Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]: y Additional References The following sections provide references related to Implementing SNMP on Cisco IOS XR software. Related Documents Related Topic Document Title Cisco IOS XR SNMP commands...
  • Page 399 Network Management Protocol (SNMP) RFC 3417 Transport Mappings for the Simple Network Management Protocol (SNMP) RFC 3418 Management Information Base (MIB) for the Simple Network Management Protocol (SNMP) Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 400 Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 401: Prerequisites For Periodic Mib Data Collection And Transfer

    Protocol (SNMP) model of management information. You should also know what MIB information you want to monitor on your network devices, and the OIDs or object names for the MIB objects to be monitored. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 402: Information About Periodic Mib Data Collection And Transfer

    MIB and do not need to belong to the same MIB table. For example, it is possible to group ifInOctets and a CISCO-IF-EXTENSION-MIB object in the same schema, because the containing tables for both objects are indexed by the ifIndex.
  • Page 403: Benefits Of Periodic Mib Data Collection And Transfer

    : pkg/bin/foo : (PID=12345) : -Traceback= 4bd43404 4bac7e04 4000c100 If you witness a traceback, please report the incident to Cisco TAC as soon as possible. Include the log Note message exactly as printed in the console. How to Configure Periodic MIB Data Collection and Transfer...
  • Page 404: Configuring A Bulk Statistics Schema

    The second step in configuring periodic MIB data collection and transfer is to configure one or more schemas. Before You Begin The bulk statistics object list to be used in the schema must be defined. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 405 “wild carded” instance. • instance repetition oid max repeat-number • The instance range command indicates a range of instances on which to collect data. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 406: Configuring Bulk Statistics Transfer Options

    This file can be transferred to a remote network management station at intervals you specify. Before You Begin The bulk statistics object lists and bulk statistics schemas must be defined before configuring the bulk statistics transfer options. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 407 Transfers can only be performed using schemaASCII Note Example: (cdcSchemaASCII) format. SchemaASCII is a human-readable RP/0/RSP0/CPU0:router(config-bulk-tr)# format that contains parser-friendly hints for parsing data format schemaASCII values. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 408 The default value is 0. Zero Example: (0) indicates that the file is deleted immediately after the transfer is RP/0/RSP0/CPU0:router(config-bulk-tr)# retain 60 attempted. The valid range is from 0 to 20000. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 409: Monitoring Periodic Mib Data Collection And Transfer

    5 minutes. Therefore, if you configure the retry command, you should also configure an appropriate value for the retain command. Monitoring Periodic MIB Data Collection and Transfer SUMMARY STEPS 1. show snmp mib bulkstat transfer transfer-name Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 410: Periodic Mib Data Collection And Transfer: Example

    8695772 poll-interval 1 snmp-server mib bulkstat schema cempRepeat object-list cempo instance repetition 8695772.1 max 4294967295 poll-interval 1 snmp-server mib bulkstat transfer-id cempt1 enable Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 411 1339491515, 36631989.1, processor, 2 cempt1.cempRepeat: 1339491515, 36631989.2, reserved, 11 cempt1.cempRepeat: 1339491515, 36631989.3, image, 12 cempt1.cempRepeat: 1339491515, 52690955.1, processor, 2 cempt1.cempRepeat: 1339491515, 52690955.2, reserved, 11 cempt1.cempRepeat: 1339491515, 52690955.3, image, 12 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 412 Configuring Periodic MIB Data Collection and Transfer Periodic MIB Data Collection and Transfer: Example Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 413: Implementing Cdp

    Using CDP, you can view information about all the Cisco devices that are directly attached to the device. This module describes the new and revised tasks you need to implement CDP on your Cisco IOS XR network. For more information about CDP on the Cisco IOS XR software and complete descriptions of the CDP...
  • Page 414: Information About Implementing Cdp

    CDP is primarily used to obtain protocol addresses of neighboring devices and discover the platform of those devices. CDP can also be used to display information about the interfaces your router uses. CDP is media- and protocol-independent, and runs on all equipment manufactured by Cisco, including routers, bridges, access servers, and switches.
  • Page 415: How To Implement Cdp On Cisco Ios Xr Software

    Command or Action Purpose Step 1 configure Step 2 Enables CDP globally. Example: RP/0/RSP0/CPU0:router(config)# cdp Step 3 interface type interface-path-id Enters interface configuration mode. Example: RP/0/RSP0/CPU0:router(config)# interface pos 0/0/0/1 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 416: Modifying Cdp Default Settings

    CDPv1 packets if the device with which CDP is RP/0/RSP0/CPU0:router(config)# cdp advertise v1 interacting does not process CDPv2 packets. • In this example, the router is configured to send and receive only CDPv1 packets. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 417: Monitoring Cdp

    1. show cdp entry {* | entry-name} [protocol | version] 2. show cdp interface [type interface-path-id | location node-id] 3. show cdp neighbors [type interface-path-id | location node-id] [detail] 4. show cdp traffic [location node-id] Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 418: Examples

    CDP neighbor. The output includes information on both IPv4 and IPv6 addresses. RP/0/RSP0/CPU0:router# show cdp neighbors POS 0/4/0/0 detail ------------------------- Device ID: uut-user SysName : uut-user Entry address(es): IPv4 address: 1.1.1.1 IPv6 address: 1::1 IPv6 address: 2::2 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 419 Packets output: 16, Input: 13 Hdr syntax: 0, Chksum error: 0, Encaps failed: 0 No memory: 0, Invalid packet: 0, Truncated: 0 CDP version 1 advertisements output: 0, Input: 0 Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 420: Configuration Examples For Implementing Cdp

    Sending CDP packets every 20 seconds Sending a holdtime value of 30 seconds Sending CDPv2 advertisements is not enabled Additional References The following sections provide references related to implementing CDP on Cisco IOS XR software. Related Documents Related Topic Document Title...
  • Page 421 Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...
  • Page 422 Implementing CDP Additional References Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x...

Table of Contents

Save PDF