Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Here are some very useful command references when moving between JUNOS and Cisco IOS/XR:
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
dir
sh version
sh version, sh diag
sh environment
sh version, sh diag
sh memory sum
reload
sh ntp associations
sh ntp status
To reboot router
Show NTP associations
Show NTP Status
<command>| no-more
term length 0
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
http://packetlife.net/wiki/junos-cisco-iosxr-command-reference/
Page 1
disable
activate
deactivate
commit
rollback
Administratively shutdown an
interface.
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 ip route *
show tech
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
clear ip bgp *
Description
Cisco Command
Description
IS-IS
Juniper Command
show isis interface
(detail)
show isis adjacency
show isis database
show route protocol isis
sh clns neighbor
sh isis database
sh ip route isis
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
sh ip route ospf
Description
Cisco Command
Description
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
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
Verify the RP
sh ip pim rp
Verify the RP
sh ip pim neighbor
Cisco Command
Description
sh access-lists
Firewall Filters
Juniper Command
show firewall
Description
View counters and stats for all
filters
clear firewall
clear ip access-list
counters
sh ip interfaces
http://packetlife.net/wiki/junos-cisco-iosxr-command-reference/
Page 4