TEST OF MARKING FUNCTIONALITY
Precedence marking can be attached to a given traffic class through CAR, i.e. through the following command:
rate-limit _parameters_
This is the more performant way to do marking on the CISCO.

In order to deploy CAR just for marking and not for rate-limiting traffic, conform-action and exceed-action have to be both set to the same action:

set-prec-transmit _precedenceValue_
With IOS 12.0(5.0.2)T1 (C7200) we tested an alternative method based on Policy Based Routing (PBR) with a configuration like in the following example, but the result of our tests is such that commands are not effective, i.e. we don't see marked packets. So only CAR is recommended for marking.

NOTE: PBR is supported in both fast-sw and cef-sw paths in this release (C.Filsfils), so the reason for the PBR marking not beeing effective should be investigated. Anyhow this methid is less performant than CAR marking.

CONFIGURATION:

!         
interface FastEthernet0/0
 description test LAN
 [..]
 ip polcy route-map red
 [..]
!
route-map red permit 10
 match ip address 100
 set ip precedence critical
!
access-list 100 permit tcp host 192.168.73.3 192.168.130.0 0.0.0.255 eq 60130
access-list 100 deny   ip any any
[end]