Sei sulla pagina 1di 4

JUNOS-to-Cisco IOS/XR Command Reference

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

System Administration & General Commands


Juniper Command
user@host%
user@host>

exit
show version
show system processes
extensive

Description
Unix Shell - enter cli for
Operational Mode.
Operational mode

Cisco Command

Description

router>

Configuration mode

config t

To log out
To show JUNOS version

exit
sh version

user exec mode


To enter configuration mode.
(from priveledge mode)
To log out
To show IOS Version

View CPU utilization per process sh process cpu

View free disk space in the


router's file system
To verify how long router has
show system uptime
been up
View how long router
show chassis forwarding
components have been up.
View power supply, fan, and
show chassis environment
operating temperature
View router hardware and
show chassis hardware
versions
show chassis
To view memory usage
routing-engine
request system reboot
To reboot router.
show ntp associations
Show NTP associations
show ntp status
Show NTP Status
show system storage

dir
sh version
sh version, sh diag
sh environment
sh version, sh diag

View CPU utilization per process


View free disk space in the
router's file system
To verify how long router has
been up
View how long router
components have been up.
View power supply, fan, and
operating temperature
View router hardware and
versions

sh memory sum

View memory usage

reload
sh ntp associations
sh ntp status

To reboot router
Show NTP associations
Show NTP Status

show system users

View all active alarms on a


router
View users logged in to a router sh users

show system connetions

View protocols running on router sh protocols

request system logout


username

Log a user out of a router

clear line <line nubmer> Log a user out of a router

<command>| no-more

To extend data to end of page


for a single command.

term length 0

show system alarms

View users logged in to a router


View routing protocols running
on router

To extend data to end of page

Configuration
Juniper Command
configure -or- edit
set
delete
up -or- exit
top
edit

Description
Cisco Command
config t
Enter configuraiton mode
Set a value in the configuration. <command>
Remove a value from the
no <command>
configuration.
Move you back up the config
exit
hierchy tree one level
Move you to the top of the config
hierchy.

Description
Enter global configuration mode
Set a value in the configuration.
Remove a value from the
configuration.
Move you back up the config
hierchy tree one level

Moves you down the hierchy


tree. Ex. edit protocols

http://packetlife.net/wiki/junos-cisco-iosxr-command-reference/

Page 1

disable
activate
deactivate

load override teminal

commit
rollback

Shutdown an interface 'set


shutdown
interfaces so-0/0/0 disable'
Allows the router to recognize a
deactivated interface.
Adds an 'inactive' tag to the
interface config.
Opens a paste buffer in the CLI.
Close the paste buffer with the Copy and paste configuration
Ctrl+D keystroke.
Issue before the router can use
any new config.
To easily restore an old
configuration.

exit -orExit configuration mode


Cntrl + Z -or - end
exit-configuration-mode
run <operational
Use any operational command
do <command>
command>
from configuration mode.

Administratively shutdown an
interface.

Copy a text configuration into


the router.

To exit configuration mode


Enter show commands from
configuration mode.

Troubleshooting
General
Juniper Command
show configuration
show configuration |
display set
show class-of-service
interface
show log messages
show interfaces
show interfaces terse
show interfaces queue
show route
show route summary
show route
forwarding-table
show route 10.0.0.0/8
detail
clear interfaces
statistics all
clear interfaces
statistics se-0/0/0
request support
information

Description
Cisco Command
Description
sh
running-configuration
View current configuration.
View current configuration.
View the set commands for the
configuration
show policy-map
See most of the CoS
View service-policy applied to
interface
configuration for an interface
interface.
sh
log
To view router event log entries
View router event log entries
To show ip interface status and
Show ip interface status and
sh ip interfaces
config
config
Displays a summary of all
Displays a summary of all
sh ip int brief
interfaces.
interfaces.
Displays detailed information on show policy-map
View service-policy applied to
interface
interface queues
interface.
Show all IP routes the router has
learned about.
Summary of all routing
Summary of all routing
sh ip route summary
information
information
View the current IP forwarding
View the current IP forwarding
show ip route
table.
table.
View detailed route information.
Clear all statistics

