cisco, huawei, IOS, router, switch

Cisco vs Huawei vs Juniper Basit CLI Komutları

Cisco vs. Huawei Essential Command Mapping

 

IOS XR

JUNOS

SROS

HVRP

COMMAND LINE CHEAT SHEET 

BASIC

show show show display
exit exit / up exit quit
run run  
end exit exit all return
| include | match | match | include
… formal | | display-set
reload  request system reboot admin reboot now reboot

GENERAL CONFIGURATION

show running-config  show configuration admin display-config display current-configuration
show startup-config display saved-configuration
configure terminal configure / edit configure system view
hostname hostname system host-name hostname system name systemname sysname systemname
show (after conf change) show | compare info (after conf change)
commit commit admin save save

 

shut down disable shut down shut down
no shut down delete interfaces x disable no shutdown undo shut down
no delete no  undo

SHOW

show clock show system uptime show system time  display clock 
show ntp status show ntp status show system ntp display ntp-service status
show history show cli history history  display history-command 
show platform show chassis fpc show card, show mda display device pic-status
admin show platform  show chassis fpc detail show card detail, show mda detail display device
show environment show chassis environment
show inventory show chassis hardware
admin show environment | include PM show chassis hardware | match PSM show chassis environment power- supply display power
show diags show chassis hardware show chassis environment
show memory summary show chassis routing engine show system memory-pools display memory-usage
show processes cpu show system processes extensive show system cpu display cpu-usage
show users show system users show system users display users
show version show version show version display version
show licence display licence
show system alarms show system alarms display alarm all / active
show chassis alarms
show arp show arp show router arp display arp all
show interface show interfaces show router interface display ip interface
show interface interface show interfaces interface show port port display ip interface interface
show interface interface statistics show port port statistics
show interface brief show interface terse show router interface summary display ip interface brief
show policy-map show class-of-service interface show router policy
show policy-map interface show interfaces queue
show route show route show router route-table display ip routing-table
show route summary show route summary show router route-table summary
show route ipv6 show route table inet6.0 show router route-table ipv6 display ipv6 routing-table

show route-mapshow policyshow router policydisplay route-policyshow snmpshow snmp statisticsshow snmp countersdisplay snmp statisticsshow tcpshow system connectionsshow system connectionsdisplay tcp statisticsshow ipv4 trafficshow system statistics-display ip statisticsshow protocolsshow route protocol–show flashshow flashfile (+dir)dir flash:show filesystemshow system storage-dirshow bfd sessionshow bfd sessionshow router bfd sessiondisplay bfd session allshow bfd interfaces location x-show router bfd interfacedisplay bfd interfaceshow interfaces be xshow interfaces aexshow lag xdisplay interface Eth-Trunk xshow interfaces be x detailsshow interfaces aex detailsshow lag x detail—show lag x associations-

TSHOOT

ping ip_addressping ip_addressping ip_addressping ip_addresstraceroute ip_addresstraceroute ip_addresstraceroute ip_addresstracert ip_address

debug debug debug debugging
no debug undebug all no debug undo debugging
monitor interface interface monitor interface interface monitor port port
terminal monitor monitor start messages terminal monitor /terminal trapping
terminal monitor disable monitor stop messages undo terminal monitor
show tech-support request support info admin tech-support display diagnostic-information
show logging show log messages show log log-id 99 (all) display logbuffer
show controllers interface show interfaces diagnostic optics interface display controller
show access-lists show firewall show filter ip x display acl x

CLEAR

clear clear clear reset
clear counters interface clear interface statistics interface clear counter interface xx reset counters interface xx
clear arp-cache clear arp clear router arp reset arp
clear cef reset ip fast-forwarding
clear route * clear ip route clear router route-adv reset ip forwarding-table statistis protocol all
clear access-list counters clear firewall clear filter
clear line line request system logout username

OSPF

