Configuring Bgp Stub Routing - Cisco 7604 Configuration Manual

Catalyst 6500 series switch and cisco 7600 series router firewall services module configuration guide using the cli
Hide thumbs Also See for 7604:
Table of Contents

Advertisement

Configuring BGP Stub Routing

Enter one or more set commands.
Step 3
If a route matches the match commands, then the following set commands determine the action to
perform on the route before redistributing it.
The following example shows how to redistribute routes with a hop count equal to 1. The FWSM
redistributes these routes as external LSAs with a metric of 5, metric type of Type 1, and a tag equal to 1.
hostname(config)# route-map 1-to-2 permit
hostname(config-route-map)# match metric 1
hostname(config-route-map)# set metric 5
hostname(config-route-map)# set metric-type type-1
Configuring BGP Stub Routing
The FWSM supports BGP stub routing. The BGP stub routing process advertises static and directly
connected routes but does not accept routes advertised by the BGP peer.
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide using ASDM
8-6
If you specify more than one access list, then the route can match any of the access lists.
To match any routes that have a specified metric, enter the following command:
hostname(config-route-map)# match metric metric_value
The metric_value can be from 0 to 4294967295.
To match any routes that have a next hop router address that matches a standard access list, enter the
following command:
hostname(config-route-map)# match ip next-hop acl_id [acl_id] [...]
If you specify more than one access list, then the route can match any of the access lists.
To match any routes with the specified next hop interface, enter the following command:
hostname(config-route-map)# match interface if_name
If you specify more than one interface, then the route can match either interface.
To match any routes that have been advertised by routers that match a standard access list, enter the
following command:
hostname(config-route-map)# match ip route-source acl_id [acl_id] [...]
If you specify more than one access list, then the route can match any of the access lists.
To match the route type, enter the following command:
hostname(config-route-map)# match route-type {internal | external [type-1 | type-2]}
To set the metric, enter the following command:
hostname(config-route-map)# set metric metric_value
The metric_value can be a value between 0 and 294967295
To set the metric type, enter the following command:
hostname(config-route-map)# set metric-type {type-1 | type-2}
Chapter 8
Configuring IP Routing and DHCP Services
OL-20748-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

7609-s76137606-sCatalyst 6500 series7600 series

Table of Contents