Allied Telesis VERSION 5.4.3-2.6 Switch User Manual


 
BGP and BGP4+ Commands
Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches
3.230 AlliedWare Plus
TM
Operating System - Software Version 5.4.3-2.6 C613-50032-01 REV D
show ip bgp longer-prefixes (BGP)
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 output options, see “Controlling “show” Command Output” on
page 3.6.
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
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.
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