The display segment-routing traffic-statistics command displays traffic statistics about a specified SR LSP (SR-MPLS BE).
Parameter | Description | Value |
---|---|---|
ip-address |
Specifies the IP address of an interface. |
The value is in dotted decimal notation. |
mask-length |
Specifies the mask length. |
The value is 32. |
verbose |
Displays detailed traffic statistics. |
- |
flex-algo flexAlgoId |
Specifies a Flex-Algo ID. |
The value is an integer ranging from 128 to 255. |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display segment-routing traffic-statistics flex-algo ------------------------------------------------------------------------------------------------------------------------- FLEX-ALGO LSP Traffic Statistics Information ------------------------------------------------------------------------------------------------------------------------- FEC In/Out Label Out Interface Out Packets/Bytes flex-algo 4.4.4.4/32 NULL/3 GE0/1/1.1 1000/3000 128 4.4.4.4/32 20099/3 GE0/1/1.1 1000/3000 128 4.4.4.4/32 NULL/3 GE0/1/1.2 1000/3000 128 4.4.4.4/32 20099/3 GE0/1/1.2 1000/3000 128 4.4.4.4/32 NULL/3 GE0/1/1.1 1000/3000 156 4.4.4.4/32 20127/3 GE0/1/1.1 1000/3000 156 4.4.4.4/32 NULL/3 GE0/1/1.2 1000/3000 156 4.4.4.4/32 20127/3 GE0/1/1.2 1000/3000 156 -------------------------------------------------------------------------------------------------------------------------
<HUAWEI> display segment-routing traffic-statistics verbose 2018-12-24 14:42:08.328 ------------------------------------------------------------------------------- SR-BE Traffic Statistics Information ------------------------------------------------------------------------------- FEC : 2.2.2.9/32 Current Time : 14:42:08 LSR Type : Ingress In Label : 20921 Out Label : 20021 Out Interface: GE0/1/0.2002 Nexthop : 10.2.3.4 Last 300 seconds output rate 0 bits/sec, 0 packets/sec Realtime 1991 seconds output rate 0 bits/sec, 0 packets/sec Output: 0 bytes, 0 packets FEC : 2.2.2.9/32 Current Time : 14:42:08 LSR Type : Transit In Label : 20921 Out Label : 20021 Out Interface: GE0/1/0.2002 Nexthop : 10.2.3.4 Last 300 seconds output rate 0 bits/sec, 0 packets/sec Realtime 1991 seconds output rate 0 bits/sec, 0 packets/sec Output: 0 bytes, 0 packets FEC : 1.1.1.7/32 Current Time : 14:42:08 LSR Type : Ingress In Label : 20968 Out Label : 20068 Out Interface: GE0/1/0.2002 Nexthop : 10.2.3.4 Last 300 seconds output rate 0 bits/sec, 0 packets/sec Realtime 0 seconds output rate 0 bits/sec, 0 packets/sec Output: 0 bytes, 0 packets FEC : 1.1.1.7/32 Current Time : 14:42:08 LSR Type : Transit In Label : 20968 Out Label : 20068 Out Interface: GE0/1/0.2002 Nexthop : 10.2.3.4 Last 300 seconds output rate 0 bits/sec, 0 packets/sec Realtime 0 seconds output rate 0 bits/sec, 0 packets/sec Output: 0 bytes, 0 packets FEC : 1.1.1.8/32 Current Time : 14:42:08 LSR Type : Ingress In Label : 20971 Out Label : 20071 Out Interface: GE0/1/0.2002 Nexthop : 10.2.3.4 Last 300 seconds output rate 0 bits/sec, 0 packets/sec Realtime 1991 seconds output rate 0 bits/sec, 0 packets/sec Output: 0 bytes, 0 packets FEC : 1.1.1.8/32 Current Time : 14:42:08 LSR Type : Transit In Label : 20971 Out Label : 20071 Out Interface: GE0/1/0.2002 Nexthop : 10.2.3.4 Last 300 seconds output rate 0 bits/sec, 0 packets/sec Realtime 1991 seconds output rate 0 bits/sec, 0 packets/sec Output: 0 bytes, 0 packets
<HUAWEI> display segment-routing traffic-statistics flex-algo verbose ------------------------------------------------------------------------------- FLEX-ALGO LSP Traffic Statistics Information ------------------------------------------------------------------------------- FEC : 4.4.4.4/32 Current Time : 2020-12-04 03:36:59 LSR Type : Ingress In Label : NULL Out Label : 3 Out Interface: GE0/1/1.1 Nexthop : 10.0.0.4 flex-algo : 128 Last 300 seconds output rate 2400 bits/sec, 100 packets/sec Realtime 30 seconds output rate 2400 bits/sec, 100 packets/sec Output: 3000 bytes, 1000 packets FEC : 4.4.4.4/32 Current Time : 2020-12-04 03:36:59 LSR Type : Transit In Label : 20099 Out Label : 3 Out Interface: GE0/1/1.1 Nexthop : 10.0.0.4 flex-algo : 128 Last 300 seconds output rate 2400 bits/sec, 100 packets/sec Realtime 30 seconds output rate 2400 bits/sec, 100 packets/sec Output: 3000 bytes, 1000 packets -------------------------------------------------------------------------------
<HUAWEI> display segment-routing traffic-statistics 2018-12-24 14:08:57.88 ------------------------------------------------------------------------------- SR-BE Traffic Statistics Information ------------------------------------------------------------------------------- FEC In/Out Label Out Interface Out Packets/Bytes 10.2.2.9/32 20921/20021 GE0/1/0.2002 0/0 10.1.1.7/32 20968/20068 GE0/1/0.2002 0/0 10.1.1.8/32 20971/20071 GE0/1/0.2002 0/0 -------------------------------------------------------------------------------
Item | Description |
---|---|
flex-algo | Flex-Algo. |
FEC | Forwarding equivalence class (FEC). |
In/Out Label | Value of the incoming or outgoing label. |
Out Interface | Outbound interface. |
Out Packets/Bytes | Number of sent packets/bytes. |
Out Label | Outgoing label. |
Current Time | Current time. |
LSR Type | LSR type, which can be ingress, transit, or egress. |
In Label | Incoming label. |
Nexthop | Next hop. |
Last | Last query interval. |
output rate | Rate at which packets or bytes were sent in the latest 30 seconds. |
output rate | Packet sending rate. |
Realtime | Query interval. |
Output | Output traffic. |