[mpls-linux-general] LDP_ZEBRA problems
Status: Beta
Brought to you by:
jleu
From: Yves J. <yv...@no...> - 2001-06-04 20:23:34
|
James, I am facing 3 issues: ISSUE #1: ============================= I tried the ldp_zebra port and the application core dumps when I configure mpls ip at the router level (CLI) like the examples where showing. CLI VIEW: --------------- ldpd# config t ldpd(config)# mpls ip Connection closed by foreign host. wcars2ej-27> DEAMON VIEW: ------------------------ [root@pcary0nx ldp-portable]# ./ldp_zebra -P 2610 & ENTER: ldp_global_create EXIT: ldp_global_create ENTER: ldp_cfg_open EXIT: ldp_cfg_open 2001/06/05 12:25:53 DEFAULT: LDPd (0.91a) starts 2001/06/05 12:25:53 DEFAULT: Zebra: interface add lo index 1 flags 73 metric 1 m tu 16436 2001/06/05 12:25:53 DEFAULT: new connected IPv4 address 127.0.0.1/8 on interfac e lo 2001/06/05 12:25:53 DEFAULT: new connected IPv4 address 1.2.3.4/32 on interface lo 2001/06/05 12:25:53 DEFAULT: Zebra: interface add eth0 index 2 flags 4098 metric 1 mtu 1500 2001/06/05 12:25:53 DEFAULT: new connected IPv4 address 1.1.1.1/8 on interface eth0 2001/06/05 12:25:53 DEFAULT: Zebra: interface add eth1 index 3 flags 4098 metric 1 mtu 1500 2001/06/05 12:25:53 DEFAULT: new connected IPv4 address 2.2.2.2/24 on interface eth1 2001/06/05 12:25:53 DEFAULT: Zebra: interface add eth2 index 4 flags 4098 metric 1 mtu 1500 2001/06/05 12:25:53 DEFAULT: new connected IPv4 address 3.3.3.3/8 on interface eth2 2001/06/05 12:25:53 DEFAULT: Zebra: interface add eth3 index 5 flags 4163 metric 1 mtu 1500 2001/06/05 12:25:53 DEFAULT: new connected IPv4 address 10.1.1.100/24 on interf ace eth3 2001/06/05 12:25:53 DEFAULT: Zebra: interface add eth4 index 6 flags 4163 metric 1 mtu 1500 2001/06/05 12:25:53 DEFAULT: new connected IPv4 address 47.135.180.114/8 on int erface eth4 2001/06/05 12:25:53 DEFAULT: new IPv4 route 1.2.3.4/32 on interface ifindex 0x1 , nh 1.2.3.4 Adding route 01020304/32 via lo 2001/06/05 12:25:53 DEFAULT: new IPv4 route 10.1.1.0/24 on interface ifindex 0x 5, nh 10.1.1.0 Adding route 0a010100/24 via eth3 2001/06/05 12:25:53 DEFAULT: new IPv4 route 47.0.0.0/8 on interface ifindex 0x6 , nh 47.0.0.0 Adding route 2f000000/8 via eth4 2001/06/05 12:25:53 DEFAULT: new IPv4 route 14.14.14.14/32 on interface ifindex 0x5, nh 14.14.14.14 Adding route 0e0e0e0e/32 via eth3 2001/06/05 12:25:53 DEFAULT: new IPv4 route 172.40.10.0/24 on interface ifindex 0x5, nh 172.40.10.0 Adding route ac280a00/24 via eth3 [2] 12207 [root@pcary0nx ldp-portable]# ENTER: ldp_global_create EXIT: ldp_global_create ENTER: ldp_cfg_open EXIT: ldp_cfg_open ENTER: ldp_cfg_global_set ENTER: ldp_global_startup ENTER: ldp_timer_open EXIT: ldp_timer_open ENTER: ldp_timer_mgr_handle_verify EXIT: ldp_timer_mgr_handle_verify SOCK: ldp_socket_mgr_open at zldp_socket_impl.c SOCK: ldp_socket_mgr_handle_verify at zldp_socket_impl.c IF: ldp_ifmgr_open at zldp_ifmgr_impl.c IF: ldp_ifmgr_handle_verify at zldp_ifmgr_impl.c FIB: ldp_fib_open at zldp_fib_impl.c FIB: ldp_fib_handle_verify at zldp_fib_impl.c ENTER: ldp_mpls_open EXIT: ldp_mpls_open ENTER: ldp_mpls_handle_verify EXIT: ldp_mpls_handle_verify SOCK: ldp_socket_create_udp at zldp_socket_impl.c SOCK: ldp_socket_handle_verify fd 7 SOCK: ldp_socket_bind fd 7 SOCK: ldp_socket_options fd 7 SOCK: ldp_socket_multicast_options fd 7 SOCK: ldp_socket_readlist_add fd 7 SOCK: ldp_socket_create_tcp at zldp_socket_impl.c SOCK: ldp_socket_handle_verify fd 8 SOCK: ldp_socket_options fd 8 SOCK: ldp_socket_bind fd 8 SOCK: ldp_socket_tcp_listen fd 8 SOCK: ldp_socket_readlist_add fd 8 EXIT: ldp_global_startup EXIT: ldp_cfg_global_set ENTER: ldp_cfg_range_set EXIT: ldp_cfg_range_set Adding global object with LSRID 0a010164 ENTER: ldp_cfg_if_set IF: ldp_if_handle_verify at zldp_ifmgr_impl.c IF: ldp_ifmgr_open_if at zldp_ifmgr_impl.c EXIT: ldp_cfg_if_set ENTER: ldp_cfg_entity_set ENTER: ldp_entity_startup ENTER: ldp_if_startup IF: ldp_ifmgr_get_address at zldp_ifmgr_impl.c SOCK: ldp_socket_multicast_if_join fd 7 ENTER: ldp_timer_handle_verify EXIT: ldp_timer_handle_verify ENTER: ldp_timer_create EXIT: ldp_timer_create ENTER: ldp_timer_handle_verify EXIT: ldp_timer_handle_verify ENTER: ldp_timer_start EXIT: ldp_timer_start OUT: Hello Send: entity(2) SOCK: ldp_socket_multicast_if_tx fd 7 OUT: LPD Header : protocolVersion = 1 OUT: pduLength = 30 OUT: lsrAddress = a010164 OUT: labelSpace = 0 OUT: HELLO MSG ***START***: OUT: baseMsg : uBit = 0 OUT: msgType = 100 OUT: msgLength = 20 OUT: msgId = 1 OUT: chpTlv: OUT: Tlv: OUT: BaseTlv: uBit = 0 OUT: fBit = 0 OUT: type = 400 OUT: length = 4 OUT: chpTlv data: holdTime = 15 OUT: chpTlv Flags: target = 0 OUT: request = 0 OUT: res = 0 OUT: Hello msg does not have TrAdr TLV OUT: csnTlv: OUT: Tlv: OUT: BaseTlv: uBit = 0 OUT: fBit = 0 OUT: type = 402 OUT: length = 4 OUT: csnTlv data: value = 4 OUT: HELLO MSG ***END***: SOCK: ldp_socket_udp_sendto fd 7 SOCK: ldp_socket_multicast_if_tx fd 7 EXIT: ldp_if_startup EXIT: ldp_entity_startup EXIT: ldp_cfg_entity_set SOCK: zldp_socket_read_handler at zldp_socket_impl.c ENTER: ldp_event SOCK: ldp_socket_udp_recvfrom fd 7 Before header decode: size = 34 OUT: Found type 100 OUT: 01 00 00 14 00 00 00 01 04 00 00 04 00 0f 00 00 OUT: 04 02 00 04 00 00 00 04 OUT: decodedSize for Hello msg = 24 OUT: LPD Header : protocolVersion = 1 OUT: pduLength = 30 OUT: lsrAddress = a010164 OUT: labelSpace = 0 OUT: HELLO MSG ***START***: OUT: baseMsg : uBit = 0 OUT: msgType = 100 OUT: msgLength = 20 OUT: msgId = 1 OUT: chpTlv: OUT: Tlv: OUT: BaseTlv: uBit = 0 OUT: fBit = 0 OUT: type = 400 OUT: length = 4 OUT: chpTlv data: holdTime = 15 OUT: chpTlv Flags: target = 0 OUT: request = 0 OUT: res = 0 OUT: Hello msg does not have TrAdr TLV OUT: csnTlv: OUT: Tlv: OUT: BaseTlv: uBit = 0 OUT: fBit = 0 OUT: type = 402 OUT: length = 4 OUT: csnTlv data: value = 4 OUT: HELLO MSG ***END***: OUT: Mesg size: 24 (24) ENTER: ldp_state_machine OUT: FSM: state 0, event 0 ENTER: ldp_state_new_adjacency ENTER: ldp_hello_process OUT: Hello Recv: entity(2) PRT: ldp_hello_process: exit(1) configuration error ENTER: ldp_adj_shutdown ENTER: ldp_adj_recv_stop ENTER: ldp_timer_handle_verify EXIT: ldp_timer_handle_verify EXIT: ldp_adj_recv_stop ENTER: ldp_adj_backoff_stop ENTER: ldp_timer_handle_verify EXIT: ldp_timer_handle_verify EXIT: ldp_adj_backoff_stop [2]+ Segmentation fault (core dumped) ./ldp_zebra -P 2610 [root@pcary0nx ldp-portable]# ISSUE #2: ============================= All the show mpls commands are not working and they reply with an Ambiguous command. CLI VIEW: --------------- Connected to 47.135.180.114. Escape character is '^]'. Hello, this is zebra (version 0.91a). Copyright 1996-2001 Kunihiro Ishiguro. User Access Verification Password: ldpd> en Password: ldpd# sh mpls interfaces Interface status information ldp Tag Distribution Protocol information ldpd# sh mpls int % Ambiguous command. ldpd# sh mpls interfaces % Ambiguous command. ldpd# sh mpls ldp bindings Actual tag bindings neighbors TDP neighbor table routes Routes known to LDP ldpd# sh mpls ldp bindings % Ambiguous command. ldpd# sh mpls ldp neighbors % Ambiguous command. ldpd# sh mpls ldp routes % Ambiguous command. ldpd# ISSUE #3: ============================= The show run and the write mem commands are not properly showing the configuration even when the config commes from a file. CLI VIEW: --------------- ldpd# sh run Current configuration: ! hostname ldpd password password enable password password log stdout ! interface lo mpls ip ! interface eth0 ! interface eth1 ! interface eth2 ! interface eth3 ! interface eth4 ! redistribute kernel redistribute connected redistribute static redistribute rip redistribute ripng redistribute ospf redistribute ospf6 ! mpls ldp router-id 10.1.1.100 ! ! line vty ! end ldpd# CONFIG FILE VIEW: ------------------------------- [root@pcary0nx ldp-portable]# more ldpd.conf ! ! Zebra configuration saved from vty ! 2001/02/21 17:58:41 ! hostname ldpd password password enable password password ! log stdout ! interface lo mpls ip ! interface eth1 mpls ip ! mpls ldp router-id 10.1.1.100 !mpls ip ! router zebra redistribute kernel redistribute connected redistribute static redistribute rip redistribute ospf ! line vty ! [root@pcary0nx ldp-portable]# Regards Yves Jutras Optera Packet Core Nortel Networks ESN 398-3252 (613) 768-3252 |