1518b-2t1c- ethip4udpwireguard8tnlsw-ip4base-mrr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’(x90xd1xd0x04xc1xdaxa0x93rxcexd6xc3xf9:pxf1x90x11x08Uxf3xcfxddaZGnxba<x04V’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x99xb4?xdemx8dx00Jxa6+zxedF)x12xc9x0elx15xfdxxe9x0fxec|xf0xf5nx8ax89xd7p’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]}) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x01x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.1.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’xc8x1axf6&xafx05Rx96.x9c’x9axcaADJx98x96x90_x02x85xbaxf7gx17xa6xb2xe1x8drc’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xc0Kx8dxf0^xe9x12x12:xe9xc2xfe[x1fxddxbdx00xa6xb5}xd9x01x89dx9dxcb!Jxb0xccxa3x06’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.1.1’), ‘sw_if_index’: 4, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}]}) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x01x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x02x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.2.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’x00x91x8fx99T5Txedxe2\x02xdcxfbxa5xf6x87xfaxcax08x9dsxf4Hxd4x83Tx93xc1+xd1xb3u’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xx1d+x1fQx03x02;x1axc8xc1xf0zux18`xafUv$Px93xbaxabx9cRoudx1akY’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.2.1’), ‘sw_if_index’: 5, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}]}) sw_interface_set_flags(sw_if_index=5,flags=1) sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x02x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x02x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x03x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.3.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’Px81xf0xfa1yxef%xfdxbbx07xe646x0cxe4xb7x14’Zx8ax91Yxc3tx8ex04L:xdexc1e’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x0fs(xf07x11_Uxd5xd2x17x86Yxd5x0egxc9xc6yx87]xc5xb6[xc8xf3axc6x1exeaxb9x7f’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.3.1’), ‘sw_if_index’: 6, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}]}) sw_interface_set_flags(sw_if_index=6,flags=1) sw_interface_add_del_address(sw_if_index=6,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x03x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x03x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x04x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.4.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’x909xb5Wxd0<@xb1xebxe0xcaqx84HxbeAxc3x18x89oox94xf1mx1bSx97xf28x82~N’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’Rx06\xafx99x93xadxeax922xc6xf5qxd6xecvxd4xafHx90xd9x8fxf8(xd2Yxedxc67xcd&%’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.4.1’), ‘sw_if_index’: 7, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x04x00’}}}]}) sw_interface_set_flags(sw_if_index=7,flags=1) sw_interface_add_del_address(sw_if_index=7,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x04x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x04x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x04x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x05x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.5.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’pxcbWGxd1x91xee5x88x07xd7xb6lx86N<x10xa5Cxb2xf7xe37x80xc8x1bx87`1bxe1o’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’Rxdax89qxe3x00xb3xddxec,xec+xc7xccxb6lxd5x8bxa0x1ax00rxf2.Xxb9x18xabxf5xb4-z’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.5.1’), ‘sw_if_index’: 8, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}]}) sw_interface_set_flags(sw_if_index=8,flags=1) sw_interface_add_del_address(sw_if_index=8,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x05x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 8, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x05x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x06x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.6.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’0Cx90xd3oxb7xffx84`Axd8x95xc7xea%xb9Oxabx85Nxfb\xd1Vx89xc7’xc4x0fx1bxdf}’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xd8xf2xf5’xc9x07xe5xcagxe8xe1xa2x1bNZxae8x8cxcbxf4x99xd5xeasxc3ox9eF`Kx7fp’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.6.1’), ‘sw_if_index’: 9, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x06x00’}}}]}) sw_interface_set_flags(sw_if_index=9,flags=1) sw_interface_add_del_address(sw_if_index=9,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x06x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x06x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x06x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x07x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.7.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’xc8Cxdcx83xd7xd3x98xebx0execxbcUxlxc0W2Vxe9zx1bx07oxb8x90uxeex10xd5rad’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’K’QSW06x1fxb4jxe1qxd84E#onx92x0cxa6xd3x0b4Uxa9JMo.x8eo’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.7.1’), ‘sw_if_index’: 10, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x07x00’}}}]}) sw_interface_set_flags(sw_if_index=10,flags=1) sw_interface_add_del_address(sw_if_index=10,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x07x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x07x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x07x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
|
1518b-4t2c- ethip4udpwireguard8tnlsw-ip4base-mrr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xc8txd1&txaexb0/#xd9x91ôx89Jxd0Dx99#x88Qxc0!mx0exacxf0xb8Fxe0I’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x03x93xdex0c?x93x16x84$xb8Q/Fx9bx90xef@xa0Hx98lxedx12xc7xf5ZQxdaxeexe6x14t’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]}) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x01x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.1.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’P<kxf0xf2xff+h’zkx8dxf0x8ex9fax82txb7xdeTnxd8x91x94x03nxe3Sx0bx99g’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x8dixf9Ox80\xfdvx07x1dxaecSxa5}@Uixcc:xecxe5xf0x19x9cxeb_x005xc5KQ’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.1.1’), ‘sw_if_index’: 4, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}]}) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x01x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x02x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.2.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xf0’x83xc1x1aM/xe1x05qx03xce%xfexb0xd0xffxc7x8fxffxd2xc0x8dxe0xe0>Nxfdl>xc0]’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x1ax19fx0fD x1exc9x93’x1dx1bxb8rxf0x9bx9dxc9xcaxc4a5x8b}x14xc4-ax7fxc7x7fx03’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.2.1’), ‘sw_if_index’: 5, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}]}) sw_interface_set_flags(sw_if_index=5,flags=1) sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x02x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x02x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x03x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.3.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xx1d9xe9x88yxfax19&,Wx01vx91xfc]+xcaxe0xbarx1c\xd6G9xf0xb6xf4xf3xddT’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x07f’ax9b=xde<xfa[x04xafx7fxcexacx1axe7xc2xb7x8dxa2J&xb3xbex00 xa3xf0xb1x82(‘, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.3.1’), ‘sw_if_index’: 6, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}]}) sw_interface_set_flags(sw_if_index=6,flags=1) sw_interface_add_del_address(sw_if_index=6,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x03x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x03x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x04x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.4.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’xd0R`~xcfx14nxc1xe4xbax06xf5Exf2xf4xbex91xcbYkwYxb8I\^.\xb6xf1xb6L’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xa6Lx02x81b{S_Exadxe6xaf-wxecxa0xf7xd2xd3}2x1exdexcdux98xa0xdexbeJxc1?’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.4.1’), ‘sw_if_index’: 7, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x04x00’}}}]}) sw_interface_set_flags(sw_if_index=7,flags=1) sw_interface_add_del_address(sw_if_index=7,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x04x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x04x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x04x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x05x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.5.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’hx03x8bxc5>-x8cBx93Axa4/Xx8aB3>xf3x048xbdvDx13|xf6xda\xb2}xc8B’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x98xa5xf1x15xbex86Kxbdxc2xbcTx11xcfxbex05xe9xe6Xxe4.xc3xc1xd4xd1cI,xe3dtxd7b’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.5.1’), ‘sw_if_index’: 8, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}]}) sw_interface_set_flags(sw_if_index=8,flags=1) sw_interface_add_del_address(sw_if_index=8,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x05x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 8, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x05x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x06x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.6.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’xc0x7fx14xe6xxc3xb4xb8x8cxbexf7:txcc<xe0x0cWxbdxccBdx044x82xa3Oxf6x04xcd’n’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’rx0cxf8xffux84Rnxc3xf9xa1*x9cxf1x90xdex99xdaxe5xc7x9cjxabW,xb9xe4sC(xf8R’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.6.1’), ‘sw_if_index’: 9, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x06x00’}}}]}) sw_interface_set_flags(sw_if_index=9,flags=1) sw_interface_add_del_address(sw_if_index=9,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x06x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x06x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x06x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x07x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.7.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’x90xbd)vxb7xebx93x82xc9x93xx08|xecW=nx15xd3[x9e7ux11xcaxf1xdazQA|o’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xcdD?x00x9ax84GWx13xf1q7x80xa9Ocxa1x1c+:xaaxb6x86x11;.xacyxfbx8ex8ax11’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.7.1’), ‘sw_if_index’: 10, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x07x00’}}}]}) sw_interface_set_flags(sw_if_index=10,flags=1) sw_interface_add_del_address(sw_if_index=10,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x07x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x07x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x07x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
|
1518b-8t4c- ethip4udpwireguard8tnlsw-ip4base-mrr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’x10%xf9Zx023x06x80x06xf2x194?cx9fxc2<V<xd27x7f4xe3xa3xf0xa9JrxaeEt’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’7x9cx1amxacx9fx8fxb7xf6x19Px04xd6&5Uxb2xbd4^Ex9dx08xbcxdbxafxb6Nx17x91x03’’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]}) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x01x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.1.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’x18xb9x96n`xf0xecx98vxafixc8x9bx8fx98x8fG4xc1xdfx88x9bx8dx02;=xb9xcd\dx93A’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x98qPx80x18xfeDK:=x8fZx8dxc1x16~x10xf9x1excfxb3xf63x9dx86gx97xd7Avxae!’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.1.1’), ‘sw_if_index’: 4, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}]}) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x01x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x02x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.2.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xb01xf4xb5xecxa0x07xf2xb0x8cW/e^xc2>x019x8dklxecx0bx9dxa7x9cx1fx13xd7x86xdeS’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’nx01x81zx04xadxxbfx1ex03xc8xdcxf9xaat`xaaxaexf7xc5xa1xc5xc3xc6xbcux14xcdcxafxc3Q’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.2.1’), ‘sw_if_index’: 5, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}]}) sw_interface_set_flags(sw_if_index=5,flags=1) sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x02x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x02x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x03x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.3.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’pxa81xa2x12txfcxc8xd5%2&ReYx13x1exb2Hxeb\xcdxf56Cx10$xdex1bxfcxb2}’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xebxb9Xrxafxccnxb1x17x933xafxebx98Pmxe2wxe6xc5x99AMxd2xd3x18xd0C8xd7x95x12’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.3.1’), ‘sw_if_index’: 6, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}]}) sw_interface_set_flags(sw_if_index=6,flags=1) sw_interface_add_del_address(sw_if_index=6,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x03x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x03x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x04x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.4.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’XxaeruJYW)xf6x9ex0c2U;xfex93xc6xf1xe7mxf4Wq xc7xd1x1fxa3xb9xeexcf\’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x89x9ax98x0bxf9W\xbfxf4xee$=xa8)x01xa9x85xbax96xbexff160yxd4xd6 AJ)x0f’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.4.1’), ‘sw_if_index’: 7, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x04x00’}}}]}) sw_interface_set_flags(sw_if_index=7,flags=1) sw_interface_add_del_address(sw_if_index=7,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x04x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x04x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x04x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x05x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.5.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’hxea!x8d<xfdxb5xd5xdf9^xb6x16xf3_xd1xb0xe8xf5!xc6bx94x7fEx060x8bxe3xc8xffM’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x80xb7xe6%xe9x80xfeETx01xf8x96x1cxfdxeaVx92/xd2lxc3=BQxfbxe8vKxb9x11xd6q’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.5.1’), ‘sw_if_index’: 8, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}]}) sw_interface_set_flags(sw_if_index=8,flags=1) sw_interface_add_del_address(sw_if_index=8,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x05x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 8, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x05x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x06x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.6.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’x00|xe7lxe0Tx91xedKx0fxb24xd5x85Zx92Pxefxc3xdbxfbxf6x10@t’x95x17xc1x9a7J’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xb0Pxfehxd3x0fexecrxd6tx99nW1bExa1xb9xee[xa7x99Uxb2xf2~/xeaxeejQ’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.6.1’), ‘sw_if_index’: 9, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x06x00’}}}]}) sw_interface_set_flags(sw_if_index=9,flags=1) sw_interface_add_del_address(sw_if_index=9,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x06x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x06x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x06x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x07x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.7.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’xd0x99x1f)#xfex06x9exf1x1axa1PYx11xbaxbblfx8bkc+lxa4xe2nLxacx9fxd8vJ’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’~x0cxf2exb6Oxc8xe8xa2.x1fx94xbblxeax93@x006x17ox8dx14xb6xb13<xe2x82xcexady’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.7.1’), ‘sw_if_index’: 10, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x07x00’}}}]}) sw_interface_set_flags(sw_if_index=10,flags=1) sw_interface_add_del_address(sw_if_index=10,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x07x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x07x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x07x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
|
imix-2t1c- ethip4udpwireguard8tnlsw-ip4base-mrr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xb0xf0pex19p/xb1x1aiJx9b&x87xc4ex00s}xa3xfbxe5{xbfx978 !xafxedx81e’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x93ixb8n-xxd6x06xeax9dxaaxbfx196xddx85xb3uxad\x0e*xc9xd1xd9x9dLx7flx87?/’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]}) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x01x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.1.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’P~x9exb3xc8xd6x83xf5xcex9fxf5D@x1fx1bxeax04=x12xfe!xf2zx17V4cTxbd’x18c’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x16xfcxccQx92dxdax1dux92Bxddxa9_@xa2xedwxb0Gxbesx9d!xa86rj%x95xfdv’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.1.1’), ‘sw_if_index’: 4, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}]}) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x01x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x02x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.2.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’x88qP$ x8fUHxa3xdaDxb8x9fx90xc0O]xd8x11xf9xb8xfbx9c`x8b+rAx1fx88xd2D’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x1dxe3xa5xd6xcexadwxccx97xe9 xcex8fxd6}xefYpx19~xffxf0xcbxx08x9axdfxaaxb9xc2x8fV’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.2.1’), ‘sw_if_index’: 5, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}]}) sw_interface_set_flags(sw_if_index=5,flags=1) sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x02x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x02x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x03x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.3.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’Hkxc2xcb-x13mxddx9fg<rxccxcb?xc6xf35zgn9?xc8wfx1e!xb9]xb0X’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’Sxd5x1e6Gx9bxf3=xabx08xa8rxf6x14#xcc2x9fxb1xc8xf2x14dx02xfcxd5x9a_xb3gxa1&’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.3.1’), ‘sw_if_index’: 6, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}]}) sw_interface_set_flags(sw_if_index=6,flags=1) sw_interface_add_del_address(sw_if_index=6,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x03x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x03x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x04x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.4.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’xb0xccxfdxf3axf5xd9xb2L[rxa3`x95xc2x1bxd3xe4sxf6x9crxeexfdmxcaxe7jfxe0oB’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x9exa4x14Sxfbtx8fS<xb5x12xcbxaaxd9A{x8axcebCSx87x82xe2x80xf9xe5Fxbe3xfc$’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.4.1’), ‘sw_if_index’: 7, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x04x00’}}}]}) sw_interface_set_flags(sw_if_index=7,flags=1) sw_interface_add_del_address(sw_if_index=7,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x04x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x04x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x04x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x05x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.5.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’xe0xedxb3vNmx9cx15xa6Qxa5xdaxdcxa9xa4xacxda)x8axaexc4xa3t:x9bxf0ixfdxe9xa5x14a’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xebxd3MxefT_xcbxd1[&Vx1fxe0Ixfexd0xf2&xdd5x8dxb0xa0x03xec>x8d8xfax98x8a!’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.5.1’), ‘sw_if_index’: 8, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}]}) sw_interface_set_flags(sw_if_index=8,flags=1) sw_interface_add_del_address(sw_if_index=8,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x05x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 8, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x05x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x06x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.6.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’(xedxdam@wx90x0b’x81bnE/xcfxec3]x85xa1nx8fxfajxbbxf0x08[xa0xaexc1^’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’(x06xb2xb6kx93xad!jx1dxd2xd1x93xbd’xf9xcdxe7Bxcex16xb4x1fx08 xd6xa2{x12x9ex96c’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.6.1’), ‘sw_if_index’: 9, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x06x00’}}}]}) sw_interface_set_flags(sw_if_index=9,flags=1) sw_interface_add_del_address(sw_if_index=9,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x06x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x06x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x06x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x07x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.7.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’0zgx1ex95Dxfxe1)xa8xc3xefx0fx81Orxfb7xcfmHxfbdxf4xf3xa4xd2ex14sS’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’fxe7Ixd9xcdF0;nyxfaxd0xf1x021Gxb5xe0x1fx16\x07nS’$txc7xa5Pxe5e’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.7.1’), ‘sw_if_index’: 10, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x07x00’}}}]}) sw_interface_set_flags(sw_if_index=10,flags=1) sw_interface_add_del_address(sw_if_index=10,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x07x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x07x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x07x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
|
imix-4t2c- ethip4udpwireguard8tnlsw-ip4base-mrr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xd8x0ex98xfcjmx82x88xddx04xc2hx10Mx02Txe0xb7>xd7x97n//xe0Tx{:x82xcfI’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x8a/x9fxebx10Cx99x17&&xc7xba8xabx01Ox8c(Jxb7xedx02x1fx19<0x90tjL5x7f’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]}) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x01x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.1.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’Hx9fxefxa5xf0dPxc7x91xc0dx06xf0LXGtxd8x89|nb(xbaxd7x88x05xdexf9x97rI’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’rm&xabM>9xc3xd5xf2xb6x88TGexfex02xa6xcaHxfexa6Exc5x11xf3$Gx92xef@6’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.1.1’), ‘sw_if_index’: 4, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}]}) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x01x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x02x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.2.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xd0x90x1fx95x971xd1 xc7u=UxeeWxcd2x80xc7@|x16xd1xb3xadwxab’xacx15xe1ri’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xf7zxc9xb7xe3)xa0xf8yx8cMx98xcex99xdesxe9xd5xe1xxcfx9fkxcexdcx12xb3x99xa7xY<’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.2.1’), ‘sw_if_index’: 5, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}]}) sw_interface_set_flags(sw_if_index=5,flags=1) sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x02x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x02x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x03x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.3.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xx8a2xbfPxc0xbbKxfdx16{xc1Yy-xabdlxb50x9ex98s[>xc8txd7x851xecc’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xa84xed2~@x94x15uVxcd;xa0Pxe1D<xa9x92Xx89xb7xa1xd8x1cx0fhxf6%}xcc4’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.3.1’), ‘sw_if_index’: 6, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}]}) sw_interface_set_flags(sw_if_index=6,flags=1) sw_interface_add_del_address(sw_if_index=6,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x03x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x03x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x04x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.4.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’xa0Bx16xdb%)x05'xcfxeb\h}~xe9Xbx0ex06vx1e:Wx94x11xc8x18x8bx19’x9bC’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’X’xa4x95xbfx81xc4xa9&xc0x95cxxd2/=Xxad&x17JQTxdcPxf54x8cx08bx11%’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.4.1’), ‘sw_if_index’: 7, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x04x00’}}}]}) sw_interface_set_flags(sw_if_index=7,flags=1) sw_interface_add_del_address(sw_if_index=7,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x04x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x04x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x04x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x05x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.5.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’x18x86BtX*Xx84xcdxfdxb5xb8bxd7x83xa7x0exxcc!x12)x8bx8cxa5+xeaxbdsxdb-Y’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x10xf2qxe0?Jxd0xfax1eFx92xb3Dxddx89x85xcaxe4xec1xc9xc9Bxd8xbbxa8x06E4GHx14’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.5.1’), ‘sw_if_index’: 8, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}]}) sw_interface_set_flags(sw_if_index=8,flags=1) sw_interface_add_del_address(sw_if_index=8,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x05x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 8, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x05x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x06x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.6.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’xb8xf91Lx8bxf8xb2x99nxeaxd1gEhn`;xccx0emx02x12xbaxbcxacxf6x9avIxbcxb0G’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’<x8exabPx16tuu56xfexdfxf5%Zxecx86x02xdbx16xx80]x8dx9b:xd5xaegx1a^!’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.6.1’), ‘sw_if_index’: 9, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x06x00’}}}]}) sw_interface_set_flags(sw_if_index=9,flags=1) sw_interface_add_del_address(sw_if_index=9,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x06x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x06x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x06x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x07x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.7.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’xa8xc9,x8ex94x80x0b$x97mxa8x87tx93xc0x00`xd8Mx82xafxe0x15x8c{Q.x8dx88x96xbdw’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’7x1aKixe8K3Mx96xf3gD}x89x0cyAx8fxb8Ex13Bx96x86Sx9dxaa6xdbx89xf2`’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.7.1’), ‘sw_if_index’: 10, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x07x00’}}}]}) sw_interface_set_flags(sw_if_index=10,flags=1) sw_interface_add_del_address(sw_if_index=10,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x07x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x07x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x07x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
|
imix-8t4c- ethip4udpwireguard8tnlsw-ip4base-mrr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:25’, ‘ip_address’: ‘192.168.20.2’}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.0.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’x80x8dxfcxbf’xabxaeAxbax97bx00xc5x8eMxf6xe6xeflxc7txc4xb7x1c4x1e/Qx15xf7x1eQ’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’,x9bx1ex1fxb0x81xa6x02x89xc9x1e$xd3xd8x85x0e-xd4Sx9cx8f*Yxac\!xacxd1xe2xbdx90S’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.0.1’), ‘sw_if_index’: 3, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}]}) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x00x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x01x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.1.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’x90*xc8mx80x01xeaxb6>':Px8ex81<xd1!xc1xdbvxe1xb3’x0e`x83xabxabx95ox95K’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xe3xe2’xeaxb3xc1x99x85x90jx07_xfdx99xb0x01xe1$xb8x9d#<ijx18x9bW'xa89xed ‘, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.1.1’), ‘sw_if_index’: 4, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}]}) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_add_del_address(sw_if_index=4,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x01x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x01x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x01x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x02x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.2.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xc0Wx91T4x06x91#x18Uxd1x02xf4xc0xda+%Yx16xbdx15xa7xa9xf6xeb]>x99Ix8dja’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’2x89xfe6x02C7x94xc9xe8hx9cLZx99x98xe4x1amxf9xb4:|\x94\xb2\xef\x80Nd\xb5\xb2T', 'port': 51820, 'endpoint': IPv4Address('200.0.2.1'), 'sw_if_index': 5, 'persistent_keepalive': 256, 'n_allowed_ips': 1, 'allowed_ips': [{'len': 24, 'address': {'af': 0, 'un': {'ip4': b'\n\x00\x02\x00'}}}]}) |br| sw_interface_set_flags(sw_if_index=5,flags=1) sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x02x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x02x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x02x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x03x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.3.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xd8xx9b’xdcvxfbx82>xa5x9cx13 xa3x94x16xUxdbx84xd8^xd0xb1Kxb5nVxb7xdaxcdK’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’bxa8yxfbuxc3’xed%o5x91xdexf9x84xd58xaex12qx82x9axb8tv6xa27-xcdex1c’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.3.1’), ‘sw_if_index’: 6, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}]}) sw_interface_set_flags(sw_if_index=6,flags=1) sw_interface_add_del_address(sw_if_index=6,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x03x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x03x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x03x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x04x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.4.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’xa0Qx13%xe9x97x00x83fxadx1ax9exdaxb2xf9x99x81xfdx1f2x8dxa1x9cx0fx9bTx96ix1bxf5x12d’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x9cxac7xe8x92xc3CJx9f;xf9Ex84nxa8x17xbcx0fx8d|Xxffx97Sxf3f4xd8xe4xc1{$’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.4.1’), ‘sw_if_index’: 7, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x04x00’}}}]}) sw_interface_set_flags(sw_if_index=7,flags=1) sw_interface_add_del_address(sw_if_index=7,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x04x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x04x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x04x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x05x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.5.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’p*xb0x86x8exffNoxc8Bx892]8{x05xcfxb6yxa4`\6x98.xea]xb1#xadyx7f’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’kxb1F0x8cx96xb2Wx99xabrx96gxba<x9axe9Cxb5xa5Urx92xe5x864xcfgxc3y-x1a’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.5.1’), ‘sw_if_index’: 8, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}]}) sw_interface_set_flags(sw_if_index=8,flags=1) sw_interface_add_del_address(sw_if_index=8,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x05x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x05x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 8, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x05x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x06x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.6.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’xd8xc7xb9xb8x13xcbxe8x86x8b*x1fx94xf31(_>x1efxc9xa7x87Xx1b<:xa3xfdx85xd4jt’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’tex02x86x0cxedx8fn(fxa0xd0F]x14x7fPx8axcexbfx00xf8xc8x90fxfaxd8xfbxf2xd6xb0$’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.6.1’), ‘sw_if_index’: 9, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x06x00’}}}]}) sw_interface_set_flags(sw_if_index=9,flags=1) sw_interface_add_del_address(sw_if_index=9,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x06x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x06x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x06x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x07x02’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:69’, ‘ip_address’: ‘200.0.7.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’x88xccx9b3x94xc0xa6|wPx18UTxdaxbekxd0nxa4xb4xeexe3Wx81xccxb6xa1x9axddx9axf1z’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xe8H(xd3x1dBx05x04xadxeaox910x8fx0fx7fx8d%xab/xa5hx8bMx16x01x87x9ex9cx7f1t’, ‘port’: 51820, ‘endpoint’: IPv4Address(‘200.0.7.1’), ‘sw_if_index’: 10, ‘persistent_keepalive’: 256, ‘n_allowed_ips’: 1, ‘allowed_ips’: [{‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x07x00’}}}]}) sw_interface_set_flags(sw_if_index=10,flags=1) sw_interface_add_del_address(sw_if_index=10,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x00x07x02’}}}) ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x07x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’nx00x07x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
|