show ospf (summary) show ospf overview show router ospf status display ospf brief
show ospf database show ospf database show router ospf database display ospf lsdb
show ospf interface show ospf interface show router ospf interface display ospf interface
show ospf neighbor show ospf neighbor show router ospf neighbor display ospf nexthop
show route ospf show route protocol ospf show router ospf routes display ip routing-table protocol ospf
show ospf virtual-links show router ospf virtual-link display ospf vlink
show ospf statistics show ospf statistics show router ospf statistics display ospf statistics

ISIS

display isis interface show isis interface show router isis interface display isis interface
show clns neighbor show isis adjacency show router isis adjaceny display isis peer
show isis database show isis database show router isis database display isis lsdb
show isis topology show isis topology show router isis topology

 

show isis routes show isis route show router isis routes display isis route
show isis spf-log show isis spf log show router isis spf-log display isis spf-log
show isis statistics show isis statistics show router isis statistics display isis statistics
clear clns neighbors clear isis adjacency clear router isis adjacency
clear isis * clear isis database clear router isis database
clear isis statistics clear isis statistics clear router isis statistics   

BGP

show bgp  show route protocol bgp show router bgp routes display bgp routing-table
show bgp community  show route community
show bgp neighbors show bgp neighbor show router bgp neighbor display bgp peer
show bgp peer-group show bgp group show router bgp group display bgp group
show bgp summary  show bgp summary show router bgp summary display bgp peer
show route bgp show route protocol bgp show router bgp routes display ip routing-table protocol bgp
clear bgp clear bgp neighbor clear bgp reset bgp all
clear bgp nexthop registration clear bgp neighbor clear bgp next-hop

 

MPLS

sow mpls interface show mpls interface show router mpls interfaces display mpls interface
show mpls ldp summary show ldp overview show mpls ldp summary  display mpls ldp all 
show mpls ldp interface show mpls ldp interface show router ldp interface display mpls ldp interface
show mpls ldp bindings show router ldp bindings   
show mpls ldp neighbor brief show ldp neighbor show router ldp session display mpls ldp adjacency
show rsvp interface show rsvp interface show router rsvp interface  display mpls rsvp-te interface 
show rsvp neighbors show rsvp neighbor show router rsvp neighbors display mpls rsvp-te peer
show rsvp session  show rsvp session show router rsvp session display mpls rsvp-te session x
Show rsvp counters  show rsvp statistics show router rsvp statistics display mpls rsvp-te statistics global

MULTICAST

show mfib/mrib route show multicast route show mfib/mrib route display multicast routing-table
show multicast statistics display multicast flow-statistic
show pim interface show pim interfaces show router pim interfaces display pim interface
show pim neighbor show pim interfaces show router pim neighbor display pim neighbor
show pim group-map show pim group show router pim group
show ip pim rp mapping show pim rps show router pim rp display pim rp-info
show pim traffic show pim statistics show router pim statistics
show mroute show mfib display multicast routing-table
show igmp interface show igmp interface show router igmp interface display igmp interface
show igmp groups show igmp group show router igmp group
show igmp traffic show igmp statistics show router igmp statistics
show mld interface show mld interface show router mld interface display igmp interface
show mld groups show mld group show router mld group display igmp group
show mld traffic show mld statistics show router mld statistics

VRRP

show vrrp interface interface show vrrp interface interface show router vrrp instance interface display vrrp interface interface
show vrrp status show vrrp brief display vrrp brief
show vrrp summary show vrrp summary
show vrrp statistics show vrrp statistics display vrrp statistics

 

 

 

CISCO HUAWEI
ping ping
traceroute tracert
show display
show interfaces display interface
Show ip route display routing-table
Show ip interface Display ip interface
Show version Display version
Show ip bgp Display bgp routing-table
Show clock Display clock
Show port Display port-mapping
Show flash dir flash: (on user view mode)
Show logging Display logbuffer
Show snmp Display snmp-agent statistics
Show frame-relay pvc Display fr pvc-info
Show users Display users
Show terminal length screen-length disable

undo screen-length disable

