請問cisco2960g如何配置埠速率呀

2021-03-08 22:06:36 字數 3060 閱讀 1411

1樓:網管愛好者

c2950(config-if)#

inte***ce fastether***0/1 /進入介面f0/1子配置模式 inte***ce ether***0 /進入乙太網口0子配置模式 no shutdown /啟用介面

speed ? /檢視speed命令的子命令speed 100 /設定該埠速率為100mb/sdulplex full/half/auto /設定該埠為全雙工description to_pc1 /設定該埠描述為to_pc1show inte***ce fastether*** 0/1 /檢視埠0/1的配置結果

show inte***ce fastether*** 0/1 status /檢視埠0/1的狀態

2樓:匿名使用者

1、在交換機上啟動qos

switch(config)#mls qos //在交換機上啟動qos

2、分別定義pc1(10.10.1.1)和pc2(10.10.2.1)訪問控制列表

switch(config)#access-list 10 permit 10.10.1.0 0.0.0.255 //控制pc1上行流量

switch(config)#access-list 100 permit any 10.10.1.0 0.0.0.255 //控制pc1下行流量

switch(config)#access-list 11 permit 10.10.2.0 0.0.0.255 //控制pc2上行流量

switch(config)#access-list 111 permit any 10.10.2.0 0.0.0.255 //控制pc2下行流量

3、定義類,並和上面定義的訪問控制列表繫結

switch(config)# class-map user1-up //定義pc1上行的類,並繫結訪問列表10

switch(config-cmap)# match access-group 10

switch(config-cmap)# exit

switch(config)# class-map user2-up

switch(config-cmap)# match access-group 11 //定義pc2上行的類,並繫結訪問列表10

switch(config-cmap)# exit

switch(config)# class-map user1-down

switch(config-cmap)# match access-group 100 //定義pc1下行的類,並繫結訪問列表100

switch(config-cmap)# exit

switch(config)# class-map user2-down

switch(config-cmap)# match access-group 111 //定義pc2下行的類,並繫結訪問列表111

switch(config-cmap)# exit

4、定義策略,把上面定義的類繫結到該策略

switch(config)# policy-map user1-up //定義pc1上行的速率為1m

switch(config-pmap)# class user1-up

switch(config-pmap-c)# trust dscp

switch(config-pmap-c)# police 1024000 1024000 exceed-action drop

switch(config)# policy-map user2-up //定義pc2上行的速率為2m

switch(config-pmap)# class user2-up

switch(config-pmap-c)# trust dscp

switch(config-pmap-c)# police 2048000 1024000 exceed-action drop

switch(config)# policy-map user-down

switch(config-pmap)# class user1-down

switch(config-pmap-c)# trust dscp

switch(config-pmap-c)# police 1024000 1024000 exceed-action drop

switch(config-pmap-c)# exit

switch(config-pmap)# class user2-down

switch(config-pmap-c)# trust dscp

switch(config-pmap-c)# police 2048000 1024000 exceed-action drop

switch(config-pmap-c)# exit

5、在介面上運用策略

switch(config)# inte***ce f0/1

switch(config-if)# service-policy input user1-up

switch(config)# inte***ce f0/2

switch(config-if)# service-policy input user2-up

switch(config)# inte***ce g0/1

switch(config-if)# service-policy input user-down

在路由器的配置介面裡,進入介面配置模式(config-if),裡面可以使用speed 100這樣的命令來指定介面速率

3樓:匿名使用者

在路由器的配置介面裡,進入介面配置模式(config-if),裡面可以使用speed 100這樣的命令來指定介面速率。

4樓:匿名使用者

2960 好像是新出的交換機 查命令上cisco**查 要啥有啥

cisco 2960g交換機的問題。 100

5樓:匿名使用者

(一)使能口令(enable password),口令以明文顯示

使能密碼(enbale secret), 口令以密文顯示

switch.> /*使用者直行模式提示符

Cisco2960G交換機的問題

一 使能口令 enable password 口令以明文顯示 使能密碼 enbale secret 口令以密文顯示 switch.使用者直行模式提示符 請問cisco2960g如何配置埠速率呀?c2950 config if inte ce fastether 0 1 進入介面f0 1子配置模式 i...

以下交換機配置如何實現(CISCO 2960)

你問的應該是裝置基本操作吧 這些配置是通過全域性配置模式做的switch enable 進入使能模式 switch conf t 進入全域性配置模式之後敲你發的如上命令就行了 inte ce x x 會進入介面配置模式 需要敲exit返回全域性配置模式 什麼叫區域網底層交換機的show run引數 ...

魔獸世界太陽G團,請問魔獸世界如何組太陽G團

一般是154 159的裝備,就那幾件,還有很多圖紙。散件的話比t6散件要好,而且裡面有對於賊和法系職業來說最好的遠端 掉的圖紙做出來的東西一般都是魔獸裡同種類裝備等級最高的了 至於裝備 這個真不好說,取決於伺服器的物價團長的手氣還有團隊的消費能力,我見過一把魔脊長槍拍到30000的,也見過出了薩滿手...