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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xb0xefx8c4Ix94Yxf3xffjx98xe4xcavxc0xcdxe9xadSxb3x12uJ9xa82xac/rxe7x9dO’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x99xbcanx17xd6xe6xfexe3xe5xa7x0ex0fx19x9bx01x96xe2w9_x95xb2xe1XqZ1~x05x93V’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.1.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’@ZAHx83x13x82=%Fx0box1dx13xb1xe4xd3`&xe9xee~xa8,xeex8ddxa6wx81xc4d’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xdcxcatxc7x1d>x9cx9fQx10Knxb2xb9Lxa8x8exa0Fxcfxe6xa9x83xe7xefix9bxefix95x1bB’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.2.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xf0x0exd7xfd<vx0ex0fx91Mo%x04Yx0fx14JMxa8x?xc5x0fxb2x1cxc3xa5x8dxbbxc4ox’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’t]xfex9cx95uxcaxe6xb9xcex97XkO7Ix16xf5*xdcx12rx97xa3xf3(xc5dxd6Ix95x07’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.3.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xb0:’Kexc8xcbxfe,xbdVnxe5x1a^xfex9ex99-;x1fxbe\xb6xcex06xd7x00Rxd5J`’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xc4x11x03xb2x11;xa4Gxcfaxccx04xf8x1d:xc9xd6xf8x06 xe0Usl}x91’xe3zx9cxd3d’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.4.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’x18xe0yxfdxd5xa9xabxbfxdaxf4xf7xa3xbc*x0f>x85xa6Pxbex17xdcxeexaaxaexeax81xf7Nx91xb3@’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xa5x1exff1xb7xf2fxc1)Exb0COExa9xaexd8C]xccxc9xf1x85xe0xbex86xafxe9xf1x8bx9fx10’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.5.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’xe8%x84x0cWx9fXxf6x87xecdxcaxdebxc4x82xe8Gxfelxb6G=xf6Lxc1Uxcf ,^E’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x8ex18’jxbex94xa9x9fxc0x81xd1xb3xd0x8ax99Vbwux82x9dxaex1bxb9x06xcbx8cRxb4x9fxab(‘, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.6.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’x90xdax8cxb5x8ax08Dxe0xbcMAx98`9x18x0bx80xe2xb4xf9xabO1xeaxdex1axccxbdxf2xffKi’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’61x80xd0{Dx97Kxd5xa6/*/x1fx0b5x92xdcxbfxde#xcex84xecx11x05XSx8dxb8xd7O’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.7.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’xc0Zx98~rW_xcf5Mx11xe0`x8e|_x98x06xc8xa4x94x0cxc7xc3Zxa2:xa1xc7xa5xbfM’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’,xb4xd0Wxd3x04Zxf2x9exb1?xecxf6xf3(xa0xf7xfbxe9p%0x89x8excaxf6xbbxf4xd6ux00x1a’, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xe0xda<x94x04xe2xfexc5xe0<x14xaenxabx96xbdzxfb rx88pxfaxbdx17xa3kgx9b;\N’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x14xf6N[kxd1xe4x81xeexba%xf6xa3kxf8x87xaaWxbcICx06x95xb4xfdxddxd1xe5xb7xdbx05;’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.1.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’x08g|; x8fx10xedxfe*x19x0fxbfexffBx02x06x8e1xffxbfx89xe4xa6x92Dxaa9xd9x81f’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xf0xd6xd4xd1xa3N:;xd7x06x1fIxb7xd0xe8Tx1bfK$xaexaax8ex85x1c’VTxdaMx9a9’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.2.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xa8xcd{YVFx91g{xf1x9d#x12xb8xdf*sBx12x8fx06xf9wxfex8emx82x00vTxbbK’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’~xe9xa7x17Sctxbb7x8br{xe8-%xf0o[4xa2x7fxfdx19xcdx96i8cxe8xd9ex14’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.3.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xa8xbfwx91EVxecl0%tx0c4xecTxedxcc~&\dbx85xd1Nox85xd8x01tOx7f’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x909^ xfcx9exfcrxa0sxb2x99x06}x8bxc2x93x1aWx08xb5xa2xd0xb1Kxfdx9bxa9jO*x0c’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.4.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’hxabxedxdfxf5dxf1Lx038x0b.xf3x8ax06xf2vxe97)xc6’xaaex05HMfxd4x17ye’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’wxdfxb7\x83xdcxb4Uxe8x97’]’Plxd4_xa9axe7xf6xdbn177wxcdLx8ex12s’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.5.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’@xbbx01lxc6xe6dkx1dxc3>x8b%x84x934>xfe1x8dbx00Sxefdxaexd7x8ax03xf5me’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x9fl,BQ&xb5a8x05x069Sx08QPxc7+Rx94kx16x16x19xd9xx8dx85x8e_x0b\’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.6.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’Pxa6xb8Y<x18x90xe9x8fx06pox05t(qbxc1-xcdxddSxb8zxeb8xa9x84xd9xc5t~’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xdcxc9xaaxebFx04eBx83xb9x88Unxd9px8cx9bkxb9xc9xd0x8cx8b_x0exdbx13xbexe4x9cxc5`’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.7.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’xe8x8aa##’x06Kk0[x81xa7xd9xdftx15bxd1txfdxdcxd0xbf;8Jxb4xbcxd4*q’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x97xb6’xe0lxc9nYx905x8ax9fxba x042xe4X4x8exa3xb7cx96?xabx16x83Bxa6j4’, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’x08x9d*’Oxd8MQhx15dfxddwxf1xe9xe8xbfxf6bxa4x92xdbx16x1exa8lxce^pxebu’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’\xeaMyxf3xf4xf9# xcfx03Y@xedxe9xecYxca399x85@x19xfbx[xa1xf5x14xf1t’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.1.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’xd8xcdtxb3.xc1xdfr-xc1fvxd8xbdxe0nAxf6x85 xbc%u*xfdxd5x97xe5x14fQr’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xe9W,xd6}xacx8axa8x088gxf6xx0cxd1xbbxf6x04txbbxa2xfex87xf7x9aWxd7xb3Zxb6x0fx01’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.2.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’x08xc0xeb\xf5xda5xc0xf9xe6xc7x91]ixde_Qqx02Ux14xcbxe7x95xb9xab#xf0xb0xadxd5H’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xd8x84:x13\xfdx82vcx1ayDx96%xbavxc6H+9!xe3xddxf9xb11Rx00xafxf6Rl’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.3.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’hxb78CCxc8xcc|pppx1cxdcx8dqxf7x82[x84xbcx9fxb9xb4xa3x80xf5kx84wxfe;h’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xb3x1f0t>xb7zx03xbfx9cfxeb0x0ehwx12x90xe4x07xefxbax83x15xa4x97xc9x11/zxabx0f’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.4.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’xd0xa6xd1x80xefx8fUx81`x86x08/xb7x1fx8cxafxdbxb1xe6]cNxb4x87xb7B-xb2xfdxc91`’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’_xa9~Jx00@xa1xf1xfbrLxx07xe7xee,xf9xd5x9a)Cx1exb6[xc5ex93x89lxe6x94G’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.5.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’hMxbcx87x9c3$x17_xaeR?xe7>x1bi,Exb7xfax94xfaxa7xa0xfahx8e*x05x9axe3J’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’TYxc8xa3`hxc6xb5x95xfd:xb8x10#xf1x0ftxa7x1b*Scxc9axc5f@xe9xef@_,’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.6.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’xc8xccx0ex04xaa5xc5xa1x8bx95yCxadx80xeax05xd3 V2x818]{x9fxa5Exfexdfxb1dP’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xe2xfe,xeex00x0cx98xIxfexa7<xdfxd0x9dxf8xadxe6-=xfbxa0x87x150#gxb2xb4%x8d!’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.7.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’x08x9cx0f[xbe#xe0x93x8axa0-x15jI[xc0Lxd8TFwxe3xf0Mxbexd5xf5xb7x15xc1xdc|’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x08x13|xb9xd0Fx8erxf8xbfrx03xabxacx05@x81x0exdepilx14xc2x83x98C*xef,xffx17’, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’x80xb3xfaxb5!xc7x9e>xe1xd3tx01xedxdexc5Jxc7x17xc9xc8xf6xf4x92xfdxe2xe5xca{x8eEML’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x9bx03brq x14x05`x03Px05x96*,#Bx96*xbdx10x9dxfdx0fxd5x1fcxc79n:x14’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.1.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’x0ex03xb3xd7xc4DEx953xdbE-xaex0cxfdxef&xe1R}nxbewxb5dxbfjx9cUx8bD’, ‘generate_key’: False}) |br| wireguard_peer_add(peer={‘public_key’: b’n=xf5xffx8dx1ex1cx0cxb6J9n xc3x0bxb7<fxbfx90xb0xd7xfa~:Lxc2xf8xf7t$’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.2.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xb0xebx86cxe5xaegx05Jx14xe0xb8x15hxfdx18x8axbfx9cdxe5Z%%fxf1xb6xabD2xbfw’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’4x88xx9exfd’Jx8bxc6xx85xe0Xx88m4nxd5xa9x9d@b-O9x8cFxb9xffx0b*Y’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.3.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xd0x8ax0exa88x86fx03b*xe0x80x81xb9wxdb|xb6%ix8bxf5xd7Txfeyxfdxdbxe0rB~’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x84xc8xbex8axd4Pxe1xb3xc9x16Px0ebxdaxbdxb2!xafxecx82x89`x92ns6xf6xe0Zxc7xa5r’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.4.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’0xbax82x896x96x9c6’}x94xe9xc1#mkxae0&x014xfa-fxf6]cxde1x1c(e’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xebxe7\xd3x90xeaH</++x848xf3x13x15Z$xa3wGxa1x08xd0*xacA^:px9e7’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.5.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’xe0x9cgx04xb2jx1bxb3xb4xc1xacxb8xe5xb1x13xe3xfc;fx10x0cxb9wxcbxf4xb6(x00xbcx19(X’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x1bx8d^xa5xa5?xecxe7xfexc2,xa6xac<x18Z.sxc3x05xc1x02xb9x82X$uxefxf4xefxe5’’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.6.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’@Zxa5x0bx9exaaxd6xd9xe6\ox9ax87@xaaxb1}xe7x04xb3!xf6x08x92x13h)x11xfcxbcx98T’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x8dxccxd7)3*jP{xa5xdcP8x82xac9xdbxd2,x80+x0cxfex83xccx11xc6jOATo’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.7.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’xa8ex91xd9x896Yx96xe0x13x1cRExd1Sx0exc7Gxf4xd8xbbwx15}xa3xc1fx141xaax1bO’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xf0x92U#x15xe7xaaIxcf5xd0xb1x0cx08xebDx7f’vxde8xc5xfaqpex051xfbxd6!~’, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’xb0xa7xa8`x87)x9bxdaxf29R#xf0xa8pxefxb2xc2_xfbeJxxf38xf9x95’xdbxeapo’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’?xacn-x9d^cp6,xf7xb9x90<xdbtxedmxb4x13xcG(x13x05x02JxedSx986’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.1.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’xb0xcdx08fx06j(xdbxb9x7fr(xffgxf8xc5xf1x1axb9x89x1fnx98xb6xcdKx9dX+;rS’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’4x19?lx82%xfc6Uxa4xb6xd7*xc4x89xadGx97^txc0xb5!x8a xfd0xb5[xc7xf8x07’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.2.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’x80Gxb7?x86xb38xffx02xddxe9Mk@`xb5xf9xf2xfcxcagxf86k=x1exb8&xe8x15|G’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xb4xad’x18Sxc4x9ekax04<x06tx18x91xf0x82x9bxb2xcb7x118xb9xdcxdcOxb5xd4xddO!’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.3.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xc8x91wxb6x9fx9acxa3xc3uzxd5x89rxeexe9xddd>xa9x10x9eTx7f[x17>x1bxc5xe0&j’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xe4xf0Ux96xf1xe0x8dxfa$xafxf0x82Jxf5xd3x17xbex08xddNx94xbdx00Wx0bx1axe96x13x86x86o’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.4.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’x98xf5x8exf7?5xb4x13dxeetAx08Rx9cxd3xa3xa9-x1e4xda;’x01xc9xe8x1cxdf x19Z’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x82=xdaGx8cS6x96\Gxbbxc0\xe2x80xcbx96xb4xc7$.Dx83xx16x05xbasB)xd6+’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.5.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’0xbaxa6Qx07xe3x19xa6x01xebxc4xbfxfbxfdx96xaexe9xccxf1xcdx11rx8f>xb1x98i3cxc1,I’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xbeyzxc4xa7x0exbfdxffrx00Sx01xe5x11|xbcxc5x1dxf0x8axfdxd7xfb:Ox04UgKxfa?’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.6.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’0xfetvxbaPxdaxa6xf1xb9jx1bxf0kx06xe86x17x9f3Uxeb6Qxedx98 xb55xb9H{‘, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’3xbd\xecx06xf2?xa7x7fnxb5x93;x06`’xc1Fxea#x10xf7x81xa8xf1x89x87*xdcxca x15’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.7.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’xa8xdc.x0ex1ex8cxeaan3xa56x87wx19xd3xacxb6xe9xcdhx83x80xc6xx93g(5xa7xdbU’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xdf0xd2x01x12xa3-x14xa5xb0x03Ixad,JKxc4xf8xdaxb5xc6x9e!x8b3x9fSx00x8fxa6x8a6’, ‘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’: ‘b4:96:91:b2:a1:49’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.0.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.0.2’), ‘private_key’: b’`rJxe3xb4rEx07D}Ux01xbfxdbxe7xeax1eGxc8L*xc3x94Qx92x19xd8x9dGHmi’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xa2Vx16xd0[x1axfb|x8foZxd5xaaxc7rwixf7xccxdbxe8xaahxa1xf7r{xfbxb2M`6’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.1.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.1.2’), ‘private_key’: b’ Rxd4xb6xff?x1cx94xc4xb5h_xa2xc0x0ex1fxa9xxd6xe8xd5x1d8]xb6:xce>x93qx17K’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’\/xaaxe8x8bxa3.xf8xefOxd5Kxd0xeebxa0x83x98xaa4xd7xb6^&[Zxaex1ee{7{‘, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.2.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.2.2’), ‘private_key’: b’xIx7fx91+x8f{xfb?xdaxb5xd7x91yDxb9t>x044xeax15Pxd7xb3jJoxa3x1fx96L’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x11=x01!x8enx05x9ffxc6x84xf6x85xf7x07o$x98xa3xdawWx93xaexfcxd9Dxba<b,K’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.3.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.3.2’), ‘private_key’: b’xe8}ipOxd4xf5xf6xddx1dx17x85xdcx08xa0xaexb1zx93xc7xcf_8x97xefx85V-xc9xcexb8j’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xa4xa8x0cxf4x7fxc1nxd23,&$x142o’x89xb0xc1x01xd35x1dx9cxc4bx13oxd7xf7x81u’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.4.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.4.2’), ‘private_key’: b’hxe1xc1x8exd2xaaxd6p(V1x04xfexd0ZHxa2xb1xa5mVx9dxe6_xa6oUx03dxbexd0v’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’nx15lx0c,xc6fx9ex9c3xbcx16rxcex9e^x10x1fx90mxecxc6sExd5x1bG|xadxbfxa1:’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.5.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.5.2’), ‘private_key’: b’xa8Cx81x8cxb1xe3)xbc-xbe3gq5bxdbf.x0fx8eQnVMxcdx15x8fhx1cxa2xa0H’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’xa4x84xd3nxebxf5x86$x13xbcxc4/xf1;xdexb8xbbx94xafx92a=xdf\xdexef%exa9xc9xffZ’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.6.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.6.2’), ‘private_key’: b’`axbfx8ax9ax06x08xa8O%xcbxa4rFx18xx8bxdaxf625x9ex02xc4Exd3xc6xb9x90x07’H’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’wx82xb7x08x8fx9btxe7x18e’xf3x95xfaAx12Mx08xcax14xbfx14ax15xa2(Kxfa_xe6xf4x1e’, ‘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’: ‘b4:96:91:b2:a7:b1’, ‘ip_address’: ‘200.0.7.1’}) wireguard_interface_create(interface={‘port’: 51820, ‘src_ip’: IPv4Address(‘200.0.7.2’), ‘private_key’: b’x00x9brx8ekxe8x00x9exb1xc1&x03Wx83x95xb84xf8x06xf49xx0bx17Ox92xf4Tx13xa5/V’, ‘generate_key’: False}) wireguard_peer_add(peer={‘public_key’: b’x82xdax8fxffx1c2/x8cxc9xc7mxc9x12xe8axc3bx83x15x8cxb29WxdbAxb8xe5.txb2,g’, ‘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]}]})
|