display spbm unicast-fib

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

Syntax

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

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 an IRF member device by its member ID. If you do not specify an IRF member device, the command displays unicast FIB entries for all IRF member devices.

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     FGE1/0/1
0011-2200-0101 2      T     FGE1/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         FGE1/0/2
0011-2200-0101 2      T     Done        0x1         FGE1/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   : FGE1/0/2
Flags  : T                Driver flag: Done
Epoch  : 0x1
Context: 0xffffffff 0xffffffff 0xffffffff 0xffffffff

Table 26: 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 resources insufficiency. 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.