interface tunnel¶
Tunnel interface
tunnel Specification¶
Type Collection Object Key(s) ifnum Collection Name tunnel-list Collection URI /axapi/v3/interface/tunnel Element Name tunnel Element URI /axapi/v3/interface/tunnel/{ifnum} Element Attributes tunnel_attributes Statistics Data URI /axapi/v3/interface/tunnel/{ifnum}/stats Operational Data URI /axapi/v3/interface/tunnel/{ifnum}/oper Schema tunnel schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/interface/tunnel | ||
Create List | POST | /axapi/v3/interface/tunnel | ||
Get Object | GET | /axapi/v3/interface/tunnel/{ifnum} | ||
Get List | GET | /axapi/v3/interface/tunnel | ||
Modify Object | POST | /axapi/v3/interface/tunnel/{ifnum} | ||
Replace Object | PUT | /axapi/v3/interface/tunnel/{ifnum} | ||
Replace List | PUT | /axapi/v3/interface/tunnel | ||
Delete Object | DELETE | /axapi/v3/interface/tunnel/{ifnum} |
tunnel-list¶
tunnel-list is JSON List of tunnel attributes
tunnel-list : [
]
tunnel attributes¶
action
Description ‘enable’: Enable; ‘disable’: Disable;
Type: string
Supported Values: enable, disable
Default: enable
ifnum
Description Tunnel interface number
Type: number
Range: 1-128
ip
Description: ip is a JSON Block. Please see below for ip
Type: Object
Reference Object: /axapi/v3/interface/tunnel/{ifnum}/ip
ipv6
Description: ipv6 is a JSON Block. Please see below for ipv6
Type: Object
Reference Object: /axapi/v3/interface/tunnel/{ifnum}/ipv6
load-interval
Description Configure Load Interval (Seconds (5-300, Multiple of 5), default 300)
Type: number
Range: 5-300
Default: 300
mtu
Description Interface mtu (Interface MTU, default 1 (min MTU is 1280 for IPv6))
Type: number
name
Description Name for the interface
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
packet-capture-template
Description Name of the packet capture template to be bind with this object
Type: string
Maximum Length: 128 characters
Maximum Length: 1 characters
Reference Object: /axapi/v3/visibility/packet-capture/object-templates/interface-tunnel-tmpl
sampling-enable
Type: Listspeed
Description Speed in Gbit/Sec (Default 10 Gbps)
Type: number
Range: 1-200
Default: 10
user-tag
Description Customized tag
Type: string
Format: string-rlx
Maximum Length: 127 characters
Maximum Length: 1 characters
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
ip¶
Specification Type object address
Description: address is a JSON Block. Please see below for ip_address
Type: Object
generate-membership-query
Description Enable Membership Query
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
generate-membership-query-val
Description 1 - 255 (Default is 125)
Type: number
Range: 1-255
Default: 125
max-resp-time
Description Max Response Time (Default is 100)
Type: number
Range: 1-255
Default: 100
ospf
Description: ospf is a JSON Block. Please see below for ip_ospf
Type: Object
Reference Object: /axapi/v3/interface/tunnel/{ifnum}/ip/ospf
rip
Description: rip is a JSON Block. Please see below for ip_rip
Type: Object
Reference Object: /axapi/v3/interface/tunnel/{ifnum}/ip/rip
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
ip_rip¶
Specification Type object authentication
Description: authentication is a JSON Block. Please see below for ip_rip_authentication
Type: Object
receive-cfg
Description: receive-cfg is a JSON Block. Please see below for ip_rip_receive-cfg
Type: Object
receive-packet
Description Enable receiving packet through the specified interface
Type: boolean
Supported Values: true, false, 1, 0
Default: 1
send-cfg
Description: send-cfg is a JSON Block. Please see below for ip_rip_send-cfg
Type: Object
send-packet
Description Enable sending packets through the specified interface
Type: boolean
Supported Values: true, false, 1, 0
Default: 1
split-horizon-cfg
Description: split-horizon-cfg is a JSON Block. Please see below for ip_rip_split-horizon-cfg
Type: Object
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
ip_rip_receive-cfg¶
Specification Type object receive
Description Advertisement reception
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
version
Description ‘2’: RIP version 2;
Type: string
Supported Values: 2
ip_rip_split-horizon-cfg¶
Specification Type object state
Description ‘poisoned’: Perform split horizon with poisoned reverse; ‘disable’: Disable split horizon; ‘enable’: Perform split horizon without poisoned reverse;
Type: string
Supported Values: poisoned, disable, enable
Default: poisoned
ip_rip_authentication¶
Specification Type object key-chain
Description: key-chain is a JSON Block. Please see below for ip_rip_authentication_key-chain
Type: Object
mode
Description: mode is a JSON Block. Please see below for ip_rip_authentication_mode
Type: Object
str
Description: str is a JSON Block. Please see below for ip_rip_authentication_str
Type: Object
ip_rip_authentication_key-chain¶
Specification Type object key-chain
Description Authentication key-chain (Name of key-chain)
Type: string
Format: string-rlx
ip_rip_authentication_mode¶
Specification Type object mode
Description ‘md5’: Keyed message digest; ‘text’: Clear text authentication;
Type: string
Supported Values: md5, text
Default: text
ip_rip_authentication_str¶
Specification Type object string
Description The RIP authentication string
Type: string
Format: string-rlx
Maximum Length: 16 characters
Maximum Length: 1 characters
ip_rip_send-cfg¶
Specification Type object send
Description Advertisement transmission
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
version
Description ‘2’: RIP version 2;
Type: string
Supported Values: 2
ip_address¶
Specification Type object dhcp
Description Use DHCP to configure IP address
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
ip-cfg
Type: List
ip_address_ip-cfg¶
Specification Type list Block object keys ipv4-address
Description IP address
Type: string
Format: ipv4-address
ipv4-netmask
Description IP subnet mask
Type: string
Format: ipv4-netmask
ip_ospf¶
Specification Type object ospf-global
Description: ospf-global is a JSON Block. Please see below for ip_ospf_ospf-global
Type: Object
Reference Object: /axapi/v3/interface/tunnel/{ifnum}/ip/ospf/ospf-global
ospf-ip-list
Type: List
Reference Object: /axapi/v3/interface/tunnel/{ifnum}/ip/ospf/ospf-ip/{ip-addr}
ip_ospf_ospf-ip-list¶
Specification Type list Block object keys authentication
Description Enable authentication
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
authentication-key
Description Authentication password (key) (The OSPF password (key))
Type: string
Format: string-rlx
Maximum Length: 8 characters
Maximum Length: 1 characters
cost
Description Interface cost
Type: number
Range: 1-65535
database-filter
Description ‘all’: Filter all LSA;
Type: string
Supported Values: all
dead-interval
Description Interval after which a neighbor is declared dead (Seconds)
Type: number
Range: 1-65535
Default: 40
hello-interval
Description Time between HELLO packets (Seconds)
Type: number
Range: 1-65535
Default: 10
ip-addr
Description Address of interface
Type: string
Format: ipv4-address
message-digest-cfg
Type: Listmtu-ignore
Description Ignores the MTU in DBD packets
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
out
Description Outgoing LSA
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
priority
Description Router priority
Type: number
Range: 0-255
Default: 1
retransmit-interval
Description Time between retransmitting lost link state advertisements (Seconds)
Type: number
Range: 1-65535
Default: 5
transmit-delay
Description Link state transmit delay (Seconds)
Type: number
Range: 1-65535
Default: 1
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
value
Description ‘message-digest’: Use message-digest authentication; ‘null’: Use no authentication;
Type: string
Supported Values: message-digest, null
ip_ospf_ospf-ip-list_message-digest-cfg¶
Specification Type list Block object keys encrypted
Description Do NOT use this option manually. (This is an A10 reserved keyword.) (The ENCRYPTED password string)md5-value
Description The OSPF password (1-16)
Type: string
Format: password
Maximum Length: 16 characters
Maximum Length: 1 characters
message-digest-key
Description Message digest authentication password (key) (Key id)
Type: number
Range: 1-255
ip_ospf_ospf-global¶
Specification Type object authentication-cfg
Description: authentication-cfg is a JSON Block. Please see below for ip_ospf_ospf-global_authentication-cfg
Type: Object
authentication-key
Description Authentication password (key) (The OSPF password (key))
Type: string
Format: string-rlx
Maximum Length: 8 characters
Maximum Length: 1 characters
bfd-cfg
Description: bfd-cfg is a JSON Block. Please see below for ip_ospf_ospf-global_bfd-cfg
Type: Object
cost
Description Interface cost
Type: number
Range: 1-65535
database-filter-cfg
Description: database-filter-cfg is a JSON Block. Please see below for ip_ospf_ospf-global_database-filter-cfg
Type: Object
dead-interval
Description Interval after which a neighbor is declared dead (Seconds)
Type: number
Range: 1-65535
Default: 40
disable
Description ‘all’: All functionality;
Type: string
Supported Values: all
hello-interval
Description Time between HELLO packets (Seconds)
Type: number
Range: 1-65535
Default: 10
message-digest-cfg
Type: Listmtu
Description OSPF interface MTU (MTU size)
Type: number
Range: 576-65535
mtu-ignore
Description Ignores the MTU in DBD packets
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
network
Description: network is a JSON Block. Please see below for ip_ospf_ospf-global_network
Type: Object
priority
Description Router priority
Type: number
Range: 0-255
Default: 1
retransmit-interval
Description Time between retransmitting lost link state advertisements (Seconds)
Type: number
Range: 1-65535
Default: 5
transmit-delay
Description Link state transmit delay (Seconds)
Type: number
Range: 1-65535
Default: 1
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
ip_ospf_ospf-global_network¶
Specification Type object broadcast
Description Specify OSPF broadcast multi-access network
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
Mutual Exclusion: broadcastnon-broadcast, point-to-point and point-to-multipoint are mutually exclusive
non-broadcast
Description Specify OSPF NBMA network
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
Mutual Exclusion: non-broadcastbroadcast, point-to-point and point-to-multipoint are mutually exclusive
p2mp-nbma
Description Specify non-broadcast point-to-multipoint network
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
point-to-multipoint
Description Specify OSPF point-to-multipoint network
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
Mutual Exclusion: point-to-multipointbroadcast, non-broadcast and point-to-point are mutually exclusive
point-to-point
Description Specify OSPF point-to-point network
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
Mutual Exclusion: point-to-pointbroadcast, non-broadcast and point-to-multipoint are mutually exclusive
ip_ospf_ospf-global_authentication-cfg¶
Specification Type object authentication
Description Enable authentication
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
value
Description ‘message-digest’: Use message-digest authentication; ‘null’: Use no authentication;
Type: string
Supported Values: message-digest, null
ip_ospf_ospf-global_database-filter-cfg¶
Specification Type object database-filter
Description ‘all’: Filter all LSA;
Type: string
Supported Values: all
out
Description Outgoing LSA
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
ip_ospf_ospf-global_bfd-cfg¶
Specification Type object bfd
Description Bidirectional Forwarding Detection (BFD)
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
disable
Description Disable BFD
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
ip_ospf_ospf-global_message-digest-cfg¶
Specification Type list Block object keys md5
Description: md5 is a JSON Block. Please see below for ip_ospf_ospf-global_message-digest-cfg_md5
Type: Object
message-digest-key
Description Message digest authentication password (key) (Key id)
Type: number
Range: 1-255
ip_ospf_ospf-global_message-digest-cfg_md5¶
Specification Type object encrypted
Description Do NOT use this option manually. (This is an A10 reserved keyword.) (The ENCRYPTED password string)md5-value
Description The OSPF password (1-16)
Type: string
Format: password
Maximum Length: 16 characters
Maximum Length: 1 characters
sampling-enable¶
Specification Type list Block object keys counters1
Description ‘all’: all; ‘num-rx-pkts’: received packets; ‘num-total-rx-bytes’: received bytes; ‘num-tx-pkts’: sent packets; ‘num-total-tx-bytes’: sent bytes; ‘num-rx-err-pkts’: received error packets; ‘num-tx-err-pkts’: sent error packets; ‘rate_pkt_sent’: Packet sent rate packets/sec; ‘rate_byte_sent’: Byte sent rate bits/sec; ‘rate_pkt_rcvd’: Packet received rate packets/sec; ‘rate_byte_rcvd’: Byte received rate bits/sec;
Type: string
Supported Values: all, num-rx-pkts, num-total-rx-bytes, num-tx-pkts, num-total-tx-bytes, num-rx-err-pkts, num-tx-err-pkts, rate_pkt_sent, rate_byte_sent, rate_pkt_rcvd, rate_byte_rcvd
ipv6¶
Specification Type object address-cfg
Type: Listipv6-enable
Description Enable IPv6 processing
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
ospf
Description: ospf is a JSON Block. Please see below for ipv6_ospf
Type: Object
Reference Object: /axapi/v3/interface/tunnel/{ifnum}/ipv6/ospf
router
Description: router is a JSON Block. Please see below for ipv6_router
Type: Object
Reference Object: /axapi/v3/interface/tunnel/{ifnum}/ipv6/router
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
ipv6_router¶
Specification Type object ospf
Description: ospf is a JSON Block. Please see below for ipv6_router_ospf
Type: Object
Reference Object: /axapi/v3/interface/tunnel/{ifnum}/ipv6/router/ospf
ripng
Description: ripng is a JSON Block. Please see below for ipv6_router_ripng
Type: Object
Reference Object: /axapi/v3/interface/tunnel/{ifnum}/ipv6/router/ripng
ipv6_router_ripng¶
Specification Type object rip
Description RIP Routing for IPv6
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
ipv6_router_ospf¶
Specification Type object area-list
Type: Listuuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
ipv6_router_ospf_area-list¶
Specification Type list Block object keys area-id-addr
Description OSPF area ID in IP address format
Type: string
Format: ipv4-address
area-id-num
Description OSPF area ID as a decimal value
Type: number
Range: 0-4294967295
instance-id
Description Set the interface instance ID
Type: number
Range: 0-255
Default: 0
tag
Description Set the OSPFv3 process tag
Type: string
Maximum Length: 128 characters
Maximum Length: 1 characters
ipv6_address-cfg¶
Specification Type list Block object keys address-type
Description ‘anycast’: Configure an IPv6 anycast address; ‘link-local’: Configure an IPv6 link local address;
Type: string
Supported Values: anycast, link-local
ipv6-addr
Description Set the IPv6 address of an interface
Type: string
Format: ipv6-address-plen
ipv6_ospf¶
Specification Type object bfd
Description Bidirectional Forwarding Detection (BFD)
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
cost-cfg
Type: Listdead-interval-cfg
Type: Listdisable
Description Disable BFD
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
hello-interval-cfg
Type: Listmtu-ignore-cfg
Type: Listneighbor-cfg
Type: Listnetwork-list
Type: Listpriority-cfg
Type: Listretransmit-interval-cfg
Type: Listtransmit-delay-cfg
Type: Listuuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
ipv6_ospf_cost-cfg¶
Specification Type list Block object keys cost
Description Interface cost
Type: number
Range: 1-65535
instance-id
Description Specify the interface instance ID
Type: number
Range: 0-255
Default: 0
ipv6_ospf_hello-interval-cfg¶
Specification Type list Block object keys hello-interval
Description Time between HELLO packets (Seconds)
Type: number
Range: 1-65535
Default: 10
instance-id
Description Specify the interface instance ID
Type: number
Range: 0-255
Default: 0
ipv6_ospf_priority-cfg¶
Specification Type list Block object keys instance-id
Description Specify the interface instance ID
Type: number
Range: 0-255
Default: 0
priority
Description Router priority
Type: number
Range: 0-255
Default: 1
ipv6_ospf_mtu-ignore-cfg¶
Specification Type list Block object keys instance-id
Description Specify the interface instance ID
Type: number
Range: 0-255
Default: 0
mtu-ignore
Description Ignores the MTU in DBD packets
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
ipv6_ospf_retransmit-interval-cfg¶
Specification Type list Block object keys instance-id
Description Specify the interface instance ID
Type: number
Range: 0-255
Default: 0
retransmit-interval
Description Time between retransmitting lost link state advertisements (Seconds)
Type: number
Range: 1-65535
Default: 5
ipv6_ospf_network-list¶
Specification Type list Block object keys broadcast-type
Description ‘broadcast’: Specify OSPF broadcast multi-access network; ‘non-broadcast’: Specify OSPF NBMA network; ‘point-to-point’: Specify OSPF point-to-point network; ‘point-to-multipoint’: Specify OSPF point-to-multipoint network;
Type: string
Supported Values: broadcast, non-broadcast, point-to-point, point-to-multipoint
network-instance-id
Description Specify the interface instance ID
Type: number
Range: 0-255
Default: 0
p2mp-nbma
Description Specify non-broadcast point-to-multipoint network
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
ipv6_ospf_transmit-delay-cfg¶
Specification Type list Block object keys instance-id
Description Specify the interface instance ID
Type: number
Range: 0-255
Default: 0
transmit-delay
Description Link state transmit delay (Seconds)
Type: number
Range: 1-65535
Default: 1
ipv6_ospf_neighbor-cfg¶
Specification Type list Block object keys neig-inst
Description Specify the interface instance ID
Type: number
Range: 0-255
Default: 0
neighbor
Description OSPFv3 neighbor (Neighbor IPv6 address)
Type: string
Format: ipv6-address
Default: ::
neighbor-cost
Description OSPF cost for point-to-multipoint neighbor (metric)
Type: number
Range: 1-65535
neighbor-poll-interval
Description OSPF dead-router polling interval (Seconds)
Type: number
Range: 0-4294967295
neighbor-priority
Description OSPF priority of non-broadcast neighbor
Type: number
Range: 0-255
ipv6_ospf_dead-interval-cfg¶
Specification Type list Block object keys dead-interval
Description Interval after which a neighbor is declared dead (Seconds)
Type: number
Range: 1-65535
Default: 40
instance-id
Description Specify the interface instance ID
Type: number
Range: 0-255
Default: 0
stats data¶
Counter | Size | Description | |
---|---|---|---|
num-tx-err-pkts | 8 | sent error packets | |
rate_pkt_rcvd | 8 | Packet received rate packets/sec | |
num-rx-err-pkts | 8 | received error packets | |
num-total-rx-bytes | 8 | received bytes | |
rate_byte_sent | 8 | Byte sent rate bits/sec | |
rate_byte_rcvd | 8 | Byte received rate bits/sec | |
rate_pkt_sent | 8 | Packet sent rate packets/sec | |
num-tx-pkts | 8 | sent packets | |
num-total-tx-bytes | 8 | sent bytes | |
num-rx-pkts | 8 | received packets |
operational data¶
Counter | Size | Description | |
---|---|---|---|
config-speed | number | config-speed | |
ipv6_list | ipv6_list | ||
ipv4-netmask | ipv4-netmask | IPv4 subnet mask | |
ipv6-link-local | ipv6-address | ipv6-link-local | |
link-type | string | link-type | |
state | enum | Output contains one of the following values: - up, disabled, down | |
ipv6-link-local-prefix | string | ipv6-link-local-prefix | |
ipv4_addr_count | number | ipv4_addr_count | |
mac | mac-address | mac | |
ipv6-link-local-type | string | ipv6-link-local-type | |
ipv6-link-local-scope | string | ipv6-link-local-scope | |
ipv6_addr_count | number | ipv6_addr_count | |
line-protocol | enum | Output contains one of the following values: - up, down | |
ipv4-address | ipv4-address | IPv4 address | |
ipv4_list | ipv4_list |