Enabling Bgp; Advertising Local Networks - HP 7102dl - ProCurve Secure Router Configuration Manual

Procurve secure router 7000dl series - advanced management and configuration guide
Hide thumbs Also See for 7102dl - ProCurve Secure Router:
Table of Contents

Advertisement

IP Routing—Configuring RIP, OSPF, BGP, and PBR
Configuring BGP

Enabling BGP

To enable BGP, enter the following command from the global configuration
mode context. You must also set the local AS number:
Syntax: router bgp <AS number>
For example, your ISP has assigned your organization AS 1:
ProCurve(config)# router bgp 1
You then enter the BGP configuration mode context:
ProCurve(config-bgp)#

Advertising Local Networks

Specify the local networks that remote sites should be able to access. You
should only advertise networks that originate in your AS. To allow BGP to
advertise a network, enter the following command:
Syntax: network <A.B.C.D> mask <subnet mask>
For example, if you want the router to advertise the private network 10.1.10.0
/24, enter:
ProCurve(config-bgp)# network 10.1.10.0 mask 255.255.255.0
BGP is a classless protocol. You can specify networks with variable-length
subnet masks.
Note that the router is actually advertising a route, not a network. BGP can
therefore send out a route summary for the entire range of local subnets. For
example, Site A includes 16 /24 networks from 10.1.0.0 /24 to 10.1.15.0 /24,
which together make up network 10.1.0.0 /20. You can specify the entire range
of subnets by entering:
ProCurve(config-bgp)# network 10.1.0.0 mask 255.255.240.0
Because the BGP router is advertising a route, it searches its routing table for
a route to the specified networks. It then sends this route to all authorized
neighbors.
Remember that the subnet mask is an integral part of the network address. If
you specify that the BGP interface advertise routes to network 10.1.0.0 /20, it
will not advertise routes to network 10.1.0.0 /16 or to network 10.1.0.0 /24.
15-73

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Procurve secure router 7203dl j8753a j8753a

Table of Contents