神州数码交换机路由器配置命令

神州数码交换机路由器配置命令

ID:14286089

大小:797.50 KB

页数:13页

时间:2018-07-27

神州数码交换机路由器配置命令_第1页
神州数码交换机路由器配置命令_第2页
神州数码交换机路由器配置命令_第3页
神州数码交换机路由器配置命令_第4页
神州数码交换机路由器配置命令_第5页
资源描述:

《神州数码交换机路由器配置命令》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、神州数码交换机配置命令Telnet远程Shell管理•设置交换机IP地址–Switch(config)#interfacevlan1–Switch(config-If-Vlan1)#ipaddress10.1.1.1255.255.255.0–Switch(config-If-Vlan1)#noshutdown•交换机设置Telnet授权用户和口令;若交换机没有设置授权Telnet用户,则任何用户都无法进入交换机的CLI配置界面。–Switch(config)#telnet-usertestpassword0testHTTP远程图形管理•

2、设置交换机IP地址–Switch(config)#interfacevlan1–Switch(config-If-Vlan1)#ipaddress10.1.1.1255.255.255.0–Switch(config-If-Vlan1)#noshutdown•交换机启动HTTPServer功能–Switch(config)#iphttpserver•交换机设置Web授权用户和口令;若交换机没有设置授权Web用户,则任何用户都无法进入交换机的Web配置界面。–Switch(config)#web-usertestpassword0testS

3、SH配置•Switch(Config)#ssh-usertestpassword0test•Switch(Config)#ssh-serverenableVLAN的基本配置•划分VLAN100和VLAN200,并加入端口;–Switch(Config)#vlan100–Switch(Config-Vlan100)#switchportinterfacee0/0/1-5–Switch(Config)#vlan200–Switch(Config-Vlan200)#switchportinterfacee0/0/6-10•配置0/0/24端口为

4、级联端口–Switch(Config)#interfaceethernet0/0/24–Switch(Config-ethernet0/0/24)#switchportmodetrunk–switchporttrunkallowedvlan100;200–/#Trunk端口缺省允许通过所有VLAN;用户可以通过上述命令设置哪些VLAN的流量可以通过Trunk口,没有包含的VLAN流量则被禁止。•察看配置:showvlan利用三层交换机实现VLAN间路由•为VLAN接口设置IP地址;–Switch(Config)#interfacevlan

5、100–Switch(Config-If-Vlan100)#ipaddress192.168.1.1255.255.255.0–Switch(Config)#interfacevlan200–Switch(Config-If-Vlan200)#ipaddress192.168.2.1255.255.255.0Switch-1的配置•hostnameSwitch-1•interfaceethernet0/0/1-2–port-group1modeon•vlan100–switchportinterfaceethernet0/0/16-20•

6、vlan200–switchportinterfaceethernet0/0/6-10•vlan300–switchportinterfaceethernet0/0/11-15•interfaceport-channel1–switchportmodetrunk–switchporttrunkallowedvlan100;200;300Switch-2的配置•hostnameSwitch-2•interfaceethernet0/0/1-2–port-group2modeon•vlan100–switchportinterfaceethe

7、rnet0/0/16-20•vlan200–switchportinterfaceethernet0/0/6-10•vlan400–switchportinterfaceethernet0/0/11-15•interfaceport-channel2–switchportmodetrunk–switchporttrunkallowedvlan100;200;400Switch的二层配置•interfaceethernet0/0/1-2–port-group1modeon•interfaceethernet0/0/3-4–port-grou

8、p2modeon•vlan100•vlan200•vlan300•vlan400•vlan500–switchportinterfaceethernet0/0/11-15•interfacep

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。