display spbm unicast-fib

Use display spbm unicast-fib to display SPBM unicast FIB entries.

Syntax

In standalone mode:

display spbm unicast-fib [ b-mac mac-address [ b-vlan vlan-id ] | b-vlan vlan-id ] [ slot slot-number ] [ verbose ]

display spbm unicast-fib [ b-vlan vlan-id ] [ slot slot-number ] count

In IRF mode:

display spbm unicast-fib [ b-mac mac-address [ b-vlan vlan-id ] | b-vlan vlan-id ] [ chassis chassis-number slot slot-number ] [ verbose ]

display spbm unicast-fib [ b-vlan vlan-id ] [ chassis chassis-number slot slot-number ] count

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

b-mac mac-address: Specifies a B-MAC address in H-H-H format. You can omit the consecutive 0s at the beginning of each segment. For example, you can enter f-e2-1 for 000f-00e2-0001. If you do not specify a B-MAC, the command displays unicast FIB entries for all B-MACs.

b-vlan vlan-id: Specifies a B-VLAN by its VLAN ID in the range of 1 to 4094. If you do not specify a B-VLAN, the command displays unicast FIB entries for all B-VLANs.

b-mac mac-address b-vlan vlan-id: Specifies a B-MAC in a B-VLAN. If you do not specify this option, the command displays all unicast FIB entries.

verbose: Displays detailed information about unicast FIB entries. If you do not specify this keyword, the command only displays brief information.

slot slot-number: Specifies a card by its slot number. The slot-number argument represents the slot number of the card. If you do not specify a slot, the command displays unicast FIB entries for all cards. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device and the slot-number argument represents the slot number of the card. If you do not specify a slot, the command displays unicast FIB entries for all cards in the IRF fabric. (In IRF mode.)

count: Specifies the number of matching unicast FIB entries.

Usage guidelines

The SPBM unicast FIB is used in the data plane for forwarding unicast traffic. It contains unicast entries derived from the SPBM unicast FDB.

Examples

# Display brief information about all SPBM unicast FIB entries.

<Sysname> display spbm unicast-fib
Flags: E-Egress T-Transit

B-MAC          B-VLAN Flags Port
0011-2200-0101 1      T     HGE1/0/1
0011-2200-0101 2      T     HGE1/0/2

# Display detailed information about all SPBM unicast FIB entries.

<Sysname> display spbm unicast-fib verbose
Flags: E-Egress T-Transit

B-MAC          B-VLAN Flags Driver flag Epoch       Port
0011-2200-0101 1      T     Done        0x1         HGE1/0/2
0011-2200-0101 2      T     Done        0x1         HGE1/0/2

# Display detailed information about the unicast FIB entry for B-MAC 0011-2200-0101 in B-VLAN 1.

<Sysname> display spbm unicast-fib b-mac 0011-2200-0101 b-vlan 1 verbose
B-MAC  : 0011-2200-0101   B-VLAN     : 1
Port   : HGE1/0/2
Flags  : T                Driver flag: Done
Epoch  : 0x1
Context: 0xffffffff 0xffffffff 0xffffffff 0xffffffff

# Display the number of SPBM unicast FIB entries for B-VLAN 100.

<Sysname> display spbm unicast-fib b-vlan 100 count
Total entries: 2

Table 24: Command output

Field

Description

Port

Outgoing interface.

Flags

Forwarding actions:

  • E—Forwards the frame out of the tunnel to the customer site.

  • T—Forwards the frame to the next node in the tunnel.

If this field displays both flags, the device performs both actions.

Driver flag

State of issuing the entry to the driver:

  • Nores—SPBM failed to issue the entry to the driver because of insufficient resources. The entry is not usable.

  • Done—SPBM issued the entry to the driver.

Epoch

Entry aging counter.

Context

Context that the driver returned when the entry was set in the driver.