In the bgp configuration:
address-family ipv4
no synchronization
table-map asn-qos
route-map asn-qos, permit, sequence 10
Match clauses:
as-path (as-path filter): 499
Set clauses:
ip precedence flash
Policy routing matches: 0 packets, 0 bytes
Policy Map qos-asn
Class saix-qos
police cir 10000000 bc 312500 pir 12000000 be 312500
conform-action transmit
exceed-action drop
violate-action drop
Class class-default
Class Map match-all saix-qos (id 4)
Match precedence 3
interface Vlan137
ip address xxx.xxx.xxx.xxx 255.255.255.0
service-policy output qos-asn
bgp-policy destination ip-prec-map
end