show ip route <ipv4net> longer-prefixes
Displays prefixes in the Routing Information Base (RIB) that are longer than a specific IP address or prefix.
- Mandatory. An IP address or prefix.
Use this command to display all prefixes in the RIB that are longer than a specific IP address or prefix.
The following example shows how to display prefixes that are longer than the 10.192.128.0/24 prefix.
vyatta@vyatta:~$ show ip route 10.192.128.0/24 longer-prefixes Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF, I - ISIS, B - BGP, > - selected route, * - FIB route O>* 10.192.128.0/24 [110/11] via 10.1.0.66, dp0p0p0, 09:36:20 O>* 10.192.128.1/32 [110/11] via 10.1.0.66, dp0p0p0, 09:36:20 vyatta@vyatta:~$