C H A P T E R 3 Configuring Additional Router Features This chapter contains instructions and information for entering basic configurations using the command-line interface (CLI).
Chapter 3 Configuring Additional Router Features Configuring Telnet, HTTP, and XML Host Services To configure the DNS and DNS server, complete the following steps: SUMMARY STEPS 1. configure 2. domain name domain-name-of-organization 3. domain name-server ipv4-address 4. commit 5. end 6. show hosts Examples In the following example, the domain name and DNS are configured: RP/0/RP0/CPU0:router# configure RP/0/RP0/CPU0:router(config)# domain name cisco.
Chapter 3 Configuring Additional Router Features Managing Configuration History and Rollback Prerequisites The following prerequisites must be met before configuring the Telnet, HTTP, and XML host services: • For the XML and HTTP host services, the Manageability package must be installed and activated on the router. • To enable the Secure Socket Layer (SSL) of the HTTP and XML services, the Security package must be installed and activated on the router.
Chapter 3 Configuring Additional Router Features Managing Configuration History and Rollback When multiple commitIDs are present, you can use a commitID to identify a previous configuration to which you want to return, or you can use the commitID to load the configuration changes made during that configuration session. You can also load configuration changes from multiple commitIDs, and you can clear commitIDs.
Chapter 3 Configuring Additional Router Features Managing Configuration History and Rollback The commitIDs are shown in the “Label/ID” column. The following example shows the show configuration commit list command display: RP/0/RP0/CPU0:router# show configuration commit list SNo.
Chapter 3 Configuring Additional Router Features Managing Configuration History and Rollback RP/0/RP0/CPU0:router# show configuration commit history SNo.
Chapter 3 Configuring Additional Router Features Managing Configuration History and Rollback To display the prospective rollback configuration changes from the current configuration to a specific session, enter the show configuration rollback changes to commitId command: RP/0/RP0/CPU0:router# show configuration rollback changes to 1000000373 Building configuration... interface Loopback2 no description no ipv4 address 10.0.0.1 255.0.0.
Chapter 3 Configuring Additional Router Features Managing Configuration History and Rollback Tip To preview the commands that undo the configuration during a rollback, use the show configuration rollback changes command. To roll back to the last x commits made, enter the rollback configuration last x command; x is a number ranging from 1 to the number of saved commits in the commit database.
Chapter 3 Configuring Additional Router Features Saving and Loading Target Configuration Files To load rollback configuration changes from the current configuration to a specific session, enter the load rollback changes to commitId command: RP/0/0/CPU0:router(config)# load rollback changes to 1000000068 Building configuration... Loading.
Chapter 3 Configuring Additional Router Features Saving and Loading Target Configuration Files Saving the Target Configuration to a File To save the configuration changes in the target configuration to a file, enter the show configuration | file filename command. Tip • If the full path of the file is not specified, the default directory for your account is used. You should always save your target configuration files to this location. • The filename should end with the .
Chapter 3 Configuring Additional Router Features Configuring Logging and Logging Correlation Configuring Logging and Logging Correlation System messages generated by the Cisco IOS XR software can be logged to a variety of locations based on the severity level of the messages. For example, you could direct information messages to the system console and also log debugging messages to a network server.
Chapter 3 Configuring Additional Router Features Configuring Logging and Logging Correlation For example, the original message describing a card online insertion and removal (OIR) and system state being up or down can be reported, and all subsequent messages reiterating the same event can be correlated. When you create correlation rules, a common root event that is generating larger volumes of follow-on error messages can be isolated and sent to the correlation buffer.
Chapter 3 Configuring Additional Router Features Configuring Logging and Logging Correlation Step 4 Command or Action Purpose logging console [severity] Logs messages on the console. • When a severity level is specified, only messages at that severity level are logged on the console. • See Table 3-2 for a summary of the logging severity levels.
Chapter 3 Configuring Additional Router Features Creating and Modifying User Accounts and User Groups RP/0/RP0/CPU0:Apr 6 21:30:59.515 : alphadisplay[103][317]: alpha_display_drain_ queue: Draining 1 message from the queue of size = 1 RP/0/RP0/CPU0:Apr 6 21:31:03.
Chapter 3 Configuring Additional Router Features Creating and Modifying User Accounts and User Groups Displaying Details About User Accounts, User Groups, and Task IDs Table 3-3 summarizes the EXEC mode commands used to display details about user accounts, user groups, and task IDs. Table 3-3 Commands to Display Details About Users and User Groups Command Description show aaa userdb username Displays the task IDs and privileges assigned to a specific username.
Chapter 3 Configuring Additional Router Features Creating and Modifying User Accounts and User Groups Creating Users and Assigning Groups To create a user, assign a password, and assign the user to a group, perform the following procedure: SUMMARY STEPS 1. configure 2. username user-name 3. password {0 | 7} password or secret {0 | 5} password 4. group group-name 5. Repeat Step 4 for each user group to be associated with the user specified in Step 2. 6.
Chapter 3 Configuring Additional Router Features Configuration Limiting Step 4 Command or Action Purpose group group-name Assigns the user named in Step 2 to a user group. • The user takes on all attributes of the user group, as defined by the user group association to various task groups. • Each user must be assigned to at least one user group. A user may belong to multiple user groups.
Chapter 3 Configuring Additional Router Features Configuration Limiting The following sections describe the limits you can configure, default and maximum values, and commands for configuring and displaying the configuration limits: • Static Route Configuration Limits, page 3-18 • IS-IS Configuration Limits, page 3-19 • OSPFv2 and v3 Configuration Limits, page 3-19 • BGP Configuration Limits, page 3-22 • Routing Policy Language Line and Policy Limits, page 3-24 • Multicast Configuration Limits,
Chapter 3 Configuring Additional Router Features Configuration Limiting IS-IS Configuration Limits Table 3-5 summarizes the maximum limits for IS-IS, including the commands used to display and change the limits.
Chapter 3 Configuring Additional Router Features Configuration Limiting Table 3-6 OSPFv2 and OSPFv3 Configuration Limits and Commands Default Maximum Limit Absolute Maximum Limit Configuration Command (Router Configuration Mode) Show Current Settings Command (EXEC Mode) Maximum number of interfaces that can be configured for an OSPF instance 255 1024 maximum interfaces n show ospf Maximum routes redistributed into OSPF 10,000 28,672 maximum redistributed-prefix n show ospf Maximum number o
Chapter 3 Configuring Additional Router Features Configuration Limiting Maximum Interfaces for Each OSPF Instance In the following example, the show ospf command is used to display the maximum number of OSPF interfaces: RP/0/RP1/CPU0:router# show ospf Routing Process "ospf 100" with ID 0.0.0.
Chapter 3 Configuring Additional Router Features Configuration Limiting Maximum Routes Redistributed into OSPF In the following example, the maximum redistributed-prefixes command is used to set the maximum routes redistributed into OSPF: RP/0/RP1/CPU0:router# configure RP/0/RP1/CPU0:router(config)# router ospf 100 RP/0/RP1/CPU0:router(config-router)# maximum redistributed-prefixes 12000 RP/0/RP1/CPU0:router(config-router)# end Uncommitted changes found, commit them? [yes]: y RP/0/RP1/CPU0:Mar 30 16:26:5
Chapter 3 Configuring Additional Router Features Configuration Limiting Table 3-7 BGP Configuration Limits and Commands (continued) Default Maximum Limit Absolute Maximum Limit IPv4 multicast maximum prefixes that can be received from a neighbor 131,072 4,294,967, maximum-prefix n 295 show bgp neighbor IP_address IPv61 unicast maximum prefixes that can be received from a neighbor 131,072 4,294,967, maximum-prefix n 295 show bgp neighbor IP_address Maximum equal-cost parallel routes to external
Chapter 3 Configuring Additional Router Features Configuration Limiting A cease-notification message is sent to the neighbor and the peering with the neighbor is terminated when the number of prefixes received from the peer for a given address family exceeds the maximum limit (either set by default or configured by the user) for that address family.
Chapter 3 Configuring Additional Router Features Configuration Limiting Examples In the following example, the show rpl maximum command is used in EXEC mode to display the current setting for RPL limits and number of each limit currently in use. A summary of the memory used by all of the defined policies is also shown below the limit settings.
Chapter 3 Configuring Additional Router Features Configuration Limiting Multicast Configuration Limits Table 3-9 summarizes the maximum limits for multicast configuration, including the commands used to display and change the limits.
Chapter 3 Configuring Additional Router Features Configuration Limiting MPLS Configuration Limits Table 3-10 summarizes the maximum limits for MPLS configuration, including the commands used to display and change the limits.
Chapter 3 Configuration Limiting Cisco IOS XR Getting Started Guide 3-28 Configuring Additional Router Features