Difference between revisions of "Cisco IOS command's equivalent in JUNOS"

From Tech-Wiki
Jump to: navigation, search
 
(15 intermediate revisions by the same user not shown)
Line 17: Line 17:
 
|-
 
|-
 
|reload at 10:15 11 Apr
 
|reload at 10:15 11 Apr
|request system reboot at 2004111015 | 10:15 | now
+
|request system reboot at 2004111015 / 10:15 / now
 +
|-
 +
|reload
 +
|request system reboot
 
|-
 
|-
 
|show clock
 
|show clock
 
|show system uptime
 
|show system uptime
 +
|-
 +
|show flash
 +
|show system storage + file list /var/tmp detail
 
|-
 
|-
 
|clock set
 
|clock set
Line 26: Line 32:
 
|-
 
|-
 
|show environment
 
|show environment
|show chassis environment
+
|show chassis environment / show chassis routing-engine
 +
|-
 +
|show version
 +
|show chassis hardware
 
|-
 
|-
 
|show ip traffic
 
|show ip traffic
Line 35: Line 44:
 
|-
 
|-
 
|show running-config
 
|show running-config
|show configuration
+
|show configuration / display set
 +
|-
 +
|erase running-config
 +
|delete or request system zeroize
 
|-
 
|-
 
|show tech-support
 
|show tech-support
 
|request support information
 
|request support information
 +
|-
 +
|show cable-diagnostics tdr  ge1
 +
|show diagnostics tdr interface ge-0/0/1
 +
|-
 +
|show history
 +
|show log interactive-commands
 +
|-
 +
|show power inline
 +
|show power controller
 
|-
 
|-
 
|show ip interface brief
 
|show ip interface brief
Line 53: Line 74:
 
|-
 
|-
 
|clear counters
 
|clear counters
|clear interface statistics
+
|clear interfaces statistics all
 
|-
 
|-
|sh ip arp / inc 10.0.0.1  
+
|sh ip arp <nowiki>|</nowiki> inc 10.0.0.1  
|show arp no-resolve / find 10.0.0.1
+
|show arp no-resolve <nowiki>|</nowiki> match 10.0.0.1
 
|-
 
|-
|sh mac address-table / inc 0014.ff00
+
|sh mac address-table <nowiki>|</nowiki> inc 0014.ff00
|show ethernet-switching table / match 00:14:ff:00
+
|show ethernet-switching table <nowiki>|</nowiki> match 00:14:ff:00
 
|-
 
|-
 
|clear arp-cache
 
|clear arp-cache
Line 78: Line 99:
 
|show cdp neighbors
 
|show cdp neighbors
 
|show lldp neighbors
 
|show lldp neighbors
|-
 
|reload
 
|request system reboot
 
 
|-
 
|-
 
|terminal length 0
 
|terminal length 0
Line 90: Line 108:
 
|terminal no monitor
 
|terminal no monitor
 
|monitor stop
 
|monitor stop
 +
|-
 +
|terminal shell
 +
|start shell
 
|-
 
|-
 
|write erase / erase startup-config
 
|write erase / erase startup-config

Latest revision as of 14:19, 28 August 2023


Essentials JUNOS commands and its IOS counterpart

Table 1. JUNOS Commands
Cisco Command JUNOS Equivalent
ping address ping address rapid
enable configure
reload at 10:15 11 Apr request system reboot at 2004111015 / 10:15 / now
reload request system reboot
show clock show system uptime
show flash show system storage + file list /var/tmp detail
clock set set date
show environment show chassis environment / show chassis routing-engine
show version show chassis hardware
show ip traffic show system statistics
show processes cpu show system processes extensive
show running-config show configuration / display set
erase running-config delete or request system zeroize
show tech-support request support information
show cable-diagnostics tdr ge1 show diagnostics tdr interface ge-0/0/1
show history show log interactive-commands
show power inline show power controller
show ip interface brief show interfaces terse
show ip route show route
write memory commit
show route-map show policy
clear counters clear interfaces statistics all
sh ip arp | inc 10.0.0.1 show arp no-resolve | match 10.0.0.1
sh mac address-table | inc 0014.ff00 show ethernet-switching table | match 00:14:ff:00
clear arp-cache clear arp
show ip bgp show route protocol bgp
show ip bgp neighbors address advertised-routes show route advertising-protocol bgp address
show ip bgp regexp show route aspath-regex
clear ip bgp clear bgp neighbour
show cdp neighbors show lldp neighbors
terminal length 0 set cli screen-length 0
terminal monitor monitor start messages
terminal no monitor monitor stop
terminal shell start shell
write erase / erase startup-config load factory-default
enable password set system root-authentication plain-text-password
ip address 172.16.1.1 255.255.255.0 set interfaces ge-1/2/0 unit 0 family inet address 172.16.1.1/24
ip route 10.0.0.0 255.0.0.0 172.16.1.2 set routing-options static route 10.0.0.0/8 next-hop 172.16.1.2