CLI
Command
Prompt: RP/0/RSP0/CPU0:ROUTER1#
RP: Type of interface card: RP is Route Processor
0: Rack number in a multi-shelf system, 0 for single rack chassis
RSP0: Route Switch Processor, either RSP0 or RSP1
CPU0: Module
Router:
Prompt: RP/0/RSP0/CPU0:ROUTER1# admin: change to System Admin Execution Mode
sysadmin-vm:0_RP0#
show user group: view groups current user is member of
show user task: view task permissions
describe show bgp summary: view group and permission required for a specific
show redundancy
show platform
Cisco IOS XR uses a two-stage configuration model. In the first stage, configurations are built using commands in the CLI, and in the second stage, the configurations are committed to the router.
show configuration changes: displays configuration changes to be made which is teh diffirence between target and running configuration
show configuration commit changes: Displays the changes that are made to the running configuration by previous configuration commits.
show configuration rollback changes: Displays the list of commands that will be executed as part of the rollback procedure
abort: Discards all uncommitted changes and exits configuration mode
clear: Discards all uncommitted changes without exiting configuration mode.
show configuration failed: view configuraiton that failed commit
show configuration commit list: review the history of configuration changes by listing past commits
rollback configuration { last number-of-commits | to commit-id}
configuration commit auto-save filename sftp://user1@server1://test-folder/test_123.txt: saves the configuration to the specified location after every commit is made.
Users and Groups
In Cisco IOS XR, the following user groups are typically predefined:
Root-system: Root system users
Root-lr: Root logical router users
Netadmin: Network administrators
Sysadmin: System administrators
Operator: Operators performing day-to-day activities
Cisco-support: Highest level of privilege allowing lowest level access
Management Port
Physical port Ethernet 0 and Ethernet 1 on Route Processors (RPs) are the management ports.
On multichassis systems, each RP has its own Management port, and they need to be configured independently for each rack, slot, or port. If there are two RPs, it is convenient to have one management IP for both, so you can create a virtual address for a vrf.
Last updated