User's Manual

Table Of Contents
446
Users Manual of CS-6306R
of OSPF according to the interface.
debug ip ospf adj
Monitors the procedure of establishing
OSPF adjacency.
debug ip ospf events
Monitors the OSPF interface and
neighboring events.
debug ip ospf flood
Monitors the flooding of OSPF
database.
debug ip ospf lsa-generation
Monitors the LSA generation of OSPF.
debug ip ospf packet
Monitors the OSPF message.
debug ip ospf retransmission
Monitors the message resending of
OSPF.
debug ip ospf spf
debug ip ospf spf intra
debug ip ospf spf inter
debug ip ospf spf external
Monitors the SPF calculation route of
OSPF.
debug ip ospf tree
Monitors SPF tree establishment of
OSPF.
45.3.4 OSPF Configuration Example
45.3.4.1 VLSM Configuration Example
OSPF and static routes support VLSMs. Through VLSMs, different masks on different interfaces can use the
same network number. The IP address is thus saved and the address space is effectively utilized.
In the following example, a 30-digit subnet mask is used. A 2-digit address space is reserved for the host
address of the serial port. Two host addresses are enough for the point-to-point serial link.
interface vlan 10
ip address 131.107.1.1 255.255.255.0
! 8 bits of host address space reserved for ethernets
interface vlan 11
ip address 131.107.254.1 255.255.255.252
! 2 bits of address space reserved for serial lines
! Router is configured for OSPF and assigned AS 107
router ospf 107
! Specifies network directly connected to the router
network 131.107.0.0 0.0.255.255 area 0.0.0.0