|
|
ru.cisco- RU.CISCO --------------------------------------------------------------------- From : Ilya Evseev 2:5020/400 07 Apr 2006 21:52:17 To : All Subject : Зарезание скорости на PPPoE-туннелях через CBR и shape average --------------------------------------------------------------------------------
Всем привет!
Имеется Циска 7204, которая должна выпускать пользователей в Интернет
через PPPoE- и PPTP-туннели. Hекоторым нужно резать скорость.
Проблема: скорость не зарезается!
Каждый туннель создаётся следующим образом:
!
interface Virtual-Template1
mtu 1460
ip unnumbered Loopback0
no ip proxy-arp
ip accounting output-packets
ip nat inside
ip pim sparse-mode
service-policy output CHANNELS
no logging event link-status
qos pre-classify
no peer default ip address
ppp authentication ms-chap-v2 ms-chap
!
interface Loopback0
ip address 172.16.15.254 255.255.240.0
ip pim sparse-mode
ip route-cache policy
ip route-cache flow
!
class-map match-all channel128
match access-group 102
class-map match-all channel64
match access-group 101
!
policy-map CHANNELS
class channel64
shape average 64000
class channel128
shape average 128000
!
access-list 101 permit ip any host 172.16.1.2
access-list 102 permit ip any host 172.16.2.3
!
Версия Циски:
Cisco Internetwork Operating System Software
IOS (tm) 7200 Software (C7200-IS-M), Version 12.3(6f), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Tue 16-Aug-05 21:42 by ssearch
Image text-base: 0x60008AF4, data-base: 0x61C5C000
ROM: System Bootstrap, Version 12.3(4r)T3, RELEASE SOFTWARE (fc1)
BOOTLDR: 7200 Software (C7200-KBOOT-M), Version 12.3(9), RELEASE SOFTWARE
(fc2)
gw uptime is 2 hours, 43 minutes
System returned to ROM by power-on
System restarted at 10:45:59 MSD Fri Apr 7 2006
System image file is "disk2:c7200-is-mz.123-6f.bin"
cisco 7204VXR (NPE-G1) processor (revision B) with 491520K/32768K bytes of
memory.
Processor board ID 21276811
SB-1 CPU at 700MHz, Implementation 1, Rev 0.2, 512KB L2 Cache
4 slot VXR midplane, Version 2.1
Last reset from power-on
Bridging software.
X.25 software, Version 3.0.0.
PCI bus mb1 has 0 bandwidth points
PCI bus mb2 has 0 bandwidth points
3 Gigabit Ethernet/IEEE 802.3 interface(s)
509K bytes of non-volatile configuration memory.
62720K bytes of ATA PCMCIA card at slot 2 (Sector size 512 bytes).
16384K bytes of Flash internal SIMM (Sector size 256K).
Configuration register is 0x2102
Когда пользователь подключается, проверяем, срабатывает ли ACL для него:
cisco#show access-lists 101
Extended IP access list 101
10 permit ip any host 172.16.9.7 (26427 matches)
То есть правило срабатывает.
После этого проверяем, заходит ли правило
в policy-map на туннельном интерфейсе клиента:
cisco#sh policy-map interface vi3
Virtual-Access3
Service-policy output: CHANNELS
Class-map: channel64 (match-all)
19943 packets, 27269789 bytes
5 minute offered rate 187000 bps, drop rate 0 bps
Match: access-group 101
Traffic Shaping
Target/Average Byte Sustain Excess Interval Increment
Rate Limit bits/int bits/int (ms) (bytes)
64000/64000 2000 8000 8000 125 1000
Adapt Queue Packets Bytes Packets Bytes Shaping
Active Depth Delayed Delayed Active
- 0 461 48621 35 3817 no
Class-map: channel128 (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group 102
Traffic Shaping
Target/Average Byte Sustain Excess Interval Increment
Rate Limit bits/int bits/int (ms) (bytes)
128000/128000 1984 7936 7936 62 992
Adapt Queue Packets Bytes Packets Bytes Shaping
Active Depth Delayed Delayed Active
- 0 0 0 0 0 no
Class-map: class-default (match-any)
100 packets, 4044 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
Собственно, всё. Шейпинг, как видите, прописан,
но...не активен? (Shaping Active: no)
С уважением,
Илья Евсеев
--- ifmail v.2.15dev5.3
* Origin: FidoNet Online - http://www.fido-online.com (2:5020/400)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.cisco/16679052aae8f.html, оценка из 5, голосов 10
|