Validation
Here, 1000 packets are transmitted between the PE nodes and the output of counters at each node is mentioned below.
For Static-LSP
RTR1#show mpls counters static
[FTN statistics]
+------------------+-----------+--------------------+--------------------+
| FEC | out-label | Tx packets | Tx bytes |
+------------------+-----------+--------------------+--------------------+
44.44.44.44/32 100 49939 807798
[ILM statistics]
+------------------+-----------+-----------+--------------------+--------------------+--------------------+--------------------+
| FEC | in-label | out-label | Rx packets | Rx bytes | Tx packets | Tx bytes |
+------------------+-----------+-----------+--------------------+--------------------+--------------------+--------------------+
0.0.0.0/0 900 n/a 40546 3486956 n/a n/a
RTR1#
RTR2#show mpls counters static
[FTN statistics]
+------------------+-----------+--------------------+--------------------+
| FEC | out-label | Tx packets | Tx bytes |
+------------------+-----------+--------------------+--------------------+
[ILM statistics]
+------------------+-----------+-----------+--------------------+---------------
-----+--------------------+--------------------+
| FEC | in-label | out-label | Rx packets | Rx bytes
| Tx packets | Tx bytes |
+------------------+-----------+-----------+--------------------+---------------
-----+--------------------+--------------------+
44.44.44.44/32 100 200 9393 807798
9393 807798
11.11.11.11/32 800 900 40546 3486956
40546 3486956
RTR2#
RTR3#show mpls counters static
[FTN statistics]
+------------------+-----------+--------------------+--------------------+
| FEC | out-label | Tx packets | Tx bytes |
+------------------+-----------+--------------------+--------------------+
[ILM statistics]
+------------------+-----------+-----------+--------------------+--------------------+--------------------+--------------------+
| FEC | in-label | out-label | Rx packets | Rx bytes | Tx packets | Tx bytes |
+------------------+-----------+-----------+--------------------+--------------------+--------------------+--------------------+
44.44.44.44/32 200 300 9393 807798 9393 807798
11.11.11.11/32 700 800 40546 3486956 40546 3486956
RTR3#
RTR4#show mpls counters static
[FTN statistics]
+------------------+-----------+--------------------+--------------------+
| FEC | out-label | Tx packets | Tx bytes |
+------------------+-----------+--------------------+--------------------+
11.11.11.11/32 700 49939 3486956
[ILM statistics]
+------------------+-----------+-----------+--------------------+---------------
-----+--------------------+--------------------+
| FEC | in-label | out-label | Rx packets | Rx bytes
| Tx packets | Tx bytes |
+------------------+-----------+-----------+--------------------+---------------
-----+--------------------+--------------------+
0.0.0.0/0 300 n/a 9393 807798
n/a n/a
RTR4#
For LDP-LSP
RTR1#show mpls counters ldp
[FTN statistics]
+------------------+-----------+--------------------+--------------------+
| FEC | out-label | Tx packets | Tx bytes |
+------------------+-------------+------------------+--------------------+
44.44.44.44/32 52483 1000 1004000
[ILM statistics]
+-----+---------+-----------+------------+---------+-----------+---------+
| FEC |in-label | out-label | Rx packets | Rx bytes| Tx packets| Tx bytes|
+-----+---------+-----------+------------+---------+-----------+---------+
RTR2#show mpls counters ldp
[FTN statistics]
+------------------+-----------+--------------------+--------------------+
| FEC | out-label | Tx packets | Tx bytes |
+------------------+-----------+--------------------+--------------------+
[ILM statistics]
+-----+----------+-----------+------------+----------+------------+----------+
| FEC | in-label | out-label | Rx packets | Rx bytes | Tx packets | Tx bytes |
+-----+----------+-----------+------------+----------+------------+----------+
44.44.44.44/32 52483 52483 1000 1004000 1000 1004000
For LDP-VC
R1#show mpls l2-circuit t1 statistics
MPLS Layer-2 Virtual Circuit: t1, id 100
Access port statistics:
RX: Input packets : 0
Input bytes : 0
TX: Output packets : 4642811
Output bytes : 297139904
Network port statistics:
RX: Input packets : 4642804
Input bytes : 399281144
TX: Output packets : 0
Output bytes : 0
R4#show mpls l2-circuit t1 statistics
MPLS Layer-2 Virtual Circuit: t1, id 100
Access port statistics:
RX: Input packets : 4633957
Input bytes : 296573248
TX: Output packets : 0
Output bytes : 0
Network port statistics:
RX: Input packets : 0
Input bytes : 0
TX: Output packets : 4633960
Output bytes : 398520560