set protocols bgp vrf ipv4-unicast import vrf-route-map
Run the command set protocols bgp ipv4-unicast import vrf-route-map to specify a route map to filter IPv4 routes when importing routes from one VRF into another VRF. This command is useful to control the number of routes leaked between two VRFs using BGP. The conditions for which routes needs to be leaked and which routes should be excluded are specified in the route map and then applied when importing the routes. The optional parameter vrf is used to specify the VRF to which the routes are imported after filtering. If VRF is not specified then routes are imported into the default VRF.
Run the command delete set protocols bgp ipv4-unicast import vrf-route-map to delete this configuration from the switch database.
Command Syntax
set protocols bgp [vrf <vrf-name>] ipv4-unicast import vrf-route-map <map-name>
delete protocols bgp [vrf <vrf-name> ipv4-unicast import vrf-route-map
Parameter
Parameter | Description |
vrf <vrf-name> | Optional. Specifies the VRF name to which routes will be imported. The value is a string. |
vrf-route-map <map-name> | Specifies the name of the route map to apply when importing routes to a VRF. The value is a string. |
Example
- This example applies route map map1 when importing routes into the default VRF.
|
Copyright © 2024 Pica8 Inc. All Rights Reserved.