The debugging bgp packet update sr-policy command enables debugging of BGP SR-Policy's update packets.
The undo debugging bgp packet update sr-policy command disables debugging of BGP SR-Policy's update packets.
By default, debugging of BGP SR-Policy update packets is disabled.
Parameter | Description | Value |
---|---|---|
peer peerIpv4Addr |
Specifies the IP address of an IPv4 peer. |
The value is in dotted decimal notation. |
receive |
Outputs debugging information about the specified packet receiving direction. |
- |
send |
Outputs debugging information about the specified packet sending direction. |
- |
Usage Scenario
The debugging bgp packet command enables debugging of BGP SR-Policy address family update packets so that you can view the information during BGP update packet receiving and sending.
Follow-up Procedure
Run the undo debugging bgp packet update sr-policy command to disable debugging.
Precautions
Debugging information is output on the screen. Do not output too much information for other purposes than debugging so that the performance is not affected.
<HUAWEI> debugging bgp packet update sr-policy receive <HUAWEI> Nov 16 2018 14:23:57.416 HUAWEI %%01BGP/3/DEBUG_INFO(d):CID=0x814b0492; BGP.RM(VPN 0): Received UPDATE from 10.1.1.2, SourceIfIndex: 6, Length: 108, Address family: IPv4-srpolicy Origin : incomplete AS-path : NIL Nexthop : 10.1.1.2 MED : 0 Localpref : 100 Ext-Community: RT <10.1.1.1 : 1> BRM_DBGID_MAX_E Nov 16 2018 14:23:57.416 HUAWEI %%01BGP/3/DEBUG_INFO(d):CID=0x814b0492; Mp_reach : AFI/SAFI IPv4-srpolicy Next hop 10.1.1.2 SRPOLICY NLRI: Distinguisher[33], PolicyColor[33], Endpoint[33.33.33.33].