華爲 Quidway LS-S2116-SI 兩層交換機的配置

 

  華爲 Quidway LS-S2116-SI 兩層交換機是華爲公司比較低端的 100M 網絡交換接入設備,用作前端的業務接入,在 4M 速率的 MSTP 電路下要保證金融網、綜合網、視頻監控網和辦公網四種業務的穩定高效的傳輸,特別是在網絡阻塞的情況下需要保證金融網及綜合網兩種關鍵業務數據的正常傳輸。需要做如下配置:

1、劃分vlan,以隔離四種業務,保證網絡之間不能互相訪問;
2、設置 QOS 隊列調度,以保證關鍵業務優先傳輸
3、設置以太網口參數:
  (1)、指定端口vlan,
  (2)、端口降速爲 10M,
  (3)、指定端口傳輸的優先級別,有高到底爲:金融網(7)>綜合網(5)>監控網(3)>辦公網(1),
  (4)、抑制廣播風暴
4、端口限速(zhw:512K、jrw:512K、jkr:2M、bgw:512K),由於 S2116 交換機不支持,因此忽略。

具體配置如下:

system-view
#
 sysname hejiang
#
priority-trust cos
#
queue-scheduler wrr 2 4 6 8
#
vlan 3101
 description zhw
#
vlan 3102
 description jrw
#
vlan 3103
 description bgw
#
vlan 3333
 description jkw
#
interface Ethernet0/1
 description to_zhw_lan
 port access vlan 3101
 priority 5
 speed 10
 broadcast-suppression 10
#                                        
interface Ethernet0/2
 description to_zhw_lan
 port access vlan 3101
 speed 10
 broadcast-suppression 10
 priority 5
#
interface Ethernet0/3
 description to_zhw_lan
 port access vlan 3101
 speed 10
 broadcast-suppression 10
 priority 5
#
interface Ethernet0/4
 description to_zhw_lan
 port access vlan 3101
 speed 10
 broadcast-suppression 10
 priority 5
#
interface Ethernet0/5
 description to_jrw_lan
 port access vlan 3102
 speed 10
 broadcast-suppression 10
 priority 7
#
interface Ethernet0/6
 description to_jrw_lan
 port access vlan 3102
 speed 10
 broadcast-suppression 10
 priority 7
#
interface Ethernet0/7
 description to_jrw_lan                  
 port access vlan 3102
 speed 10
 priority 7
 broadcast-suppression 10
#
interface Ethernet0/8
 description to_jrw_lan
 port access vlan 3102
 speed 10
 broadcast-suppression 10
 priority 7
#
interface Ethernet0/9
 description to_bgw_lan                  
 port access vlan 3103
 speed 10
 broadcast-suppression 10
 priority 1
#
interface Ethernet0/10
 description to_bgw_lan                  
 port access vlan 3103
 speed 10
 broadcast-suppression 10
 priority 1
#
interface Ethernet0/11
 description to_jkw_lan
 port access vlan 3333
 speed 10
 broadcast-suppression 10
 priority 3
#
interface Ethernet0/12
 description to_jkw_lan
 port access vlan 3333
 speed 10
 broadcast-suppression 10
 priority 3
#
interface Ethernet0/15
 description up_to_mmjf
 port link-type trunk
 port trunk permit vlan all
#
interface Ethernet0/16
 description up_to_mmjf
 port link-type trunk
 port trunk permit vlan all
#
user-interface aux 0
 authentication-mode password
 set authentication password cipher hejiang


【命令說明】
1、進入系統試圖
system-view

2、配置機器名
sysname hejiang

3、設置交換機信任報文的優先級方式,cos 或者 dscp
priority-trust cos

4、設置QOS隊列調度,優先級0~1爲隊列1,優先級2~3爲隊列2,優先級4~5爲隊列3,優先級6~7爲隊列4
queue-scheduler wrr 2 4 6 8

5、創建vlan
vlan 3101

6、指定以太網端口訪問的vlan
port access vlan 3101

7、設置以太網端口優先級,值爲0~7,優先級由低到高
priority 5

8、指定以太網端口傳輸速率
speed 10

9、設置以太網端口通過廣播報文的限值,一般爲10~20%即可
broadcast-suppression 10

10、指定端口連接類型爲 trunk
port link-type trunk

11、指定允許通過的vlan,all爲全部vlan
port trunk permit vlan all

12、設置vlan、端口的描述字串
description 英文字串

13、設置認證方式爲密碼驗證方式
authentication-mode password

14、設置登陸驗證的password爲加密密碼爲hejiang
set authentication password cipher hejiang

設置爲明文密碼:
set authentication password simple hejiang

15、恢復出廠配置
reset saved-configuration

16、退出
quit

17、保存
save

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章