3550交换机可行配置方案

本文介绍了3550交换机的配置方案,包括启用IP路由和配置默认网关,以实现网络通讯。通过3550(config)#ip routing开启路由功能,并设置3550(config)#ip route 0.0.0.0 0.0.0.0 192.168.2.1作为默认网关。
摘要由CSDN通过智能技术生成
3550交换机可行配置方案

一,    网络简要拓扑图


     
二,    配置交换机
1,    将串口-网口线的串口端与PC机的串口接好,网口端与交换机后面的control接口接连,接上电源,启动交换机
2,    打开超级终端(2003下面用SecureCRT),配置,9600/8/n/1
3,    先恢复出厂配置,防止以前的配置文件影响现在的配置,操作过程及命令如下:
Switch>en   #进入特权模式
Switch# erase nvram  #恢复出厂命令,后面的提示,只是默认即可,如果提示是否保存,则保存
Switch#reload        #重启交换机

在特权模式下,这几条命令也是可以恢复出厂配置的:
Switch#delete config.text
Switch#delete private-config.text
Switch#delete vlan.dat
Switch#reload
4,    交换机基础配置:
Switch>
Switch>enable
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#host 3550
3550(config)#no ip do lo   #这一句可能提示不成功,但不影响后面的结果,可以省略
3550(config)#line con 0
3550(config-line)#no exec-t
3550(config-line)#logg syn
3550(config-line)#exit

5,    配置端口2:用端口2作路由转发端口,该端口直接与网段192.168.2.0连接。
               从2层交换机接线,因为路由器给网段192.168.2.0分配的DHCP池是从192.168.2.100-192.168.2.199,其他的都是静态分配。
路由器的网关是192.168.2.1  255.255.255.0
因此,给
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
mch_1(config)# hlink con Harbour(HLINK-ROOT)# config Config system's setting copy Copy system's information create Create setting delete Delete setting download Download file for H.Link configuration information erase Erase H.Link Configuration on Flash exit Exit current mode help Description of the interactive help system list Print command list save Save H.Link configuration show Show running system information synchronize Synchronize device configuration update Update remote systems upload Upload file for H.Link configuration information Harbour(HLINK-ROOT)#sh topo Format: (RcvPort) DevName #Uplink DevType -------------------------------------------------------- Server ├ (4) 00053b2d1277 #16 u1016v2 ├ (2) 00053b2d1254 #16 u1016v2 ├ (5) 00053b2d1275 #16 u1016v2 └ (3) 00053b2d125c #16 u1016v2 Harbour(HLINK-ROOT)#sh dev Device Name Device MAC User Name Device Type Recv Port ------------------------------------------------------------------------------- 00053b2d1277 00:05:3b:2d:12:77 user u1016v2 4 00053b2d1254 00:05:3b:2d:12:54 user u1016v2 2 00053b2d1275 00:05:3b:2d:12:75 user u1016v2 5 00053b2d125c 00:05:3b:2d:12:5c user u1016v2 3 mch_1(config)# sh run !HammerOS system config file----------------------------------- hostname mch_1 !Syslog config ! !port config config port 24 auto off config port 24 duplex full config port 24 speed 100 ! !vlan config config ipaddress 218.3.220.236 255.255.255.0 create vlan manage config vlan manage tag 2007 config vlan manage add port 24 tagged create vlan user config vlan user tag 2046 config vlan user console disable config vlan user add port 24 tagged config vlan user add port 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21 22,23 untagged config vlan user inputport 1 config vlan user inputport 2 config vlan user inputport 3 config vlan user inputport 4 config vlan user inputport 5 config vlan user inputport 6 config vlan user inputport 7 config vlan user inputport 8 config vlan user inputport 9 config vlan user inputport 10 config vlan user inputport 11 config vlan user inputport 12 config vlan user inputport 13 config vlan user inputport 14 config vlan user inputport 15 config vlan user inputport 16 config vlan user inputport 17 config vlan user inputport 18 config vlan user inputport 19 config vlan user inputport 20 config vlan user inputport 21 config vlan user inputport 22 config vlan user inputport 23 ! !address table entry config ! !spanning tree config ! !igmp snooping ! This implementation conforms to RFC2236 ! RFC1112 Compatibility !Igmp Snooping Process not enabled ! !Arp config ! !Mac limit ! !Traceroute config ! !Dot1x config ! !Port bind config ! !RADIUS client config ! !Sntp config ! !Timezone config ! !usermanage config user add admin login-password b58317da28dc92ba6c5509c317c633b8 user role admin ADMIN enable-password b58317da28dc92ba6c5509c317c633b8 ! !snmp config service snmp enable ! !web manage service config ! !iproute config ip route 0.0.0.0 0.0.0.0 218.3.220.1 ! !H.Link config hlink start ! !Network access-control service config ! !lldp config ! !end of config 工程兵配置模板 HOST GCB_1 creat vlan management tag 2020 config vlan management add port 24 tag config ip 218.3.238.167/24 config vcn up 24 tag ba 27(用户vlan第一个) con po 1-23 au off con po 1-23 sp 10 con po 1-23 du full ser snmp en ip rou 0.0.0.0 0.0.0.0 218.3.238.1 save con
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值