Configuring BGP4
December 2000 19 - 31
5. Enter the network address in the IP Address field.
6. Enter the network mask in the Mask field.
7. Optionally enter a weight to be added to routes to this network.
8. If you want to tag the route as a backdoor route, select Enable next to Back Door.
9. Click the Apply button to apply the changes to the device’s running-config file.
10. Select the Save
link at the bottom of the dialog, then select Yes when prompted to save the configuration
change to the startup-config file on the device’s flash memory.
Specifying a Route Map Name when Configuring BGP4 Network Information
You can specify a route map as one of the parameters when you configure a BGP4 network to be advertised. The
Layer 3 Switch can use the route map to set or change BGP4 attributes when creating a local BGP4 route.
To configure network information and use a route map to set or change BGP4 attributes, use the following CLI
method.
NOTE: You must configure the route map before you can specify the route map name in a BGP4 network
configuration.
USING THE CLI
To configure a route map, and use it to set or change route attributes for a network you define for BGP4 to
advertise, enter commands such as the following:
BigIron(config)# route-map set_net permit 1
BigIron(config-routemap set_net)# set community no-export
BigIron(config-routemap set_net)# exit
BigIron(config)# router bgp
BigIron(config-bgp-router)# network 100.100.1.0/24 route-map set_net
The first two commands in this example create a route map named “set_net” that sets the community attribute for
routes that use the route map to “NO_EXPORT”. The next two commands change the CLI to the BGP4
configuration level. The last command configures a network for advertising from BGP4, and associates the
“set_net” route map with the network. When BGP4 originates the 100.100.1.0/24 network, BGP4 also sets the
community attribute for the network to “NO_EXPORT”.
Syntax: network <ip-addr> <ip-mask> [route-map <map-name>] | [weight <num>] | [backdoor]
The route-map <map-name> parameter specifies the name of the route map you want to use to set or change
BGP4 attributes for the network you are advertising. The route map must already be configured.
For information about the other parameters, see “Defining Route Maps” on page 19-63.