debugging bier

Function

The debugging bier command enables BIER debugging.

The undo debugging bier command disables BIER debugging.

Format

debugging bier all

debugging bier event

debugging bier topology [ sub-domain id [ prefix prefix-ip ] ]

debugging bier route [ sub-domain id [ prefix prefix-ip | nexthop nexthop-address | bfr-id bfr-id-val ] * ]

debugging bier ipv6 all

debugging bier ipv6 route [ sub-domain id [ prefix prefix-ip | nexthop nexthop-address | bfr-id bfr-id-val ] * ]

debugging bier ipv6 topology [ sub-domain id [ prefix prefix-ip ] ]

debugging bier ipv6 event

undo debugging bier all

undo debugging bier event

undo debugging bier topology [ sub-domain id [ prefix prefix-ip ] ]

undo debugging bier route [ sub-domain id [ prefix prefix-ip | nexthop nexthop-address | bfr-id bfr-id-val ] * ]

undo debugging bier ipv6 all

undo debugging bier ipv6 route [ sub-domain id [ prefix prefix-ip | nexthop nexthop-address | bfr-id bfr-id-val ] * ]

undo debugging bier ipv6 topology [ sub-domain id [ prefix prefix-ip ] ]

undo debugging bier ipv6 event

Parameters

Parameter Description Value
event

Indicates the debugging of BIER events.

-

topology

Indicates BIER topology debugging.

-

sub-domain id

Specifies the ID of a sub-domain.

The value is an integer that ranges from 0 to 255.

prefix prefix-ip

Specifies a BFR-prefix.

The value is in dotted decimal notation.

route

Indicates debugging of BIER routes.

-

nexthop nexthop-address

Specifies a next-hop address.

The value is in dotted decimal notation.

bfr-id bfr-id-val

Specifies a BFR-ID.

The value is an integer that ranges from 1 to 65535.

ipv6

Specifies a BIERv6 sub-domain.

-

all

Indicates all debugging information about BIER.

-

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
bier debug

Usage Guidelines

Usage Scenario

To enable all BIER debugging functions, run the debugging bier all command. The command output includes BIER event, topology, and routing information.

To enable BIER route debugging, run the debugging bier route command. The command output contains information about BIER routes.

To enable BIER event debugging, run the debugging bier event command. The command output contains information about BIER events.

To enable BIER topology debugging, run the debugging bier topology command. The command output contains information about the BIER topology.

To enable all BIERv6 debugging functions, run the debugging bier ipv6 all command. The command output includes BIERv6 event, topology, and routing information.

To enable BIERv6 route debugging, run the debugging bier ipv6 route command. The command output contains information about BIERv6 routes.

To enable BIERv6 event debugging, run the debugging bier ipv6 event command. The command output contains information about BIERv6 events.

To enable BIERv6 topology debugging, run the debugging bier ipv6 topology command. The command output contains information about the BIERv6 topology.

Example

# Enable BIER route debugging.
<HUAWEI> debugging bier route
Aug 26 2019 08:47:25.914 HUAWEI %%01BIEROM/6/BIER_DEBUG(d):CID=0x81380454;BIER-ROUTE: [FES] Encode NHLFE update TLV (VRID:0,SD:0,BSL:3,SI:0,LBO:2,nexthop:0x0b010101,outIf:27,label:368640)
# Enable BIERv6 route debugging.
<HUAWEI> debugging bier ipv6 route
Aug 17 2020 11:09:24.101 HUAWEI %%01BIEROM/6/BIER_DEBUG(d):CID=0x81810501;IPv6: BIER-ROUTE: [SPF] Update nexthop[0000.0000.0000/2001:DB8:1::1/65] for BFR prefix(2001:DB8:1::1) in SD(0)
# Enable BIERv6 topology debugging.
<HUAWEI> debugging bier ipv6 topology
Aug 17 2020 11:10:03.754 HUAWEI %%01BIEROM/6/BIER_DEBUG(d):CID=0x81810501;IPv6: BIER-TOPO: [TOPO] IGP[2/1/2/2], process update prefix TLV for node(0000.0000.0000), prefix (2001:DB8:1::1)
# Enable BIER topology debugging.
<HUAWEI> debugging bier topology
Aug 26 2019 08:47:25.910 HUAWEI %%01BIEROM/6/BIER_DEBUG(d):CID=0x81380454;BIER-TOPO: [TOPO] IGP[2/1/0/1], process update prefix TLV for node(0000.0000.0000), prefix (0x0b010101)
# Enable BIER event debugging.
<HUAWEI> debugging bier event
Aug 26 2019 08:47:25.413 HUAWEI %%01BIEROM/6/BIER_DEBUG(d):CID=0x81380454;BIER-EVENT: [MPLSEN] IfIndex(10) update to FES
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.