C613-50100-01 REV C Command Reference for x930 Series 1403
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
BGP AND BGP4+ COMMANDS
SHOW
IP BGP LONGER-PREFIXES (BGP ONLY)
show ip bgp longer-prefixes (BGP only)
Overview Use this command to display the route of the local BGP routing table for a specific
prefix with a specific mask, or for any prefix having a longer mask than the one
specified.
For information on filtering and saving command output, see the “Getting Started
with AlliedWare Plus” Feature Overview and Configuration Guide.
Syntax
show ip bgp <ip-address/m> longer-prefixes
Syntax [VRF] show ip bgp [global|vrf <vrf-name>] <ip-address/m>
longer-prefixes
Mode User Exec and Privileged Exec
Example
awplus# show ip bgp 10.10.0.10/24 longer-prefixes
awplus# show ip bgp vrf red 172.16.4.0/24
awplus# show ip bgp global 172.16.0.0/16 longer-prefixes
Parameter Description
global When VRF lite is configured, apply the command to the global
routing and forwarding table.
vrf Apply the command to the specified VRF instance.
<vrf-name> The name of the VRF instance.
<ip-address/m> Neighbor’s IP address and subnet mask, entered in the form
A.B.C.D/M. Where M is the subnet mask length.