Cisco2960G交換機的問題

2021-03-04 08:55:58 字數 3200 閱讀 9619

1樓:匿名使用者

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

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

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

請問cisco2960g如何配置埠速率呀?

2樓:網管愛好者

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的狀態

3樓:匿名使用者

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這樣的命令來指定介面速率

4樓:匿名使用者

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

5樓:匿名使用者

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

cisco 2960g交換機記憶體利用率過高,誰能指導下怎麼排查啊?

6樓:匿名使用者

show processes memory或者show processes察看哪些佔用高吧

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

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

請問cisco2960g如何配置埠速率呀

c2950 config if inte ce fastether 0 1 進入介面f0 1子配置模式 inte ce ether 0 進入乙太網口0子配置模式 no shutdown 啟用介面 speed 檢視speed命令的子命令speed 100 設定該埠速率為100mb sdulplex f...

cisco3560交換機作為核心交換機怎麼控制Vlan訪問

這個有多種實施方案,最簡單的一種是思科交換機的埠特性protected int f0 1 switchport protected 將你所有不像通訊的埠也就是非伺服器區的埠都敲上這個命令,這樣帶這個命令的埠就只能與不帶這個命令的埠通訊了,而protect埠與protect埠不能通訊。其實還可以用pv...