<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端口信息
\