思科、华为重要命令对比备忘单

  • 一、基本命令

  • 二、OSPF

  • 三、ISIS

  • 四、BGP

  • 五、MPLS

  • 六、MULTICAST

一、基本命令

思科 华为
show display
| include | include
exit quit
end return
configure terminal system-view
shutdown shutdown
no shutdown undo shutdown
no undo
clear reset
debug debugging
show running-config display current-configuration
show startup-config display saved-configuration
show version display version
show tech-support display diagnostic-information
clear counters reset counters
clear line
terminal length screen-length disable
terminal width
terminal monitor terminal monitor
terminal monitor disable undo terminal monitor
show clock display clock
show processes cpu display cpu-usage
show logging display logbuffer
ping ping
traceroute tracert
show ip interface display ip interface
show ip route display routing-table
show ip route static display ip routing-table protocol static
show ip protocols
show ipv6 route display ipv6 routing-table
show interface be display interface Eth-trunkX
monitor interface
reload reboot
show users display users
show diag / show inventory
show history display history-command
dir dir
show environment
show memory summary display memory-usage
show platform display device pic-status
show controllers display controller
show ip access-lists display acl
show policy-map interface display qos policy interface
show snmp display snmp-agent statistics
write erase reset saved-configuration
copy run start (write mem) save
copy running-config save safely
aaa hwtacacs scheme
show configuration display configuration candidate

二、OSPF

思科 华为
router ospf ospf
show ip osfp neighbor display ospf nexthop
show ip ospf database display ospf lsdb
show ip ospf interface display ospf interface
show ip route ospf display ip routing-table protocol ospf

三、ISIS

思科 华为
show clns neighbor display isis peer
show isis database display isis lsdb
show isis route display isis route
show isis topology
show isis interface display isis interface

四、BGP

思科 华为
router bgp bgp
show ip bgp display bgp routing-table
show ip bgp summary display bgp peer
show ip bgp neighbors display bgp peer
show ip bgp neighboradvertised-routes display bgp routing-table peeradvertised-routes
show ip bgp neighborroutes display bgp routing-table peerreceived-routes
show bgp ipv6 unicast summary display bgp peer
show ip bgp summary display bgp peer
show bgp ipv6 unicast neighadvertised-routes display bgp ipv6 routing-table peeradvertised-routes
show bgp ipv6 unicast neighborroutes display bgp ipv6 routing-table peerreceived-routes
show ip bgp regexp display bgp routing-table regular-expression
show ip route bgp display ip routing-table protocol bgp

五、MPLS

思科 华为
show mpls ldp summary display mpls ldp all
show mpls interface display mpls interface
show mpls ldp neighbor brief display mpls ldp peer
show rsvp interface display mpls rsvp-te interface
show rsvp neighbors display mpls rsvp-te peer

六、MULTICAST

思科 华为
show mfib/mrib route display multicast routing-table
show ip pim interface display pim interface
show ip pi neighbor display pim neighbor
show ip igmp interface display igmp interface

猜你喜欢

转载自blog.csdn.net/qq_43416206/article/details/131334842