Codice: Seleziona tutto
ilmondoemio#sh ver
Cisco IOS Software, C870 Software (C870-ADVIPSERVICESK9-M), Version 12.4(22)T1, RELEASE SOFTWARE (fc5)
ROM: System Bootstrap, Version 12.3(8r)YI4, RELEASE SOFTWARE
ilmondoemio uptime is 2 weeks, 3 days, 9 hours, 23 minutes
System returned to ROM by power-on
System restarted at 14:20:43 CET Tue Mar 9 2010
System image file is "flash:c870-advipservicesk9-mz.124-22.T1.bin"
................
Cisco 877 (MPC8272) processor (revision 0x300) with 236544K/25600K bytes of memory.
Processor board ID FCZ1240122S
MPC8272 CPU Rev: Part Number 0xC, Mask Number 0x10
4 FastEthernet interfaces
1 ATM interface
128K bytes of non-volatile configuration memory.
53248K bytes of processor board System flash (Intel Strataflash)
Configuration register is 0x2102
Codice: Seleziona tutto
!
ip cef
!
class-map match-all VOIP
description VOIP-DATA
match protocol rtp
match dscp ef
match ip precedence 5
match protocol rtcp
match protocol rtsp
match ip dscp ef
match access-group 110
match protocol sip
class-map match-all P2P
match protocol directconnect
match protocol bittorrent
match protocol gnutella
match protocol kazaa2
match protocol edonkey
match protocol fasttrack
class-map match-all WEB
match protocol http
match protocol dns
match protocol pop3
match protocol smtp
match protocol ftp
!
!
policy-map QOS
class P2P
priority percent 10
class VOIP
bandwidth percent 50
class WEB
priority percent 30
!
interface Dialer0
bandwidth 480
ip nbar protocol-discovery
service-policy output QOS
!
access-list 110 remark ***VOIP-DATA***
access-list 110 permit udp any any range 5004 5010
access-list 110 permit udp any any dscp ef
Codice: Seleziona tutto
ilmondoemio#sh ip nbar protocol-discovery
Dialer0
Last clearing of "show ip nbar protocol-discovery" counters 1w0d
Input Output
----- ------
Protocol Packet Count Packet Count
Byte Count Byte Count
5min Bit Rate (bps) 5min Bit Rate (bps)
5min Max Bit Rate (bps) 5min Max Bit Rate (bps)
------------------------ ------------------------ ------------------------
http 424019 0
539345068 0
12000 0
1881000 0
ipsec 25738 0
15209788 0
0 0
259000 0
secure-http 41917 0
22778290 0
0 0
99000 0
rtp 327326 0
66165880 0
0 0
81000 0
secure-pop3 1845 0
1426072 0
0 0
44000 0
ssh 19765 0
1664367 0
0 0
30000 0
dns 9372 0
1323854 0
0 0
5000 0
sip 1123 0
817124 0
0 0
3000 0
ntp 51152 0
Codice: Seleziona tutto
ilmondoemio#show policy-map interface Dialer0
Dialer0
Service-policy output: QOS
queue stats for all priority classes:
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
Class-map: P2P (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: protocol directconnect
Match: protocol bittorrent
Match: protocol gnutella
Match: protocol kazaa2
Match: protocol edonkey
Match: protocol fasttrack
Priority: 10% (48 kbps), burst bytes 1500, b/w exceed drops: 0
Class-map: VOIP (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: protocol rtp
Match: dscp ef (46)
Match: ip precedence 5
Match: protocol rtcp
Match: protocol rtsp
Match: ip dscp ef (46)
Match: access-group 110
Match: protocol sip
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
bandwidth 50% (240 kbps)
Class-map: WEB (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: protocol http
Match: protocol dns
Match: protocol pop3
Match: protocol smtp
Match: protocol ftp
Priority: 30% (144 kbps), burst bytes 3600, b/w exceed drops: 0
Class-map: class-default (match-any)
548044 packets, 80991599 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
