You can use the policy-map command to set up the ingress policy.
SEFOS(config)# policy-map 5000 SEFOS(config-ply-map)# set policy class 3000 default-priority-type none SEFOS(config-ply-map)# set meter 4001 conform-action set-ip-dscp-transmit 10 exceed-action set-ip-dscp-transmit 12 violate-action set-ip-dscp-transmit 14 SEFOS(config-ply-map)# exit SEFOS(config)# policy-map 5001 SEFOS(config-ply-map)# set policy class 3001 default-priority-type none SEFOS(config-ply-map)# set meter 4002 conform-action set-ip-dscp-transmit 10 exceed-action set-ip-dscp-transmit 12 violate-action set-ip-dscp-transmit 14 SEFOS(config-ply-map)# exit SEFOS(config)# policy-map 5002 SEFOS(config-ply-map)# set policy class 3002 default-priority-type none SEFOS(config-ply-map)# set meter 4002 conform-action set-ip-dscp-transmit 10 exceed-action set-ip-dscp-transmit 12 violate-action set-ip-dscp-transmit 14 SEFOS(config-ply-map)# exit SEFOS(config)# policy-map 5003 SEFOS(config-ply-map)# set policy class 3003 default-priority-type none SEFOS(config-ply-map)# set meter 4000 conform-action set-ip-dscp-transmit 10 exceed-action set-ip-dscp-transmit 12 violate-action set-ip-dscp-transmit 14 SEFOS(config-ply-map)# exit SEFOS(config)# policy-map 5004 SEFOS(config-ply-map)# set policy class 3004 default-priority-type none SEFOS(config-ply-map)# set meter 4000 conform-action set-ip-dscp-transmit 10 exceed-action set-ip-dscp-transmit 12 violate-action set-ip-dscp-transmit 14 SEFOS(config-ply-map)# exit SEFOS(config)# exit
SEFOS# show policy-map QoS Policy Map Entries ---------------------- PolicyMapId : 1 IfIndex : 0 Class : 1 DefaultPHB : None. MeterId : 0 ConNClass : 0 ExcNClass : 0 VioNClass : 0 ConfAct : None. ExcAct : None. VioAct : None. PolicyMapId : 5000 IfIndex : 0 Class : 3000 DefaultPHB : None. MeterId : 4001 ConNClass : 0 ExcNClass : 0 VioNClass : 0 ConfAct : IP Dscp 10 ExcAct : IP Dscp 12 VioAct : IP Dscp 14
PolicyMapId : 5001 IfIndex : 0 PolicyMapId : 5003 Class : 3001 IfIndex : 0 Class : 3003 DefaultPHB : None. MeterId : 4000 MeterId : 4002 ExcNClass : 0 DefaultPHB : None. ConNClass : 0 ConNClass : 0 ExcNClass : 0 VioNClass : 0 ConfAct : IP Dscp 10 VioNClass : 0 ExcAct : IP Dscp 12 ConfAct : IP Dscp 10 VioAct : IP Dscp 14 ExcAct : IP Dscp 12 VioAct : IP Dscp 14 PolicyMapId : 5002 IfIndex : 0 PolicyMapId : 5004 Class : 3002 IfIndex : 0 Class : 3004 DefaultPHB : None. MeterId : 4000 MeterId : 4002 ExcNClass : 0 DefaultPHB : None. ConNClass : 0 ConNClass : 0 ExcNClass : 0 VioNClass : 0 ConfAct : IP Dscp 10 VioNClass : 0 ExcAct : IP Dscp 12 ConfAct : IP Dscp 10 VioAct : IP Dscp 14 ExcAct : IP Dscp 12 VioAct : IP Dscp 14