交换机配置说明测试机型5928Word文档格式.docx
- 文档编号:13473878
- 上传时间:2022-10-11
- 格式:DOCX
- 页数:6
- 大小:14.92KB
交换机配置说明测试机型5928Word文档格式.docx
《交换机配置说明测试机型5928Word文档格式.docx》由会员分享,可在线阅读,更多相关《交换机配置说明测试机型5928Word文档格式.docx(6页珍藏版)》请在冰豆网上搜索。
vlan1003
nameTO-T64G-B
vlan1011
nameTO-SERVER
vlan1012
nameTO-FINANCE
vlan1013
nameTO-ADMIN
vlan1014
nameTO-HOTEL
Interfaceloopback1//配置交换机回环接口作为交换机的管理地址ipaddress10.0.0.1255.255.255.255//给回环接口配置ip地址
interfacevlan1001//进入vlan接口
ipaddress10.10.60.1255.255.255.252//给vlan接口配置ip
interfacevlan1002
ipaddress10.10.60.6255.255.255.252
interfacevlan1003
ipaddress10.10.60.9255.255.255.252
interfacevlan1011
ipaddress10.10.60.14255.255.255.252
interfacevlan1012
ipaddress10.10.60.18255.255.255.252
interfacevlan1013
ipaddress10.10.60.22255.255.255.252
interfacevlan1014
ipaddress10.10.60.26255.255.255.252
interfacesmartgroup10//启聚合接口
interfacegei_2/1//进入物理接口
negotiationauto
switchportaccessvlan1001//给物理接口绑定vlan!
interfacegei_2/2
switchportaccessvlan1002
interfacegei_2/7
switchportaccessvlan1011
interfacegei_2/8
switchportaccessvlan1012
interfacegei_2/9
switchportaccessvlan1013
interfacegei_2/10
switchportaccessvlan1014
interfacegei_2/11
switchportaccessvlan1003
interfacegei_2/12
interfacegei_2/11//进入接口
smartgroup10modeactive//在接口模式下设聚合模式为主动模式,另外一台配置为被动模式passive
smartgroup10modeactive
interfacesmartgroup10//进入聚合接口
switchportaccessvlan1003//在聚合口绑定vlan
routerospf1//进入ospf配置
notifydefaultroute//通告默认路由
network10.10.60.00.0.0.3area0//发布网段
network10.10.60.40.0.0.3area0
network10.10.60.80.0.0.3area0
network10.10.60.120.0.0.3area0
network10.10.60.160.0.0.3area0
network10.10.60.200.0.0.3area0
network10.10.60.240.0.0.3area0
network10.0.0.10.0.0.0area0
redistributeconnected//重分布直连路由
redistributestatic//重分布静态路由
iproute0.0.0.00.0.0.010.10.60.5//配置默认路由
iproute192.168.88.0255.255.255.010.10.60.2//配置静态路由iproute192.168.90.0255.255.255.010.10.60.2
iproute192.168.113.0255.255.255.010.10.60.2
iproute192.168.150.0255.255.255.010.10.60.2
iproute192.168.182.0255.255.255.010.10.60.2
iproute192.168.183.0255.255.255.010.10.60.2
iproute192.168.190.0255.255.255.010.10.60.2
iproute192.168.194.0255.255.255.010.10.60.2
iproute192.168.195.0255.255.255.010.10.60.2
exit
writer//保存配置
hostname5252-admin//给交换机命名
usernameadminpasswordadmin//配置telnet用户名密码
interfaceloopback1//进入回环接口
ipaddress10.0.0.13255.255.255.255//给接口配置ip地址
vlan1
vlan106
vlan108
vlan109
vlan101
vlan1111
vlan1112
interfacevlan106
ipaddress192.168.106.1255.255.255.0
ipdhcpmoderelay//启用dhcp中继模式
ipdhcprelayagent192.168.106.1//设置dhcp中继代理网关
ipdhcprelayserver192.168.73.80//dhcp中继指向dhcp服务器192.168.73.80!
interfacevlan108
ipaddress192.168.108.1255.255.255.0
ipdhcpmoderelay
ipdhcprelayagent192.168.108.1
ipdhcprelayserver192.168.73.80
interfacevlan109
ipaddress192.168.109.1255.255.255.0
ipdhcprelayagent192.168.109.1
interfacevlan101
ipaddress192.168.101.1255.255.255.0
ipdhcprelayagent192.168.101.1
interfacevlan1
ipaddress172.16.2.1255.255.255.0
interfacevlan1111
ipaddress10.10.60.21255.255.255.252
interfacevlan1112
ipaddress10.10.60.109255.255.255.252
interfacegei_1/1
switchportmodetrunk//接口模式设置为trunk模式
switchporttrunkvlan106,108,109,1,101//接口透传vlan
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 交换机 配置 说明 测试 机型 5928
![提示](https://static.bdocx.com/images/bang_tan.gif)