Some operators use third-party or self-build NMS and need to discover the nodes using OSPF and its Type 10 opaque LSA TLV.When a node is discovered through OSPF, the NMS will push the new configuration to the node and perform any other required modifications using CLI (SSH and/or Telnet).
A node is configured with a network element profile. A network element profile has all of the necessary information for node discovery, including the node NEID, NEIP, Vendor Identifier, chassis type, and MAC address. The network element profile can be added to an OSPF area in VPRN and when it is, the network element information is advertised using OSPF type 10 opaque LSA to the rest of the network. These discovery procedures are only available in VPRN.
An aggregation node (node closest to the NMS) gathers all of the network element information received using OSPF and converts this information into a MIB. The aggregation node also generates traps as necessary to update the NMS when the configure system network-element-discovery generate-traps command is configured. In addition to the traps, the NMS can walk the MIB table to update its new view of the network.
The node can be discovered using an IPv4 or IPv6 NEIP but the advertisement protocol is always OSPFv2; OSPFv3 is not supported. If the NMS wants to discover a node in an IPv6 network, both OSPFv2 and OSPFv3 must be enabled. OSPFv2 will advertise the node information to the aggregation node to generate the traps and build the MIB table but OSPFv3 will be used to provide the routing information needed to reach that node using an IPv6 network.
The minimum configuration required on the node so that it can be discovered includes:
As all discovery is done using the VPRN SAP, there is no need for GRT configuration.
A network element profile is created for the system with all the information needed for node discovery using the commands below. This information will be flooded to the network using IGP.
This profile can be assigned to a VPRN OSPFv2 area for advertisement. Only one profile can be created for each node.
If a value is not set, the following default values are used for these optional parameters:
When a network element profile is assigned to OSPFv2, its information will be advertised using LSA type 10 opaque. Use the following commands to assign a network element profile to OSPFv2:
The network element information will not be added to the routing table (RIB) or forwarding table (FIB), this includes the NEIP. If the NEIP of the profile needs to be visible to the network then a loopback interface or a physical interface must be configured with the same IP address as the NEIP and added to the OSPFv2 area.
For example, if the following profile is created, the NEIP is duplicated in a loopback interface address. This is because the NEIP is only used in type 10 LSA and is not added to the RIB or FIB. Type 10 LSA is only used to relay the information to the NMS. As such, the loopback interface with the same IP address as the NEIP, must be assigned to the same OSPF area to ensure the address is injected into the RIB and FIB of all nodes and is reachable. If this loopback interface is not configured and not added to OSPF then SR OS will not have any route entry in the RIB or FIB for the NEIP.
OSPF Opaque LSA packets are made up of the following, as shown in Figure 21.
![]() | Note: Type 10 opaque LSA can only be added to OSPFv2 and not OSPFv3. |
OSPF Opaque LSA type 10 TLV contains the following information:
Both IPv4 and IPv6 node discovery is supported. However, LSA type 10 is only advertised on OSPFv2 and not OSPFv3. If the operator wants to use IPv6 or dual-stack, OSPFv2 must be configured under VPRN to advertise the node information using LSA type 10 opaque. In addition, OSPFV3 can also be enabled to advertise IPv6 routes and interfaces for IPv6 reachability. If both IPv4 and IPv6 are configured on the loopback interface within the VPRN (dual-stack) then both values are sent in the OSPFv2 LSA type 10, NMS will prefer one over the other. In this case, all discovered routers must be configured with dual-stack OSPFv2 and OSPFv3.
An aggregation node, attached to NMS through a VPRN service, aggregates all nodes to be discovered using the same VPRN. The node is configured with:
This node converts the OSPF LSA type 10 opaque information arriving from the discovered nodes into an SNMP MIB table and updates the NMS with the MIB. The NMS uses the MIB to discover the node and opens a SSH or Telnet session to configure the node accordingly.
The node to be discovered is provisioned with a management VRF as described in Node Discovery Procedure. All of the necessary node information needed for the node discovery is advertised by OSPF using LSA type 10 opaque. Nodes can be chained together, so the LSA type 10 needs to be forwarded all the way to the aggregation node.
NMS discovers the node using SNMP MIB traps or it can walk the MIB table.
NMS connects to the discovered node using SSH or Telnet to update the configuration by CLI. The operator must ensure that none of their commands will disable the management VPRN and disconnect the discovered node from NMS.
A new vendor-proprietary MIB table for node discovery, tmnxVRtrNeInfoTable, is defined. This MIB table is used by the NMS to gather all node information by walking the table, for example, after an NMS reboot.
This MIB table is built on any node that receives OSPF type 10 LSA.
The MIB table should be built with a key of VRF and NEID and a data portion of neid, vendor identify, platform type, system-mac, neip-v4, and neip-v6.
The MIB parameters are:
The MIB walk is as follows:
tmnxVRtrNeInfoNeidHex.7.0.65.66.67 = STRING: 0:41:42:43
tmnxVRtrNeInfoNeipV4Type.7.0.65.66.67 = INTEGER: ipv4(1)
tmnxVRtrNeInfoNeipV4.7.0.65.66.67 = Hex-STRING: 80 09 0A 01
tmnxVRtrNeInfoNeipV4PrefixLen.7.0.65.66.67 = Gauge32: 32
tmnxVRtrNeInfoNeipV6Type.7.0.65.66.67 = INTEGER: ipv6(2)
tmnxVRtrNeInfoNeipV6.7.0.65.66.67 = Hex-STRING: 3F FE 00 00 00 00 00 00 00 00 00 00 80 09 0A 01
tmnxVRtrNeInfoNeipV6PrefixLen.7.0.65.66.67 = Gauge32: 128
tmnxVRtrNeInfoSystemMac.7.0.65.66.67 = STRING: e:0:0:0:0:1
tmnxVRtrNeInfoPlatformType.7.0.65.66.67 = STRING: Dut-B,7750 SR-12e_ndef
tmnxVRtrNeInfoVendorId.7.0.65.66.67 = STRING: NokiaNotDefault
The discovery table should be walkable by the NMS. The NMS can walk the entire table or get a specific row using the appropriate key. This is required when the NMS is rebooted or needs to update its entire database.
In addition, every time a node is updated, added, or removed from the OSPF opaque database (using LSA type 10 opaque update) a trap is sent to the NMS to notify the NMS of the change if the configure system network-element-discovery generate-traps command is configured. These traps are: