Display the IP unicast FIB, unicast FIB, and unicast tree

About this task

In SPBM, Backbone MAC (B-MAC) addresses are carried within the IS-IS link-state database. To do this, SPBM supports an IS-IS Type-Length-Value (TLV) that advertises the Service Instance Identifier (I-SID) and B-MAC information across the network. Each node has a System ID, which also serves as B-MAC of the switch. These B-MAC addresses are populated into the SPBM Forwarding Information Base (FIB).

When the network topology is discovered and stored in the IS-IS link-state database, each node calculates shortest path trees for each source node, so that a unicast path now exists from every node to every other node. With this information, each node populates unicast information received from SPBM into the FIB for forwarding purposes.

I-SIDs are only used for virtual services (Layer 2 VSNs and Layer 3 VSNs). If you only enable IP Shortcuts on the Backbone Edge Bridges, I-SIDs are never exchanged in the network as IP Shortcuts allow Global Routing Table (GRT) IP networks to be transported across IS-IS.

The show isis spbm ip-unicast-fib or show isis spbm ipv6-unicast-fib command displays all of the IS-IS routes in the IS-IS LSDB. The IP ROUTE PREFERENCE column in the show output displays the IP route preference.

Routes within the same VSN are added to the LSDB with a default preference of 7. Inter-VSN routes are added to the LSDB with a route preference of 200. IS-IS accept policies enable you to change the route preference for incoming routes. If the same route is learned from multiple sources with different route preferences, then the routes are not considered equal cost multipath (ECMP) routes. The route with the lowest route preference is the preferred route. In Layer 2, in the event of a tie-break between routes from multiple sources, the tie-breaking is based on cost and hop count.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. Display the SPBM IP unicast FIB:
    • For IPv4:

      show isis spbm ip-unicast-fib [all] [id <1–16777215] [spbm-nh-as-mac]

    • For IPv6:

      show isis spbm ipv6-unicast-fib [all] [id <1–16777215] [spbm-nh-as-mac]

  3. Display the SPBM unicast FIB:

    show isis spbm unicast-fib [b-mac <0x00:0x00:0x00:0x00:0x00:0x00>] [vlan <1-4059>] [summary]

  4. Display the SPBM unicast tree:

    show isis spbm unicast-tree <1-4059> [destination <xxxx.xxxx.xxxx>]

Examples

Switch# show isis spbm ip-unicast-fib
 
==========================================================================================
                                  SPBM IP-UNICAST FIB ENTRY INFO
==========================================================================================
     VRF  DEST                               OUTGOING  SPBM   PREFIX  PREFIX    IP ROUTE
VRF  ISID ISID Destination      NH BEB  VLAN INTERFACE COST   COST    TYPE      PREFERENCE
------------------------------------------------------------------------------------------
GRT    -    -  10.133.136.0/24  4K3(*)  4058 1/3       10     1       Internal  7
GRT    -    -  10.133.136.0/24  4K3(*)  4059 1/3       10     1       Internal  7
GRT    -    -  10.133.136.0/24  4K4(*)  4058 to_4k4    10000  1       Internal  7
GRT    -    -  10.133.136.0/24  4K4(*)  4059 to_4k4    10000  1       Internal  7
------------------------------------------------------------------------------------------
 Total number of SPBM IP-UNICAST FIB entries 4
------------------------------------------------------------------------------------------
Switch# show isis spbm ip-unicast-fib id 10002
 
==========================================================================================
                                  SPBM IP-UNICAST FIB ENTRY INFO
==========================================================================================
     VRF  DEST                               OUTGOING  SPBM   PREFIX  PREFIX    IP ROUTE
VRF  ISID ISID  Destination     NH BEB  VLAN INTERFACE COST   COST    TYPE      PREFERENCE
------------------------------------------------------------------------------------------
vrf2   -  10002 65.2.2.0/24     ESS2    1000 1/13      20     20      Internal  7
vrf2   -  10002 65.2.2.0/24     ESS2    1001 1/18      20     20      Internal  7
------------------------------------------------------------------------------------------
 Total number of SPBM IP-UNICAST FIB entries 2
------------------------------------------------------------------------------------------
Switch# show isis spbm ip-unicast-fib all
 
==========================================================================================
                                  SPBM IP-UNICAST FIB ENTRY INFO
==========================================================================================
     VRF  DEST                               OUTGOING  SPBM   PREFIX  PREFIX    IP ROUTE
VRF  ISID ISID  Destination     NH BEB  VLAN INTERFACE COST   COST    TYPE      PREFERENCE
------------------------------------------------------------------------------------------
GRT    -    -   1.0.0.1/32      ESP0    1000 1/13      20     1       Internal  7
GRT    -    -   1.0.0.1/32      ESP0    1000 1/18      20     1       Internal  7
vrf2   -  10002 65.2.2.0/24     ESS2    1000 1/13      20     20      Internal  7
vrf2   -  10002 65.2.2.0/24     ESS2    1001 1/18      20     20      Internal  7
------------------------------------------------------------------------------------------
 Total number of SPBM IP-UNICAST FIB entries 4
------------------------------------------------------------------------------------------
Switch# show isis spbm unicast-fib
================================================================================
                          SPBM UNICAST FIB ENTRY INFO
================================================================================
DESTINATION          BVLAN SYSID          HOST-NAME    OUTGOING       COST
ADDRESS                                                INTERFACE
--------------------------------------------------------------------------------
00:16:ca:23:73:df   1000  0016.ca23.73df  SPBM-1      1/21            10   
00:16:ca:23:73:df   2000  0016.ca23.73df  SPBM-1      1/21            10   
00:18:b0:bb:b3:df   1000  0018.b0bb.b3df  SPBM-2      MLT-2           10    
00:14:c7:e1:33:e0   1000  0018.b0bb.b3df  SPBM-2      MLT-2           10    
00:18:b0:bb:b3:df   2000  0018.b0bb.b3df  SPBM-2      MLT-2           10    

--------------------------------------------------------------------------------
 Total number of SPBM UNICAST FIB entries 5 
--------------------------------------------------------------------------------
Switch# show isis spbm ipv6-unicast-fib
==============================================================================================
                         SPBM IPv6-UNICAST FIB ENTRY INFO
==============================================================================================
          VRF     Dest                                        OUTGOING  SPBM    PREFIX METRIC
VRF       ISID    ISID     Destination           NH BEB  VLAN INTERFACE COST    COST   TYPE
----------------------------------------------------------------------------------------------
GRT       -       -        00:16:ca:23:73:df     el2     10   10/22     10       1     Internal
GRT       -       11       00:16:ca:23:73:df     esp     20   10/22     10       1     Internal
vrf1      11      100      00:18:b0:bb:b3:df     el2     10   10/22     10       1     External
vrf1      11      11       00:14:c7:e1:33:e0     ess     20   10/22     10       1     External

----------------------------------------------------------------------------------------------
Total number of SPBM IPv6-UNICAST FIB entries 4
----------------------------------------------------------------------------------------------

Variable Definitions

The following table defines parameters for the show isis spbm ip-unicast-fib command.

Variable

Value

all

Displays entries for the Global Routing Table (GRT) and all Virtual Routing and Forwarding (VRF) instances.

Note:

If you use the command show isis spbm ip-unicast-fib the device displays only GRT entries. The command shows IP routes from remote Backbone Edge Bridges (BEBs).

id <1–16777215>

Displays IS-IS SPBM IP unicast Forwarding Information Base (FIB) information by Service Instance Identifier (I-SID) ID.

spbm-nh-as-mac

Displays the next hop B-MAC of the IP unicast FIB entry.

The following table defines parameters for the show isis spbm ipv6-unicast-fib command.

Variable

Value

all

Displays entries for the Global Routing Table (GRT) and all Virtual Routing and Forwarding (VRF) instances.

Note:

If you use the command show isis spbm ipv6-unicast-fib the device displays only GRT entries. The command shows IPv6 routes from remote Backbone Edge Bridges (BEBs).

id <1–16777215>

Displays IS-IS SPBM IPv6 unicast Forwarding Information Base (FIB) information by Service Instance Identifier (I-SID) ID.

spbm-nh-as-mac

Displays the next hop as MAC of the IPv6 unicast FIB entry.

The following table defines parameters for the show isis spbm unicast-fib command.

Variable

Value

b-mac <0x00:0x00:0x00:0x00:0x00:0x00>

Displays the FIB for the specified BMAC.

vlan <1-4059>

Displays the FIB for the specified SPBM VLAN.

summary

Displays a summary of the FIB.

The following table defines parameters for the show isis spbm unicast-tree command.

Variable

Value

<1-4059>

Specifies the SPBM B-VLAN ID.

destination <xxxx.xxxx.xxxx>

Displays the unicast tree for the specified destination.

Job Aid

The following sections describe the fields in the outputs for SPBM unicast FIB and unicast tree show commands.

show isis spbm ip-unicast-fib

The following table describes the fields in the output for the show isis spbm ip-unicast-fib command.

Parameter

Description

VRF

Specifies the VRF ID of the IP unicast FIB entry, 0 indicates NRE.

VRF ISID

Specifies the I-SID of the IP unicast FIB entry.

DEST ISID

Specifies the destination I-SID of the IP unicast FIB entry.

Destination

Specifies the destination IP address of the IP unicast FIB entry.

NH BEB

Specifies the next hop B-MAC of the IP unicast FIB entry.

VLAN

Specifies the VLAN of the IP unicast FIB entry.

OUTGOING INTERFACE

Specifies the outgoing port of the IP unicast FIB.

SPBM COST

Specifies the B-MAC cost of the IP unicast FIB entry.

PREFIX COST

Specifies the prefix cost of the IP unicast FIB entry.

PREFIX TYPE

Specifies the prefix type of the IP unicast FIB entry.

IP ROUTE PREFERENCE

Specifies the IP route preference of the IP unicast FIB entry.

show isis spbm ipv6-unicast-fib

The following table describes the fields in the output for the show isis spbm ipv6-unicast-fib command.

Parameter

Dsecription

VRF

Specifies the VRF ID of the IPv6 unicast FIB entry, 0 indicates NRE.

VRF ISID

Specifies the I-SID of the IPv6 unicast FIB entry.

DEST ISID

Specifies the destination I-SID of the IPv6 unicast FIB entry.

Destination

Specifies the destination IPv6 address of the IPv6 unicast FIB entry.

NH BEB

Specifies the next hop B-MAC of the IPv6 unicast FIB entry.

VLAN

Specifies the VLAN of the IPv6 unicast FIB entry.

OUTGOING INTERFACE

Specifies the outgoing port of the IPv6 unicast FIB.

SPBM COST

Specifies the B-MAC cost of the IPv6 unicast FIB entry.

PREFIX COST

Specifies the prefix cost of the IPv6 unicast FIB entry.

METRIC TYPE

Specifies the metric type. Specifies an internal or a extrenal metric. For internal metric type, the cost of the external routes is equal to the sum of all internal costs and the external cost. For external metric type, the cost of the external routes is equal to the external cost alone. The default is internal.

show isis spbm unicast-fib

The following table describes the fields in the output for the show isis spbm unicast-fib command.

Parameter

Description

DESTINATION ADDRESS

Indicates the destination MAC Address of the unicast FIB entry.

BVLAN

Indicates the B-VLAN of the unicast FIB entry.

SYSID

Indicates the destination system identifier of the unicast FIB entry.

HOST-NAME

Indicates the destination host name of the unicast FIB entry.

OUTGOING INTERFACE

Indicates the outgoing interface of the unicast FIB entry.

COST

Indicates the cost of the unicast FIB entry.