Basic configuration of router OSPF-test interface connectivity
Interface connectivity is the most important step. If this step is not guaranteed, the following operations cannot be performed.
In the privileged mode of each vro, enter the following command to view the interface status:
- R1#sh ip interface brief
-
- Interface IP-Address OK? Method Status Protocol
-
- Serial1/0 199.99.1.1 YES manual up up
-
- Loopback0 1.1.1.1 YES manual up up
-
- R2# sh ip interface brief
-
- Interface IP-Address OK? Method Status Protocol
-
- Serial1/0 199.99.1.2 YES manual up up
-
- Serial1/1 199.99.2.1 YES manual up up
-
- Loopback0 2.2.2.2 YES manual up up
-
- R3#sh ip interface brief
-
- Interface IP-Address OK? Method Status Protocol
-
- Serial1/1 199.99.2.2 YES manual up up
-
- Loopback0 3.3.3.3 YES manual up up
Note: The gray part must be "UP ".
Enter the following commands in the privileged mode of the intermediate router R2:
R2 # ping 199.99.1.1 use the ping command to test the connectivity of the direct connection interface
- Type escape sequence to abort.
-
- Sending 5, 100-byte ICMP Echos to 199.99.1.1, timeout is 2 seconds:
-
- !!!!!
-
- Success rate is 100 percent (5/5), round-trip min/avg/max = 8/28/84 ms
-
- R2#ping 199.99.2.2
-
- Type escape sequence to abort.
-
- Sending 5, 100-byte ICMP Echos to 199.99.2.2, timeout is 2 seconds:
-
- !!!!!
-
- Success rate is 100 percent (5/5), round-trip min/avg/max = 12/26/60 ms
You can also enter the following command in the intermediate router R2 configuration mode: the new version of IOS12.4 command)
- R2(config)#do ping 199.99.1.1
-
- Type escape sequence to abort.
-
- Sending 5, 100-byte ICMP Echos to 199.99.1.1, timeout is 2 seconds:
-
- !!!!!
-
- R2(config)#do ping 199.99.2.2
-
- Sending 5, 100-byte ICMP Echos to 199.99.2.2, timeout is 2 seconds:
-
- !!!!!
-
- Success rate is 100 percent (5/5), round-trip min/avg/max = 12/26/60 ms
"!" "." Or "U" indicates "reachable.
The connectivity configuration of the test interface in the router OSPF configuration is complete. I hope you have mastered it. Next, we will introduce step 3 of router OSPF configuration: basic configuration and connectivity test of OSPF.
- Result Analysis of router OSPF Configuration
- Basic description of router OSPF Configuration
- Describes the basic interface configuration for router OSPF configuration.
- Describes how to query the OSPF neighbor table on a router in the OSPF configuration of a router.
- Describes the basic configuration and connectivity test of OSPF in Router OSPF configuration.
- Describes how to query the connection status database of ospf on a Router Based on the OSPF configuration of a router.