Hi guys,

Is the vpp support sr mpls now?
After I configured the following command, I configured 'sr mpls steer l3 
3.1.1.0/24 via sr policy bsid 33 del'.
Then there was a SIGABRT . Are there any illegal command in my configuration?

configuration:
create host-interface name eth2 mac 00:0c:29:6d:b0:82
create host-interface name eth1 mac 00:0c:29:6d:b0:78
create host-interface name eth3 mac 00:0c:29:6d:b0:8c
set interface state host-eth2 up
set interface state host-eth1 up
set interface state host-eth3 up
set interface ip table host-eth2 1
set interface ip address host-eth1 2.1.1.1/24
set interface ip address host-eth2 1.1.1.1/24
set interface ip address host-eth3 4.1.1.1/24
create mpls tunnel out-label 33 out-label 53 via 2.1.1.2 host-eth1
create mpls tunnel out-label 133 out-label 153 via 4.1.1.2 host-eth3
set interface state mpls-tunnel0 up
set interface state mpls-tunnel1 up
mpls table add 0
set interface mpls host-eth1 enable
set interface mpls host-eth3 enable
ip route add 3.1.1.0/24 via interface mpls-tunnel0 table 0
ip route add 3.1.1.0/24 via interface mpls-tunnel1 table 0
mpls local-label add eos 1053 ip4-lookup-in-table 1
mpls local-label add non-eos 1023 mpls-lookup-in-table 0
mpls local-label add eos 1153 ip4-lookup-in-table 1
mpls local-label add non-eos 1123 mpls-lookup-in-table 0
mpls table add 1
ip route add 3.1.1.0/24 via interface mpls-tunnel0 table 1 
sr mpls policy add bsid 33 next 1000
sr mpls steer l3 3.1.1.0/24 via sr policy bsid 33 


Program received signal SIGABRT, Aborted.
0x00002b3ba59a2c37 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56      ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#0  0x00002b3ba59a2c37 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00002b3ba59a6028 in __GI_abort () at abort.c:89
#2  0x0000000000406e51 in os_panic () at 
/home/fos/vpp18.01/build-data/../src/vpp/vnet/main.c:272
#3  0x00002b3ba52c0ac8 in debugger () at 
/home/fos/vpp18.01/build-data/../src/vppinfra/error.c:84
#4  0x00002b3ba52c0ecf in _clib_error (how_to_die=2, function_name=0x0, 
line_number=0, 
    fmt=0x2b3ba4f61100 "%s:%d (%s) assertion `%s' fails") at 
/home/fos/vpp18.01/build-data/../src/vppinfra/error.c:143
#5  0x00002b3ba4e45aaf in fib_attached_export_purge (fib_entry=0x2b3ba6be7838)
    at /home/fos/vpp18.01/build-data/../src/vnet/fib/fib_attached_export.c:373
#6  0x00002b3ba4e469f1 in fib_attached_export_cover_modified_i 
(fib_entry=0x2b3ba6be7838)
    at /home/fos/vpp18.01/build-data/../src/vnet/fib/fib_attached_export.c:491
#7  0x00002b3ba4e46a7c in fib_attached_export_cover_update 
(fib_entry=0x2b3ba6be7838)
    at /home/fos/vpp18.01/build-data/../src/vnet/fib/fib_attached_export.c:513
#8  0x00002b3ba4e2c037 in fib_entry_cover_updated (fib_entry_index=43)
    at /home/fos/vpp18.01/build-data/../src/vnet/fib/fib_entry.c:1390
#9  0x00002b3ba4e34ed6 in fib_entry_cover_update_one (cover=0x2b3ba6be7428, 
covered=43, args=0x0)
    at /home/fos/vpp18.01/build-data/../src/vnet/fib/fib_entry_cover.c:168
#10 0x00002b3ba4e34d01 in fib_entry_cover_walk_node_ptr (depend=0x2b3ba6bec68c, 
args=0x2b3ba6f0f670)
    at /home/fos/vpp18.01/build-data/../src/vnet/fib/fib_entry_cover.c:80
#11 0x00002b3ba4e27aa3 in fib_node_list_walk (list=60, fn=0x2b3ba4e34cb6 
<fib_entry_cover_walk_node_ptr>, 
    args=0x2b3ba6f0f670) at 
/home/fos/vpp18.01/build-data/../src/vnet/fib/fib_node_list.c:375
#12 0x00002b3ba4e34d91 in fib_entry_cover_walk (cover=0x2b3ba6be7428, 
walk=0x2b3ba4e34eaa <fib_entry_cover_update_one>, 
    args=0x0) at 
/home/fos/vpp18.01/build-data/../src/vnet/fib/fib_entry_cover.c:104
#13 0x00002b3ba4e34f24 in fib_entry_cover_update_notify 
(fib_entry=0x2b3ba6be7428)
    at /home/fos/vpp18.01/build-data/../src/vnet/fib/fib_entry_cover.c:177
