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:

  1. Enable an IPv6 instance on the router.
  2. Create an IPv6 static route with the tag value as 1234.
    host1(config)#ipv6 route 55::/55 44::44 tag 1234
  3. Create a route map and enter into Route Map Configuration mode.
    host1(config)#route-map access
  4. Assign a specific tag value to the route map.
    host1(config-route-map)#set tag 1234
  5. Exit from Route Map Configuration mode.
  6. Enter into Router Configuration mode to configure the BGP routing process.
    host1(config)#router bgp 100
  7. Configure the IPv6 address family on the BGP router.
    host1 (config-router)#address-family ipv6
  8. Configure the route redistribution using the route map.
    host1 (config-router-af)#redistribute static route-map access

Related Documentation