ADTRAN 5000 Series Command Reference Manual page 191

Adtran network device command reference guide
Table of Contents

Advertisement

Command Reference Guide
Usage Examples
In the following example, all BGP routes are displayed whose community numbers match those listed in
the show ip bgp community command.
>enable
#show ip bgp community local-as 10:405
BGP local router ID is 10.22.131.241, local AS is 302.
Status codes: * valid, > best, i - internal, o - local
Origin codes: i - IGP, e - EGP, ? - incomplete
Network
10.22.152.20/30
10.22.152.24/29
10.22.152.36/30
10.22.152.52/30
11.0.0.0/30
12.0.0.0/30
13.0.0.0/30
14.0.0.0/30
20.0.0.0/30
21.0.0.0/30
Total RIB entries = 10
Information displayed includes: the ID of this router and its Autonomous System (AS) number; the
destination Network address of the route learned; the Next Hop address to that network; the Metric; the
Local Preference value (set using the set local-preference command); and the AS Path to the destination
network.
The following is a sample output for the show-ip bgp community command with an exact match specified:
BGP routes with the community numbers specified and only those specified are shown
>enable
#show ip bgp community 1001 2001 3001 exact
BGP local router ID is 192.168.9.1, local AS is 252.
Status codes: * valid, > best, i - internal, o - local
Origin codes: i - IGP, e - EGP, ? - incomplete
Network
* 192.168.11.0/24
* 192.168.12.0/24
*> 192.168.32.0/24 10.22.27.249
*> 192.168.33.0/24 10.22.27.249
Total RIB entries = 4
61200990L1-35E
Next Hop
Metric
10.22.131.10
304
10.22.131.10
304
10.22.131.10
304
10.22.131.10
304
10.22.131.10
304
10.22.131.10
304
10.22.131.10
304
10.22.131.10
304
10.22.131.10
304
10.22.131.10
304
NextHop
Metric
10.22.27.251
10.22.27.251
Copyright © 2005 ADTRAN
Enable Mode Command Set
LocPrf
Path
302 300 1 3 4 i
302 300 1 3 4 5 i
302 300 1 3 4 i
302 300 1 3 4 i
302 300 1 3 4 6 i
302 300 1 3 4 6 i
302 300 1 3 4 6 i
302 300 1 3 4 6 i
302 300 1 3 4 5 i
302 300 1 3 4 5 i
LocPrf
Path
249 251 i
249 251 i
249 i
249 i
191

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents