class-map type inspect match-all A_B
match protocol icmp
!
!
policy-map type inspect pmap_A_B
class type inspect A_B
pass
class class-default
pass
policy-map shape
class bb1
shape average 128000
!
zone security A
zone security B
zone-pair security A_B source A destination B
service-policy type inspect pmap_A_B
zone-pair security B_A source B destination A
service-policy type inspect pmap_A_B