TechLibrary

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Verify the OSPF Protocol Configuration

    Purpose

    After you have checked interfaces and neighbors, verify the OSPF protocol configuration.

    Action

    To verify the OSPF protocol configuration, enter the following command from the ingress, transit, and egress routers:

    user@host> show configuration protocols ospf

    Sample Output 1

    user@R1> show configuration protocols ospf 
    traffic-engineering;
    area 0.0.0.0 {
        interface so-0/0/0.0;
        interface so-0/0/1.0;
        interface so-0/0/2.0;      <<< The loopback interface (lo0) is missing
    }
    

    Sample Output 2

    user@R3>show configuration protocols ospf 
    area 0.0.0.0 { <<< traffic engineering is missing
        interface so-0/0/0.0;
        interface so-0/0/1.0;
        interface so-0/0/2.0;
        interface so-0/0/3.0;     <<< The loopback interface (lo0) is missing
    }
    

    Sample Output 3

    user@R6> show configuration protocols ospf 
    traffic-engineering;
    area 0.0.0.0 {
        interface so-0/0/0.0;
        interface so-0/0/1.0;
        interface so-0/0/2.0;
        interface so-0/0/3.0;     <<< The loopback interface (lo0) is missing
    }
    

    Meaning

    All three sample outputs show that the loopback interface is not included on any of the routers. Including the loopback (lo0) interface is important when you have the RID manually configured.

    In addition, Sample Output 2 from transit router R3 shows that traffic engineering is not configured. Traffic engineering must be manually enabled when you configure OSPF for an MPLS network.

    Because the loopback interface and traffic engineering are missing from the OSPF protocol configuration, the LSP does not work as expected.

    Published: 2015-05-10