The following are some basic concepts of routing settings
Two states
There are two states for entering a route, as follows:
nb-r-01> "Low-level confidentiality status
nb-r-01# "Advanced Confidential Status
Enter enable in the low-level confidentiality status, the route will prompt for the password, enter enable secret password
After the routing verification is correct, it will enter the advanced confidentiality status. The process is as follows:
nb-r-01>enable
Password: "Enter enable secret password
nb-r-01#
In the advanced confidential state, various parameters of the route can be set
help
At any time to enter? , you can get online help
Command abbreviation
The entered command can be abbreviated as long as it does not cause ambiguity. For example:
nb-r-01>enable can be entered as
nb-r-01>en
Tracking errors
If the input command route is not recognized, it will be marked in the corresponding place
Enter the settings state
Enter configure terminal in advanced confidential status and enter the setting state. Can be abbreviated as conf ter ter
nb-r-01#conf ter ter
Enter configuration commands, one per line. End with CN
nb-r-01(config)#
In the setting state, you can set the routing parameters
Storage Exit
After setting, enter exit and exit setting status, and then enter write to write to write settings to memory.
nb-r-01(config)#exit
nb-r-01#write
buliding configure.....
[OK]
nb-r-01#
Delete settings
If you want to remove a certain setting and enter the corresponding state, just type in no and then the settings to be removed. Example: To remove chat-script cisco-default
nb-r-01#conf ter
nb-r-01(config)#no chat-script cisco-default
nb-r-01(config)#exit
nb-r-01#write
buliding configure.....
[OK]
nb-r-01#
Some common commands
nb-r-01#show run
nb-r-01#show configure "The above two items show the current settings
nb-r-01#setup "Enter setup status
nb-r-01#conf ter "Enter configure state
Modify the address
The addresses are divided into Ethernet port address (ethernet), WAN port address (serial), and asynchronous port address (async).
ethernet
Use the console line to connect the console port of the router to the COM port of the microcomputer, start the "terminal simulation program", and set the communication parameters to
Baud rate: 9600
Data bits: 8
Stop bit: 2
Parity: None
Flow Control: Hardware
Connect the router and enter the enable state.
nb-r-01#conf ter
nb-r-01(config)#interface eth 0
nb-r-01(config-if)#no ip address The original address The original mask
nb-r-01(config-if)#ip address Original address Original mask
nb-r-01(config-if)#exit
nb-r-01(config)#exit
nb-r-01#write
serial
In the config state, enter the number of interface serial port
nb-r-01(config)#interface serial 0
nb-r-01(config-if)#no ip address Original address Original mask
nb-r-01(config-if)#ip address New address New mask
nb-r-01(config-if)#exit
nb-r-01(config)#exit
nb-r-01#write
async
In the config state, enter the number of interface async port
nb-r-01(config)#interface async 1
nb-r-01(config-if)#no peer default ip address Original address
nb-r-01(config-if)#peer default ip default new address
nb-r-01(config-if)#exit
nb-r-01(config)#exit
nb-r-01#write
After the address is modified, if the network number of the new address is not included in the router rip, it must be added.
nb-r-01#conf ter
nb-r-01(config)#router rip
nb-r-01(config-router)#network new network number
nb-r-01(config-router)#exit
nb-r-01(config)#exit
nb-r-01#write
Modify enable secret password
nb-r-01#conf ter
nb-r-01(config)#enable password mypassword
‘mypassword is the password you want to change
nb-r-01(config)#exit
nb-r-01#write
Appendix II Analysis and troubleshooting of common network failures
1 Common test commands for routers
show interfaces serial Command
Displays the status of the specified port
Extended ping Tests
Test the line status between two points
2. Troubleshooting Router Transmission
Check the status of the port and line protocol (Interface and Line Protocol Status)
There are six statuses of port and line protocols in total
Serial x is up, line protocol is up
Serial x is down, line protocol is down
Serial x is up, line protocol is down
Serial x is up, line protocol is up (looped)
Serial x is administratively down, line protocol is down
Article entry: csh Editor in charge: csh
Two states
There are two states for entering a route, as follows:
nb-r-01> "Low-level confidentiality status
nb-r-01# "Advanced Confidential Status
Enter enable in the low-level confidentiality status, the route will prompt for the password, enter enable secret password
After the routing verification is correct, it will enter the advanced confidentiality status. The process is as follows:
nb-r-01>enable
Password: "Enter enable secret password
nb-r-01#
In the advanced confidential state, various parameters of the route can be set
help
At any time to enter? , you can get online help
Command abbreviation
The entered command can be abbreviated as long as it does not cause ambiguity. For example:
nb-r-01>enable can be entered as
nb-r-01>en
Tracking errors
If the input command route is not recognized, it will be marked in the corresponding place
Enter the settings state
Enter configure terminal in advanced confidential status and enter the setting state. Can be abbreviated as conf ter ter
nb-r-01#conf ter ter
Enter configuration commands, one per line. End with CN
nb-r-01(config)#
In the setting state, you can set the routing parameters
Storage Exit
After setting, enter exit and exit setting status, and then enter write to write to write settings to memory.
nb-r-01(config)#exit
nb-r-01#write
buliding configure.....
[OK]
nb-r-01#
Delete settings
If you want to remove a certain setting and enter the corresponding state, just type in no and then the settings to be removed. Example: To remove chat-script cisco-default
nb-r-01#conf ter
nb-r-01(config)#no chat-script cisco-default
nb-r-01(config)#exit
nb-r-01#write
buliding configure.....
[OK]
nb-r-01#
Some common commands
nb-r-01#show run
nb-r-01#show configure "The above two items show the current settings
nb-r-01#setup "Enter setup status
nb-r-01#conf ter "Enter configure state
Modify the address
The addresses are divided into Ethernet port address (ethernet), WAN port address (serial), and asynchronous port address (async).
ethernet
Use the console line to connect the console port of the router to the COM port of the microcomputer, start the "terminal simulation program", and set the communication parameters to
Baud rate: 9600
Data bits: 8
Stop bit: 2
Parity: None
Flow Control: Hardware
Connect the router and enter the enable state.
nb-r-01#conf ter
nb-r-01(config)#interface eth 0
nb-r-01(config-if)#no ip address The original address The original mask
nb-r-01(config-if)#ip address Original address Original mask
nb-r-01(config-if)#exit
nb-r-01(config)#exit
nb-r-01#write
serial
In the config state, enter the number of interface serial port
nb-r-01(config)#interface serial 0
nb-r-01(config-if)#no ip address Original address Original mask
nb-r-01(config-if)#ip address New address New mask
nb-r-01(config-if)#exit
nb-r-01(config)#exit
nb-r-01#write
async
In the config state, enter the number of interface async port
nb-r-01(config)#interface async 1
nb-r-01(config-if)#no peer default ip address Original address
nb-r-01(config-if)#peer default ip default new address
nb-r-01(config-if)#exit
nb-r-01(config)#exit
nb-r-01#write
After the address is modified, if the network number of the new address is not included in the router rip, it must be added.
nb-r-01#conf ter
nb-r-01(config)#router rip
nb-r-01(config-router)#network new network number
nb-r-01(config-router)#exit
nb-r-01(config)#exit
nb-r-01#write
Modify enable secret password
nb-r-01#conf ter
nb-r-01(config)#enable password mypassword
‘mypassword is the password you want to change
nb-r-01(config)#exit
nb-r-01#write
Appendix II Analysis and troubleshooting of common network failures
1 Common test commands for routers
show interfaces serial Command
Displays the status of the specified port
Extended ping Tests
Test the line status between two points
2. Troubleshooting Router Transmission
Check the status of the port and line protocol (Interface and Line Protocol Status)
There are six statuses of port and line protocols in total
Serial x is up, line protocol is up
Serial x is down, line protocol is down
Serial x is up, line protocol is down
Serial x is up, line protocol is up (looped)
Serial x is administratively down, line protocol is down
Article entry: csh Editor in charge: csh