clear counters

Clear statistics on an

clear counters Serial0

System diagnostic info for


Juniper.

Reset all stats.

clear ip route *

Reset data stats under


interfaces or pvcs
Clear routing table

show tech

System diagnostic info for Cisco.

BGP
Juniper Command
show bgp summary

Description

Cisco Command
Check the status of BGP peers. sh ip bgp summary

http://packetlife.net/wiki/junos-cisco-iosxr-command-reference/

Description
Check the status of BGP peers.

Page 2

View detailed informations about


sh ip bgp neighbor
each BGP peer
show route
View BGP routes advertised to a sh ip bgp neighbor
advertising-protocol bgp neighbor
advertised
show route
View BGP routes received from sh ip bgp neighbor
receive-protocol bgp
received
a peer
show route protocol bgp View BGP routes w/BGP
sh ip bgp
(detail)
attributes.

View detailed informations about


each BGP peer
View BGP routes advertised to a
peer
View BGP routes received from
a peer
View BGP routes w/BGP
attributes.

clear bgp neighbor


x.x.x.x

show bgp neighbor

Reset BGP neighbor session

clear ip bgp *

Reset BGP neighbor session

Description

Cisco Command

Description

IS-IS
Juniper Command
show isis interface
(detail)
show isis adjacency
show isis database
show route protocol isis

View IS-IS interface parameters. sh clns interface

View IS-IS interface parameters.

View IS-IS neighbor status


View IS-IS Database

sh clns neighbor
sh isis database

View IS-IS neighbor status


View IS-IS Database

Command to view all IS-IS


routes.

sh ip route isis

Command to view all IS-IS


routes.

OSPF
Juniper Command
show ospf neighbor
show ospf database
show ospf interface
(detail)

Description
View OSPF neighbor status
View OSPF database
View OSPF interface
parameters.

Cisco Command
sh ip ospf neighbor
sh ip ospf database

show route protocol ospf

Command to view all OSPF


routes.

sh ip route ospf

Command to view all OSPF


routes.

Description

Cisco Command

Description

View all ingress, transit, and


egress LSPs

sh mpls ldp bindings


(detail)

View all ingress, transit, and


egress LSPs

sh ip ospf interface

Description
View OSPF neighbor status
View OSPF database
View OSPF interface
parameters.

MPLS
Juniper Command
show mpls interface
show mpls lsp
show mpls lsp ingress
(extensive)
show mpls lsp transit
(extensive)
show mpls lsp egress
(extensive)
show rsvp interface

View LSP status


View LSP status
View LSP status
View interface RSVP information sh ip rsvp interface

View interface RSVP information

View egress address for all


show route table inet.3
operational LSPs

Multicast
Juniper Command

Description
Displays information about
show multicast route
active groups and sources
Displays information about
show route table inet.1
active groups and sources
show pim bootstrap
Verify the bootstrap router
Display info about known
show pim join extensive
groups, sources, & interfaces
http://packetlife.net/wiki/junos-cisco-iosxr-command-reference/

Cisco Command
sh ip mroute
sh ip mroute
sh ip pim bsr-router
sh ip igmp groups

Description
Displays information about
active groups and sources
Displays information about
active groups and sources
Verify the bootstrap router
Display info about known
groups, sources, & interfaces
Page 3

show pim rps

Verify the RP

sh ip pim rp

Verify the RP

show pim neighbors

Verify PIM neighbor


establishment

sh ip pim neighbor

Verify PIM neighbor


establishment

Cisco Command

Description

sh access-lists

View access-list counters

Firewall Filters
Juniper Command
show firewall

Description
View counters and stats for all
filters

clear firewall

Clear filter stats

clear ip access-list
counters

Clear access-list counters

show interfaces filters

View filters configured on all


interfaces

sh ip interfaces

View access-list applied to


interface

http://packetlife.net/wiki/junos-cisco-iosxr-command-reference/

Page 4

Potrebbero piacerti anche