ip route rib¶
Establish static routes
rib Specification¶
Type Collection Object Key(s) ip-dest-addr, ip-mask Collection Name rib-list Collection URI /axapi/v3/ip/route/rib Element Name rib Element URI /axapi/v3/ip/route/rib/{ip-dest-addr}+{ip-mask} Element Attributes rib_attributes Schema rib schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/ip/route/rib | ||
Create List | POST | /axapi/v3/ip/route/rib | ||
Get Object | GET | /axapi/v3/ip/route/rib/{ip-dest-addr}+{ip-mask} | ||
Get List | GET | /axapi/v3/ip/route/rib | ||
Modify Object | POST | /axapi/v3/ip/route/rib/{ip-dest-addr}+{ip-mask} | ||
Replace Object | PUT | /axapi/v3/ip/route/rib/{ip-dest-addr}+{ip-mask} | ||
Replace List | PUT | /axapi/v3/ip/route/rib | ||
Delete Object | DELETE | /axapi/v3/ip/route/rib/{ip-dest-addr}+{ip-mask} |
rib-list¶
rib-list is JSON List of rib attributes
rib-list : [
]
rib attributes¶
ip-dest-addr
Description Destination prefix
Type: string
Format: ipv4-address
ip-mask
Description Destination prefix mask
Type: string
Format: ipv4-netmask-brief
ip-nexthop-ipv4
Type: Listip-nexthop-lif
Type: Listip-nexthop-partition
Type: Listip-nexthop-tunnel
Type: Listuuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
ip-nexthop-lif¶
Specification Type list Block object keys description-nexthop-lif
Description Description for static route
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
lif
Description LIF Interface (Logical tunnel interface name)
Type: string
Maximum Length: 15 characters
Maximum Length: 1 characters
ip-nexthop-ipv4¶
Specification Type list Block object keys description-nexthop-ip
Description Description for static route
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
distance-nexthop-ip
Description Distance value for this route
Type: number
Range: 1-255
Default: 1
ip-next-hop
Description Forwarding router’s address
Type: string
Format: ipv4-address
ip-nexthop-tunnel¶
Specification Type list Block object keys description-nexthop-tunnel
Description Description for static route
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
distance-nexthop-tunnel
Description Distance value for this route
Type: number
Range: 1-255
Default: 1
ip-next-hop-tunnel
Description Forwarding router’s address
Type: string
Format: ipv4-address
tunnel
Description Tunnel interface (Tunnel interface number)
Type: number
Range: 1-128
ip-nexthop-partition¶
Specification Type list Block object keys description-nexthop-partition
Description Description for static route
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
description-partition-vrid
Description Description for static route
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
partition-name
Description Name of network partition
Type: string
Maximum Length: 14 characters
Maximum Length: 1 characters
vrid-num-in-partition
Description Specify ha VRRP-A vrid
Type: number
Range: 0-31