华为配置命令

<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/0\]shutdown //关闭接口 display nhrp peer all //nhrp的邻居的所有信息,查看nhrp映射表 display router id //查看路由器身份标识 (就是:RouterID) \[Huawei\]display 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 例:\[Huawei\]display ip routing-table protocol direct //查看直连路由 \[r2\]display ospf peer ---查看OSPF邻居 \[r2\]display ospf peer brief ----查看OSPF邻居简表 \[r2\]display ospf lsdb -----查看OSPF数据库表 \[r2\]display ospf routing ---查看OSPF路由表 display ospf interface g 0/0/0 ---查看ospf端口信息 display ospf interface s 0/0/0 ---查看ospf端口信息 \reset ospf 1 process -----重置OSPF进程1 \[r2\]display ospf vlink ---查看ospf的vlink信息 \[r2\]tracert 13.0,0,3 ---路径跟踪 \[r2\]display current-configuration configuration ospf 查看OSPF进程、区域、宣告网段 \[r2\]display ospf lsdb router 1.1.1.1----查看OSPF某一条LSA的详细信息,类型以及LS ID参数。 \[r2\]display ospf lsdb ase 1.1.1.1----查看OSPF五类LSA的详细信息,类型以及LS ID参数。 \[r3\]display ip ip-prefix ----查看前缀列表统计信息 \[r2\]display route-policy aa ----查看路由策略内容 \[r2\]display bgp peer ----命令查看BGP邻居表 \[r2\]display tcp status ----命令查看tcp连接建立状态 \[r1\]display bgp routing-table ----查看BGP路由表 \[r1\]display bgp routing-table 10.10.0.0 16 ----查看BGP路由表10.10.0.0 16 优选原因 \[r1\]display lldp neighbor brisf ---查看邻居与本设备具体接口与邻居相连的具体接口 \[r1\]display bgp routing-table dampening parameter ----查看BGP衰减参数 \[r1\]display bgp routing-table dampened ----查看BGP惩罚路由 \[r2\]display bgp peer verbose ----命令查看BGP对等体详细信息 PC命令,arp -a ---用于查看设备的arp缓存表 \[sw1\]display port vlan active ----查看端口与VLAN的映射关系 \[sw1\]display stp --- 查看整个设备的生成树 \[sw1\]display stp brief ---查看stp接口状态简表 \[sw1\]display bridge mac-address ---查看设备的MAC地址 \[sw1\]display stp region-configuration ----查看设备的域名,修订等级,vlan和instance的映射关系(mstp) \[sw1\]display eth-trunk 0 ---查看聚合链路发送的源目MAC \[sw1\]display vrrp ---查看vrrp信息 \[D5\]display current-configuration ---查看所有端口配置命令

相关推荐
一粒麦仔2 分钟前
物联网的低功耗守望者:全面解析Sigfox技术
后端·网络协议
小白考证进阶中4 分钟前
华为HCIA/HCIP/HCIE认证考试科目大全
华为·网络工程师·hcie·hcia·hcip·华为云认证·华为认证体系
马剑威(威哥爱编程)9 分钟前
【鸿蒙开发案例篇】NAPI 实现 ArkTS 与 C++ 间的复杂对象传递
c++·华为·harmonyos
admin and root16 分钟前
企业SRC支付漏洞&EDUSRC&众测挖掘思路技巧操作分享
网络·安全·web安全·渗透测试·src漏洞挖掘·网络攻击模型·攻防演练
Henry Zhu12326 分钟前
VPP中进程同步模块:RPC机制详解
网络协议·rpc
python百炼成钢28 分钟前
解决——linux通过网络挂载tftp无法下载
linux·运维·网络
szxinmai主板定制专家29 分钟前
JETSON orin+FPGA+GMSL+AI协作机器人视觉感知
网络·arm开发·人工智能·嵌入式硬件·fpga开发·机器人
奋进的电子工程师1 小时前
软件定义汽车的背后:一场架构的“深层次革命”
网络协议·系统架构·汽车·安全威胁分析·安全架构
赵财猫._.1 小时前
【Flutter x 鸿蒙】第八篇:打包发布、应用上架与运营监控
flutter·华为·harmonyos
傻啦嘿哟1 小时前
学术爬虫实战:构建知网论文关键词共现网络的技术指南
网络·爬虫