Reference Guide
!
interface ethernet1/1/2
 ip ospf 65535 area 3
 no switchport
 no shutdown
 ip address 160.1.1.2/24
!
interface ethernet1/1/3:1
 ip ospf 65535 area 2
 no switchport
 no shutdown
 ip address 140.1.1.1/24
!
interface ethernet1/1/29
 channel-group 128
 no switchport
 no shutdown
!
interface ethernet1/1/31
 switchport mode trunk
 switchport trunk allowed vlan 200
 no shutdown
!
interface vlan200
 ip ospf 65535 area 0
 no shutdown
 ip address 13.1.1.1/24
!
interface port-channel128
 ip ospf 65535 area 0
 ip address 12.1.1.1/24
 no switchport
 no shutdown
!
router ospf 65535
 area 0 default-cost 10
 area 2 stub
 area 3 nssa
 default-metric 310
 redistribute static
 router-id 99.99.99.99
!
...
Assign router identier
For managing and troubleshooting purposes, you can assign a router ID for the OSPF process. Use the router’s IP address as the router ID.
• Assign the router ID for the OSPFv2 process in ROUTER-OSPF mode
router-id ip-address
• View the current OSPFv2 status in ROUTER-OSPF mode
do show ip ospf instance-number
View OSPFv2 status
OS10# show ip ospf 10
Routing Process ospf 10 with ID 111.2.1.1
Supports only single TOS (TOS0) routes
It is an Autonomous System Boundary Router
It is Flooding according to RFC 2328
Convergence Level 0
Min LSA origination 0 msec, Min LSA arrival 1000 msec
Min LSA hold time 5000 msec, Max LSA wait time 5000 msec
Number of area in this router is 1, normal 1 stub 0 nssa 0
 Area (0.0.0.0)
 Number of interface in this area is 3
Layer 3
265










