Accelerated data-plane 295 Network interfaces 300 324 Bonding Interface/Link Aggregation bond[0-9]+ Bonding interface must be named bondN bondN Bonding interface name #include #include Bonding transmit hash policy layer2 layer2+3 layer3+4 layer2 use MAC addresses to generate the hash layer2+3 combine MAC address and IP address to make hash layer3+4 combine IP address and port to make hash (layer2\+3|layer3\+4|layer2) hash-policy must be layer2 layer2+3 layer3+4 layer2 #include #include Bonding mode 802.3ad active-backup broadcast round-robin xor-hash 802.3ad IEEE 802.3ad Dynamic link aggregation active-backup Fault tolerant: only one slave in the bond is active broadcast Fault tolerant: transmits everything on all slave interfaces round-robin Load balance: transmit packets in sequential order xor-hash Distribute based on MAC address (802.3ad|active-backup|broadcast|round-robin|xor-hash) mode must be 802.3ad, active-backup, broadcast, round-robin, or xor 802.3ad Bonding member interfaces Member interface name txt Interface name 327 Bridge domain br(?!0$)[0-9]+ Bridge domain must be named brN and br0 is reserved brN Bridge interface name #include #include Bridge member interfaces Member interface name txt Interface name Bridge Virtual Interface (BVI) 325 Generic Network Encapsulation (GRE) Interface gre[0-9]+ GRE interface must be named greN greN GRE interface name #include #include GRE tunnel mode point-to-point point-to-multipoint point-to-point Point to point mode point-to-multipoint Point to multipoint mode (point-to-point|point-to-multipoint) Invalid mode, must be one of: point-to-point or point-to-multipoint point-to-point GRE tunnel type erspan l3 teb erspan Encapsulated Remote Switched Port Analyzer l3 Generic Routing Encapsulation (network layer) teb L2 Transparent Ethernet Bridge (erspan|l3|teb) Invalid encapsulation, must be one of: l3, teb or erspan l3 #include #include #include 325 IP encapsulation tunnel interface ipip[0-9]+ IPIP tunnel interface must be named ipipN ipipN IPIP tunnel interface name #include #include #include #include #include 325 Loopback Interface lo[0-9]+ Loopback interface must be named loN loN Loopback interface name #include #include #include 325 Virtual Extensible LAN (VXLAN) Interface vxlan[0-9]+ VXLAN interface must be named vxlanN vxlanN VXLAN interface name #include #include #include #include #include #include Layer 2 cross connect 325 xcon[0-9]+ Cross connect must be named xconN xconN Cross connect interface name #include #include Cross connect pair mamber interfaces Member interface name txt Interface name VPP settings Buffer settings Number of buffers per numa node u32:0-4294967295 Number of buffers Size of buffer data area u32:0-4294967295 Size of buffer data area Set the page-size for buffer allocation #include CPU settings List of cores worker threads <id> CPU core id <idN>-<idM> CPU core id range (use '-' as delimiter) not a valid CPU core value or range Main core u32:0-512 Assign main thread to specific core Skip cores u32:0-512 Skip cores Create worker threads u32:0-4294967295 Worker threads #include Interface ethN Interface name Invalid interface name Driver mode dpdk xdp dpdk Data Plane Development Kit (DPDK) xdp eXpress Data Path (XDP) (dpdk|xdp) #include DPDK settings Receive ring descriptors u32:256-8192 Number of descriptors in receive ring Tranceive ring descriptors u32:256-8192 Number of descriptors in tranceive ring Number of receive queues u32:1-8192 Number of receive queues Number of tranceive queues u32:1-8192 Number of tranceive queues Enable promisc mode on a vpp interface XDP settings Unlock multithreading in interrupt and adaptive modes Number of receive queues u32:1-65535 Number of receive queues to connect to all All (all) all Enable promisc mode on a real interface Receive queue size u32:0-65535 Size of receive queue 0 Tranceive queue size u32:0-65535 Size of tranceive queue 0 Enable zero-copy mode IPv6 settings IPv6 heap size #include 32M IPv6 forwarding table hash buckets u32:1-4294967295 IPv6 forwarding table hash buckets 65536 IPsec settings IPsec interface type ipsec ipip ipsec IPsec interface type ipip IPIP tunnel interface type (ipsec|ipip) ipsec #include Level 2 MAC address learning settings Number of MAC addresses in the L2 FIB u32:1-4294967295 Number of concurent entries 4194304 Linux control plane setting #include Ignore kernel routes Logging settings default-log-level alert crit debug disabled emerg err info notice warn alert Alert crit Critical debug Debug disabled Disabled emerg Emergency err Error info Informational notice Notice warn Warning (alert|crit|debug|disabled|emerg|err|info|notice|warn) Memory settings Main heap size #include Main heap page size #include Default hugepage size NAT settings NAT44 session timeouts ICMP timeout u32 Timeout in seconds (default: 60) 60 TCP established timeout u32 TCP established timeout in seconds (default: 7440) 7440 TCP transitory timeout u32 Timeout in seconds (default: 240) 240 UDP timeout u32 Timeout in seconds (default: 60) 60 Maximum number of sessions per thread u32 Number of sessions Number of sessions must be between 1 and 4294967295 64512 List of NAT workers <id> Worker id <idN>-<idM> Worker id range (use '-' as delimiter) Not a valid value or range Do not forward packets which do not match existing NAT translations (static or dynamic) Physical memory settings Set memory size for protectable memory allocator (pmalloc) memory space #include Stats settings Size of stats segment #include Stats page size #include Unix settings Add a fixed-sleep between main loop poll u32:0-500000 Sleep interval in microseconds 0 NAT44 320 NAT interface setting NAT inside interface NAT outside interface NAT address pool NAT translation pool #include #include NAT twice-nat pool #include #include Static NAT rules Rule number for NAT u32 Number of NAT rule #include NAT external parameters IP address ipv4 IPv4 address #include NAT local parameters IP address ipv4 IPv4 address #include NAT static mapping options Rewrite source IP addresses on packets sent from outside to inside Rewrite source IP addresses on packets sent only from a local address to an external address Only apply rule for traffic from outside to inside interfaces Force use of specific IP address from twice-nat address pool ipv4 IPv4 address #include Exclude packets matching these rules from NAT Rule number u32 Number of rule IP address of the internal (local) device ipv4 IPv4 address Port number used by connection on internal device u32:1-65535 Numeric IP port Port number must be in range 1 to 65535 #include External interface #include VPP kernel interface settings 328 vpptapN Kernel interface name vpptunN Kernel interface name vpp(tun|tap)\d+ Kernel interface must start with vpp and include tun or tap N #include #include #include #include #include #include