思科、华为常用的基础命令对比,你值得拥有!

这篇博客详细列举了思科和华为网络设备中常用的基本配置命令,包括显示、退出、配置、接口管理、路由、调试、日志、性能监控等方面。此外,还对比了OSPF、ISIS、BGP等路由协议的配置命令,涵盖了路由信息显示、邻居状态、路由表等内容,对于理解不同厂商设备间的操作差异和路由协议的实施具有指导意义。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一、基本命令

思科

华为

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 pim neighbor

display pim neighbor

show ip igmp interface

display igmp interface

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值