华为配置命令

<r1> save 保存配置

<Huawei>undo terminal monitor ----关闭交换机日志

display this 查看当前视图配置

display ip routing-table ----用于查看路由器的路由表

display ip pool //查看DHCP池塘及分配关系

display interface 查看所有接口的详细信息

display interface brief 查看所有接口的详细信息简表

display ip interface brief //查看接口配置的IP信息及接口状态简表

r1-GigabitEthernet0/0/0shutdown //关闭接口

display nhrp peer all //nhrp的邻居的所有信息,查看nhrp映射表

display router id //查看路由器身份标识 (就是:RouterID)

Huaweidisplay ip routing-table protocol ? //筛选查看的路由

复制代码
bgp Border Gateway Protocol (BGP)

routes direct Direct routes isis IS-IS routing protocol defined by ISO ospf Open Shortest Path First (OSPF)

routes rip Routing Information Protocol (RIP)

routes static Static routes unr User network routes

例:Huaweidisplay ip routing-table protocol direct //查看直连路由

r2display ospf peer ---查看OSPF邻居

r2display ospf peer brief ----查看OSPF邻居简表

r2display ospf lsdb -----查看OSPF数据库表

r2display ospf routing ---查看OSPF路由表

display ospf interface g 0/0/0 ---查看ospf端口信息

display ospf interface s 0/0/0 ---查看ospf端口信息

<Huawei>reset ospf 1 process -----重置OSPF进程1

r2display ospf vlink ---查看ospf的vlink信息

r2tracert 13.0,0,3 ---路径跟踪

r2display current-configuration configuration ospf 查看OSPF进程、区域、宣告网段

r2display ospf lsdb router 1.1.1.1----查看OSPF某一条LSA的详细信息,类型以及LS ID参数。

r2display ospf lsdb ase 1.1.1.1----查看OSPF五类LSA的详细信息,类型以及LS ID参数。

r3display ip ip-prefix ----查看前缀列表统计信息

r2display route-policy aa ----查看路由策略内容

r2display bgp peer ----命令查看BGP邻居表

r2display tcp status ----命令查看tcp连接建立状态

r1display bgp routing-table ----查看BGP路由表

r1display bgp routing-table 10.10.0.0 16 ----查看BGP路由表10.10.0.0 16 优选原因

r1display lldp neighbor brisf ---查看邻居与本设备具体接口与邻居相连的具体接口

r1display bgp routing-table dampening parameter ----查看BGP衰减参数

r1display bgp routing-table dampened ----查看BGP惩罚路由

r2display bgp peer verbose ----命令查看BGP对等体详细信息

PC命令,arp -a ---用于查看设备的arp缓存表

sw1display port vlan active ----查看端口与VLAN的映射关系

sw1display stp --- 查看整个设备的生成树

sw1display stp brief ---查看stp接口状态简表

sw1display bridge mac-address ---查看设备的MAC地址

sw1display stp region-configuration ----查看设备的域名,修订等级,vlan和instance的映射关系(mstp)

sw1display eth-trunk 0 ---查看聚合链路发送的源目MAC

sw1display vrrp ---查看vrrp信息

D5display current-configuration ---查看所有端口配置命令

相关推荐
zhang1338308907529 分钟前
传统机械三杯式风速传感器易磨损冻堵?CG-88金属超声波风速风向传感器给出免运维方案
运维·服务器·网络·人工智能·自动化
知已难寻1 小时前
第 2 篇 · 云的地基:服务器、存储、网络三大基础设施
运维·服务器·网络·云原生·云计算·负载均衡·1024程序员节
IpdataCloud2 小时前
批量查IP的API接口怎么选?免费API配额瓶颈与离线库本地批量方案实测
网络·网络协议·tcp/ip
ITyunwei09874 小时前
售后夜间值守怎么落地:从告警到交接的工单系统配置笔记
网络
Smoothcloud润云5 小时前
GPU远程纳管安全吗?最小权限、网络边界与日志审计实战
服务器·网络·人工智能·安全·gpu算力·gpu
ai大模型-探索者5 小时前
Function Call与MCP(区别、联系与实战)
java·服务器·网络
木子欢儿5 小时前
Debian 13 + vsftpd 搭建FTP服务
linux·服务器·前端·网络·debian
达~熊迪6 小时前
IP 分配前核查:把在线状态和使用登记一起看
服务器·网络·tcp/ip
西索斯coding7 小时前
Qwen3-Max 与 Qwen-Plus:60 个真实修复任务评测方案
大数据·网络·算法·ai
瓶瓶持续学习中7 小时前
数字孪生与空间智能技术架构解析:五类厂商路线及选型方法
大数据·网络·架构