route
dude/ros/route
Package: dude
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | |
| A | active | |
| D | dynamic | |
| C | connect | |
| S | static | |
| r | rip | |
| b | bgp | |
| o | ospf | |
| m | mme | |
| B | blackhole | |
| U | unreachable | |
| P | prohibit |
| Argument | Type | Description |
|---|---|---|
| device ( mandatory ) | enum | |
| dst-address | ipPrefix | |
| pref-src | ipAddr | |
| gateway | object { gw: alt { interface-address: composite { address: ipAddr , interface: enum } , interface: enum , address: super { addr: ipAddr , [table] [ @enum (main) { main:254 }] } } } | |
| check-gateway | enum (arp | ping) { arp:1, ping:2 } | |
| type | enum (unicast | blackhole | unreachable | prohibit) { unicast:1, blackhole:6, unreachable:7, prohibit:8 } | |
| distance | num | |
| scope | num | |
| target-scope | num | |
| routing-mark | string | |
| vrf-interface | enum | |
| bgp-as-path | string | |
| bgp-local-pref | num | |
| bgp-prepend | num | |
| bgp-med | num | |
| bgp-atomic-aggregate | bool | |
| bgp-origin | enum (igp | egp | incomplete) { igp:0, egp:1, incomplete:2 } | |
| bgp-communities | multi { community: alt { special: enum (no-export | no-advertise | local-as) { no-export:0xFFFFFF01, no-advertise:0xFFFFFF02, local-as:0xFFFFFF03 } , numbers: super { as: num [ .. 0xffff] , [num] :num [ .. 0xffff] } } } | |
| route-tag | num |
| Read-only Argument | Type | Description |
|---|---|---|
| gateway-status | object { nexthop: super { gw: alt { interface: enum , address: ipAddr } , [table] [ on string] , [state] [ enum (unreachable | reachable | recursive | inactive) { unreachable:0, reachable:1, recursive:2, inactive:3 }] , [via] [ via multi { array-id, ip: ipAddr }] , [device] [ multi { array-id, interface: enum }] } } | |
| bgp-weight | num | |
| bgp-ext-communities | string | |
| received-from | enum | |
| ospf-metric | num | |
| ospf-type | enum (intra-area | inter-area | external-type-1 | external-type-2 | nssa-external-type-1 | nssa-external-type-2) { intra-area:1, inter-area:2, external-type-1:3, external-type-2:4, nssa-external-type-1:8, nssa-external-type-2:9 } |