Configuration Guide for Cisco NCS 1001, IOS XR Release 25.x.x

PDF

Configuration Guide for Cisco NCS 1001, IOS XR Release 25.x.x

Configure network topology discovery

Want to summarize with AI?

Log in

Use this task to configure OSPF routes and verify routing table entries so compatible NCS 1001 nodes can be discovered across OSC links.


Configure topology discovery for compatible NCS 1001 nodes connected through OSC links.

The network topology discovery feature enables discovery of NCS 1001 nodes that are connected to each other through OSC links, without the need to configure static routes. This feature is based on the OSPF protocol and is introduced in Release 6.3.2

You must configure OSPF on NCS 1001 nodes by defining the name, router ID, and interfaces in Area 0. You can optionally configure the interfaces as passive. OSPF and OSPFv3 protocols are supported.

These network topologies are supported:

  • Point-to-Point

  • Point-to-Point with ILA nodes (up to three ILA nodes)

Procedure

1.

Configure management and OSC interfaces. For details, see Configure management and OSC interfaces.

2.

Configure OSPF routes. For details, see Configure OSPF routes.

3.

Verify the OSPF routing table. For details, see Verify the OSPF routing table.

The NCS 1001 node can discover compatible nodes through OSPF over OSC links.


Configure OSPF routes

Procedure

Use these commands to configure OSPF routes.

router ospf process-id

router-id ip-address

area area-id

This is a sample of configuring OSPF routes.

Example:

configure
      interface MgmtEth0/RP0/CPU0/0
       ipv4 address 10.1.1.2 255.255.255.0
      !
      interface MgmtEth0/RP0/OSC1/0
       shutdown
      !
      interface MgmtEth0/RP0/OSC2/0
       ipv4 address 10.1.3.2 255.255.255.0
      !
      interface MgmtEth0/RP0/OSC3/0
       ipv4 address 10.1.4.2 255.255.255.0
      !
      router ospf remote
       router-id 10.1.1.2
       area 0
        interface MgmtEth0/RP0/CPU0/0
         passive enable
        !
        interface MgmtEth0/RP0/OSC2/0
        !
        interface MgmtEth0/RP0/OSC3/0
        !
       !
      !
      end

Verify the OSPF routing table

Procedure

Use the show ospf routes command to verify the OSPF routing table.

Example:

RP/0/RP0/CPU0:ios# show ospf routes 
Sat Jul 29 09:54:25.937 UTC

          Topology Table for ospf local with ID 10.1.4.1

          Codes: O - Intra area, O IA - Inter area
                 O E1 - External type 1, O E2 - External type 2
                 O N1 - NSSA external type 1, O N2 - NSSA external type 2

          O    10.1.1.0/24, metric 1
                 10.1.1.2, directly connected, via MgmtEth0/RP0/CPU0/0
          O    10.1.3.0/24, metric 1
                 10.1.3.2, directly connected, via MgmtEth0/RP0/OSC2/0
          O    10.1.7.0/24, metric 2
                 10.1.3.1, from 10.58.227.198, via MgmtEth0/RP0/OSC2/0
          O    10.58.227.0/24, metric 1
                 10.1.3.1, from 10.58.227.198, via MgmtEth0/RP0/OSC2/0

The command output shows whether the expected OSPF routes are present.