CONFIG NETWORK ROUTE SHOW

Level

base

History

Appears in 6.0.0
[Router] removed in 9.0.0
FORMAT appears in 9.0.0
pagination appears in 9.0.0

Description

Show IPv4 static routes

Usage

[useclone=<0|1>] [start=<int> [limit=<int>] [dir=<ASC|Description>] [search=<pattern>] [searchfield=<token>] [sort=<token>] [refresh=<0|1>]]

Returns

[StaticRoutes]
Remote=host Address=ip Interface=name [Gateway=gw] [Color=color] Protected=0|1 State=0|1 Comment="comment"
Remote=range Begin=start End=end Interface=name [Gateway=gw] [Color=color] Protected=0|1 State=0|1 Comment="comment"
Remote=network Address=ip/prefix Interface=name [Gateway=gw] [Color=color] Protected=0|1 State=0|1 Comment="comment"
Remote=ip/mask Interface=name [Gateway=gw] [Color=color] Protected=0|1 State=0|1 Comment="comment"

Format

section_line

Example

CONFIG NETWORK ROUTE SHOW
101 code=00a01000 msg="Début"
[StaticRoutes]
Remote=mynet Address=172.168.100.0/24 Interface=out Gateway=10.2.0.1 Color=000c0a Protected=0 State=0 Comment=""
Remote=192.168.100.0/255.255.255.0 Interface=in Gateway=10.2.2.1 Color=0a0c0a Protected=1 State=1 Comment="test route"
100 code=00a00100 msg="Ok" CACHE_CATEGORY route CACHE_CATEGORY_CLONE route