30.3.4 Checking routes resulting from learned route filtering
Routes permitted by learned route filtering are entered into the routing table. You can check the results of learned route filtering by viewing the routes in the routing table.
To display every route in the routing table including invalid routes, execute the show ipv6 route operation command with the all-routes parameter specified.
> show ipv6 route all-routes Date 20XX/07/14 12:00:00 UTC Status Codes: * valid, > active, r RIB failure Total: 11 routes Destination Next Hop Interface Metric Protocol Age *> ::1/128 ::1 - localhost 0/0 Connected 4h 44m | *> 3ffe:177:7:7::/64 3ffe:177:7:7::1 | VLAN0007 0/0 Connected 39m 41s | * 3ffe:177:7:7::/64 3ffe:177:7:7::1 | VLAN0007 1/- OSPFv3 intra 6m 52s | *> 3ffe:177:7:7::1/128 ::1 | localhost 0/0 Connected 39m 41s | *> 3ffe:3b01:6705:1::/64 fe80::200:87ff:fe28:90d7%VLAN0007| VLAN0007 2/0 RIPng 2s | *> 3ffe:3b11:6705:1::/64 fe80::200:87ff:fe28:90d7%VLAN0007 # VLAN0007 -/- BGP4+ 4m 5s | *> 3ffe:3b21:6705:1::/64 fe80::200:87ff:fe28:90d7%VLAN0007| VLAN0007 1/1 OSPFv3 ext2 4m 3s | *> 3ffe:8703:2005:1::/64 3ffe:177:7:7::145 | VLAN0007 0/0 Static 1m 15s | * 3ffe:8703:2005:1::/64 fe80::200:87ff:fe28:90d7%VLAN0007| VLAN0007 -/- BGP4+ 8m 27s | * 3ffe:8703:2005:1::/64 fe80::200:87ff:fe28:90d7%VLAN0007| VLAN0007 1/1 OSPFv3 ext2 6m 22s | * 3ffe:8703:2005:1::/64 fe80::200:87ff:fe28:90d7%VLAN0007| VLAN0007 2/0 RIPng 2s - |
- #
-
The characters * and > at the beginning of an entry signify the following:
*: Signifies a valid route. Its absence indicates an invalid route.
>: Signifies a prioritized route. Only prioritized routes are used for packet transfer.
To check only those routes that were learned by a specific protocol, execute the show ipv6 route operation command with the all-routes parameter and the protocol name specified.
> show ipv6 route all-routes rip Date 20XX/07/14 12:00:00 UTC Status Codes: * valid, > active, r RIB failure Total: 2 routes Destination Next Hop Interface Metric Protocol Age *> 3ffe:3b01:6705:1::/64 fe80::200:87ff:fe28:90d7%VLAN0007 VLAN0007 2/0 RIPng 3s * 3ffe:8703:2005:1::/64 fe80::200:87ff:fe28:90d7%VLAN0007 VLAN0007 2/0 RIPng 3s |
If the various protocols generate more than one route to the same destination network, you will need to check which protocol supplied the prioritized route, and the priority of each route. The priority of each route is determined by its distance value.
To display distance values, execute the show ipv6 route operation command with the all-routes and -P parameters specified. The distance is the first value in the Distance column at the end of each line.
> show ipv6 route all-routes -P Date 20XX/07/14 12:00:00 UTC Status Codes: * valid, > active, r RIB failure Total: 11 routes Destination Next Hop Interface Metric Protocol Age *> ::1/128 ::1 localhost 0/0 Connected 4h 46m , Distance: 0/0/0 *> 3ffe:177:7:7::/64 3ffe:177:7:7::1 VLAN0007 0/0 Connected 42m 0s , Distance: 0/0/0 * 3ffe:177:7:7::/64 3ffe:177:7:7::1 VLAN0007 1/- OSPFv3 intra 9m 11s , Distance: 110/1/0 *> 3ffe:177:7:7::1/128 ::1 localhost 0/0 Connected 42m 0s , Distance: 0/0/0 *> 3ffe:3b01:6705:1::/64 fe80::200:87ff:fe28:90d7%VLAN0007 VLAN0007 2/0 RIPng 16s , Distance: 120/0/0 *> 3ffe:3b11:6705:1::/64 fe80::200:87ff:fe28:90d7%VLAN0007 VLAN0007 -/- BGP4+ 6m 24s , Distance: 20/0/0 *> 3ffe:3b21:6705:1::/64 fe80::200:87ff:fe28:90d7%VLAN0007 VLAN0007 1/1 OSPFv3 ext2 6m 22s , Distance: 110/1/0 *> 3ffe:8703:2005:1::/64 3ffe:177:7:7::145 VLAN0007 0/0 Static 3m 34s , Distance: 2/0/0 * 3ffe:8703:2005:1::/64 fe80::200:87ff:fe28:90d7%VLAN0007 VLAN0007 -/- BGP4+ 10m 46s , Distance: 20/0/0 * 3ffe:8703:2005:1::/64 fe80::200:87ff:fe28:90d7%VLAN0007 VLAN0007 1/1 OSPFv3 ext2 8m 41s , Distance: 110/1/0 * 3ffe:8703:2005:1::/64 fe80::200:87ff:fe28:90d7%VLAN0007 VLAN0007 2/0 RIPng 16s , Distance: 120/0/0 |
To display the distance values for routes to a specific destination, execute the show ipv6 route operation command with the all-routes parameter and the destination network specified. The route's distance is the first value on the Distance line in the detailed routing information.
> show ipv6 route all-routes 3ffe:8703:2005:1::/64 Date 20XX/07/14 12:00:00 UTC Route codes: * = active, + = changed to active recently ' ' = inactive, - = changed to inactive recently r = RIB failure Route 3ffe:8703:2005:1::/64 Entries 4 Announced 1 Depth 0 <> * NextHop 3ffe:177:7:7::145, Interface: VLAN0007 Protocol <Static> Source Gateway ---- Metric/2 : 0/0 Distance/2/3: 2/0/0 Tag : 0, Age : 4m 35s AS Path : IGP (Id 1) Communities: - LocalPref : - RT State: <Remote Int Active Gateway> NextHop fe80::200:87ff:fe28:90d7%VLAN0007, Interface: VLAN0007 Protocol <BGP4+> Source Gateway fe80::200:87ff:fe28:90d7%VLAN0007 Metric/2 : -/- Distance/2/3: 20/0/0 Tag : 0, Age : 11m 47s AS Path : 1000 IGP (Id 3) Communities: - LocalPref : 100 RT State: <Ext Gateway> |
To check detailed attribute information for routes, use the show ipv6 route operation command with the all-routes and -F parameters specified.
> show ipv6 route all-routes -F Date 20XX/07/14 12:00:00 UTC Status Codes: * valid, > active, r RIB failure Total: 11 routes Destination Next Hop Interface Metric Protocol Age *> ::1/128 ::1 localhost 0/0 Connected 4h 55m , Distance: 0/0/0, Tag: 0, AS -Path: IGP (Id 1), Communities: -, LocalPref: -, <NoAdvise Active Retain> *> 3ffe:177:7:7::/64 3ffe:177:7:7::1 VLAN0007 0/0 Connected 51m 2s , Distance: 0/0/0, Tag: 0, AS -Path: IGP (Id 1), Communities: -, LocalPref: -, <Active Retain> * 3ffe:177:7:7::/64 3ffe:177:7:7::1 VLAN0007 1/- OSPFv3 intra 18m 13s , Distance: 110/1/0, Tag: 0, AS-Path: IGP (Id 1), Communities: -, LocalPref: -, <Int Gateway> *> 3ffe:177:7:7::1/128 ::1 localhost 0/0 Connected 51m 2s , Distance: 0/0/0, Tag: 0, AS -Path: IGP (Id 1), Communities: -, LocalPref: -, <NoAdvise Int Active Retain> *> 3ffe:3b01:6705:1::/64 fe80::200:87ff:fe28:90d7%VLAN0007 VLAN0007 2/0 RIPng 4s , Distance: 120/0/0, Tag: 0, AS-Path: IGP (Id 1), Communities: -, LocalPref: -, <Int Active Gateway> *> 3ffe:3b11:6705:1::/64 fe80::200:87ff:fe28:90d7%VLAN0007 VLAN0007 -/- BGP4+ 3m 6s , Distance: 20/0/0, Tag: 0, A S-Path: 1000 IGP (Id 3), Communities: -, LocalPref: 100, <Ext Active Gateway> *> 3ffe:3b21:6705:1::/64 fe80::200:87ff:fe28:90d7%VLAN0007 VLAN0007 1/1 OSPFv3 ext2 15m 24s , Distance: 110/1/0, Tag: 0, AS-Path: IGP (Id 1), Communities: -, LocalPref: -, <Int Ext Active Gateway> *> 3ffe:8703:2005:1::/64 3ffe:177:7:7::145 VLAN0007 0/0 Static 12m 36s , Distance: 2/0/0, Tag: 0, AS -Path: IGP (Id 1), Communities: -, LocalPref: -, <Remote Int Active Gateway> * 3ffe:8703:2005:1::/64 fe80::200:87ff:fe28:90d7%VLAN0007 VLAN0007 -/- BGP4+ 3m 6s , Distance: 20/0/0, Tag: 0, A S-Path: 1000 IGP (Id 5), Communities: 300:300, LocalPref: 100, <Ext Gateway> * 3ffe:8703:2005:1::/64 fe80::200:87ff:fe28:90d7%VLAN0007 VLAN0007 1/1 OSPFv3 ext2 17m 43s , Distance: 110/1/0, Tag: 0, AS-Path: IGP (Id 1), Communities: -, LocalPref: -, <Int Ext Gateway> * 3ffe:8703:2005:1::/64 fe80::200:87ff:fe28:90d7%VLAN0007 VLAN0007 2/0 RIPng 4s , Distance: 120/0/0, Tag: 0, AS-Path: IGP (Id 1), Communities: -, LocalPref: -, <Int Gateway> |