Код: Выделить всё
class-map match-any Voice+signaling
match ip dscp cs3
match ip dscp cs5
class-map match-all voice-control
description -- voice control traffic
match ip dscp cs3
class-map match-all GRE_NCH
match access-group name GRE
class-map match-all video
description -- video traffic
match ip dscp cs4
class-map match-all voice
description -- voice traffic
match ip dscp cs5
!
!
policy-map mult1-out
class video
bandwidth remaining percent 60
class Voice+signaling
priority percent 25
policy-map test
class class-default
shape average 2048000
service-policy mult1-out
policy-map gi0/0.9-in
class Voice+signaling
policy-map Block-Skype
class Skype
drop
policy-map shapGRE
class GRE_NCH
shape average 2048000
policy-map out
class Voice+signaling
bandwidth 512
.....
.....
!
interface Tunnel1
ip address 10.18.x.x 255.255.255.252
ip accounting output-packets
ip virtual-reassembly
ip tcp adjust-mss 1396
ip ospf cost 8
load-interval 30
keepalive 7 3
tunnel source z.z.z.z
tunnel destination y.y.y.y
service-policy output test
!
interface GigabitEthernet0/0.334
encapsulation dot1Q 570
ip address z.z.z.z 255.255.255.252
ip access-group inet_in_RT in
ip accounting output-packets
ip nat outside
no ip virtual-reassembly
no cdp enable
service-policy output shapGRE
!
ip access-list extended GRE
permit gre host z.z.z.z host y.y.y.y