H3C認證:H3C認證培訓體系充分考慮客戶不同層次的需求,致力於為全球客戶提供全面、專業、權威的網路技術認證培訓。下面是小編整理的關於H3C配置三層交換機4個步驟詳細解析,歡迎大家參考!
language-modechinese//切換到中文模式
system-view//進入系統檢視
[H3C]displaycurrent-configuration//顯示當前配置三層交換機
//以下開始配置三層交換機
配置三層交換機第一步:劃分VLAN,並描述
vlan1
description local-s3600//本交換機使用
#
vlan2
description link-to-shanxicentre//陝西省中心
#
vlan3
description link-to-shangjiecentre//商界分中心內部使用
#
vlan4
description link-to-shangdongsuo//商東所
#
vlan5
description link-to-shangnansuo//商南所
配置三層交換機第二步:給VLAN劃閘道器
#
interfaceVlan-interface2
description linktoshanxicentre
ipaddress /省中心指定廣域閘道器、子網掩碼
#
interfaceVlan-interface3
description linktoshangjiecentre
ipaddress /商界分中心區域網關、子網掩碼
#
interfaceVlan-interface4
description linktoshangdongsuo
ipaddress /商東所廣域閘道器、子網掩碼
#
interfaceVlan-interface5
description linktoshangnansuo
ipaddress /商南所廣域閘道器、子網掩碼
配置三層交換機第三步:給VLAN指定埠
#
interfaceEthernet1/0/2//將交換機的埠2指定給省中心使用
description linktoshanxicentre
port access vlan2
#
interfaceEthernet1/0/15-24//將交換機的埠15-24指定給分中心內部使用
description linktoshangjiecentre
port access vlan3
#
interfaceEthernet1/0/3//將交換機的'埠3指定給商東所使用
description linktoshangdongsuo
port access vlan4
#
interfaceEthernet1/0/4//將交換機的埠4指定給商南所使用
description linktoshangnansuo
portaccessvlan5
配置三層交換機第四步:配置路由協議
//配靜態路由(只用對遠端裝置配一條路由即可,本地自通)
iproute /指定所有網段到商東所的路由
//配置三層交換機商東所的反向路由
iproute
iproute
//配置三層交換機商南所的反向路由
iproute
iproute
//省中心配置三層交換機:
iproute /商東所242.114和商南所242.118共屬的242.0指向分中心閘道器
iproute /分中心內部網段指向分中心閘道器 //iproute
//iproute
//iproute