精品丰满熟女一区二区三区_五月天亚洲欧美综合网_亚洲青青青在线观看_国产一区二区精选

  • <menu id="29e66"></menu>

    <bdo id="29e66"><mark id="29e66"><legend id="29e66"></legend></mark></bdo>

  • <pre id="29e66"><tt id="29e66"><rt id="29e66"></rt></tt></pre>

      <label id="29e66"></label><address id="29e66"><mark id="29e66"><strike id="29e66"></strike></mark></address>
      學(xué)習(xí)啦 > 學(xué)習(xí)電腦 > 網(wǎng)絡(luò)知識(shí) > 路由器 > 路由器設(shè)置 > cisco思科 > cisco核心交換機(jī)限速

      cisco核心交換機(jī)限速

      時(shí)間: 春健736 分享

      cisco核心交換機(jī)限速

        Cisco并不難,主要有些人沒有接觸的機(jī)會(huì),如果你經(jīng)常管理cisco設(shè)備,你會(huì)發(fā)現(xiàn)其實(shí)就那幾步,不過也有不少網(wǎng)友不知道cisco核心交換機(jī)限速怎么弄。其實(shí)步驟并不難,下面學(xué)習(xí)啦小編給大家介紹一下具體操作辦法,供大家參考!

        cisco核心交換機(jī)限速設(shè)置具體操作

        一、創(chuàng)建ACL

        由于這是一臺(tái)三層交換機(jī),所以雖然是對(duì)端口進(jìn)行限速,但是還要考慮這個(gè)端口上通過的網(wǎng)絡(luò)地址,本例中,我們選擇對(duì)CISCO3550交換機(jī)的第22口進(jìn)行限速,該端口屬于VLAN66,IP地址段為10.66/16,所以首先要?jiǎng)?chuàng)建一個(gè)ACL,如下所示:

        3550#conf t

        Enter configuration commands, one per line. End with CNTL/Z.

        3550(config)#access-list 15 permit 10.66.0.0 0.0.255.255

        二、創(chuàng)建class-map

        3550#conf t

        Enter configuration commands, one per line. End with CNTL/Z.

        3550(config)#class-map dkxs

        3550(config-cmap)#match access-group 15

        這一步操作的主要目的就是創(chuàng)建了一個(gè)class-map,在這里面引用了我們事先創(chuàng)建好的ACL 15,方便我們以后對(duì)22端口進(jìn)行操作。

        三、創(chuàng)建policy-map

        出于測(cè)試的需要,我們創(chuàng)建了多個(gè)policy-map,分別設(shè)置不同的限制帶寬,如80k,1m,5m,10m,分別如下:

        3550#conf t

        Enter configuration commands, one per line. End with CNTL/Z.

        3550(config)#policy-map 80k

        3550(config-pmap)#class dkxs

        3550(config-pmap-c)# police 80000 8000 exceed-action drop

        3550#conf t

        Enter configuration commands, one per line. End with CNTL/Z.

        3550(config)#policy-map 1m

        3550(config-pmap)#class dkxs

        3550(config-pmap-c)# police 1000000 100000 exceed-action drop

        3550#conf t

        Enter configuration commands, one per line. End with CNTL/Z.

        3550(config)#policy-map 5m

        3550(config-pmap)#class dkxs

        3550(config-pmap-c)# police 5000000 500000 exceed-action drop

        3550#conf t

        Enter configuration commands, one per line. End with CNTL/Z.

        3550(config)#policy-map 10m

        3550(config-pmap)#class dkxs

        3550(config-pmap-c)# police 10000000 1000000 exceed-action drop

        四、查看配置信息

        3550#show run

        policy-map 5m

        class dkxs

        police 5000000 500000 exceed-action drop

        policy-map 1m

        class dkxs

        police 1000000 100000 exceed-action drop

        policy-map 80k

        class dkxs

        police 80000 8000 exceed-action drop

        policy-map 10m

        class dkxs

        police 10000000 1000000 exceed-action drop

        五、通過iperf軟件進(jìn)行驗(yàn)證

        即先在一臺(tái)服務(wù)器上運(yùn)行iperf的服務(wù)器端,命令如下:

        F:\tools>iperf -s

        ------------------------------------------------------------

        Server listening on TCP port 5001

        TCP window size: 8.00 KByte (default)

        ------------------------------------------------------------

        然后在交換機(jī)的22口上分別應(yīng)用表示不同速率的policy-map,每應(yīng)用一次,通過一臺(tái)連接到22端口的筆記本電腦運(yùn)行iperf的客戶端,進(jìn)行端口速率測(cè)試,結(jié)果分別如下:

        (交換機(jī)設(shè)置)

        3550(config-if)#service-policy input 80k

        學(xué)習(xí)啦小編分享了cisco核心交換機(jī)限速的解決方法。希望大家喜歡。

      567150