• 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.

giúp em về priority queuing

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

  • giúp em về priority queuing

    Click image for larger version

Name:	Capture.jpg
Views:	2
Size:	24.2 KB
ID:	207923

    (các r đều đã thấy nhau)
    ở con r1 em cấu hình như sau
    priority-list 1 protocol ip high tcp ftp priority-list 1 protocol ip high tcp ftp-data
    priority-list 1 protocol ip normal tcp telnet
    priority-list 1 protocol ip low tcp 3389
    priority-list 1 protocol ip medium udp snmp
    sau đó em add các priority trên vào các cổng như int s0/0 và f0/0
    trên r2 r3 r4 r5 r6 là framerelay em cũng cấu hình như thế,em thắc mắc là khi em dùng câu lệnh show queuing int s0/0 tại r1 cũng như tất cả các r khác thì đều hiện lên bảng thông số về high medium normal low ngon lành,nhưng khi sử dụng debug priority thì lại chẳng thấy đc sự ưu tiên mà toàn như vầy
    00:32:39.735: PQ: Serial0/0 output (Pk size/Q 13/0)
    *Mar 1 00:32:40.119: PQ: FastEthernet0/0 output (Pk size/Q 60/0)
    *Mar 1 00:32:40.151: PQ: Serial0/0 output (Pk size/Q 84/0)
    *Mar 1 00:32:40.155: PQ: Serial0/0 output (Pk size/Q 84/0)
    R1#
    *Mar 1 00:32:43.607: PQ: FastEthernet0/0 output (Pk size/Q 90/0)
    *Mar 1 00:32:44.267: PQ: Serial0/0: cdp (defaulting) -> normal
    *Mar 1 00:32:44.267: PQ: Serial0/0 output (Pk size/Q 327/2)
    *Mar 1 00:32:44.267: PQ: Serial0/0: cdp (defaulting) -> normal
    *Mar 1 00:32:44.267: PQ: Serial0/0 output (Pk size/Q 327/2)
    các a có thể cho em biết là em đã làm sai chỗ nào và cách khắc phục đc ko ah

  • #2
    em đã generate các loại traffic chưa?
    Phan Hoàng Gia Liêm - Instructor
    Email : gialiem@vnpro.org
    Yahoo : gialiem_vnpro
    -----------------------------------------------------------------------------------------------
Trung Tâm Tin Học VnPro
149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
Tel : (08) 35124257 (5 lines)
Fax: (08) 35124314

Home page: http://www.vnpro.vn
Support Forum: http://www.vnpro.org
- Chuyên đào tạo quản trị mạng và hạ tầng Internet
- Phát hành sách chuyên môn
- Tư vấn và tuyển dụng nhân sự IT
- Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

Network channel: http://www.dancisco.com
Blog: http://www.vnpro.org/blog