enable Super
disable Super 0 (number is privilege level from 0 to 3, where 3 is default and equivalent to “enable” on Cisco)
Conf t System-view
exit quit
end return
Show policy-map interface Display qos policy interface
send send (on user view mode)
write terminal (sh run) display current-configuration
Sh startup Display saved-configuration
[no equivalent: shows the files used for startup] Display startup
Write erase Reset saved-configuration
Write mem (or wr or copy run start) save
clear counters reset (on user view mode)

Reset counters interface

? ?
telnet telnet
Enable secret (conf mode) Super pass cipher (system mode)
Term mon term debu
clock clock
no undo
debug / no debug debugging / undo debugging
copy running-config Save safely
terminal monitor terminal monitor
terminal length screen-length disable

undo screen-length disable

terminal no monitor undo terminal monitor
clear counters reset counters interface
clear interface reset counters interface
clear crypto ipsec sa

ike sa

clear access-list counters reset acl counter all
reload reboot
shutdown shutdown
boot boot bootrom
Aaa hwtacacs scheme
terminal no monitor undo terminal monitor
tacacs-server hwtacacs scheme (in conf command)
snmp-server tftp-server (in conf command)
router bgp bgp
Router rip rip
ip tacacs hwtacacs nas-ip (this command doesn’t exist !!!)
mtu Mtu (this command doesn’t exist !!!)
clear ip cef reset ip fast-forwarding
clear ip route * reset ip routing-table statistics protocol all
Clear ip bgp Reset bgp all
Show tech display diagnostic-information
Sh ip nat translation Display nat session
Show Controller display controller (but not relevant for non-modular chassis)
show dsl int atm 0 display dsl status interface Atm 2/0
sho atm pvc Display atm pvc-info
debug pvc nego Debug atm all (very dangerous – might crash router)
sho crypto isakmp sa Display ike sa
sho crypto isakmp key Display ike peer
sho crypto isakmp police Display ike proposal

From http://lifeoflogs.blogspot.com/2011/04/cisco-vs-huawei-essential-command.html

CLI Commands Cisco vs. Juniper Router will Help in Troubleshooting

Basic CLI Commands

Description Cisco IOS Juniper
To Ping  ping  ping
 traceroute  traceroute
To display date / time  show clock  show system uptime
To display Chassis status show environment  show chassis environment
To display history of commands entered  show history  show cli history
 show ip traffic  show system statistics
 show logging  show log
 show processes  show system processes
 show running config  show configuration
 show tech-support  request support information
 show users  show system users
 show version  show version
 show arp  show arp
 show interface  show interfaces
show interfaces detail
show interfaces extensive
 show ip interface brief  show interfaces terse
 show ip route  show route
 show ip route summary  show route summary
 show route-map  show policy
 show tcp  show system connections
 clear counters  clear interface statistics
 clear arp-cache  clear arp
 clear line
 clear ip route

BGP Commands

Cisco IOS
Juniper
 show ip bgp  show route protocol bgp
 show ip bgp community  show route community
 show ip bgp dampened paths  show route damping decayed
 show ip bgp neighbors  show bgp neighbor
 show ip bgp neighbors address
advertised-routes
 show route advertising-protocol bgp
address
 show ip bgp neighbors address
received-routes
 show route receive-protocol bgp address
 show ip bgp peer-group  show bgp group
 show ip bgp regexp  show route aspath-regex
 show ip bgp summary  show bgp summary
 clear ip bgp  clear bgp neighbor
 clear ip bgp dampening  clear bgp damping

OSPF Commands

Cisco IOS
Juniper
 show ip ospf database  show ospf database
 show ip ospf interface  show ospf interface
 show ip ospf neighbor  show ospf neighbor

IS-IS Commands

Cisco IOS
Juniper
 show clns neighbor  show isis adjacency
 show isis database  show isis database
 show isis route  show isis routes
 show isis topology  show isis routes
 show isis spf-log  show isis spf log
 clear clns neighbor  clear isis adjacency
 clear isis *  clear isis database

From http://forums.juniper.net/t5/Configuration-Library/CLI-commands-Cisco-VS-Juniper-router-will-help-in/td-p/68088

Bir cevap yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d blogcu bunu beğendi: