This article provides some straightforward examples of configuring localized data policy to help you get an idea of how to use policy to influence traffic flow across the Viptela domain. Localized data policy, also known as access lists, is configured directly on the local vEdge routers.
You can configure quality of service (QoS) to classify data packets and control how traffic flows out of and in to the interfaces on a vEdge router and on the interface queues. For examples of how to configure a QoS policy, see Forwarding and QoS Configuration Examples.
This example illustrates how to configure a mirror instance to automatically send a copy of certain types of data packet to a specified destination for analysis. After you configure the mirror instance, include it in an access list. Here, "mirror-m1" is configured with the host at source address 10.20.23.16 and destination host at 10.2.2.11. The mirror instance is then included in the access list "acl2," which is configured so that data packets originating from the host at source address 10.20.24.17 and going to the destination host at 10.20.25.18 are mirrored to the destination host at 10.2.2.11 with the source address of the originating host as 10.20.23.16.
policy mirror m1 remote-dest 10.2.2.11 source 10.20.23.16 ! ! vm5# show running-config policy access-list acl2 policy access-list acl2 sequence 1 match source-ip 10.20.24.17/32 destination-ip 10.20.25.18/32 ! action accept mirror m1 ! ! default-action drop ! !