交换机配置规范
目录
一、RAISECOM交换机配置...............................................................................................1
1.交换机初始设置......................................................................................................1
2.更改交换机名称......................................................................................................1
3.设置交换机用户名和密码........................................................................................1
4.设置交换机enable密码...........................................................................................1
5.配置交换机IP地址和子网掩码................................................................................1
6.配置交换机网关......................................................................................................1
7.配置交换机SNMP配置............................................................................................2
8.配置交换机端口使用及描述....................................................................................2
9.配置交换机的端口限速...........................................................................................2
10.关闭未使用交换机端口.........................................................................................2
11.保存配置设置.......................................................................................................2
12.例子.....................................................................................................................2
二、GREENNET交换机配置...............................................................................................5
1.交换机初始设置......................................................................................................5
2.更改交换机名称......................................................................................................5
3.设置交换机用户名和密码........................................................................................5
4.配置交换机IP地址、子网掩码和网关.....................................................................5
5.配置交换机SNMP配置............................................................................................5
6.配置交换机端口使用及描述....................................................................................5
7.配置交换机的端口限速...........................................................................................5
8.关闭未使用交换机端口...........................................................................................6
9.保存配置设置.........................................................................................................6
10.例子.....................................................................................................................6
三、华为交换机配置........................................................................................................8
1.交换机初始设置......................................................................................................8
2.更改交换机名称......................................................................................................8
3.设置交换机用户名和密码........................................................................................8
4.设置交换机super密码............................................................................................8
5.配置交换机IP地址和子网掩码................................................................................8
6.配置交换机网关......................................................................................................8
7.配置交换机SNMP配置............................................................................................8
8.配置交换机端口使用及描述....................................................................................8
9.配置交换机的端口限速...........................................................................................9
10.关闭未使用交换机端口.........................................................................................9
11.保存配置设置.......................................................................................................9
12.例子.....................................................................................................................9
一、RAISECOM交换机配置
1.
交换机用户名:raisecom
交换机密码:raisecom
交换机enable密码:raisecom
2.
在全局模式下配置hostname交换机名称 , 如下
Raisecom#hostnameJiaoHuanJiMingCheng
3.
在全局模式下配置username用户名password密码 , 如下
Raisecom#usernameadminpasswordasdfzxcv
4.
在全局模式下配置enablepassword , 回车 , 输入两遍自己项设置的密码 , 如下
Raisecom#enablepassword
Pleaseinputpassword:
Pleaseinputagain:
5.
在全局模式下配置configterminal进入全局配置模式 , 再配置interfaceip0进入逻辑端口模式 , 在配置ipaddressxxx.xxx.xxx.xxxxxx.xxx.xxx.xxx1如下
Raisecom#configterminal
Raisecom(config)#interfaceip0
Raisecom(config-ip)#ipaddress59.108.0.2255.255.255.01
6.
在全局配置模式下配置ipdefault-gatewayxxx.xxx.xxx.xxx , 如下
Raisecom(config)#ipdefault-gateway59.108.0.1
7.
在全局配置模式下配置snmp-servercommunity名称view名称rw
Raisecom(config)#snmp-servercommunityfounderbnviewinternetrw
默认情况下就按上条命令配 。
3A
在全局模式下配置
Raisecom#userloginradius-localserver-no-response
enableloginradius-localserver-no-response
radius59.108.69.35
radius-keyfounderbn
日志
conft
loggingon
logginghost59.108.69.35local7debugging
loggingrate10000
exit
wr
8.
在全局配置模式下配置interfaceport端口号进入端口 ,
在端口模式下配置description端口描述(公司名称-带宽大小) , 如下
Raisecom(config)#interfaceport1
Raisecom(config-ip)#descriptionFangZhengKuanDai-10M
端口描述是用户公司名加该公司带宽大小:
例如:方正科技10M:descriptionFangZhengKuanDai-10M
方正奥德共享2M:descriptionFangZhengAoDe-2M-GX
9.
在全局配置模式下配置rate-limitport-list端口号ingress进流量 ,
rate-limitport-list端口号egress出流量 , 如下
Raisecom(config)#rate-limitport-list1ingress1024
Raisecom(config)#rate-limitport-list1egress1024
端口限速规范:
独享用户是几兆就在交换机端口限几兆
共享用户限速见下表:
共享1M
限256K
共享2M
限512K
共享4M
限768K
共享10M
限1M(1024K)
10.
Raisecom交换机默认状态下物理端口全部开放 , 做完操作后关闭未使用端口 , 进入端口模式下配置shutdown , 如下
Raisecom(config-ip)#shutdown
【交换机配置规范】11.
在全局模式下配置write , 来保存配置的设置 , 如下
Raisecom#write
12.
Systemcurrentconfiguration:
hostnameWangJing-E-1ceng
interfaceport1
descriptionXiaLian-B-5ceng-E0/8
interfaceport2
descriptionHuanTaiZhongKe-2M
interfaceport3
descriptionXiaLian-E-3ceng-E0/8
interfaceport4
descriptionAiNuoXinTai-4M-GX
interfaceport5
descriptionJieHuaShengWu-10M
interfaceport6
descriptionNuoLanTe-2M-GX
Interfaceport7
descriptionShiDaiKaiGe-2M-GX
interfaceport8
descriptionDiLeDongMan-2M-GX
interfaceport9
shutdown
interfaceport10
shutdown
Interfaceport11
shutdown
interfaceport12
shutdown
interfaceport13
shutdown
interfaceport14
shutdown
interfaceport15
shutdown
interfaceport16
descriptionShangLian-NanHu-E0/4
!
!commandinvlanconfigurationmode
!
!commandinipinterfacemode
interfaceip1
ipaddress59.108.41.30255.255.255.2401
!
!commandincluster_mode
!
!commandinconfig_mode
telnet-servermax-session4
rate-limitport-list2ingress2048126
rate-limitport-list2egress2048126
rate-limitport-list4ingress768126
rate-limitport-list4egress768126
rate-limitport-list5ingress10240126
rate-limitport-list5egress10240126
rate-limitport-list6-8ingress512126
rate-limitport-list6-8egress512126
snmp-servercommunityfounderbnviewinternetro
ipdefault-gateway59.108.41.17
三、华为H3C交换机配置
1.
交换机用户名:admin
交换机密码:admin
交换机super密码:无
2.
在普通模式下配置system-view进入系统模式后 , 再配置sysname交换机名称 ,
<Quidway>system-view
[Quidway]sysnameJiaoHuanJiMingCheng
3.
在系统模式下配置local-user用户名 , 回车 , passwordsimple密码 , 如下
[Quidway]local-useradmin
[Quidway-luser-admin]passwordsimpleasdfzxcv
[Quidway-luser-admin]service-typetelnetlevel3
[Quidway]user-interfacevty04
[Quidway-ui-vty0-4]authentication-modescheme
[Quidway-ui-vty0-4]setauthenticationpasswordsimpleasdfzxcv
4.
在系统模式下配置superpasswordsimple密码 , 如下
[Quidway]superpasswordsimpleasdfzxcv
5.
在系统模式下配置interfaceVlan-interfaceVLAN接口号 , 进入VLAN接口模式 , 在配置ipaddressxxx.xxx.xxx.xxxxxx.xxx.xxx.xxx如下
[Quidway]interfaceVlan-interface1
[Quidway-Vlan-interface1]ipaddress59.108.0.2255.255.255.0
6.
在系统模式下配置iproute-static0.0.0.00.0.0.0网关preference60 , 如下
[Quidway]iproute-static0.0.0.00.0.0.059.108.0.1preference60
7.
在系统模式下配置snmp-agentcommunityread名称snmp-agentsys-infoversionall
[Quidway]snmp-agentcommunityreadfounderbn
默认情况下就按上条命令配 。
8.
在系统模式下配置interfaceethernet端口号进入端口 ,
在端口模式下配置description端口描述(公司名称-带宽大小) , 如下
[Quidway]interfaceEthernet0/1
[Quidway-Ethernet0/1]descriptionFangZhengKuanDai-10M
端口描述是用户公司名加该公司带宽大小:
例如:方正科技10M:descriptionFangZhengKuanDai-10M
方正奥德共享2M:descriptionFangZhengAoDe-2M-GX
9.
在端口模式下配置line-rateinbound进流量 , line-rateoutbound出流量 , 如下
[Quidway-Ethernet0/1]line-rateinbound29
[Quidway-Ethernet0/1]line-rateoutbound29
10.
交换机默认状态下物理端口全部开放 , 做完操作后关闭未使用端口 , 进入端口模式下配置shutdown , 如下
[Quidway-Ethernet0/1]shutdown
11.
在普通模式下配置save , 来保存配置的设置 , 如下
<Quidway>save
Thiswillsavetheconfigurationintheflashmemory.
Theswitchconfigurationswillbewrittentoflash.
Areyousure?[Y/N]
按”Y”即可 。
12.
#
sysnameGuoZhong-11ceng-Xi
#
superpasswordlevel3simpleasdfzxcv
#
radiusschemesystem
server-typehuawei
primaryauthentication127.0.0.11645
primaryaccounting127.0.0.11646
user-name-formatwithout-domain
domainsystem
radius-schemesystem
access-limitdisable
stateactive
idle-cutdisable
self-service-urldisable
messengertimedisable
domaindefaultenablesystem
#
local-servernas-ip127.0.0.1keyhuawei
local-useradmin
passwordsimpleasdfzxcv
service-typetelnetlevel1
service-typeftp
#
queue-schedulerwrr1248
#
vlan1
port-isolateenable
#
interfaceVlan-interface1
ipaddress59.108.96.188255.255.255.240
#
interfaceAux0/0
#
interfaceEthernet0/1
shutdown
#
interfaceEthernet0/2
shutdown
#
interfaceEthernet0/3
descriptionKeEnDianTong-2M-GX
shutdown
line-rateinbound8
line-rateoutbound8
#
interfaceEthernet0/4
shutdown
#
interfaceEthernet0/5
descriptionWuYe-1M
line-rateinbound16
line-rateoutbound16
#
interfaceEthernet0/6
shutdown
#
interfaceEthernet0/7
descriptionFenLanLeMuEr-2M-GX
line-rateinbound8
line-rateoutbound8
#
interfaceEthernet0/8
descriptionMoSenBoBuYi-10M-GX
line-rateinbound16
line-rateoutbound16
#
interfaceEthernet0/9
shutdown
#
interfaceEthernet0/10
shutdown
#
interfaceEthernet0/11
shutdown
#
interfaceEthernet0/12
shutdown
#
interfaceEthernet0/13
shutdown
#
interfaceEthernet0/14
shutdown
#
interfaceEthernet0/15
descriptionBoMaJiaShiQi-4M
line-rateinbound31
line-rateoutbound31
#
interfaceEthernet0/16
descriptionShangLian-B1-E0/10
port-isolateuplink-portvlan1
#
interfaceNULL0
#
iproute-static0.0.0.00.0.0.059.108.96.177preference60
#
snmp-agent
snmp-agentlocal-engineid800007DB000FE20132966877
snmp-agentcommunityreadguozhong
snmp-agentsys-infolocationBeiJingChina
snmp-agentsys-infoversionall
#
user-interfaceaux0
authentication-modepassword
setauthenticationpasswordsimpleasdfzxcv
user-interfacevty04
authentication-modescheme
setauthenticationpasswordsimpleasdfzxcv
#

文章图片
推荐阅读
- 眼底病|眼底病成致盲首因,全国人大代表李甦雁:推进眼科疾病的规范化治疗
- 过敏性鼻炎|药师说药|过敏性鼻炎的规范治疗和用药注意
- 囊肿|天坛小儿神外|宫剑:儿童蛛网膜囊肿分流管依赖综合征的天坛诊疗规范
- 高血压|测量方式规范,血压不到140/90,为何仍被诊断为高血压?
- 征兵办|贵州省征兵办、省卫健委联合出台征兵体检操作规范
- 北京越野bj30|定位入门级硬派越野SUV!北京越野BJ30配置曝光
- 2020广州车展探馆:瑞风L6 MAX 将推出4款配置车型
- 提升智能配置/强化空间优势 广州车展实拍解析全新一代名图
- 红米Note9三款系列新机来了!配置全在这,官宣11月26日三剑齐发
- 除了最新技术,还有影像升级?微博大V爆料Find X3配置细节
