• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Xin chào ! Nếu đây là lần đầu tiên bạn đến với diễn đàn, xin vui lòng danh ra một phút bấm vào đây để đăng kí và tham gia thảo luận cùng VnPro.

Announcement

Collapse
No announcement yet.

How to rate-limit outgoing traffic on a Cisco 3560?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to rate-limit outgoing traffic on a Cisco 3560?

    Chào các bác,

    Tôi có một vấn đề, ko hiểu tại sao tôi ko thể giới hạn tốc độ tại một cổng của con Cisco3560. Các bác có biết cách nào khác chỉ giùm.


    R2 ----- SW2 ----- R4





    SW2#



    SW2#sh ver | in Ver

    Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version
    12.2(40)SE, RELEASE SOFTWARE (fc3)

    BOOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(35r)SE2,
    RELEASE
    SOFTWARE (fc1)

    Version ID
    : V01

    Switch Ports Model SW Version SW Image



    SW2#

    ip access-list extended all

    permit ip any any



    class-map match-all ALL

    match access-group name all

    !

    policy-map POLICE_2M

    ! tôi thử cả class class-default nhưng ko có kết quả khác
    class ALL

    police 2048000 25600 exceed-action drop





    interface FastEthernet0/2

    desc Connect to R2 FE0/0

    service-policy input POLICE_2M



    interface FastEthernet0/4

    desc Connect to R4 FE0/0



    R2#

    interface FastEthernet0/0

    desc Connect to SW2 FE0/2

    ip address 10.0.0.2 255.0.0.0



    ping ip 10.0.0.4 size 1500 timeout 0 rep 10000



    R4#

    interface FastEthernet0/0

    desc Connect to SW2 FE0/4

    ip address 10.0.0.4 255.0.0.0



    R4#sh int fa0/0 | in rate

    30 second input rate 3469000 bits/sec, 286 packets/sec

    30
    second output rate 3469000 bits/sec, 286 packets/sec

  • #2
    Bác cho em biết thêm thông tin đi:
    - Mục đích
    - show policy-map interface fa0/2 & show int fa0/2

    Comment

    Working...
    X