Lenovo CN4093 Application Manual page 438

10gb converged scalable switch
Hide thumbs Also See for CN4093:
Table of Contents

Advertisement

3. (Optional) Configure the attributes in the AS filter menu.
4. Set up the BGP attributes.
5. Enable the route map.
6. Turn BGP on.
7. Assign the route map to a peer router.
8. Exit Router BGP mode.
438
CN4093 Application Guide for N/OS 8.3
Steps 2 and 3 are optional, depending on the criteria that you want to match. In
Step 2, the network filter number is used to match the subnets defined in the
network filter. In Step 3, the autonomous system number is used to match the
subnets. Or, you can use both (Step 2 and Step 3) criteria: access list (network filter)
and access path (AS filter) to configure the route maps.
CN 4093(config-route-map)# as-path-list 1 as 1
CN 4093(config-route-map)# as-path-list 1 action deny
CN 4093(config-route-map)# as-path-list 1 enable
If you want to overwrite the attributes that the peer router is sending, then define
the following BGP attributes:
Specify up to 32 AS numbers that you want to prepend to a matched route and
the local preference for the matched route.
Specify the metric [Multi Exit Discriminator (MED)] for the matched route.
CN 4093(config-route-map)# as-path-preference <AS number> [<AS number>] ...
CN 4093(config-route-map)# local-preference <local preference value>
CN 4093(config-route-map)# metric <metric value>
CN 4093(config-route-map)# enable
CN 4093(config-route-map)# exit
CN 4093(config)# router bgp
CN 4093(config-router-bgp)# enable
Select the peer router and then add the route map to the incoming route map list,
CN 4093(config-router-bgp)# neighbor 1 route-map in <1-32>
or to the outgoing route map list.
CN 4093(config-router-bgp)# neighbor 1 route-map out <1-32>
CN 4093(config-router-bgp)# exit

Advertisement

Table of Contents
loading

Table of Contents