Have you summarized the basic commands for Cisco routers?

Source: Internet
Author: User

Router command basics-mode conversion command

User Mode ---- privileged mode, use the command "enable"

Privileged mode-global configuration mode. Run the "config t" command"

Global configuration mode ---- interface mode, using the command "interface + interface Type + interface number"

Global configuration mode-line control mode. Use the command "line + Interface Type + interface number"

Note:

User Mode: view the initialization information.

Privileged mode: view all information, debug, and save configuration information

Global mode: configure all information and all interfaces for the entire vro or vswitch

Interface Mode: configuration of an interface

Line Control Mode: interface configuration for router Control

Router command basics-configuration commands

 
 
  1. Show running config displays all configurations
  2. Show versin displays the version number and register value
  3. Shut down
  4. No shutdown
  5. Ip add + ip Address Configuration ip Address
  6. Secondary + IP Address: configure the second IP address for the interface
  7. Show interface + interface Type + interface number View interface Management
  8. Show controllers interface Check whether the interface has a DCE Cable
  9. Show history view history
  10. Show terminal view terminal record size
  11. Hostname + Host Name: ID of the vro or vswitch configured
  12. Config memory modify the startup configuration stored in NVRAM
  13. Exec timeout 0 0 set console session timeout to 0
  14. Service password-encryptin manually encrypt all passwords
  15. Enable password + password configure plaintext password
  16. Ena sec + password configuration ciphertext Password
  17. Line vty 0 4/15 enter the telnet interface
  18. Password + password configure the telnet password
  19. Line aux 0 enters the AUX Interface
  20. Password + password configuration password
  21. Line con 0 enters CON Interface
  22. Password + password configuration password
  23. Bandwidth + digital bandwidth Configuration
  24. No ip address Delete the configured ip address
  25. Show startup config view configuration information in NVRAM
  26. Copy run-config atartup config to save the information to NVRAM
  27. Write to save the information to NVRAM
  28. Erase startup-config clear configuration information in NVRAM
  29. Show ip interface brief
  30. Banner motd # + Information + # configure the router or switch description
  31. Description + information configuration interface
  32. Vlan database enters VLAN database mode
  33. Vlan + vlan ID + name create VLAN
  34. Switchport access vlan + vlan ID for VLAN configuration interface
  35. Interface vlan + vlan ID entering VLAN interface Mode
  36. Ip add + ip Address: VLAN configuration management ip Address
  37. Vtp + service/tracsparent/client configure the VTP mode of SW
  38. Vtp + domain configuration sw vtp domain Name
  39. Vtp + password configure SW password
  40. Switchport mode trunk enable Relay
  41. No vlan + vlan no Delete VLAN
  42. Show spamming-tree vlan + vlan number view VLA tree Generation

Router command basics-configuration commands

 
 
  1. Ip route + non-direct connection CIDR block + subnet mask + next hop address configure static/default route
  2. Show ip route
  3. Show protocols shows which protocols are set on all passive routing protocols and interfaces.
  4. Show ip protocols displays the route selection protocol configured on the router, and provides the timer and other information used in the route selection protocol.
  5. Router rip activates the RIP Protocol
  6. Network + direct connection CIDR Block publish direct connection CIDR Block
  7. Interface lookback 0 activation logic interface
  8. Passive-interface + interface Type + interface number configuration interface is passive mode
  9. Debug ip + protocol dynamic view of route update information
  10. Undebug all disable all DEBUG information
  11. Activate the network routing protocol of the routers, such as the routers, the routers, and the routers ().
  12. Network + CIDR block + subnet mask publish direct connection CIDR Block
  13. View the neighbor table by using show ip VPN nodes.
  14. View the topology table
  15. View the number of sent packets by using show ip VPN traffic.
  16. Router ospf + process-ID activates the OSPF protocol
  17. Network + direct connection CIDR block + area + region number publish direct connection CIDR Block
  18. Show ip ospf display OSPF process ID and ROUTER-ID
  19. Encapsulation + encapsulation Format change encapsulation Format
  20. No ip admain-lookup
  21. Ip routing enables routing on layer-3 switches
  22. Show user: view online SW users
  23. Clear line + line number clear line

This is the summary of the basic vro commands. Based on these commands, you can continue to learn more about Cisco.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.