以下范例是在frame-relay interface做PQ
-----------------------------
interface FastEthe.net0
ip address 192.168.1.254 255.255.255.0
!
interface Serial 0
no ip address
encapsulation frame-relay
priority-group 3
frame-relay lmi-type ansi
!
interface Serial0.101 point-to-point
ip address 192.168.25.133 255.255.255.252
no ip mroute-cache
frame-relay interface-dlci 101
!
access-list 150 permit ip host 192.168.1.1 any
priority-list 1 protocol ip high list 150
priority-list 1 default low
priority-list 1 queue-limit 1000 500 600 800
------------------------------
interface FastEthernet0
ip address 192.168.1.254 255.255.255.0
!
interface Serial 0
no ip address
encapsulation frame-relay
frame-relay traffic-shanp
frame-relay lmi-type ansi
!
interface Serial0.101 point-to-point
ip address 192.168.25.133 255.255.255.252
no ip mroute-cache
frame-relay class PQ
frame-relay interface-dlci 101
!
access-list 150 permit ip host 192.168.1.1 any
priority-list 1 protocol ip high list 150
priority-list 1 default low
priority-list 1 queue-limit 1000 500 600 800
!
map-class frame-relay PQ
frame-relay cir 64000
frame-relay bc 1000
frame-relay adaptive-shaping becn
frame-relay priority-group 1
------------------------------
CBFWQ on frame-relay PVC
------------------------------
class-map match-any AAA
match access-group 150
!
policy-map QoS
class-map AAA
bandwidth 24000
!
interface FastEthernet0
ip address 192.168.1.254 255.255.255.0
!
interface Serial 0
no ip address
encapsulation frame-relay
frame-relay traffic-shanp
frame-relay lmi-type ansi
!
interface Serial0.101 point-to-point
ip address 192.168.25.133 255.255.255.252
no ip mroute-cache
frame-relay class QoS
frame-relay interface-dlci 101
!
access-list 150 permit ip host 192.168.1.1 any
!
map-class frame-relay QoS
frame-relay cir 64000
frame-relay bc 1000
frame-relay adaptive-shaping becn
service-policy output QoS
文章来源于领测软件测试网 https://www.ltesting.net/
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:info@testage.com.cn 电话:010-51297073