分类: 服务器与存储
2013-02-06 14:05:24
en | |
conf t | |
access-list 101 permit ospf | //定义出了ospf,snmp流量 |
access-list 101 permit udp any any eq snmp | |
access-list 102 permit gre any any | //定义出了gre流量 |
access-list 103 permit tcp any any eq 2065 | //定义出了目标端口号为2065….的流 量,DLSW+ |
access-list 103 permit tcp any any eq 2067 | |
access-list 103 permit tcp any any eq 1981 | |
access-list 103 permit tcp any any eq 1982 | |
access-list 103 permit tcp any any eq 1983 | |
access-list 104 permit tcp any any eq domain | //定义出了domain,smtp等协议 |
access-list 104 permit tcp any any eq smtp | |
access-list 104 permit tcp any any eq bootp | |
access-list 105 permit tcp any any eq 139 | //定义出了网上邻居协议 |
access-list 105 permit udp any any eq netbios-dgm | |
access-list 105 permit udp any any eq netbios-ns | |
access-list 105 permit udp any any eq netbios-ss | |
access-list 106 permit tcp any any eq 2049 | //定义出目标端口为2049的tcp,udp流量 |
access-list 106 permit udp any any eq 2049 | |
access-list 107 permit tcp any 192.16.12.8 eq ftp | //到192.16.12.8的tftp流量 |
access-list 107 permit tcp any 192.16.12.8 gt 1023 established | |
access-list 107 permit udp any any eq tftp | |
queue-list 1 protocol ip 1 list 101 | //定义不同流量的定制队列 |
queue-list 1 protocol ip 2 list 102 | |
queue-list 1 protocol ip 3 list 103 | |
queue-list 1 protocol ip 4 list 104 | |
queue-list 1 protocol ip 5 list 105 | |
queue-list 1 protocol ip 6 list 106 | |
queue-list 1 protocol ip 7 list 107 | |
queue-list 1 protocol ip 8 tcp www | |
queue-list 1 protocol ip 9 tcp pop3 | |
queue-list 1 default 10 | |
int s1/0 | |
custom-queue-list 1 | //到接口下应用 |