Comment


  • #3
    em đã tạo ra hết rồi,nhưng có vẻ khó bắt vô cùng netmeeting gần 1h mà chỉ thông báo 1 dòng tcp 3389 -> low,còn fpt thì chạy download dữ liệu từ c2 về mà cũng chả ra đc gói nào

    Comment


    • #4




      Em xem qua bài này và debug được vậy không nhé
      Priority queuing use 4 methods:

      1. High. It’s the highest priority
      2. Medium. This is the second priority
      3. Normal. This is the tird priority and by default traffic classified by this priority
      4. Low. It’s the lowest priority

      Let’s do practice


      R1#
      interface Loopback0
      ip address 1.1.1.1 255.255.255.255
      ip ospf 1 area 0
      !
      interface FastEthernet0/0
      ip address 12.12.12.1 255.255.255.0
      ip ospf 1 area 0
      no shut


      R2#
      interface Loopback0
      ip address 2.2.2.2 255.255.255.255
      ip ospf 1 area 0
      !
      interface FastEthernet0/0
      ip address 12.12.12.2 255.255.255.0
      ip ospf 1 area 0
      no shut


      Let’s make example.
      • All telnet will be set as high queue
      • All http traffic will be set as medium queue
      • All ping traffic will be set as normal queue
      • Default traffic will be set as low queue


      R1#
      priority-list 1 protocol ip high tcp 23
      priority-list 1 protocol ip medium tcp 80
      priority-list 1 protocol ip normal list 100
      priority-list 1 default low
      !
      access-list 100 permit icmp any any echo
      access-list 100 permit icmp any any echo-reply
      !
      interface fa0/0
      priority-group 1


      Verify the queuing priority


      R1#show queueing priority
      Current DLCI priority queue configuration:
      Current priority queue configuration:


      List Queue Args
      1 low default
      1 high protocol ip tcp port telnet
      1 medium protocol ip tcp port www
      1 normal protocol ip list 100


      Let’s debug if we already assign to right priority or not.
      To avoid appear a lot of messages, let’s deactivate debug for cdp and keepalive


      R1#
      no cdp run
      !
      int f0/0
      no keepalive


      Let’s do debug priority


      R1(config-if)#do debug priority


      Let’s test ping. It shoul go to normal priority


      R1(config-if)#do ping 2.2.2.2 sour 1.1.1.1
      Type escape sequence to abort.
      Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
      Packet sent with a source address of 1.1.1.1
      !!!!!
      Success rate is 100 percent (5/5), round-trip min/avg/max = 24/40/56 ms
      R1(config-if)#
      *Mar 1 00:21:23.923: PQ: FastEthernet0/0: ip (s=1.1.1.1, d=2.2.2.2) -> normal
      *Mar 1 00:21:23.923: PQ: FastEthernet0/0 output (Pk size/Q 114/2)
      *Mar 1 00:21:23.979: PQ: FastEthernet0/0: ip (s=1.1.1.1, d=2.2.2.2) -> normal
      *Mar 1 00:21:23.979: PQ: FastEthernet0/0 output (Pk size/Q 114/2)
      *Mar 1 00:21:24.019: PQ: FastEthernet0/0: ip (s=1.1.1.1, d=2.2.2.2) -> normal
      *Mar 1 00:21:24.019: PQ: FastEthernet0/0 output (Pk size/Q 114/2)
      *Mar 1 00:21:24.051: PQ: FastEthernet0/0: ip (s=1.1.1.1, d=2.2.2.2) -> normal
      *Mar 1 00:21:24.055: PQ: FastEthernet0/0 output (Pk size/Q 114/2)
      *Mar 1 00:21:24.099: PQ: FastEthernet0/0: ip (s=1.1.1.1, d=2.2.2.2) -> normal
      R1(config-if)#
      *Mar 1 00:21:24.099: PQ: FastEthernet0/0 output (Pk size/Q 114/2)


      Let’s do telnet. It should go to high priority


      R1(config-if)#do telnet 2.2.2.2
      Trying 2.2.2.2 ... Open


      *Mar 1 00:23:57.191: PQ: FastEthernet0/0: ip (tcp 23) -> high
      *Mar 1 00:23:57.195: PQ: FastEthernet0/0 output (Pk size/Q 60/0)
      *Mar 1 00:23:57.275: PQ: FastEthernet0/0: ip (tcp 23) -> high
      *Mar 1 00:23:57.275: PQ: FastEthernet0/0 output (Pk size/Q 60/0)
      *Mar 1 00:23:57.279: PQ: FastEthernet0/0: ip (tcp 23) -> high
      *Mar 1 00:23:57.283: PQ: FastEthernet0/0 output (Pk size/Q 63/0)
      *Mar 1 00:23:57.287: PQ: FastEthernet0/0: ip (tcp 23) -> high
      *Mar 1 00:23:57.287: PQ: FastEthernet0/0 output (Pk size/Q 60/0)
      Phan Hoàng Gia Liêm - Instructor
      Email : gialiem@vnpro.org
      Yahoo : gialiem_vnpro
      -----------------------------------------------------------------------------------------------
      Trung Tâm Tin Học VnPro
      149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
      Tel : (08) 35124257 (5 lines)
      Fax: (08) 35124314

      Home page: http://www.vnpro.vn
      Support Forum: http://www.vnpro.org
      - Chuyên đào tạo quản trị mạng và hạ tầng Internet
      - Phát hành sách chuyên môn
      - Tư vấn và tuyển dụng nhân sự IT
      - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

      Network channel: http://www.dancisco.com
      Blog: http://www.vnpro.org/blog

      Comment


      • #5
        cho em hỏi là tại sao mình phải access list ping vậy ? còn về phần cấu hình priority em cũng làm tương tự như trên, khi em muốn bắt gói ftp (set ở mức high) thì bên c1 em cài winxp còn c2 là win 2k3 dựng ftp server,c1 vừa download upload lên c2 mà mãi gần 2 tiếng sau ở lệnh debug priority mới hiện lên thông số ftp -> high còn tất cả toàn là cdp(default)->normal :((

        Comment


        • #6
          Nếu bạn không cho access-list ping vào hàng đợi normal thì mặc định nó được xếp vào hàng đợi default (trong bài lab trên là hàng đợi low, còn trong mô hình của bạn là hàng đợi normal ).
          Còn lệnh debug nó không hiện lên, là do cơ chế chuyển mạch CEF tren cisco đó bạn.
          Để debug lên được bạn tắt cef nhé. CLI:
          R(config)#no ip cef
          R(config)#int f0/0
          R(config-if)#no ip route-cache
          Nguyễn Bá Hiển
          Email: nguyenbahien@vnpro.org
          Yahoo: nguyenbahien_vnpro
          ------------------------------------------------------------------------------------------------------------
          Trung Tâm Tin Học VnPro
          149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
          Tel : (08) 35124257 (5 lines)
          Fax: (08) 35124314

          Home page: http://www.vnpro.vn
          Support Forum: http://www.vnpro.org
          - Chuyên đào tạo quản trị mạng và hạ tầng Internet
          - Phát hành sách chuyên môn
          - Tư vấn và tuyển dụng nhân sự IT
          - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

          Network channel: http://www.dancisco.com
          Blog: http://www.vnpro.org/blog

          Comment


          • #7
            Nếu bạn không cho access-list ping vào hàng đợi normal thì mặc định nó được xếp vào hàng đợi default (trong bài lab trên là hàng đợi low, còn trong mô hình của bạn là hàng đợi normal ).
            Còn lệnh debug nó không hiện lên, là do cơ chế chuyển mạch CEF tren cisco đó bạn.
            Để debug lên được bạn tắt cef nhé. CLI:
            R(config)#no ip cef
            R(config)#int f0/0
            R(config-if)#no ip route-cache
            Johni Patino..!!

            Comment


            • #8
              cảm ơn chủ thớt, bài viết trên giúp tôi có kinh nghi
              Dẫn chõi casino thích chõi poker hoặc slot game để giải trí

              Comment

              • Working...
                X