H3C核心交换机S7506E网络维护手册Word下载.docx
- 文档编号:22252510
- 上传时间:2023-02-03
- 格式:DOCX
- 页数:23
- 大小:129.99KB
H3C核心交换机S7506E网络维护手册Word下载.docx
《H3C核心交换机S7506E网络维护手册Word下载.docx》由会员分享,可在线阅读,更多相关《H3C核心交换机S7506E网络维护手册Word下载.docx(23页珍藏版)》请在冰豆网上搜索。
authorization-attributelevel3/授权admin用户的等级为3,3为最高级
service-typetelnet/授权admin用户的登陆方式,可以为ftp、telnet等
#
telnetserverenable/开启telnet服务
使用电脑连接至交换机:
开始菜单-输入cmd,如下图,输入telnet1.1.44.254,输入用户名密码admin/h3c@123即可登录交换机
1.2交换机加电开机显示
sarting......
*************************************************************
**
*H3CS5510-24PBOOTROM,Version142*
Copyright(c)2004-2008HangzhouH3CTech.Co.,Ltd.
Creationdate:
Mar122008,11:
17:
30
CPUClockSpeed:
200MHz
BUSClockSpeed:
33MHz
MemorySize:
128MB
TheswitchMacis:
000F-E2B1-BD60
PressCtrl-BtoenterBootMenu...10
Auto-booting...
DecompressImage.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK!
Starting...
******************************************************************************
*Copyright(c)2004-2008HangzhouH3CTech.Co.,Ltd.Allrightsreserved.*
*Withouttheowner'
spriorwrittenconsent,*
*nodecompilingorreverse-engineeringshallbeallowed.*
Itwilltakealongtimetogetconfigurationfile,pleasewait...
Startupconfigurationfiledoesnotexist.
Userinterfaceaux0isavailable.
//开机自检过程
1.3交换机常用
PressENTERtogetstarted.
<
H3C>
%Apr2612:
03:
53:
6112000H3CSHELL/4/LOGIN:
Consoleloginfromaux0
sys//进入视图模式
SystemView:
returntoUserViewwithCtrl+Z.
[H3C]
[H3C]sysnameneiwang
//对交换机进行命名
[neiwang]discu
//查看交换机配置
version5.20,Release5303
sysnameneiwang
domaindefaultenablesystem
domainsystem
access-limitdisable
stateactive
idle-cutdisable
self-service-urldisable
interfaceNULL0
interfaceGigabitEthernet1/0/1
interfaceGigabitEthernet1/0/2
interfaceGigabitEthernet1/0/3
interfaceGigabitEthernet1/0/4
interfaceGigabitEthernet1/0/5
interfaceGigabitEthernet1/0/6
interfaceGigabitEthernet1/0/7
interfaceGigabitEthernet1/0/8
interfaceGigabitEthernet1/0/9
interfaceGigabitEthernet1/0/10
interfaceGigabitEthernet1/0/11
interfaceGigabitEthernet1/0/12
interfaceGigabitEthernet1/0/13
interfaceGigabitEthernet1/0/14
interfaceGigabitEthernet1/0/15
interfaceGigabitEthernet1/0/16
interfaceGigabitEthernet1/0/17
interfaceGigabitEthernet1/0/18
interfaceGigabitEthernet1/0/19
interfaceGigabitEthernet1/0/20
interfaceGigabitEthernet1/0/21
interfaceGigabitEthernet1/0/22
interfaceGigabitEthernet1/0/23
interfaceGigabitEthernet1/0/24
interfaceGigabitEthernet1/0/25
shutdown
interfaceGigabitEthernet1/0/26
interfaceGigabitEthernet1/0/27
interfaceGigabitEthernet1/0/28
user-interfaceaux0
user-interfacevty04
return
[neiwang]
[neiwangvlan25
//创建VLAN
[neiwang-vlan25]portGigabitEthernet1/0/1toGigabitEthernet1/0/10
//给VLAN批量添加端口
[neiwang-vlan25]qu//退出VLAN视图
[neiwang]interfacevlan25//进入VLAN接口视图
[neiwang-Vlan-interface25]ipaddress192.168.120.124//给VLAN添加IP地址
[neiwang-Vlan-interface25]qu//退出VLAn接口视图
[neiwang]discu
//再次查看交换机配置,可以看到多了一个VLAN及这个VLAN的IP地址
vlan1
vlan25
interfaceVlan-interface25
ipaddress192.168.120.1255.255.255.0
portaccessvlan25
[neiwang]telnetserverenable
%StartTelnetserver
//下面是为交换机添加一个新用户操作
[neiwang]local-useradmin//添加新用户
Newlocaluseradded.
[neiwang-luser-admin]pasinadmin//为新用户设置密码
[neiwang-luser-admin]service-typetelnetlevel3//为新用户设置服务及权限
[neiwang-luser-admin]qu
//下面为该用户配置telnet服务
[neiwang]user-interfacevty?
INTEGER<
0-4>
Firstuserterminalinterfacenumbertobeconfigured
[neiwang]user-interfacevty04//进入telnet视图模式
[neiwang-ui-vty0-4]authentication-modescheme?
//认证模式设置
noneLoginwithoutchecking
passwordAuthenticationusepasswordofuserterminalinterface
schemeAuthenticationuseAAA
[neiwang-ui-vty0-4]authentication-modes
[neiwang-ui-vty0-4]authentication-modescheme//设备认证模式为用户名密码
[neiwang-ui-vty0-4]qu
[neiwang]telnetserverenable//开启telnet服务
[neiwang]save?
STRINGThenameofspecificfile(*.cfg)
safelySavecurrentconfigurationsafely
<
cr>
[neiwang]saves
[neiwang]savesafely//保存交换机设置,以防断电交换机配置丢失
[neiwang]saves?
save
sftp
shutdown-interval
snmp-agent
ssh
ssl
stp
super
switch-mode
sysname
[neiwang]savesafely
Thecurrentconfigurationwillbewrittentothedevice.Areyousure?
[Y/N]:
y
Pleaseinputthefilename(*.cfg)[flash:
/startup.cfg]
(Toleavetheexistingfilenameunchanged,presstheenterkey):
Validatingfile.Pleasewait...
Nowsavingcurrentconfigurationtothedevice.
Savingconfigurationflash:
/startup.cfg.Pleasewait...
.................
Configurationissavedtoflashsuccessfully.
[neiwang]qu
neiwang>
save
n
sys
DHCPSnoopingwasenabled.
//下面为对VLAN及端口增加删除进行操作
先输入sys进入全局模式,必须输,然后输命令前面字母按TAB
[neiwang]int
[neiwang]interfaceg
[neiwang]interfaceGigabitEthernet1/0/15//进入交换机端口模式
[neiwang-GigabitEthernet1/0/15]portacc
[neiwang-GigabitEthernet1/0/15]portaccessvlan25//单一端口添加到VLAN
[neiwang-GigabitEthernet1/0/15]portaccessvlan26//如果VLAN没有创建,提示如下
Error:
ThisVLANdoesnotexist.
[neiwang-GigabitEthernet1/0/15]qu
[neiwang]vlan26
[neiwang-vlan26]
[neiwang-GigabitEthernet1/0/15]portaccessvlan26
//下面为对单一端口属性进行设置
[neiwang]intg1/0/25
[neiwang-GigabitEthernet1/0/25]sp
[neiwang-GigabitEthernet1/0/25]speed1000//把25号端口强制为1000M
[neiwang-GigabitEthernet1/0/25]du
[neiwang-GigabitEthernet1/0/25]duplexful
[neiwang-GigabitEthernet1/0/25]duplexfull//把25号端口强制为全双工
[neiwang-GigabitEthernet1/0/25]port
[neiwang-GigabitEthernet1/0/25]portlink-t
[neiwang-GigabitEthernet1/0/25]portlink-type?
accessAccesslink-type
hybridHybridVLANlink-type
trunkVLANTrunklink-type
[neiwang-GigabitEthernet1/0/25]portlink-typetr
[neiwang-GigabitEthernet1/0/25]portlink-typetrunk//定义该端口为trunk属性
[neiwang-GigabitEthernet1/0/25]porttrunkpermitall?
^
%Unrecognizedcommandfoundat'
^'
position.
//允许所有VLAN通过该端口
1-4094>
VLANID
allAlltheVLANs
[neiwang-GigabitEthernet1/0/25]porttrunkpermitvlanall?
[neiwang-GigabitEthernet1/0/25]porttrunkpermitvlanall
Pleasewait...........Done.
[neiwang-GigabitEthernet1/0/25]undoportlink-type//取消该端口属性前面加undo
[neiwang-GigabitEthernet1/0/25]speed?
10Specifyspeedofcurrentport10Mb/s
100Specifyspeedofcurrentport100Mb/s
1000Specifyspeedofcurrentport1000Mb/s
autoEnabl
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- H3C 核心 交换机 S7506E 网络 维护 手册
![提示](https://static.bdocx.com/images/bang_tan.gif)