JUNOS-to-Cisco IOS/XR Command Reference

Posted: segunda-feira, 23 de fevereiro de 2015 by Wairisson Gomes in
0

Retirado de:http://itlifeway.blogspot.com.br/2013/05/junos-to-cisco-iosxr-command-reference.html


Here are some very useful command references when moving between JUNOS and Cisco IOS/XR:

System Administration & General Commands

Juniper CommandDescriptionCisco CommandDescription
user@host%Unix Shell - enter cli for Operational Mode.

user@host>Operational moderouter>user exec mode

Configuration modeconfig tTo enter configuration mode. (from priveledge mode)
exitTo log outexitTo log out
show versionTo show JUNOS versionsh versionTo show IOS Version
show system processes extensiveView CPU utilization per processsh process cpuView CPU utilization per process
show system storageView free disk space in the router's file systemdirView free disk space in the router's file system
show system uptimeTo verify how long router has been upsh versionTo verify how long router has been up
show chassis forwardingView how long router components have been up.sh version, sh diagView how long router components have been up.
show chassis environmentView power supply, fan, and operating temperaturesh environmentView power supply, fan, and operating temperature
show chassis hardwareView router hardware and versionssh version, sh diagView router hardware and versions
show chassis routing-engineTo view memory usagesh memory sumView memory usage
request system rebootTo reboot router.reloadTo reboot router
show ntp associationsShow NTP associationssh ntp associationsShow NTP associations
show ntp statusShow NTP Statussh ntp statusShow NTP Status
show system alarmsView all active alarms on a router

show system usersView users logged in to a routersh usersView users logged in to a router
show system connetionsView protocols running on routersh protocolsView routing protocols running on router
request system logout usernameLog a user out of a routerclear line Log a user out of a router
| no-moreTo extend data to end of page for a single command.term length 0To extend data to end of page

Configuration

Juniper CommandDescriptionCisco CommandDescription
configure -or- editEnter configuraiton modeconfig tEnter global configuration mode
setSet a value in the configuration.Set a value in the configuration.
deleteRemove a value from the configuration.no Remove a value from the configuration.
up -or- exitMove you back up the config hierchy tree one levelexitMove you back up the config hierchy tree one level
topMove you to the top of the config hierchy.

editMoves you down the hierchy tree. Ex. edit protocols

disableShutdown an interface 'set interfaces so-0/0/0 disable'shutdownAdministratively shutdown an interface.
activateAllows the router to recognize a deactivated interface.

deactivateAdds an 'inactive' tag to the interface config.

load override teminalOpens a paste buffer in the CLI. Close the paste buffer with the Ctrl+D keystroke.Copy and paste configurationCopy a text configuration into the router.
commitIssue before the router can use any new config.

rollbackTo easily restore an old configuration.

exit -or- exit-configuration-modeExit configuration modeCntrl + Z -or - endTo exit configuration mode
run Use any operational command from configuration mode.do Enter show commands from configuration mode.

Troubleshooting

General

Juniper CommandDescriptionCisco CommandDescription
show configurationView current configuration.sh running-configurationView current configuration.
show configuration | display setView the set commands for the configuration

show class-of-service interfaceSee most of the CoS configuration for an interfaceshow policy-map interfaceView service-policy applied to interface.
show log messagesTo view router event log entriessh logView router event log entries
show interfacesTo show ip interface status and configsh ip interfacesShow ip interface status and config
show interfaces terseDisplays a summary of all interfaces.sh ip int briefDisplays a summary of all interfaces.
show interfaces queueDisplays detailed information on interface queuesshow policy-map interfaceView service-policy applied to interface.
show routeShow all IP routes the router has learned about.

show route summarySummary of all routing informationsh ip route summarySummary of all routing information
show route forwarding-tableView the current IP forwarding table.show ip routeView the current IP forwarding table.
show route 10.0.0.0/8 detailView detailed route information.

clear interfaces statistics allClear all statisticsclear countersReset all stats.
clear interfaces statistics se-0/0/0Clear statistics on anclear counters Serial0Reset data stats under interfaces or pvcs


clear ip route *Clear routing table 
request support informationSystem diagnostic info for Juniper.show techSystem diagnostic info for Cisco.

BGP

Juniper CommandDescriptionCisco CommandDescription
show bgp summaryCheck the status of BGP peers.sh ip bgp summaryCheck the status of BGP peers.
show bgp neighborView detailed informations about each BGP peersh ip bgp neighborView detailed informations about each BGP peer
show route advertising-protocol bgpView BGP routes advertised to a neighborsh ip bgp neighbor advertisedView BGP routes advertised to a peer
show route receive-protocol bgpView BGP routes received from a peer sh ip bgp neighbor receivedView BGP routes received from a peer 
show route protocol bgp (detail)View BGP routes w/BGP attributes.sh ip bgpView BGP routes w/BGP attributes.
clear bgp neighbor x.x.x.xReset BGP neighbor sessionclear ip bgp *Reset BGP neighbor session

IS-IS

Juniper CommandDescriptionCisco CommandDescription
show isis interface (detail)View IS-IS interface parameters.sh clns interfaceView IS-IS interface parameters.
show isis adjacencyView IS-IS neighbor statussh clns neighborView IS-IS neighbor status
show isis databaseView IS-IS Databasesh isis databaseView IS-IS Database
show route protocol isisCommand to view all IS-IS routes.sh ip route isisCommand to view all IS-IS routes.

OSPF

Juniper CommandDescriptionCisco CommandDescription
show ospf neighborView OSPF neighbor statussh ip ospf neighborView OSPF neighbor status
show ospf databaseView OSPF databasesh ip ospf databaseView OSPF database
show ospf interface (detail)View OSPF interface parameters.sh ip ospf interfaceView OSPF interface parameters.
show route protocol ospfCommand to view all OSPF routes.sh ip route ospfCommand to view all OSPF routes.

MPLS

Juniper CommandDescriptionCisco CommandDescription
show mpls interface


show mpls lspView all ingress, transit, and egress LSPssh mpls ldp bindings (detail)View all ingress, transit, and egress LSPs
show mpls lsp ingress (extensive)View LSP status

show mpls lsp transit (extensive)View LSP status

show mpls lsp egress (extensive)View LSP status

show rsvp interfaceView interface RSVP informationsh ip rsvp interfaceView interface RSVP information
show route table inet.3View egress address for all operational LSPs

Multicast

Juniper CommandDescriptionCisco CommandDescription
show multicast routeDisplays information about active groups and sourcessh ip mrouteDisplays information about active groups and sources
show route table inet.1Displays information about active groups and sourcessh ip mrouteDisplays information about active groups and sources
show pim bootstrapVerify the bootstrap routersh ip pim bsr-routerVerify the bootstrap router
show pim join extensiveDisplay info about known groups, sources, & interfacessh ip igmp groupsDisplay info about known groups, sources, & interfaces
show pim rpsVerify the RPsh ip pim rpVerify the RP
show pim neighborsVerify PIM neighbor establishmentsh ip pim neighborVerify PIM neighbor establishment

Firewall Filters

Juniper CommandDescriptionCisco CommandDescription
show firewallView counters and stats for all filterssh access-listsView access-list counters
clear firewallClear filter statsclear ip access-list countersClear access-list counters
show interfaces filtersView filters configured on all interfacessh ip interfacesView access-list applied to interface

0 comentários: