Code: Select all
[admin@router] /ip route> print detail
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
0 A S dst-address=0.0.0.0/0 gateway=127.127.127.1
gateway-status=127.127.127.1 recursive via 127.127.127.101 inet1 distance=1
scope=30 target-scope=10 routing-mark=inet1
1 S dst-address=0.0.0.0/0 gateway=127.127.127.2
gateway-status=127.127.127.2 recursive via 127.127.127.102 inet2 distance=2
scope=30 target-scope=10 routing-mark=inet1
2 A S dst-address=0.0.0.0/0 gateway=127.127.127.2
gateway-status=127.127.127.2 recursive via 127.127.127.102 inet2 distance=1
scope=30 target-scope=10 routing-mark=inet2
3 S dst-address=0.0.0.0/0 gateway=127.127.127.1
gateway-status=127.127.127.1 recursive via 127.127.127.101 inet1 distance=2
scope=30 target-scope=10 routing-mark=inet2
4 ADS dst-address=10.0.0.0/8 gateway=10.1.132.1
gateway-status=10.1.132.1 reachable local distance=11 scope=30
target-scope=10 vrf-interface=local
...
Code: Select all
[admin@router] /ip route> print detail where active
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
0 A S dst-address=0.0.0.0/0 gateway=127.127.127.1
gateway-status=127.127.127.1 recursive via 127.127.127.101 inet1 distance=1
scope=30 target-scope=10 routing-mark=inet1
2 A S dst-address=0.0.0.0/0 gateway=127.127.127.2
gateway-status=127.127.127.2 recursive via 127.127.127.102 inet2 distance=1
scope=30 target-scope=10 routing-mark=inet2
4 ADS dst-address=10.0.0.0/8 gateway=10.1.132.1
gateway-status=10.1.132.1 reachable local distance=11 scope=30
target-scope=10 vrf-interface=local
...
Code: Select all
[admin@router] /ip route> print detail where dst-address=0.0.0.0/0
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
0 A S dst-address=0.0.0.0/0 gateway=127.127.127.1
gateway-status=127.127.127.1 recursive via 127.127.127.101 inet1 distance=1
scope=30 target-scope=10 routing-mark=inet1
1 S dst-address=0.0.0.0/0 gateway=127.127.127.2
gateway-status=127.127.127.2 recursive via 127.127.127.102 inet2 distance=2
scope=30 target-scope=10 routing-mark=inet1