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
- Show running config displays all configurations
- Show versin displays the version number and register value
- Shut down
- No shutdown
- Ip add + ip Address Configuration ip Address
- Secondary + IP Address: configure the second IP address for the interface
- Show interface + interface Type + interface number View interface Management
- Show controllers interface Check whether the interface has a DCE Cable
- Show history view history
- Show terminal view terminal record size
- Hostname + Host Name: ID of the vro or vswitch configured
- Config memory modify the startup configuration stored in NVRAM
- Exec timeout 0 0 set console session timeout to 0
- Service password-encryptin manually encrypt all passwords
- Enable password + password configure plaintext password
- Ena sec + password configuration ciphertext Password
- Line vty 0 4/15 enter the telnet interface
- Password + password configure the telnet password
- Line aux 0 enters the AUX Interface
- Password + password configuration password
- Line con 0 enters CON Interface
- Password + password configuration password
- Bandwidth + digital bandwidth Configuration
- No ip address Delete the configured ip address
- Show startup config view configuration information in NVRAM
- Copy run-config atartup config to save the information to NVRAM
- Write to save the information to NVRAM
- Erase startup-config clear configuration information in NVRAM
- Show ip interface brief
- Banner motd # + Information + # configure the router or switch description
- Description + information configuration interface
- Vlan database enters VLAN database mode
- Vlan + vlan ID + name create VLAN
- Switchport access vlan + vlan ID for VLAN configuration interface
- Interface vlan + vlan ID entering VLAN interface Mode
- Ip add + ip Address: VLAN configuration management ip Address
- Vtp + service/tracsparent/client configure the VTP mode of SW
- Vtp + domain configuration sw vtp domain Name
- Vtp + password configure SW password
- Switchport mode trunk enable Relay
- No vlan + vlan no Delete VLAN
- Show spamming-tree vlan + vlan number view VLA tree Generation
Router command basics-configuration commands
- Ip route + non-direct connection CIDR block + subnet mask + next hop address configure static/default route
- Show ip route
- Show protocols shows which protocols are set on all passive routing protocols and interfaces.
- 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.
- Router rip activates the RIP Protocol
- Network + direct connection CIDR Block publish direct connection CIDR Block
- Interface lookback 0 activation logic interface
- Passive-interface + interface Type + interface number configuration interface is passive mode
- Debug ip + protocol dynamic view of route update information
- Undebug all disable all DEBUG information
- Activate the network routing protocol of the routers, such as the routers, the routers, and the routers ().
- Network + CIDR block + subnet mask publish direct connection CIDR Block
- View the neighbor table by using show ip VPN nodes.
- View the topology table
- View the number of sent packets by using show ip VPN traffic.
- Router ospf + process-ID activates the OSPF protocol
- Network + direct connection CIDR block + area + region number publish direct connection CIDR Block
- Show ip ospf display OSPF process ID and ROUTER-ID
- Encapsulation + encapsulation Format change encapsulation Format
- No ip admain-lookup
- Ip routing enables routing on layer-3 switches
- Show user: view online SW users
- 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.