欢迎来到天天文库
浏览记录
ID:39552326
大小:22.50 KB
页数:3页
时间:2019-07-06
《关于思科3550交换机》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、envlandata 创建vlan,name后面为vlan信息描述vlan22namejishubuvlan31nameguanlibuvlan41nameguanlibuappexitconfthostn3550intvlan1 为每个vlan创建ip地址(每个vlan内机器的网关)ipadd192.168.1.254255.255.255.0noshutexitintvlan22ipadd192.168.22.254255.255.255.0noshutexitintvlan3
2、1ipadd192.168.31.254255.255.255.0noshutexitintvlan41ipadd192.168.41.254255.255.255.0noshutexitspanning-treemodepvst 生成树协议spanning-treeextendsystem-idintf0/1 配置生成树协议,将端口划到相应vlanspanning-treeportfast switchportaccessvlan22noshutexitintf0/2switchpo
3、rtaccessvlan22spanning-treeportfastnoshutexitintf0/3spanning-treeportfastswitchportaccessvlan22noshutexitintf0/4spanning-treeportfastswitchportaccessvlan22noshutexitintf0/5spanning-treeportfastswitchportaccessvlan31noshutexitintf0/6spanning-treeportfastswitchportacce
4、ssvlan31noshutexitintf0/7spanning-treeportfastswitchportaccessvlan31noshutexitintf0/8spanning-treeportfastswitchportaccessvlan31noshutexitintf0/9spanning-treeportfastswitchportaccessvlan41noshutexitintf0/10spanning-treeportfastswitchportaccessvlan41noshutexitintf0/11
5、spanning-treeportfastswitchportaccessvlan41noshutexitintf0/12spanning-treeportfastswitchportaccessvlan41noshutexitenablepass123456 密码设置enablesec456789servicepassword-encryptionlinevty04loginpassw 789access-class10in 应用访问列表控制telnet访问exitaccess-list10permit
6、192.168.1.1access-list10permit192.168.22.1access-list50deny any(不加也可以,默认有)noiphttpserver 关闭相应服务noservicepadiprouting 开启3层交换iproute0.0.0.00.0.0.0192.168.0.254设置默认路由wr 保存配置
此文档下载收益归作者所有