Cisco and Huawei view command summary, Cisco and Huawei commands
Show is Cisco
Show ip protocols // view all the currently running routing protocols; show ip rip database // view the RIP database show ip route rip // view only the RIP route in the route table; show ip route // view the route table; show spanning-tree vlan x-> you can view STP information about VLAN x on the switch. show spanning-tree-> you can view STP information about all VLANs on the switch. show spanning-tree summary-> you can view the STP mode of the switch; show version-> you can view the base mac of the switch; show interface trunk // view the trunk link on the Cisco switch; show startup-config // view the content of the startup configuration file; # show ip interface brief // verify whether the previous configuration command is successful; # show running-config // view the current running configuration file of the device (in RAM, show version // view the configuration register of the device; show vrrp show ip route show ip nat translation show ip nat statistics // view brief NAT configuration information; show ip access-list // view the configured ACL; show ip nat translation // view the NAT core worksheet-the NAT table display is Huawei display rip [id] display rip {id} neighbor // view the neighbor table of the rip id; display rip {id} database // view the database of the rip id; display rip {id} route // view the route table of the rip id; display ip routing-table // view route table display stp view all STP information on the switch display stp brief view information on the switch running STP display stp instance {id} display vlan // check whether the vlan is corresponding to gi0/0/1 | 2 display stp brief display port vlan // check whether the PVID of gi0/0/1 | 2 is 10; verify GVRP display gvrp status display vlan --> a vlan of the dynamic type is displayed in the displayed result; display mac-address-table // display the MAC address table of the switch display nat static display nat outbound display acl 2000 // view the ACL Configuration entry information; display traffic-filter applied-record // view the call information of the ACL; display traffic-filter statistics interface GigabitEthernet 0/0/0 inbound // view the use information of the ACL called on a specific port; display acl 3000 display ospf [1] peer brief // view brief information about the OSPF neighbor table; display ospf [1] peer // view detailed information about the OSPF neighbor table; display ospf [1] brief // view information about OSPF 1 on the local device; display ip routing-table // view the OSPF route in the route table (determine the type and attribute of the route) display ospf peer brief // view OSPF neighbor table display ospf interface gi0/0/0 // view OSPF interface; 1. Establish OSPF neighbor; (ospf rid is specified manually) display ospf peer brief 2. Verify the neighbor table and the route table display ospf peer brief display ip routing-table3, view and change the loopback 0 network type; display ospf interface loopback 0 interface loopback 0 ospf network-type broadcast4. view the OSFP route subdivision type display ospf routingdisplay ip routing-table // view the route table
Display ospf routing // view the ospf route table