思科、瞻博网络、华为三大厂商设备命令对比

2023-03-05 09:42:39 浏览数 (1)

思科、华为和瞻博设备平时经常遇到,当然了,h3c设备也经常配置,但是除了私有命令,其他命令基本和华为差不多,因此在此不单独列出h3c的命令。

本文,瑞哥整理了思科、华为和瞻博网络的命令行,希望大家好好收藏,用到的时候也能第一时间比较。

基本命令

思科设备

瞻博网络设备

华为设备

show

show

display

exit

exit / up

quit

run

do

end

exit

return

| include

| match

| include

_formal |

| display-set

reload

request system reboot

reboot

配置命令

思科设备

瞻博网络设备

华为设备

show running-config

show configuration

display current-configuration

show startup-config

display saved-configuration

configure terminal

configure / edit

system view

hostname *hostname*

system host-name *hostname*

sysname *systemname*

show (after conf change)

show | compare

commit

commit

save

shut down

disable

shut down

no shut down

delete interfaces × disable

undo shut down

no

delete

undo

查看命令

思科设备

瞻博网络设备

华为设备

show dock

show system untime

display clock

show ntp status

show ntp status

display ntp-service status

show history

show cll history

display history-command

show platform

show chassis fpc

display device pic-status

admin show platform

show chassis fpc detail

display device

show environment

show chassis environment

show inventory

show chassis hardware

show diags

show chassis hardware

show memory summary

show chassis routing engine

display memory-usage

admin show environment | include pm

show chassis hardware | match psm

display power

show processes cpu

show system processes extensive

display cpu-usage

show users

show system users

display users

show version

show version

display version

show licence

display licence

show system alarms

display alarm all / active

show chassis alarms

show arp

show arp

display arp all

show interface

show interfaces

display ip interface

show interface *interface*

show interfaces *interface*

display ip interface *interface*

show interface *interface* statistics

show interface brief

show interface terse

display ip interface brief

show route

show route

display ip routing-table

show route summary

show route summary

show route ipv6

show route table inet6.0

display ipv6 routing-table

show policy-map

show class-of-service interface

show policy-map interface

show interfaces queue

show route-map

show policy

display route-policy

show snmp

show snmp statistics

display snmp statistics

show tcp

show system connections

display tcp statistics

show flash

show flash

dir flash:

show filesystem

show system storage

dir

show ipv4 traffic

show system statistics

display ip statistics

show protocols

show route protocol

show bfd session

show bfd session

display bfd session all

show bfd interfaces location ×

displa bfd interface

show interfaces be ×

show interfaces aex

display interface Eth-Trunk ×

show interfaces be × details

show interfaces aex details

排障命令

思科设备

瞻博网络设备

华为设备

ping *ip_address*

ping *ip_address*

ping *ip_address*

traceroute *ip_address*

traceroute *ip_address*

tracert *ip_address*

debug

debug

debugging

show tech-support

request support info

display diagnostic-information

show logging

show log messages

display logbuffer

no debug

undebug all

undo debugging

monitor interface *interface*

monitor interface *interface*

terminal monitor

monitor start messages

terminal monitor / terminal trapping

terminal monitor disable

monitor stop messages

undo terminal monitor

show controllers *interface*

show interfaces diagnostic optics *interface*

display controller

show access-lists

show firewall

display acl ×

清除命令

思科设备

瞻博网络设备

华为设备

clear

clear

reset

clear counters *interface*

clear interface statistics *interface*

reset counters interface ××

clear route

clear ip route

reset ip forwarding-table statistis protocol all

clear arp-cache

clear arp

reset arp

clear cef

reset ip fast-forwarding

clear line *line*

request system logout *username*

clear access-list counters

clear firewall

OSPF命令

思科设备

瞻博网络设备

华为设备

show ospf (summary)

show ospf overview

display ospf brief

show ospf interface

show ospf interface

display ospf interface

show ospf database

show ospf database

display ospf lsdb

show ospf neighbor

show ospf neighbor

display ospf nexthop

show ospf statistics

show ospf statistics

display ospf statistics

show route ospf

show route protocol ospf

display ip routing-table protocol ospf

show ospf virtual-links

display ospf vlink

ISIS命令

思科设备

瞻博网络设备

华为设备

display isis interface

show isis interface

display isis interface

show clns neighbor

show isis adjacency

display isis peer

show isis database

show isis database

display isis lsdb

show isis spf-log

show isis spf log

display isis spf-log

show isis statistics

show isis statistics

display isis statistics

show isis topoplgy

show isis topology

show isis routes

show isis route

display isis route

clear isis

clear isis database

clear isis statistics

clear isis statistics

clear clns neighbors

clear isis adjacency

BGP命令

思科设备

瞻博网络设备

华为设备

show bgp

show route protocol bgp

display bgp routing-table

show bgp community

show route community

show bgp neighbors

show bgp neighbor

display bgp peer

show bgp peer-group

show bgp group

display bgp group

show route bgp

show route protocol bgp

display ip routing-table protocol bgp

show bgp summary

show bgp summary

display bgp peer

clear bgp

clear bgp neighbor

reset bgp all

clear bgp nexthop registration

clear bgp neighbor

MPLS命令

思科设备

瞻博网络设备

华为设备

show mpls interface

show mpls interface

display mpls interface

show mpls ldp interface

show mpls ldp interface

display mpls ldp interface

show mpls ldp summay

show ldp overview

display mpls ldp all

show mpls ldp bindings

show mpls ldp neighbor brief

show ldp neighbor

display mpls ldp adjacency

show rsvp interface

show rsvp interface

display mpls rsvp-te interface

show rsvp session

show rsvp session

display mpls rsvp-te session ×

show rsvp neighbors

show rsvp neighbor

display mpls rsvp-te peer

show rsvp counters

show rsvp statistics

display mpls rsvp-te statistics global

组播命令

思科设备

瞻博网络设备

华为设备

show mfib/mrib route

show multicast route

display multicast routing-table

show multicast statistics

display multicast flow-statistic

show igmp interface

show igmp interface

display igmp interface

show igmp traffic

show igmp statistics

show pim interface

show pim interfaces

display pim interface

show pim traffic

show pim statistics

VRRP命令

思科设备

瞻博网络设备

华为设备

show vrrp interface *interface*

show vrrp interface *interface*

display vrrp interface *interface*

show vrrp status

show vrrp brief

display vrrp brief

show vrrp statistics

display vrrp statistics

show vrrp summary

show vrrp summary

0 人点赞