Redistributing a Specific IPv6 Static Route Based on the Tag Value
To redistribute a specific IPv6 static route for BGP based on the tag value:
- Enable an IPv6 instance on the router.host1(config)#ipv6
- Create an IPv6 static route with the tag value as 1234.host1(config)#ipv6 route 55::/55 44::44 tag 1234
- Create a route map and enter into Route Map Configuration
mode.host1(config)#route-map access
- Assign a specific tag value to the route map.host1(config-route-map)#set tag 1234
- Exit from Route Map Configuration mode.host1(config-route-map)#exit
- Enter into Router Configuration mode to configure the
BGP routing process.host1(config)#router bgp 100
- Configure the IPv6 address family on the BGP router.host1 (config-router)#address-family ipv6
- Configure the route redistribution using the route map.host1 (config-router-af)#redistribute static route-map access