Reference Guide
OSPF route limit
OS10 supports up to 16,000 OSPF routes. Within this range, the only restriction is on intra-area routes that scale only up to 100 routes.
Other OSPF routes can scale up to 16 K.
Enable OSPF
OSPF is disabled by default. Congure at least one interface as either physical or LOOPBACK and assign an IP address to the interface. You
can assign any area besides area 0 a number ID. The OSPF process starts automatically when you congure OSPF globally and enabled for
one or more interfaces.
1 Enable OSPF globally and congure an OSPF instance in CONFIGURATION mode.
router ospf instance-number
Figure 1. OS10 conguration mode
2 Enter the interface information to congure the interface for OSPF in INTERFACE mode.
interface ethernet node/slot/port[:subport]
3 Enable the interface in INTERFACE mode.
no shutdown
4 Disable the default switchport conguration and remove it from an interface or a LAG port in INTERFACE mode.
no switchport
5 Assign an IP address to the interface in INTERFACE mode.
ip address ip-address/mask
6 Enable the OSPFv2 on an interface in INTERFACE mode.
ip ospf process-id area area-id
• process-id—Enter the OSPF process ID for a specic OSPF process from 1 to 65535.
• area-id—Enter the OSPF area ID as an IP address (A.B.C.D) or number from 1 to 65535.
7 Apply the conguration.
do commit
Enable OSPF conguration
OS10(config)# router ospf 100
OS10(conf-router-ospf-100)# exit
OS10(config)# interface eth 1/1/1
OS10(conf-if-eth1/1/1)# no shutdown
OS10(conf-if-eth1/1/1)# no switchport
OS10(conf-if-eth1/1/1)# ip address 11.1.1.1/24
OS10(conf-if-eth1/1/1)# ip ospf 100 area 0
OS10(conf-if-eth1/1/1)# do commit
View OSPF conguration
OS10(conf-if-eth1/1/1)# do show running-configuration ospf
...
!
interface ethernet1/1/1
ip ospf 65535 area 0
no switchport
no shutdown
ip address 11.1.1.1/24
264
Layer 3