35-34
Catalyst 3750 Switch Software Configuration Guide
OL-8550-02
Chapter 35 Configuring IP Unicast Routing
Configuring OSPF
its router ID, even if other interfaces have higher IP addresses. Because loopback interfaces never fail,
this provides greater stability. OSPF automatically prefers a loopback interface over other interfaces, and
it chooses the highest IP address among all loopback interfaces.
Beginning in privileged EXEC mode, follow these steps to configure a loopback interface:
Use the
no interface loopback 0
global configuration command to disable the loopback interface.
Monitoring OSPF
You can display specific statistics such as the contents of IP routing tables, caches, and databases.
Table 35-6
lists some of the privileged EXEC commands for displaying statistics. For more
show ip ospf
database
privileged EXEC command options and for explanations of fields in the resulting display, see
the
Cisco IOS IP Command Reference, Volume 2 of 3: Routing Protocols, Release 12.2
.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
interface loopback 0
Create a loopback interface, and enter interface configuration mode.
Step 3
ip address
address mask
Assign an IP address to this interface.
Step 4
end
Return to privileged EXEC mode.
Step 5
show ip interface
Verify your entries.
Step 6
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Table 35-6
Show IP OSPF Statistics Commands
Command
Purpose
show ip ospf
[
process-id
]
Display general information about OSPF routing
processes.
show ip ospf
[
process-id
]
database
[
router
] [
link-state-id
]
show ip ospf
[
process-id
]
database
[
router
] [
self-originate
]
show ip ospf
[
process-id
]
database
[
router
] [
adv-router
[
ip-address
]]
show ip ospf
[
process-id
]
database
[
network
] [
link-state-id
]
show ip ospf
[
process-id
]
database
[
summary
] [
link-state-id
]
show ip ospf
[
process-id
]
database
[
asbr-summary
] [
link-state-id
]
show ip ospf
[
process-id
]
database
[
external
] [
link-state-id
]
show ip ospf
[
process-id area-id
]
database
[
database-summary
]
Display lists of information related to the OSPF
database.
show ip ospf border-routes
Display the internal OSPF routing ABR and ASBR
table entries.
show ip ospf interface
[
interface-name
]
Display OSPF-related interface information.
show ip ospf neighbor
[
interface-name
] [
neighbor-id
]
detail
Display OSPF interface neighbor information.
show ip ospf virtual-links
Display OSPF-related virtual links information.
Содержание 3750G - Catalyst Integrated Wireless LAN Controller
Страница 80: ...1 28 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 1 Overview Where to Go Next ...
Страница 606: ...27 8 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 27 Configuring UDLD Displaying UDLD Status ...
Страница 670: ...31 18 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 31 Configuring SNMP Displaying SNMP Status ...
Страница 1048: ...41 20 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 41 Configuring MSDP Monitoring and Maintaining MSDP ...
Страница 1086: ...43 26 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 43 Troubleshooting Using the crashinfo Files ...
Страница 1104: ...B 4 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Appendix B Supported MIBs Using FTP to Access the MIB Files ...