set protocols bgp table-map


The set protocols bgp table-map command is used to apply a route-map on route updates from BGP to Zebra. All the applicable match operations are allowed, such as match on prefix, next-hop, communities, etc. Set operations for this attach-point are limited to metric and next-hop only. Any operation of this feature does not affect BGPs internal RIB.
Supported for ipv4 and ipv6 address families. It works on multi-paths as well, however, metric setting is based on the best-path only.
The delete protocols bgp table-map command disables this feature.


Command Syntax

set protocol bgp [vrf <text>] {ipv4-unicast|ipv6-unicast} table-map <route-map-name>

delete protocol bgp [vrf <text>] {ipv4-unicast|ipv6-unicast} table-map <route-map-name>


Parameter

Parameter

Description

vrf <vrf-name>

Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].

{ipv4-unicast|ipv6-unicast}Specifies the IP address family type.
table-map <route-map-name>Specifies the name of the route map.


Example
• This example applies a route-map on route updates from BGP to Zebra.

admin@XorPlus# set protocols bgp ipv4-unicast table-map map1
admin@XorPlus# commit


Copyright © 2024 Pica8 Inc. All Rights Reserved.