Cisco NCS 6000 Series Configuration Manual page 120

Ios xr release 6.4.x
Hide thumbs Also See for NCS 6000 Series:
Table of Contents

Advertisement

Configuring Destination-Based Flow-Tag Propagation
!
class type traffic class-default
!
end-policy-map
!
interface GigabitEthernet0/0/0/0
ipv4 forwarding-enable
ipv6 address 2000::2/64
!
interface GigabitEthernet0/0/0/1
service-policy type pbr input FLOWMATCH
ipv4 address 10.10.10.1 255.255.255.0
!
interface GigabitEthernet0/0/0/2
ipv4 forwarding-enable
ipv6 address 3000::2/64
!
...
!
prefix-set FLOWTAG36
10.1.30.0/24
end-set
!
prefix-set FLOWTAG40
10.1.40.0/24
end-set
!
route-policy SETFLOWTAG
if destination in FLOWTAG36 then
set flow-tag 36
endif
if destination in FLOWTAG40 then
set flow-tag 40
endif
end-policy
!
!
router bgp 10
bgp router-id 1.1.1.1
address-family ipv4 unicast
table-policy SETFLOWTAG
redistribute static
bgp attribute-download
redistribute connected
!
neighbor 20.20.20.1/24
remote-as 20
address-family ipv4 unicast
route-policy BGPIN in
route-policy BGPOUT out
!
route-policy BGPIN
pass
end-policy
route-policy BGPOUT
pass
end-policy
!
You have successfully configured destination-based flow-tag propagation.
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
98
Implementing BGP

Advertisement

Table of Contents
loading

Table of Contents