summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/configs/vpp_lite_config/ipsec/6o6/vpp1.config
blob: f63e3571ba1eacc3ed86c193993554c05502c4f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
create_host_iface vpp1 6:0:1::1/64
create_host_iface intervpp1 6:0:3::1/64

lisp_state enable
lisp_locator_set_with_locator ls1 host-intervpp1 1 1
lisp_local_eid eid 6:0:1::0/64 locator-set ls1
lisp_remote_mapping eid 6:0:2::0/64 rloc 6:0:3::2
lisp_adjacency leid 6:0:1::0/64 reid 6:0:2::0/64

ipsec_sad_add_del_entry esp sad_id 10 spi 1001 crypto_alg aes-cbc-128 crypto_key 69485741315772365051494e59507650 integ_alg sha1-96 integ_key 6958633071487352456345317767776244554174
ipsec_sad_add_del_entry esp sad_id 20 spi 1000 crypto_alg aes-cbc-128 crypto_key 69485741315772365051494e59507650 integ_alg sha1-96 integ_key 6958633071487352456345317767776244554174
ipsec_spd_add_del spd_id 1
ipsec_interface_add_del_spd host-intervpp1 spd_id 1
ipsec_spd_add_del_entry spd_id 1 priority 100 inbound action bypass protocol 50 
ipsec_spd_add_del_entry spd_id 1 priority 100 outbound action bypass protocol 50
ipsec_spd_add_del_entry spd_id 1 priority 10 inbound action protectsa_id 20 laddr_start 6:0:3::1 laddr_stop 6:0:3::1 raddr_start 6:0:3::2 raddr_stop 6:0:3::2
ipsec_spd_add_del_entry spd_id 1 priority 10 outbound action protectsa_id 10 laddr_start 6:0:3::1 laddr_stop 6:0:3::1 raddr_start 6:0:3::2 raddr_stop 6:0:3::2