FD.io VPP
v17.10-9-gd594711
Vector Packet Processing
|
map add domain ip4-pfx <ip4-pfx> ip6-pfx <ip6-pfx> ip6-src <ip6-pfx> ea-bits-len <n> psid-offset <n> psid-len <n> [map-t] [mtu <mtu>].
Add MAP domain
vpp# map add domain
Declaration: map_add_domain_command (src/vnet/map/map.c line 2124)
Implementation: map_add_domain_command_fn.
map add rule index <domain> psid <psid> ip6-dst <ip6-addr>.
Add MAP rule to a domain
vpp# map add rule
Declaration: map_add_rule_command (src/vnet/map/map.c line 2139)
Implementation: map_add_rule_command_fn.
map del domain index <domain>.
Delete MAP domain
vpp# map del domain
Declaration: map_del_command (src/vnet/map/map.c line 2152)
Implementation: map_del_domain_command_fn.
map params fragment inner|outer.
Configure MAP fragmentation behaviour
vpp# map params fragment
Declaration: map_fragment_command (src/vnet/map/map.c line 2074)
Implementation: map_fragment_command_fn.
map params fragment ignore-df on|off.
Ignore the IPv4 Don't fragment bit
vpp# map params fragment ignore-df
Allows fragmentation of the IPv4 packet even if the DF bit is set. The choice between inner or outer fragmentation of tunnel packets is complicated. The benefit of inner fragmentation is that the ultimate endpoint must reassemble, instead of the tunnel endpoint.
Declaration and implementation
Declaration: map_fragment_df_command (src/vnet/map/map.c line 2093)
Implementation: map_fragment_df_command_fn.
Summary/usage
map params icmp source-address <ip4-address>.
Description
Specifiy the IPv4 source address used for relayed ICMP error messages
vpp# map params icmp source-address
Declaration and implementation
Declaration: map_icmp_relay_source_address_command (src/vnet/map/map.c line 2045)
Implementation: map_icmp_relay_source_address_command_fn.
Summary/usage
map params icmp6 unreachables {on|off}.
Description
Send IPv6 ICMP unreachables
vpp# map params icmp6 unreachables
Declaration and implementation
Declaration: map_icmp_unreachables_command (src/vnet/map/map.c line 2061)
Implementation: map_icmp_unreachables_command_fn.
Summary/usage
map params pre-resolve {ip4-nh <address>} | {ip6-nh <address>}.
Description
Bypass IP4/IP6 lookup
vpp# map params pre-resolve
Declaration and implementation
Declaration: map_pre_resolve_command (src/vnet/map/map.c line 2010)
Implementation: map_pre_resolve_command_fn.
Summary/usage
map params reassembly [ip4 | ip6] [lifetime <lifetime-ms>] [pool-size <pool-size>] [buffers <buffers>] [ht-ratio <ht-ratio>].
Description
Configure MAP reassembly behaviour
vpp# map params reassembly
Declaration: map_ip4_reass_lifetime_command (src/vnet/map/map.c line 1972)
Implementation: map_params_reass_command_fn.
Summary/usage
map params security-check on|off.
Description
Enable or disable the MAP-E inbound security check
vpp# map params security-check
Declaration and implementation
Declaration: map_security_check_command (src/vnet/map/map.c line 2028)
Implementation: map_security_check_command_fn.
Summary/usage
map params security-check fragments on|off.
Description
Specifiy if the inbound security check should be done on fragments
vpp# map params security-check fragments
Declaration and implementation
Declaration: map_security_check_frag_command (src/vnet/map/map.c line 2111)
Implementation: map_security_check_frag_command_fn.
Summary/usage
map params traffic-class {0x0-0xff | copy}.
Description
Set or copy the IP TOS/Traffic Class field
vpp# map params traffic-class
Declaration and implementation
Declaration: map_traffic_class_command (src/vnet/map/map.c line 1992)
Implementation: map_traffic_class_command_fn.
Summary/usage
show map domain index <n> [counters].
Description
Show MAP domains
vpp# show map domain
Declaration: show_map_domain_command (src/vnet/map/map.c line 2165)
Implementation: show_map_domain_command_fn.
Summary/usage
show map fragments.
Description
Show MAP fragmentation information
vpp# show map fragments
Declaration: show_map_fragments_command (src/vnet/map/map.c line 2191)
Implementation: show_map_fragments_command_fn.
Summary/usage
show map stats.
Description
Show MAP statistics
vpp# show map stats
Declaration: show_map_stats_command (src/vnet/map/map.c line 2178)
Implementation: show_map_stats_command_fn.