思科交换机配置命令 思科交换机配置命令教程
交换机基本状态:hostname>/用户模式hostname#/特权模式hostname(config)#/全局配置模式hostname(config-if)#/接口状态交换机口令设置:switch>enable/进入特权模式switch#configterminal/进入全局配置模式switch(config)#hostname/设置交换机的主机名switch(config)#enablesecretxxx/设置特权加密口令switch(config)#enablepasswordxxa/设置特权非密口令switch(config)#lineconsole0/进入控制台口switch(config-line)#linevty04/进入虚拟终端switch(config-line)#login/允许登录switch(config-line)#passwordxx/设置登录口令xxswitch#exit/返回命令交换机VLAN设置:switch#vlandatabase/进入VLAN设置switch(vlan)#vlan2/建VLAN2switch(vlan)#novlan2/删vlan2switch(config)#intf0/1/进入端口1switch(config-if)#switchportaccessvlan2/当前端口加入vlan2switch(config-if)#switchportmodetrunk/设置为干线switch(config-if)#switchporttrunkallowedvlan1,2/设置允许的vlanswitch(config-if)#switchporttrunkencapdot1q/设置vlan中继switch(config)#vtpdomain/设置发vtp域名switch(config)#vtppassword/设置发vtp密码switch(config)#vtpmodeserver/设置发vtp模式switch(config)#vtpmodeclient/设置发vtp模式交换机设置IP地址:switch(config)#interfacevlan1;进入vlan1switch(config-if)#ipaddress;设置IP地址switch(config)#ipdefault-gateway;设置默认网关switch#dirflash:;查看闪存交换机显示命令:switch#write/保存配置信息switch#showvtp/查看vtp配置信息switch#showrun/查看当前配置信息switch#showvlan/查看vlan配置信息switch#showinterface/查看端口信息switch#showintf0/0/查看指定端口信息补充:3层交换机多出的就是路由能力,体现在vlan的互相通信功能和端口的路由能力下面介绍:开启路由功能:iprouting进入vlan配置网段网关与路由配置接口相同interfacevlan1ip192.168.1.1255.255.255.0路由配置与路由器配置相同只是把接口换为VLAN+VLAN号,开启接口路由功能,进入接口配置:noswichport若有想学习的童鞋,还没有安装模拟的,小编为大家推荐一个下载网址: 更多 0
- 联想小新笔记本装win10系统(重装win10系统教程)
Win7 教程联想小新笔记本装win10系统(重装win10系统教程)
联想小新笔记本装win10系统联想小新系列以其时尚的设计、出色的性能以及高性价比在市场上赢得了广泛的好评。然而,软件不断更新和个人需求的多样化,使得你可能需要对系统进行重装,以恢复电脑的最佳状态。今天,我将指导你为联想小新笔记本重新安装wi
- 有网络怎么重装系统win10(有网络如何重装系统win10)
Win7 教程有网络怎么重装系统win10(有网络如何重装系统win10)
有网络怎么重装系统win10重装系统的方法众多,包括U盘重装和光盘重装等。但是今天要介绍的是利用网络在线重装系统,这种方法更为便捷,只需要一个可靠的网络连接和一个专业的在线重装系统工具,就可以轻松完成整个重装过程。不用担心,工具是免费的。今
- 09-30Win7 教程联想小新笔记本装win10系统(重装win10系统教程)
- 09-30Win7 教程有网络怎么重装系统win10(有网络如何重装系统win10)
- 09-30HarmonyOS教程不进入bios怎么重装win10(不进入bios怎么重装系统)
- 09-30电脑教程不用光盘如何重装系统win7没有光盘怎么重装电脑系统
- 09-30安卓教程清华同方电脑重装系统win7步骤(重装系统win7步骤)
- 09-27Win11 教程win10笔记本重装系统怎么操作 win10笔记本如何重装系统
- 09-27其它教程一键重装win10系统怎么样 重装win10系统怎么操作