思科及華為查看命令
阿新 • • 發佈:2018-01-18
鄰居 是否 ack 配置 協議 配置寄存器 ram 地址 table show 為思科
show ip protocols //查看目前正在運行的所有的路由協議; show ip rip database // 查看RIP的數據庫 show ip route rip //僅僅查看路由表中的 RIP 路由; show ip route //查看路由表; show spanning-tree vlan x ->可以查看交換機上關於 VLAN x 的 STP 信息 show spanning-tree ->可以查看交換機上關於所有VLAN的 STP 信息 show spanning-tree summary ->可以查看交換機運行的 STP 的模式; show version -> 可以查看交換機的 base mac ; show interface trunk //查看思科交換機上的 trunk 鏈路; show startup-config // 查看啟動配置文件內容; #show ip interface brief // 驗證之前的配置命令是否成功; #show running-config //查看設備當前的運行配置文件(位於RAM中 show version //查看設備的配置寄存器; show vrrp show ip route show ip nat translation show ip nat statistics //查看 NAT 的簡要配置信息; show ip access-list // 查看配置好的 ACL ; show ip nat translation // 查看 NAT 的核心工作表 - NAT表 display 為華為 display rip [id] display rip {id} neighbor // 查看 rip id 的 鄰居表; display rip {id} database // 查看 rip id 的 數據庫; display rip {id} route // 查看 rip id 的路由表; display ip routing-table//查看路由表 display stp 查看交換機上所有STP的信息 display stp brief 查看交換機上運行STP的信息 display stp instance {id} display vlan display vlan // 查看 vlan 後面是否對應 gi0/0/1 | 2 display stp brief display port vlan // 查看 gi0/0/1 | 2 的 PVID 是否為 10 ; 驗證 GVRP display gvrp status display vlan --> 會在顯示結果中看到類型為 dynamic 的 vlan ; display mac-address-table // 顯示交換機的MAC地址表 display nat static display nat outbound display acl 2000 //查看ACL的配置條目信息; display traffic-filter applied-record //查看ACL的調用信息; display traffic-filter statistics interface GigabitEthernet 0/0/0 inbound //查看特定端口上調用的ACL的使用信息; display acl 3000 display ospf [1] peer brief //查看OSPF鄰居表的簡要信息; display ospf [1] peer //查看OSPF鄰居表的詳細信息; display ospf [1] brief //查看本地設備上的 OSPF 1 的相關信息; display ip routing-table //查看路由表中的OSPF路由 (確定路由的類型和屬性) display ospf peer brief //查看 OSPF 的鄰居表 display ospf interface gi0/0/0 //查看OSPF的接口; 1、OSPF建立鄰居;(手動指定了 OSPF RID ) display ospf peer brief 2、驗證鄰居表和路由表 display ospf peer brief display ip routing-table 3、查看和更改 loopback 0 的 網絡類型 ; display ospf interface loopback 0 interface loopback 0 ospf network-type broadcast 4、查看 OSFP 路由的細分類型 display ospf routing display ip routing-table//查看路由表
display ospf routing //查看 ospf路由表
思科及華為查看命令