Layer-2 Routing Information Base (L2RIB) DMEization
The following is a list of commands that support DME for L2RIB feature:
1. L2RIB Producers
Show Command
show l2rib producers
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
| MO | DN |
|---|---|
| producer | sys/l2rib/inst/producers |
Properties
DN: sys/l2rib/inst/producers/prod-[name]-id-[id]-client-[clientId]-obj-[objType]
| Property | Default Value | DME-Type |
|---|---|---|
| clientId | 0 | scalar:ubyte |
| flags | 0 | scalar:uUint32 |
| id | 0 | scalar:uUint32 |
| name | "" | string:Basic |
| objType | "" | string:Basic |
| purgeTime | 0 | scalar:uUint32 |
| state | "" | ProducerStT |
CLI Output
| Producer ID | Client ID | Object Type | Admin Dist | Purge Time | State |
|---|---|---|---|---|---|
| VXLAN (011) | 4 | Topology | 0 | 0 | Initial |
| Static (002) | 1 | MAC | 5 | 600000 | Converged |
| Local (003) | 1 | MAC | 5 | 600000 | Converged |
| VXLAN (011) | 4 | MAC | 0 | 0 | Initial |
| VXLAN (011) | 4 | EAD | 0 | 0 | Initial |
| UFDM (015) | 2 | EVPN_PL | 0 | 0 | Initial |
| VXLAN (011) | 4 | IMET_ROUTE | 0 | 0 | Initial |
| VXLAN (011) | 4 | VXLAN_FL | 0 | 0 | Initial |
| VXLAN (011) | 4 | PEERID | 0 | 0 | Initial |
| VXLAN (011) | 4 | STARTUP-RT | 0 | 0 | Initial |
| VXLAN (011) | 4 | ES_ENTRY | 0 | 0 | Initial |
2. L2RIB Registrations
Show Command
show l2rib registrations
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
| MO | DN |
|---|---|
| registrations | sys/l2rib/inst/registrations |
Properties
DN: sys/l2rib/inst/registrations/client-[name]
| Property | Default Value | DME-Type |
|---|---|---|
| id | 0 | scalar:UByte |
| name | "" | string:Basic |
DN: sys/l2rib/inst/registrations/client[name]/topo-[id]-obj-[objType]
| Property | DME-Type |
|---|---|
| id | string:Basic |
| objType | string:Basic |
| prodName | string:Basic |
CLI Output
| Client ID | Topology ID | Object Type | Producer |
|---|---|---|---|
| 0 | ALL | MAC | Multiple |
| 0 | ALL | Topology(1) | VXLAN |
| 0 | ALL | EVPN_PL | UFDM |
| 1 | ALL | CMCAST_ROUTE | NGMVPN |
| 2 | ALL | Topo-child-attr | VXLAN |
| 3 | ALL | EVPN_PL | None |
| 4 | ALL | Topology(1) | VXLAN |
3. L2Route MAC All Detail
Show Command
show l2route mac all detail
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
| MO | DN |
|---|---|
| Mac | sys/l2rib/inst/topology/topo-[topo id]/mac |
Properties
DN: sys/l2rib/inst/topology/topo-[topoId]/mac/mac_entry-[macAddr]
| Property | DME-Type |
|---|---|
| macAddr | address:Mac |
DN: sys/l2rib/inst/topology/topo-[topoId]/mac/mac_entry-[macAddr]/prod-[producer]
| Property | DME-Type |
|---|---|
| esi | String:basic |
| flags | MacRtFlagsT |
| fwdSt | String:basic |
| genericFlags | GenericFlagsT |
| macAddr | adress:MAC |
| pcInfo | String:basic |
| producer | String:basic |
| rtResolution | MacRtResolutionT |
| sentTo | String:basic |
| seqNo | scalar:unit32 |
| siteOrigin | String:basic |
| topoId | scalar:unit32 |
DN: sys/l2rib/inst/topology/topo-[topoId]/mac/mac-[macAddr]/producer-[producer]/nexthops
DN: sys/l2rib/inst/topology/topo-[topoId]/mac/mac-[macAddr]/producer-[producer]/nexthops/nh-[nh]-type-[type]
| Property | DME-Type | Default Value |
|---|---|---|
| nh | String:basic | "" |
| type | l2rib:MacRtNhTypeT | "" |
| label | scalar:Uint32 | "0" |
| weight | scalar:Uint32 | "0" |
CLI Output
| Topology | Mac Address | Prod | Flags | Seq No | Next-Hops |
|---|---|---|---|---|---|
| 100 | 0000.0022.2221 | BGP | Rcv | 5 | 5.5.5.5 (Label: 20000) 55.55.55.55 (Label:20000) |
| Route Resolution Type: ESI | |||||
| Forwarding State: Resolved (PL) | |||||
| Resultant PL: 5.5.5.5 | |||||
| Sent To: L2FM | |||||
| ESI : aaaa.aaaa.aaaa.aaaa.99aa | |||||
| SOO: 775237173 | |||||
| Port-Channel Info: Ifindex 6789 |
4. L2Route MAC-IP All Detail
Show Command
show l2route mac-ip all detail
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
| MO | DN |
|---|---|
| MacIp | sys/l2rib/inst/topology/topo-[topo id]/mac-ip |
Properties
DN: sys/l2rib/inst/topology/topo-[topo-id]/macip/macip_entry-[macAddr]
| Property | Default Value | DME-Type |
|---|---|---|
| macAddr | "" | address:MAC |
| ip | "" | address:Ip |
DN: sys/l2rib/inst/topology/topo-[topoId]/macip/macip_entry-[macAddr]/prod-[producer]
| Property | Default Value | DME-Type |
|---|---|---|
| esi | "" | string:Basic |
| flags | "" | MacIpRtFlagsT |
| genericFlags | "" | genericFlagsT |
| hostIp | 0 | address:ip |
| l3TopoId | 0 | scalar:unit32 |
| macAddr | 0 | address:MAC |
| nh | "" | string:Basic |
| pcInfo | "" | string:Basic |
| peerId | 0 | scalar:unit32 |
| peerIfIdx | 0 | scalar:unit64 |
| producer | "" | string:Basic |
| sentTo | "" | string:Basic |
| seqNo | 0 | scalar:unit32 |
| siteOrigin | "" | string:Basic |
| topoId | 0 | scalar:unit32 |
CLI Output
| Topology | Mac Address | Host IP | Prod | Flag | Seq No | Next-Hops |
|---|---|---|---|---|---|---|
| 100 | 0000.0002.2222 | 5.5.5.5 | BGP | L | 2 | 5.5.5.5(Label:20000) |
| L3-Info: 42 | ||||||
| ESI : aaaa.aaaa.aaaa.aaaa.99aa | ||||||
| SOO: 774909488 | ||||||
| Port-Channel Info: Ifindex 6789 |
5. L2Route FL All Detail
Show Command
show l2route fl all detail
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
| MO | DN |
|---|---|
| FloodList | sys/l2rib/inst/topology/topo-[topo id]/floodlist |
Properties
DN: sys/l2rib/inst/topology/topo-[topoId]/floodlist/fl-ip
| Property | Default Value | DME-Type |
|---|---|---|
| peerId | 0 | scalar:Unit32 |
| ip | 0 | scalar:Unit32 |
| sentTo | "" | string:Basic |
| serviceNode | no | scalar:Bool |
| topoId | 0 | scalar:Unit32 |
CLI Output
| TopologyID | Peer-id | Flood List | Label(VNI) | Service Node | NFN Bitmap |
|---|---|---|---|---|---|
| 100 | 100 | 5.5.5.5 | 0 | no | 96 |
| 100 | 200 | 6.6.6.6 | 0 | no | 96 |
| 100 | 500 | 55.55.55.55 | 0 | no | 96 |
6. L2Route PeerID
Show Command
show l2route peerid
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
| MO | DN |
|---|---|
| Peers | sys/l2rib/inst/peers |
Properties
DN: sys/l2rib/inst/peers/peer-[ifName]-[ip]
| Property | Default Value | DME-Type |
|---|---|---|
| id | 0 | scalar:Unit32 |
| ifHdl | 0 | scalar:Unit64 |
| ifName | "" | string:Basic |
| ip | 0 | address:ip |
| numMac | 0 | scalar:Unit32 |
| numNh | 0 | scalar:Unit32 |
| peerIfIdx | 0 | scalar:Unit64 |
CLI Output
| NVE IFhdl | IP Address | PeerID | Ifindex | Num of MAC's |
|---|---|---|---|---|
| 1234 | 5.5.5.5 | 100 | 1005 | 0 |
7. L2Route Summary
Show Command
show l2route summary
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
| MO | DN |
|---|---|
| Summary | sys/l2rib/inst/summary |
Properties
DN: sys/l2rib/inst/summary
| Property | Default Value | DME-Type |
|---|---|---|
| totalSize | 0 | scalar:Unit32 |
| cnvrgdTblCnt | 0 | scalar:Unit32 |
DN: sys/l2rib/inst/summary/obj-[objName]
| Property | Default Value | DME-Type |
|---|---|---|
| numObj | 0 | scalar:Unit32 |
| ObjName | "" | string:Basic |
| size | 0 | scalar:Unit32 |
DN: sys/l2rib/inst/summary/obj-[objName]/prod-[prodName]
| Property | Default Value | DME-Type |
|---|---|---|
| id | 0 | scalar:Unit32 |
| numObj | 0 | scalar:Unit32 |
| prodName | "" | string:Basic |
| size | 0 | scalar:Unit32 |
CLI Output
| L2ROUTE Summary | Total Memory: 872 | Number of Converged Tables: 49 |
Table Name: Topology
| Producer(ID) | Objects | Memory(Bytes) |
|---|---|---|
| VXLAN(11) | 1 | 376 |
| Total | 1 | 376 |
Table Name: PEERID
| Producer(ID) | Objects | Memory(Bytes) |
|---|---|---|
| VXLAN(11) | 2 | 496 |
| Total | 2 | 496 |
8. L2Route EVPN EAD All Detail
Show Command
show l2route evpn ead all detail
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
| MO | DN |
|---|---|
| Ead | sys/l2rib/inst/topology/topo-[topo-id]/ead |
Properties
DN: sys/l2rib/inst/topology/topo-[topoId]/ead/ead_entry-[esi]
| Property | DME-Type |
|---|---|
| esi | string:Basic |
DN: sys/l2rib/inst/topology/topo-[topoId]/ead/ead_entry-[esi]/prod-[prodname]
| Property | Default Value | DME-Type |
|---|---|---|
| numHops | 0 | scalar:Unit32 |
| numPls | 0 | scalar:Unit32 |
| prodName | "" | string:Basic |
| sentTo | "" | string:Basic |
| topoId | 0 | scalar:Unit32 |
DN: sys/l2rib/inst/topology/topo-[topoId]/ead/ead_entry-[esi]/prod-[prodName]/nexthops
DN: sys/l2rib/inst/topology/topo-[topoId]/ead/ead_entry-[esi]/prod-[prodName]/nexthops/nh-[nh]
| Property | DME-Type | Default Value |
|---|---|---|
| nh | string:Basic | "" |
| label | scalar:Uint32 | "0" |
| weight | scalar:Uint32 | "0" |
CLI Output
| Topology ID | Prod | ESI | NFN Bitmap | Num PLs | Flags |
|---|---|---|---|---|---|
| 4294967294 | VXLAN | 0301.0101.0101.0100.0001 | 0 | 0 | - |
9. L2Route EVPN EAD Ethernet-segment All Detail
Show Command
show l2route evpn ethernet-segment all detail
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
| MO | DN |
|---|---|
| Es | sys/l2rib/inst/topology/topo-[topo-id]/es |
Properties
DN: sys/l2rib/inst/topology/topo-[topoId]/es/es-[esi]-prod-[prodName]-origin-[originIp]
| Property |
|---|
| esi |
| ifHandle |
| prodName |
| originIp |
| sentTo |
CLI Output
| ESI | Orig Rtr | IP Addr | Prod | Ifindex | NFN Bitmap |
|---|---|---|---|---|---|
| 0301.0101.0101.0100.0001 | 1.2.3.4 | VXLAN | Ifindex 1234 | 0 | |
| aaaa.aaaa.aaaa.aaaa.99aa | 1.2.3.4 | VXLAN | Ifindex 1234 | 0 | |
| 0301.0101.0101.0100.0001 | 1.2.3.4 | VXLAN | Ifindex 1234 | 0 |
10. L2Route EVPN Path-list All Detail
Show Command
show l2route evpn path-list all detail
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
| MO | DN |
|---|---|
| Pl | sys/l2rib/inst/topology/topo-[topo-id]/pl |
Properties
DN: sys/l2rib/inst/topology/topo-[topoId]/pl/pl-[esi]-prod-[prodName]-type-[rtType]-cpnh-[cpNh]
| Property | Default Value | DME-Type |
|---|---|---|
| clientCtx | 0 | scalar:Unit32 |
| cpNh | "" | string:Basic |
| ecmpLabel | 0 | scalar:Unit32 |
| esi | "" | string:Basic |
| flags | 0 | scalar:Unit32 |
| prodName | "" | string:Basic |
| rtType | "" | l2rib:MacRtResolutionT |
| sentTo | "" | string:Basic |
| topoId | 0 | scalar:Unit32 |
| numMac | 0 | scalar:Uint32 |
DN: sys/l2rib/inst/topology/topo-[topoId]/pl/pl-[esi]-prod-[prodName]-type-[rtType]-cpnh-[cpNh]/nexthops
DN: sys/l2rib/inst/topology/topo-[topoId]/pl/pl-[esi]-prod-[prodName]-type-[rtType]-cpnh-[cpNh]/nexthops/nh-[nh]-type-[type]
| Property | DME-Type | Default Value |
|---|---|---|
| nh | string:Basic | "" |
| type | l2rib:PlNhTypeT | "" |
| label | scalar:Uint32 | "0" |
| weight | scalar:Uint32 | "0" |
| peerId | scalar:Uint32 | "0" |
| peerIdResState | l2rib:PeerResolutionStateT | "" |
CLI Output
| Topology ID | Prod | ESI | ECMP | Label Flags | ClientCtx | MACs | NFN Bitmap |
|---|---|---|---|---|---|---|---|
| 100 | None | aaaa.aaaa.aaaa.aaaa.99aa | 1225261056 | 0 | 0 | 1 | 8 |
| CP Next-Hops: 5.5.5.5, 55.55.55.55 | |||||||
| Gbl EAD Next-Hops: 5.5.5.5(100,R) | |||||||
| 55.55.55.55(500,R) | |||||||
| Res Next-Hops: 5.5.5.5, 55.55.55.55 | |||||||
| Res Next-Hops from UFDM: 5.5.5.5 | |||||||
| 100 | UFDM | aaaa.aaaa.aaaa.aaaa.99aa | 1225261056 | 0 | 1493172225 | 0 | 2 |
| CP Next-Hops: 5.5.5.5, 55.55.55.55 | |||||||
| Gbl EAD Next-Hops: Res Next-Hops: 5.5.5.5 |
11. L2Route EVPN Imet All Detail
Show Command
show l2route evpn imet all detail
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
| MO | DN |
|---|---|
| Imet | sys/l2rib/inst/topology/topo-[topo-id]/imet |
Properties
DN: sys/l2rib/inst/topology/topo-[topoId]/imet/pro-[Prodname]
| Property | DME-Type | Default Value |
|---|---|---|
| prodName | "" | string:Basic |
DN: sys/l2rib/inst/topology/topo-[topoId]/imet/prod-[prodName]/imet-[ip]-imetlabel-[imetlabel]-tag-[ethTagid]-encap-[encapType]
| Property | DME-Type | Default Value |
|---|---|---|
| encapType | scalar:uint16 | 0 |
| ethTagId | scalar:uint32 | 0 |
| imetLabel | scalar:uint32 | 0 |
| ip | address:ip | "" |
| origin | ImetRtOrigin | unknown |
| pmsiFlags | scalar:uint32 | 0 |
| psmiType | scalar:uint32 | 0 |
| prodName | string:Basic | "" |
| sentTo | string:Basic | "" |
| topoId | scalar:Unit32 | 0 |
| tunnelId | string:Basic | "" |
| vni | scalar:Unit32 | 0 |
| teFlag | string:Basic | "" |
| vrfId | scalar:Uint32 | 0 |
CLI Output
| Topology ID | VNI | Prod | IPAddr | Eth Tag | PMSI-Flags | Flags | Type | Label(VNI) | TunnelID | NFN Bitmap |
|---|---|---|---|---|---|---|---|---|---|---|
| 100 | 20000 | BGP | 5.5.5.5 | 0 | 3 | - | 6 | 20000 | 1.13.101.250 | 16 |