The MPLS-OPS Archive[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index][Thread Index][Author Index][Subject Index] BGP-4 Label Encoding
Hy guys,
I'm a student and want to learn how BGP-4
transport MPLS Label values. (RFC 3107 / RFC 2283)
I use the Ethereal tool 'text2pcap' for generating a sample cature file. Until now I generated a
file for this hex code:
0000 00 01 63 44 47 81 00 05 00 f3 c4 1c 88
47 18 6f ................
0010 1d ff 45 c0 ff 3b 1e 9f 00 00 ff 06 fd
1c 0a 00 ................
0020 00 01 0a 00 00 02 00 b3 2a fb 39 7b f7
bd a5 43 ................
0030 e4 50 50 18 3e 38 e7 b1 00 00 ff ff ff
ff ff ff ................
0040 ff ff ff ff ff ff ff ff ff ff 00 ff 02
00 00 00 ................
0050 ff 40 01 01 00 40 02 00 40 03 04
0a 00 00 04 c0 ................
0060 0e ff 00 01 04 04 0a 00 00 03 01
01 0a 04 00 01 ................
0070 11
00
................
This is a BGP UPDATE Message with Path
Attributes: ORIGIN, AS_PATH,
NEXT_HOP, MP_REACH_NLRI
MP_REACH_NLRI includes the NLRI where the
label is positioned:
+---------------------------+
| Length (1
octet) |
+---------------------------+
| Label (3
octets) |
+---------------------------+
.............................
+---------------------------+
| Prefix
(variable) |
+---------------------------+
My NLRI is 0x 04 00 01 11 00 but Ethereal
doesn't visible that.
legth
= 4 octet
label
= 17 (dec)
bottom of stack = 1
prefix =
0
What do I wrong?
Thanks David
|
|