queue 1 priority 1 2 3 4 5 6 7 num-queues 4
queue 0 priority 0 queue 1 priority 1 2 queue 2 priority 3 4 5 6 queue 3 priority 7 num-queues 8 queue 0 priority 0 queue 1 priority 1 queue 2 priority 2
!
qos queue-map test 自定义的queue-map num-queues 2
queue 0 priority 3 queue 1 priority 4 5 6 7 num-queues 4 queue 0 priority 3 queue 1 priority 4 queue 2 priority 5 6 queue 3 priority 7
!
qos policy fixip policing 创建策略fixip定义固定IP用户的DSCP mark dscp cs3 !
qos policy internet policing 创建策略internet定义pppoe用户的DSCP rate 1000 burst 100 conform mark dscp df
!
qos policy iptv policing 创建策略iptv定义iptv用户的DSCP rate 1000 burst 100
conform mark dscp cs4 !
qos policy test-atmwfq atmwfq 创建atm wfq队列 queue 0 mode strict
queue-map test
queue 0 congestion red probability 20 weight 10 min-threshold 3000 max-threshold 5000 queue 1 weight 100
queue 1 congestion red probability 15 weight 10 min-threshold 2000 max-threshold 5000 queue 2 weight 50
queue 2 congestion red probability 10 weight 10 min-threshold 2000 max-threshold 4000 queue 3 weight 30
queue 3 congestion red probability 10 weight 10 min-threshold 1500 max-threshold 4000 !
qos policy test-edrr edrr 创建edrr队列
num-queues 4
queue-map test queue 0 weight 50
queue 0 red probability 12 weight 10 min-threshold 3048 max-threshold 4064 queue 1 weight 25
queue 1 red probability 10 weight 10 min-threshold 2032 max-threshold 4064 queue 2 weight 15
queue 2 red probability 9 weight 10 min-threshold 2032 max-threshold 4064 queue 3 weight 10
queue 3 red probability 8 weight 10 min-threshold 2032 max-threshold 4064 !
qos policy test-pq pq 创建pq(优化级)队列 num-queues 4 queue-map test
queue 0 rate 200000 burst 50000
queue 0 red probability 20 weight 10 min-threshold 2032 max-threshold 4064 queue 1 rate 2000000 burst 50000
queue 1 red probability 15 weight 10 min-threshold 2032 max-threshold 4064 queue 2 rate 2000000 burst 50000
queue 2 red probability 12 weight 10 min-threshold 2032 max-threshold 4064 queue 3 rate 2000000 burst 50000
queue 3 red probability 10 weight 10 min-threshold 2032 max-threshold 4064 5、 SNMP配置
snmp server enhance ifmib traps ifmib encaps
snmp view default internet included snmp community public context mgmt
snmp community test all-contexts view default read-write snmp community testZISP context ZISP view default
snmp target HP-OV 10.1.79.197 address-context \version 2c 另外一个:
snmp server enhance ifmib traps ifmib encaps traps ifmib ip
traps nemib non-exclusive
snmp view inet-view internet included
snmp community errelvant
snmp community community all-contexts view inet-view
snmp target ENOC1 203.191.178.37 security-name community version 2c snmp target ENOC2 203.191.178.38 security-name community version 2c
相关推荐: