router ipv6 ospf¶
Open Shortest Path First (OSPFv3)
ospf Specification¶
Type Collection Object Key(s) process-id Collection Name ospf-list Collection URI /axapi/v3/router/ipv6/ospf Element Name ospf Element URI /axapi/v3/router/ipv6/ospf/{process-id} Element Attributes ospf_attributes Schema ospf schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/router/ipv6/ospf | ||
Create List | POST | /axapi/v3/router/ipv6/ospf | ||
Get Object | GET | /axapi/v3/router/ipv6/ospf/{process-id} | ||
Get List | GET | /axapi/v3/router/ipv6/ospf | ||
Modify Object | POST | /axapi/v3/router/ipv6/ospf/{process-id} | ||
Replace Object | PUT | /axapi/v3/router/ipv6/ospf/{process-id} | ||
Replace List | PUT | /axapi/v3/router/ipv6/ospf | ||
Delete Object | DELETE | /axapi/v3/router/ipv6/ospf/{process-id} |
ospf-list¶
ospf-list is JSON List of ospf attributes
ospf-list : [
]
ospf attributes¶
abr-type-option
Description ‘cisco’: Alternative ABR, Cisco implementation (RFC3509); ‘ibm’: Alternative ABR, IBM implementation (RFC3509); ‘standard’: Standard behavior (RFC2328);
Type: string
Supported Values: cisco, ibm, standard
Default: cisco
area-list
Type: List
Reference Object: /axapi/v3/router/ipv6/ospf/{process-id}/area/{area-ipv4}+{area-num}
auto-cost-reference-bandwidth
Description Use reference bandwidth method to assign OSPF cost (The reference bandwidth in terms of Mbits per second)
Type: number
Range: 1-4294967
Default: 10000
bfd-all-interfaces
Description Enable BFD on all interfaces
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
default-information
Description: default-information is a JSON Block. Please see below for default-information
Type: Object
Reference Object: /axapi/v3/router/ipv6/ospf/{process-id}/default-information
default-metric
Description Set metric of redistributed routes (Default metric)
Type: number
Range: 1-16777214
Default: 20
distribute-internal-list
Type: Listdistribute-list
Description: distribute-list is a JSON Block. Please see below for distribute-list
Type: Object
ha-standby-extra-cost
Type: Listlog-adjacency-changes
Description ‘detail’: Log changes in adjacency state; ‘disable’: Disable logging;
Type: string
Supported Values: detail, disable
max-concurrent-dd
Description Maximum number allowed to process DD concurrently (Number of DD process)
Type: number
Range: 1-65535
Default: 5
passive-interface
Description: passive-interface is a JSON Block. Please see below for passive-interface
Type: Object
process-id
Description OSPFv3 process tag
Type: string
Maximum Length: 128 characters
Maximum Length: 1 characters
Default: 0
redistribute
Description: redistribute is a JSON Block. Please see below for redistribute
Type: Object
Reference Object: /axapi/v3/router/ipv6/ospf/{process-id}/redistribute
router-id
Description router-id for the OSPF process (OSPFv3 router-id in IPv4 address format)
Type: string
Format: ipv4-address
timers
Description: timers is a JSON Block. Please see below for timers
Type: Object
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
distribute-internal-list¶
Specification Type list Block object keys area-ipv4
Description OSPF area ID in IP address format
Type: string
Format: ipv4-address
Default: 255.255.255.255
area-num
Description OSPF area ID as a decimal value
Type: number
Range: 0-4294967295
cost
Description Cost
Type: number
Range: 1-65535
Default: 1
type
Description ‘lw4o6’: LW4O6 Prefix; ‘nat64’: NAT64 Prefix; ‘static-nat’: Static NAT; ‘floating-ip’: Floating IP; ‘ip-nat’: IP NAT; ‘ip-nat-list’: IP NAT list; ‘vip’: Only not flagged Virtual IP (VIP); ‘vip-only-flagged’: Selected Virtual IP (VIP);
Type: string
Supported Values: lw4o6, nat64, static-nat, floating-ip, ip-nat, ip-nat-list, vip, vip-only-flagged
redistribute¶
Specification Type object ip-nat
Description IP-NAT
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
ip-nat-floating-list
Type: Listmetric-ip-nat
Description OSPFV3 default metric (OSPFV3 metric)
Type: number
Range: 0-16777214
metric-type-ip-nat
Description ‘1’: Set OSPFV3 External Type 1 metrics; ‘2’: Set OSPFV3 External Type 2 metrics;
Type: string
Supported Values: 1, 2
Default: 2
ospf-list
Type: Listredist-list
Type: Listroute-map-ip-nat
Description Route map reference (Pointer to route-map entries)
Type: string
Maximum Length: 128 characters
Maximum Length: 1 characters
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
vip-floating-list
Type: Listvip-list
Type: List
redistribute_redist-list¶
Specification Type list Block object keys metric
Description OSPFV3 default metric (OSPFV3 metric)
Type: number
Range: 0-16777214
metric-type
Description ‘1’: Set OSPFV3 External Type 1 metrics; ‘2’: Set OSPFV3 External Type 2 metrics;
Type: string
Supported Values: 1, 2
Default: 2
route-map
Description Route map reference (Pointer to route-map entries)
Type: string
Maximum Length: 128 characters
Maximum Length: 1 characters
type
Description ‘bgp’: Border Gateway Protocol (BGP); ‘connected’: Connected; ‘floating-ip’: Floating IP; ‘ip-nat-list’: IP NAT list; ‘nat-map’: NAT MAP Prefix; ‘static-nat’: Static NAT; ‘nat64’: NAT64 Prefix; ‘lw4o6’: LW4O6 Prefix; ‘isis’: ISO IS-IS; ‘rip’: Routing Information Protocol (RIP); ‘static’: Static routes;
Type: string
Supported Values: bgp, connected, floating-ip, ip-nat-list, nat-map, static-nat, nat64, lw4o6, isis, rip, static
redistribute_ospf-list¶
Specification Type list Block object keys metric-ospf
Description OSPFV3 default metric (OSPFV3 metric)
Type: number
Range: 0-16777214
metric-type-ospf
Description ‘1’: Set OSPFV3 External Type 1 metrics; ‘2’: Set OSPFV3 External Type 2 metrics;
Type: string
Supported Values: 1, 2
Default: 2
ospf
Description Open Shortest Path First (OSPF)
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
process-id
Description OSPFV3 process tag
Type: string
Maximum Length: 128 characters
Maximum Length: 1 characters
route-map-ospf
Description Route map reference (Pointer to route-map entries)
Type: string
Maximum Length: 128 characters
Maximum Length: 1 characters
redistribute_ip-nat-floating-list¶
Specification Type list Block object keys ip-nat-floating-IP-forward
Description Floating-IP as forward address
Type: string
Format: ipv6-address
ip-nat-prefix
Description Address
Type: string
Format: ipv6-address-plen
redistribute_vip-list¶
Specification Type list Block object keys metric-type-vip
Description ‘1’: Set OSPFV3 External Type 1 metrics; ‘2’: Set OSPFV3 External Type 2 metrics;
Type: string
Supported Values: 1, 2
Default: 2
metric-vip
Description OSPFV3 default metric (OSPFV3 metric)
Type: number
Range: 0-16777214
route-map-vip
Description Route map reference (Pointer to route-map entries)
Type: string
Maximum Length: 128 characters
Maximum Length: 1 characters
type-vip
Description ‘only-flagged’: Selected Virtual IP (VIP); ‘only-not-flagged’: Only not flagged;
Type: string
Supported Values: only-flagged, only-not-flagged
redistribute_vip-floating-list¶
Specification Type list Block object keys vip-address
Description Address
Type: string
Format: ipv6-address
vip-floating-IP-forward
Description Floating-IP as forward address
Type: string
Format: ipv6-address
distribute-list¶
Specification Type object prefix-list
Description: prefix-list is a JSON Block. Please see below for distribute-list_prefix-list
Type: Object
distribute-list_prefix-list¶
Specification Type object direction
Description ‘in’: Filter incoming routing updates;
Type: string
Supported Values: in
value
Description Prefix-list name
Type: string
Maximum Length: 128 characters
Maximum Length: 1 characters
area-list¶
Specification Type list Block object keys area-ipv4
Description OSPFv3 area ID in IP address format
Type: string
Format: ipv4-address
area-num
Description OSPFv3 area ID as a decimal value
Type: number
Range: 0-4294967295
default-cost
Description Set the summary-default cost of a NSSA or stub area (Stub’s advertised default summary cost)
Type: number
Range: 0-16777215
Default: 1
no-summary
Description Do not inject inter-area routes into area
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
range-list
Type: Liststub
Description Configure OSPFv3 area as stub
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
virtual-link-list
Type: List
area-list_virtual-link-list¶
Specification Type list Block object keys bfd
Description Bidirectional Forwarding Detection (BFD)
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
dead-interval
Description Dead router detection time (Seconds)
Type: number
Range: 1-65535
hello-interval
Description Hello packet interval (Seconds)
Type: number
Range: 1-65535
instance-id
Description OSPFv3 instance ID
Type: number
Range: 0-255
Default: 0
retransmit-interval
Description LSA retransmit interval (Seconds)
Type: number
Range: 1-3600
transmit-delay
Description LSA transmission delay (Seconds)
Type: number
Range: 1-3600
Default: 1
value
Description ID (IP addr) associated with virtual link neighbor
Type: string
Format: ipv4-address
area-list_range-list¶
Specification Type list Block object keys option
Description ‘advertise’: Advertise this range (default); ‘not-advertise’: DoNotAdvertise this range;
Type: string
Supported Values: advertise, not-advertise
value
Description Area range for IPv6 prefix
Type: string
Format: ipv6-address-plen
default-information¶
Specification Type object always
Description Always advertise default route
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
metric
Description OSPF default metric (OSPF metric)
Type: number
Range: 0-16777214
metric-type
Description OSPF metric type for default routes
Type: number
Range: 1-2
Default: 2
originate
Description Distribute a default route
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
route-map
Description Route map reference (Pointer to route-map entries)
Type: string
Maximum Length: 128 characters
Maximum Length: 1 characters
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
passive-interface¶
Specification Type object eth-cfg
Type: Listloopback-cfg
Type: Listtrunk-cfg
Type: Listtunnel-cfg
Type: Listve-cfg
Type: List
passive-interface_tunnel-cfg¶
Specification Type list Block object keys tunnel
Description Tunnel interface (Tunnel interface number)
Type: number
Format: interface
passive-interface_ve-cfg¶
Specification Type list Block object keys ve
Description Virtual ethernet interface (Virtual ethernet interface number)
Type: number
Format: interface
passive-interface_trunk-cfg¶
Specification Type list Block object keys trunk
Description Trunk interface (Trunk interface number)
Type: number
Format: interface
passive-interface_loopback-cfg¶
Specification Type list Block object keys loopback
Description Loopback interface (Port number)
Type: number
Format: interface
passive-interface_eth-cfg¶
Specification Type list Block object keys ethernet
Description Ethernet interface (Port number)
Type: number
Format: interface
timers¶
Specification Type object spf
Description: spf is a JSON Block. Please see below for timers_spf
Type: Object
timers_spf¶
Specification Type object exp
Description: exp is a JSON Block. Please see below for timers_spf_exp
Type: Object
timers_spf_exp¶
Specification Type object max-delay
Description Maximum delay between receiving a change to SPF calculation in milliseconds
Type: number
Range: 0-2147483647
Default: 50000
min-delay
Description Minimum delay between receiving a change to SPF calculation in milliseconds
Type: number
Range: 0-2147483647
Default: 500
ha-standby-extra-cost¶
Specification Type list Block object keys extra-cost
Description The extra cost value
Type: number
Range: 1-65535
group
Description Group (Group ID)
Type: number
Range: 0-31