11 monitoring ospf – CANOGA PERKINS 9175 Configuration Guide User Manual
Page 111
CanogaOS Configuration Guide
17-12
DUT# configure terminal
Enter the Configure mode.
DUT(config-router)# network 10.10.10.0/24 area 0
DUT(config-router)# network 10.10.11.0/24 area 0
Define interfaces on which OSPF runs and associate the
area ID (0) with the interface (area ID 0 specifies the
backbone area).
DUT(config-router)# area 0 authentication
message-digest
Enable MD5 authentication on area 0.
DUT(config-router)# exit
Exit the Router mode and return to Configure mode.
DUT(config)# interface eth-0-1
Specify the interface (eth-0-1) to be configured.
DUT(config-if)# ip ospf message-digest-key 1 md5 test
Register MD5 key test for OSPF authentication. The
Key ID is 1.
DUT(config-if)# exit
Exit the Interface mode and return to Configure mode
DUT(config)# interface eth-0-2
Specify the interface (eth-0-2) to be configured.
DUT(config-if)# ip ospf authentication
Enable OSPF packet to use text authentication on the
current interface (eth-0-2).
DUT(config-if)# ip ospf authentication-key test
Specify an OSPF authentication password test for the
neighboring routers.
Validation Commands
show running-config, show ip ospf neighbor
17.11 Monitoring OSPF
You can display specific statistics such as the contents of IP routing tables, caches, and
databases.
DUT# show ip ospf 100
Display general information about OSPF routing
processes.
DUT# show ip ospf 100 database router 10.10.25.21
adv-router 3.3.3.3
DUT# show ip ospf 100 database network self-originate
DUT# show ip ospf 100 database summary
DUT# show ip ospf 100 database asbr-summary
DUT# show ip ospf 100 database external
Display lists of information related to the OSPF
database.
DUT# show ip ospf border-routes
Display the internal OSPF routing ABR and ASBR table
entries.
DUT# show ip ospf interface eth-0-1
Display OSPF-related interface information.
DUT# show ip ospf neighbor 172.16.12.100
Display OSPF interface neighbor information.
DUT# show ip ospf virtual-links
Display OSPF-related virtual links information.