Chapter 11: OSPF Configuration Guide
Shows information about all valid next
hops mostly derived from the SPF
calculation.
Show OSPF statistics.
Shows information about OSPF Border
Routes.
Show OSPF timers.
Show OSPF virtual-links.
OSPF Configuration Examples
For all examples in this section, refer to the configuration shown in
The following configuration commands for router R1:
•
Determine the IP address for each interface
•
Specify the static routes configured on the router
•
Determine its OSPF configuration
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! Create the various IP interfaces.
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
interface create ip to-r2
interface create ip to-r3
interface create ip to-r41 address-netmask
interface create ip to-r42 address-netmask
interface create ip to-r6
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! Configure default routes to the other subnets reachable through R2.
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ip add route 202.1.0.0/16 gateway 120.1.1.2
ip add route 160.1.5.0/24 gateway 120.1.1.2
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! OSPF Box Level Configuration
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ospf start
ospf create area 140.1.0.0
ospf create area backbone
ospf set ase-defaults cost 4
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! OSPF Interface Configuration
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ospf add interface 140.1.1.1 to-area 140.1.0.0
ospf add interface 140.1.2.1 to-area 140.1.0.0
120
ospf show next-hop-list
ospf show statistics
ospf show summary-asb
ospf show timers
ospf show virtual-links
address-netmask
120.190.1.1/16 port et.1.2
address-netmask
130.1.1.1/16 port et.1.3
140.1.1.1/24 port et.1.4
140.1.2.1/24 port et.1.5
address-netmask
140.1.3.1/24 port et.1.6
SmartSwitch Router User Reference Manual
Figure 8 on page
124.
Need help?
Do you have a question about the SMARTSWITCH ROUTER 9032578-05 and is the answer not in the manual?
Questions and answers