Internode Topology Discovery and Communication
Optical applications on the NCS 1020 nodes must discover the OLT-OLT link topology. Span level applications must discover the adjacent nodes. Link level applications must learn the complete OLT-OLT link topology. NCS 1020 uses OSPF to discover the link topology and communicate topology information.
The networking devices running OSPF detect topological changes in the network, flood link-state updates to neighbors, and quickly converge on a new view of the topology. Each OSPF router in the network soon has the same topological view again.
Optical applications on NCS 1020 must discover the link topology, the different nodes and the node types, and the optical spectral band the nodes work on. NCS 1020 uses an enhanced version of OSPF that supports a new link-state advertisement attribute that advertises the node type and band.
Configure OSPF
The following commands are the necessary configurations for OSPF on an NCS 1020 OLT node.
configure
router ospf process-name
router-id router-id
distribute link-state
network point-to-point
area area-id
interface Loopback0
interface GigabitEthernet0/0/0/0
The following commands are the necessary configurations for OSPF on an NCS 1020 ILA node.
configure
router ospf process-name
router-id router-id
distribute link-state
network point-to-point
area area-id
interface Loopback0
interface GigabitEthernet0/0/0/0
interface GigabitEthernet0/0/0/2
Important |
You must configure router ID during OSPF configuration on NCS 1020 nodes. |
See Implementing OSPF, for a description of the concepts and tasks necessary to implement OSPF on Cisco IOS XR.
Configure OSPF cost
Cost is the metric, you can use the cost command to explicitly specify the interface (network) for OSPF path calculation.
configure
router ospf process-name
router-id router-id
area area-id
interface Loopback0
interface GigabitEthernet0/0/0/0
cost cost
See cost (OSPF) for different command modes and usage guidelines to implement cost OSPF on Cisco IOS XR.
Note |
The cost of the link is inversely proportional to the bandwidth of the link. |
The following example shows a sample cost configuration.
P/0/RP0/CPU0:ios(config)#router ospf 1
RP/0/RP0/CPU0:ios(config-ospf)#area 0
RP/0/RP0/CPU0:ios(config-ospf-ar)#interface Loopback0
RP/0/RP0/CPU0:ios(config-ospf-ar-if)#interface GigabitEthernet0/0/0/0
RP/0/RP0/CPU0:ios(config-ospf-ar-if)#cost 20
RP/0/RP0/CPU0:ios(config-ospf-ar-if)#commit
IPv4-to-IPv6 topology migrations
A topology migration is a network transition procedure that
-
updates router and interface configurations to support IPv6 protocols,
-
verifies OSPFv3 adjacency and application continuity, and
-
removes legacy IPv4-specific parameters to complete the migration.
Migration sequence
To successfully migrate from IPv4 to IPv6, follow this sequence:
-
Configure IPv6 router OSPF parameters on all nodes.
-
Enable IPv6 on the Gigabit Ethernet interface.
-
Configure an IPv6 address on the loopback interface.
-
Verify that the OSPFv3 adjacency is in the FULL state.
-
Remove the
distribute link-stateconfiguration from OSPFv2. -
Verify that the OLTs can see the end-to-end topology.
-
Verify that the applications are working and have not been retriggered.
-
Remove the IPv4-related configurations after the application verification.
Migrate a topology from IPv4 to IPv6
Before you begin
-
Ensure you have access to all network nodes.
-
Back up current configurations.
-
Verify network devices support IPv6 and OSPFv3.
Procedure
|
Step 1 |
Run the Example:This sample shows the router ID configuration.
This sample shows the router OSPFv3 configuration.
|
|
Step 2 |
Run the Example:This sample shows the IPv6 parameter for the Gigabit Ethernet interface.
|
|
Step 3 |
Run the Example:This sample shows the IPv6 address on the loopback interface.
|
|
Step 4 |
Run the Example:This sample shows an OSPFv3 neighbor in the FULL state.
|
|
Step 5 |
Run the Example:This sample shows the OSPFv2 configuration before removal.
This sample removes the
|
|
Step 6 |
Run the Example:This sample shows the IPv6 topology.
|
|
Step 7 |
Run the Example:These are the commands to check the applications.
|
|
Step 8 |
After verifying application operation in Step 7, remove IPv4-related settings from the Run the Example:These samples show the OSPFv2 and Gigabit Ethernet removal commands.
These commands display the IPv4-related configurations before removal.
|
Feedback