Table 45: show ip bgp quote-regexp Output Fields
(continued)
Field Description
Field Name
Prefix for the routing table entry
Prefix
IP address of the next router that is used when a packet is forwarded
to the destination network
Next hop IP address
Multiexit discriminator for the route
MED
Calculated preference for the route
CalPrf
Weight of the route
Weight
Autonomous system path
AS path
Related Topics
Monitoring BGP Routes with Matching AS-Paths and Regular Expressions for Multiple
Regular Expressions on page 198
•
•
show bgp ipv6 quote-regexp
•
show ip bgp quote-regexp
Monitoring BGP Routes with Matching AS-Paths and Regular Expressions for Multiple
Regular Expressions
Purpose
Display information about BGP routes whose AS-path matches the specified regular
expression elements. Accepts one or more regular expression elements. Report whether
the indirect next hop of a route is unreachable; if not, display the IGP cost to the indirect
next hop.
Regular expressions match numbers for which the specified path is a substring—for
example, if you specify 20, 200 matches because 20 is a substring of 200. You can
disallow substring matching by using the underscore (_) metacharacter to constrain
matching to the specified pattern, for example, _20_.
The
show ip bgp regexp
and
show bgp ipv6 regexp
commands display similar
information.
Action
To display information about routes whose AS-path matches the specified regular
expression element:
host1#
show ip bgp regexp ^200
Local router ID 192.168.1.232, local AS 100
6 paths, 3 distinct prefixes (324 bytes used)
3 paths selected for route table installation
7 path attribute entries (872 bytes used)
Prefix Next-hop MED CalPrf Weight AS-path
10.99.1.2/32 10.1.1.2 100 100 200
10.99.1.3/32 10.1.1.2 100 100 200 10
10.99.1.4/32 10.1.1.2 100 100 200 10 20
Copyright © 2010, Juniper Networks, Inc.
198
JunosE 11.2.x BGP and MPLS Configuration Guide
Summary of Contents for JUNOSE 11.2.X BGP AND MPLS
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 38: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 192: ...Copyright 2010 Juniper Networks Inc 156 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 242: ...Copyright 2010 Juniper Networks Inc 206 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 244: ...Copyright 2010 Juniper Networks Inc 208 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 310: ...Copyright 2010 Juniper Networks Inc 274 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 356: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 418: ...Copyright 2010 Juniper Networks Inc 382 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 524: ...Copyright 2010 Juniper Networks Inc 488 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 544: ...Copyright 2010 Juniper Networks Inc 508 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 608: ...Copyright 2010 Juniper Networks Inc 572 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 672: ...Copyright 2010 Juniper Networks Inc 636 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 674: ...Copyright 2010 Juniper Networks Inc 638 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 716: ...Copyright 2010 Juniper Networks Inc 680 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 717: ...PART 6 Index Index on page 683 681 Copyright 2010 Juniper Networks Inc...
Page 718: ...Copyright 2010 Juniper Networks Inc 682 JunosE 11 2 x BGP and MPLS Configuration Guide...