To show only static routes:
kcordero@tpa-pa-inet_passive(active)> show routing route type static
flags: A:active, ?:loose, C:connect, H:host, S:static, ~:internal, R:rip, O:ospf, B:bgp,
Oi:ospf intra-area, Oo:ospf inter-area, O1:ospf ext-type-1, O2:ospf ext-type-2
VIRTUAL ROUTER: VR_Inet-Cluster (id 2)
==========
destination nexthop metric flags age interface next-AS
0.0.0.0/0 201.199.10.1 10 A S ae2.10
10.0.0.0/8 10.3.1.1 10 A S ae1.11
172.16.0.0/12 10.3.1.1 10 A S ae1.11
172.31.1.0/24 0.0.0.0 10 A S tunnel.1
total routes shown: 4
VIRTUAL ROUTER: VR_Inet-Cluster (id 2)
==========
destination nexthop metric flags age interface next-AS
total routes shown: 0
=========================================================================================================================================
To show only OSPF routes:
kcordero@tpa-pa-inet_passive(active)> show routing route type ospf flags: A:active, ?:loose, C:connect, H:host, S:static, ~:internal, R:rip, O:ospf, B:bgp,Oi:ospf intra-area, Oo:ospf inter-area, O1:ospf ext-type-1, O2:ospf ext-type-2, E:ecmp, M:multicast VIRTUAL ROUTER: VR_Inet-Cluster (id 2) ========== destination nexthop metric flags age interface next-AS 10.1.10.0/24 192.168.90.1 20 A O2 1558984 ethernet1/10 10.10.10.0/24 192.168.90.1 20 A O2 1558984 ethernet1/10 10.20.10.0/24 192.168.90.1 20 A O2 1558984 ethernet1/10 66.241.41.0/24 192.168.90.1 20 A O2 1558984 ethernet1/10 160.21928.3/32 192.168.90.1 20 O2 1558984 ethernet1/10 160.21928.4/32 192.168.90.1 20 O2 1558984 ethernet1/10 160.21928.5/32 192.168.90.1 20 O2 1558984 ethernet1/10 172.16.30.0/24 192.168.90.1 20 A O2 1558984 ethernet1/10 etc... total routes shown: 89
To show only connect and host routes:
kcordero@tpa-pa3050-inet_passive(active)> show routing route type connect
flags: A:active, ?:loose, C:connect, H:host, S:static, ~:internal, R:rip, O:ospf, B:bgp,
Oi:ospf intra-area, Oo:ospf inter-area, O1:ospf ext-type-1, O2:ospf ext-type-2
VIRTUAL ROUTER: VR_Inet-Cluster (id 2)
==========
destination nexthop metric flags age interface next-AS
10.3.1.0/24 10.3.1.11 0 A C ae1.11
10.3.1.11/32 0.0.0.0 0 A H
201.199.10.0/24 201.199.10.11 0 A C ae2.10
201.199.10.11/32 0.0.0.0 0 A H
172.30.207.0/24 172.30.207.11 0 A C ae4
172.30.207.11/32 0.0.0.0 0 A H
192.168.11.0/24 192.168.11.1 0 A C ae3.11
192.168.11.1/32 0.0.0.0 0 A H
192.168.12.0/24 192.168.12.1 0 A C ae3.12
192.168.12.1/32 0.0.0.0 0 A H
192.168.30.0/24 192.168.30.1 0 A C ae3.30
192.168.30.1/32 0.0.0.0 0 A H
192.168.32.0/19 192.168.32.1 0 A C ae3.32
192.168.32.1/32 0.0.0.0 0 A H
192.168.101.0/24 192.168.101.1 0 A C ae5.101
192.168.101.1/32 0.0.0.0 0 A H
192.168.102.0/24 192.168.102.1 0 A C ae5.102
192.168.102.1/32 0.0.0.0 0 A H
192.168.128.0/18 192.168.128.1 0 A C ae3.128
192.168.128.1/32 0.0.0.0 0 A H
total routes shown: 20
=========================================================================================================================================
To show routes tied to an interface:
kcordero@tpa-pa-inet_passive(active)> show routing route interface ae1.11
flags: A:active, ?:loose, C:connect, H:host, S:static, ~:internal, R:rip, O:ospf, B:bgp,
Oi:ospf intra-area, Oo:ospf inter-area, O1:ospf ext-type-1, O2:ospf ext-type-2
VIRTUAL ROUTER: VR_Inet-Cluster (id 2)
==========
destination nexthop metric flags age interface next-AS
10.0.0.0/8 10.3.1.1 10 A S ae1.11
10.3.1.0/24 10.3.1.11 0 A C ae1.11
172.16.0.0/12 10.3.1.1 10 A S ae1.11
total routes shown: 3
VIRTUAL ROUTER: VR_Inet-Cluster (id 2)
==========
destination nexthop metric flags age interface next-AS
===========================================================================================================================================
To verify routing settings within the active routing table:
kcordero@tpa-pa-inet_passive(active)> test routing fib-lookup virtual-router cordero_VR1 ip 10.65.113.11 -------------------------------------------------------------------------------- runtime route lookup -------------------------------------------------------------------------------- virtual-router: cordero_VR1 destination: 10.65.113.11 result: interface ae1.11 --------------------------------------------------------------------------------