Re: [mpls-linux-devel] LDP Configuation
Status: Beta
Brought to you by:
jleu
From: <gsr...@al...> - 2006-11-27 09:56:32
|
Hi, James: This is what I get with "dmesg" related to mpls as soon as system boots. = I have also loaded the "mpls4" module that at the same time loads "mpls" module: [root@PE1 ~]# lsmod | grep mpls mpls4 6081 0 mpls 78465 2 mpls4 Linux version 2.6.15-1.1831_FC4mpls_1.950 (jleu@jleu-laptop) (gcc = version 4.0.2 20051125 (Red Hat 4.0.2-8)) #1 Sun Feb 26 15:00:23 CST 2006 MPLS: version 1.950 MPLS: protocol driver interface - <jl...@mi...> MPLS DEBUG net/mpls/mpls_sysfs.c:130:mpls_sysfs_init: enter MPLS DEBUG net/mpls/mpls_sysfs.c:139:mpls_sysfs_init: exit MPLS: IPv4 over MPLS support MPLS DEBUG net/mpls/mpls_ilm.c:126:mpls_ilm_dst_alloc: enter MPLS DEBUG net/mpls/mpls_ilm.c:156:mpls_ilm_dst_alloc: exit These are the new lines output by dmesg when I type: [root@PE1 ~]# mpls ilm show [root@PE1 ~]# mpls nhlfe show MPLS DEBUG net/mpls/mpls_netlink.c:204:genl_mpls_ilm_dump: Enter: entry = 0 MPLS DEBUG net/mpls/mpls_netlink.c:221:genl_mpls_ilm_dump: Exit: entry 0 MPLS DEBUG net/mpls/mpls_netlink.c:394:genl_mpls_nhlfe_dump: Enter: = entry 0 MPLS DEBUG net/mpls/mpls_netlink.c:411:genl_mpls_nhlfe_dump: Exit: entry = 0 The next I tried was to create a NHLFE entry and an ILM entry: [root@PE1 ~]# mpls nhlfe add key 0 NHLFE entry key 0x00000002 mtu 0 propagate_ttl (0 bytes, 0 pkts) [root@PE1 ~]# mpls ilm add label gen 100 labelspace 0 [root@PE1 ~]# mpls nhlfe show NHLFE entry key 0x00000002 mtu 0 propagate_ttl (0 bytes, 0 pkts) [root@PE1 ~]# mpls ilm show ILM entry label gen 100 labelspace 0 proto ipv4 pop peek (0 bytes, 0 pkts) ...and their respective lines in dmesg output: MPLS DEBUG net/mpls/mpls_netlink.c:298:genl_mpls_nhlfe_new: enter MPLS = DEBUG net/mpls/mpls_nhlfe.c:394:mpls_add_out_label: enter MPLS DEBUG net/mpls/mpls_nhlfe.c:130:nhlfe_dst_alloc: enter MPLS DEBUG net/mpls/mpls_nhlfe.c:151:nhlfe_dst_alloc: exit MPLS DEBUG net/mpls/mpls_netlink.c:275:mpls_nhlfe_event: enter MPLS DEBUG net/mpls/mpls_netlink.c:235:mpls_fill_nhlfe: enter MPLS DEBUG net/mpls/mpls_instr.c:188:mpls_instrs_unbuild: enter MPLS DEBUG net/mpls/mpls_instr.c:201:mpls_instrs_unbuild: exit MPLS DEBUG net/mpls/mpls_netlink.c:259:mpls_fill_nhlfe: exit MPLS DEBUG net/mpls/mpls_netlink.c:289:mpls_nhlfe_event: exit MPLS DEBUG net/mpls/mpls_nhlfe.c:451:mpls_add_out_label: exit MPLS DEBUG net/mpls/mpls_netlink.c:335:genl_mpls_nhlfe_new: Exit: 0 MPLS DEBUG net/mpls/mpls_netlink.c:115:genl_mpls_ilm_new: enter MPLS DEBUG net/mpls/mpls_ilm.c:522:mpls_add_in_label: enter MPLS DEBUG net/mpls/mpls_ilm.c:126:mpls_ilm_dst_alloc: enter MPLS DEBUG net/mpls/mpls_ilm.c:109:ilm_dst_gc: enter MPLS DEBUG net/mpls/mpls_ilm.c:110:ilm_dst_gc: exit MPLS DEBUG net/mpls/mpls_ilm.c:156:mpls_ilm_dst_alloc: exit MPLS DEBUG net/mpls/mpls_netlink.c:91:mpls_ilm_event: enter MPLS DEBUG net/mpls/mpls_netlink.c:53:mpls_fill_ilm: enter MPLS DEBUG net/mpls/mpls_instr.c:188:mpls_instrs_unbuild: enter MPLS DEBUG net/mpls/mpls_instr.c:201:mpls_instrs_unbuild: exit MPLS DEBUG net/mpls/mpls_netlink.c:76:mpls_fill_ilm: exit MPLS DEBUG net/mpls/mpls_netlink.c:106:mpls_ilm_event: exit MPLS DEBUG net/mpls/mpls_ilm.c:582:mpls_add_in_label: exit MPLS DEBUG net/mpls/mpls_netlink.c:145:genl_mpls_ilm_new: Exit: 0 MPLS DEBUG net/mpls/mpls_netlink.c:394:genl_mpls_nhlfe_dump: Enter: entry 0 MPLS = DEBUG net/mpls/mpls_netlink.c:397:genl_mpls_nhlfe_dump: Dump: entry 0 MPLS = DEBUG net/mpls/mpls_netlink.c:235:mpls_fill_nhlfe: enter MPLS DEBUG net/mpls/mpls_instr.c:188:mpls_instrs_unbuild: enter MPLS DEBUG net/mpls/mpls_instr.c:201:mpls_instrs_unbuild: exit MPLS DEBUG net/mpls/mpls_netlink.c:259:mpls_fill_nhlfe: exit MPLS DEBUG net/mpls/mpls_netlink.c:411:genl_mpls_nhlfe_dump: Exit: entry 1 MPLS = DEBUG net/mpls/mpls_netlink.c:394:genl_mpls_nhlfe_dump: Enter: entry 1 MPLS = DEBUG net/mpls/mpls_netlink.c:397:genl_mpls_nhlfe_dump: Dump: entry 0 MPLS = DEBUG net/mpls/mpls_netlink.c:411:genl_mpls_nhlfe_dump: Exit: entry 1 MPLS = DEBUG net/mpls/mpls_netlink.c:204:genl_mpls_ilm_dump: Enter: entry 0 MPLS = DEBUG net/mpls/mpls_netlink.c:207:genl_mpls_ilm_dump: Dump: entry 0 MPLS DEBUG net/mpls/mpls_netlink.c:53:mpls_fill_ilm: enter MPLS DEBUG net/mpls/mpls_instr.c:188:mpls_instrs_unbuild: enter MPLS DEBUG net/mpls/mpls_instr.c:201:mpls_instrs_unbuild: exit MPLS DEBUG net/mpls/mpls_netlink.c:76:mpls_fill_ilm: exit MPLS DEBUG net/mpls/mpls_netlink.c:221:genl_mpls_ilm_dump: Exit: entry 1 MPLS DEBUG net/mpls/mpls_netlink.c:204:genl_mpls_ilm_dump: Enter: entry 1 MPLS = DEBUG net/mpls/mpls_netlink.c:207:genl_mpls_ilm_dump: Dump: entry 0 MPLS DEBUG net/mpls/mpls_netlink.c:221:genl_mpls_ilm_dump: Exit: entry 1 I hope you'll have a look at it and you could tell me something about. If it helps here are the RPMs installed related to MPLS: [root@l12p07 ~]# rpm -qa | grep mpls iproute-2.6.11-1_mpls_90.1162552079 //In this version of iproute I have //only modified the usage of //mpls_tunnel command iptables-1.3.0-2_mpls_1.950d kernel-2.6.15-1.1831_FC4mpls_1.950 glibc-kernheaders-3.0-5.2_mpls0.1162999872 quagga-0.99.4-2006111701_mpls_0.1163780539 quagga-contrib-0.99.4-2006111701_mpls_0.1163780539 quagga-debuginfo-0.99.4-2006111701_mpls_0.1163780539 quagga-devel-0.99.4-2006111701_mpls_0.1163780539 kernel-devel-2.6.15-1.1831_FC4mpls_1.950 Thanks for your time, regards: Gonzalo |