6.
Force the router to advertise a default route for external routes.
Syntax: default-information-originate [always] [metric <value>] [metric <type>]
If the router does not have its own default route, use the always option.
Specifying a metric or metric type is optional. (By default, the metric is 0
and the metric type is 2.) For example, enter:
ProCurve(config-ospf)# default-information-originate always
Configuring BGP
1.
Enable the internal routing protocol. (See Quick Starts for RIP and OSPF
ASBRs.)
2.
Move to the global configuration mode context and enable BGP. Also,
specify the local AS.
Syntax: router bgp <local AS>
For example:
ProCurve(config)# router bgp 2
3.
Specify the network or range of networks that the BGP interface(s) should
advertise. This might be only a public network. Or, if your have agreed
with your ISP that it will transit routes between remote networks (for
example, VPN sites), the network might be a range of private subnets.
Syntax: network <network A.B.C.D> mask <subnet mask>
For example:
ProCurve(config-bgp)# network 10.1.0.0 mask 255.255.0.0
4.
The routing table may not include an entry to the range of networks you
specified in step 2. If necessary, add a null route to the routing table. For
example:
ProCurve(config)# ip route 10.1.0.0 255.255.0.0 null 0
5.
Return to the BGP configuration mode context and set the local router ID.
Syntax: bgp router-id <A.B.C.D>
This ID should be the IP address on the interface that communicates with
the neighbor. (It can also be the IP address of a loopback interface used
as the update source.) For example:
ProCurve(config-bgp)# bgp router-id 1.1.1.2
IP Routing—Configuring RIP, OSPF, BGP, and PBR
Quick Start
15-183