CONFIG NETWORK ROUTE SHOW

Level

base

History

Appears in Netasq 6.0.0
[Router] removed in Netasq 9.0.0
FORMAT appears in Netasq 9.0.0
pagination appears in Netasq 9.0.0
GatewayHasLB and Protected removed in 5.1.0
Position of the route appears in 5.1.0

Description

Show IPv4 static routes

Usage

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

Returns

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

Format

section_line

Example

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

Cache category

route

Cache category clone

route