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/

rib Attributes

Create List

POST

/axapi/v3/ip/route/rib/

rib Attributes

Get Object

GET

/axapi/v3/ip/route/rib/{ip-dest-addr}+{ip-mask}

rib Attributes

Get List

GET

/axapi/v3/ip/route/rib/

rib-list

Modify Object

POST

/axapi/v3/ip/route/rib/{ip-dest-addr}+{ip-mask}

rib Attributes

Replace Object

PUT

/axapi/v3/ip/route/rib/{ip-dest-addr}+{ip-mask}

rib Attributes

Replace List

PUT

/axapi/v3/ip/route/rib/

rib-list

Delete Object

DELETE

/axapi/v3/ip/route/rib/{ip-dest-addr}+{ip-mask}

rib Attributes

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

Required: Yes

ip-mask

Description: Destination prefix mask

Type: string

Format: ipv4-netmask-brief

Required: Yes

ip-nexthop-ipv4

Description: ip-nexthop-ipv4 is a JSON List . Please see below for ip-nexthop-ipv4

Type: List

ip-nexthop-lif

Description: ip-nexthop-lif is a JSON List . Please see below for ip-nexthop-lif

Type: List

ip-nexthop-partition

Description: ip-nexthop-partition is a JSON List . Please see below for ip-nexthop-partition

Type: List

ip-nexthop-tunnel

Description: ip-nexthop-tunnel is a JSON List . Please see below for ip-nexthop-tunnel

Type: List

uuid

Description: uuid of the object

Type: string

ip-nexthop-lif

Specification
Type list
Block object keys

description-nexthop-lif

Description: Description for static route

Type: string

Format: string-rlx

lif

Description: LIF Interface (Logical tunnel interface number)

Type: number

Range: 1-128

ip-nexthop-ipv4

Specification
Type list
Block object keys

description-nexthop-ip

Description: Description for static route

Type: string

Format: string-rlx

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

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

description-partition-vrid

Description: Description for static route

Type: string

Format: string-rlx

partition-name

Description: Name of network partition

Type: string

vrid-num-in-partition

Description: Specify ha VRRP-A vrid

Type: number

Range: 0-31