#14 0x00002b3ba4e2b4c9 in fib_entry_post_update_actions 
(fib_entry=0x2b3ba6be7428, source=FIB_SOURCE_CLI, 
    old_flags=FIB_ENTRY_FLAG_LOOSE_URPF_EXEMPT) at 
/home/fos/vpp18.01/build-data/../src/vnet/fib/fib_entry.c:885
#15 0x00002b3ba4e2bc85 in fib_entry_special_remove (fib_entry_index=30, 
source=FIB_SOURCE_CLI)
    at /home/fos/vpp18.01/build-data/../src/vnet/fib/fib_entry.c:1209
#16 0x00002b3ba4e2bcd4 in fib_entry_delete (fib_entry_index=30, 
source=FIB_SOURCE_SR)
    at /home/fos/vpp18.01/build-data/../src/vnet/fib/fib_entry.c:1226
#17 0x00002b3ba4e1d276 in fib_table_entry_delete_i (fib_index=0, 
fib_entry_index=30, prefix=0x2b3ba6f0f980, 
    source=FIB_SOURCE_SR) at 
/home/fos/vpp18.01/build-data/../src/vnet/fib/fib_table.c:836
#18 0x00002b3ba4e1d354 in fib_table_entry_delete (fib_index=0, 
prefix=0x2b3ba6f0f980, source=FIB_SOURCE_SR)
    at /home/fos/vpp18.01/build-data/../src/vnet/fib/fib_table.c:884
#19 0x00002b3ba4d3bd7c in sr_mpls_steering_policy (is_del=1, bsid=33, 
sr_policy_index=4294967295, table_id=4294967295, 
    prefix=0x2b3ba6f0fa70, mask_width=24, traffic_type=4 '\004')
    at /home/fos/vpp18.01/build-data/../src/vnet/srmpls/sr_mpls_steering.c:112
#20 0x00002b3ba4d3d41b in sr_mpls_steer_policy_command_fn (vm=0x2b3ba48bf6e0 
<vlib_global_main>, is_del=1, 
    input=0x2b3ba6f0fec0, cmd=0x2b3ba6e70134) at 
/home/fos/vpp18.01/build-data/../src/vnet/srmpls/sr_mpls_steering.c:356
#21 0x00002b3ba461402a in cli_no_one_cmd (vm=0x2b3ba48bf6e0 <vlib_global_main>, 
is_del=0, in=0x2b3ba6f0fec0, 
    d=0x2b3ba6e85d04) at 
/home/fos/vpp18.01/build-data/../src/vlib/cli/cli_help.c:283
#22 0x00002b3ba460c951 in vlib_cli_dispatch_sub_commands (vm=0x2b3ba48bf6e0 
<vlib_global_main>, cm=0x2158078, 
    input=0x2b3ba6f0fec0, parent_command_index=0, poss_cmds=0x2b3ba6f0fda8, 
poss_helps=0x2b3ba6f0fdb0)
    at /home/fos/vpp18.01/build-data/../src/vlib/cli.c:897
---Type <return> to continue, or q <return> to quit---  
#23 0x00002b3ba460cdd7 in vlib_cli_input (vm=0x2b3ba48bf6e0 <vlib_global_main>, 
input=0x2b3ba6f0fec0, 
    function=0x2b3ba4676f36 <unix_vlib_cli_output>, function_arg=0) at 
/home/fos/vpp18.01/build-data/../src/vlib/cli.c:985
#24 0x00002b3ba467cddf in unix_cli_process_input (cm=0x2b3ba48bf520 
<unix_cli_main>, cli_file_index=0)
    at /home/fos/vpp18.01/build-data/../src/vlib/unix/cli.c:2398
#25 0x00002b3ba467d949 in unix_cli_process (vm=0x2b3ba48bf6e0 
<vlib_global_main>, rt=0x2b3ba6eff000, f=0x0)
    at /home/fos/vpp18.01/build-data/../src/vlib/unix/cli.c:2510
#26 0x00002b3ba4641487 in vlib_process_bootstrap (_a=47535197743632)
    at /home/fos/vpp18.01/build-data/../src/vlib/main.c:1253
#27 0x00002b3ba52d54a0 in clib_calljmp () at 
/home/fos/vpp18.01/build-data/../src/vppinfra/longjmp.S:128
#28 0x00002b3ba69369e0 in ?? ()
#29 0x00002b3ba46415bc in vlib_process_startup (vm=0x2b3ba46752f0 
<vlib_process_signal_event_data+513>, p=0x2b3ba6936a90, 
    f=0x2b3ba6ea8ab4) at /home/fos/vpp18.01/build-data/../src/vlib/main.c:1278
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thanks,
xyxue


_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to