欢迎来到天天文库
浏览记录
ID:1773378
大小:40.00 KB
页数:5页
时间:2017-11-13
《锐捷交换机简单命令》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、不知道英文单词的知道前面一点的就按TAB例如ena在按TAB就会出现enable如果你要知道下一命令相关的操作请按?会给你提示用户模式enable配置模式configure必须在用户模式上看看交换机所有的配置showrunning-config服务器上交换机提供的地址,用来分配给下面的电脑,可以说是网关configureconfigure?ip?default-gateway?服务器给的地址27.59.112.1?问号前面有空格看到这个意思就可以回车end退出到用户模式exit退出上一步然后用showrunn
2、ning-config查看配置VLAN1局域网的意思进入配置模式configure进端口interface?显示可以进入的端口FastEthernet快速以太网GigabitEthernet千兆网口Loopback虚拟接口Vlan进入局域网vlan1进入一局域网ip?设置IP相关的东西address?A.B.C.DIPaddress(配置IP地址,vlan1局域网的地址)dhcpIPAddressviaDHCP(自动分配地址的功能,相当路由器自动获取,前提有服务器接入)#ipaddress27.59.112.254?
3、A.B.C.DIPsubnetmask(IP地址的掩码)关于修改密码进入配置模式configure输入enable配置交换机相关信息enable?passwordAssigntheprivilegedlevelpassword密码?端口和IP地址以及MAC地址绑定configure?hostname修改名字进入端口interface?FastEthernetFastIEEE802.3百兆端口(快速以太网口)GigabitEthernetGbyteEthernetinterface千兆端口#showinterfaces
4、fastEthernet0/?<1-24>FastEthernetportnumber查看端口信息,显示的是百兆的端口Ruijie(config)#interfacefastEthernet0/4进入4号端口Ruijie(config-if-FastEthernet0/4)#switchport配置端口模式#switchportport-security绑定地址agingPort-securityagingcommandsip-addressSecureipaddress绑定IP地址mac-addressSecure
5、macaddress绑定MAC地址maximumMaxsecureaddrsviolationSecurityViolationMode先MAC地址再进行IP地址绑定#switchportport-securitymac-address输入MAC地址H.H.H48-bithardwareaddress0022.1510.278c0022.1510.278c?ip-addressSecureipaddressip-address?A.B.C.DIPaddressip地址switchportport-securi
6、ty撤销IP和MAC的相关设置Ruijie(config-if-FastEthernet0/4)#noswitchportport-securitynoswitchportport-securitymac-address0022.1510.278cip-address27.59.112.88Ruijie#copy?保存flash:Copyfromflash:filesystem里面操作系统的版本running-configCopyfromcurrentsystemconfiguration保存配置startup-co
7、nfigCopyfromstartupconfigurationtftp:Copyfromtftp:filesystem把下面PC的相关的配置发送到交换机(前提必须有TFTP服务器)xmodem:Copyfromxmodem:filesystemRuijie(config)#interfacerangefastEthernet0/7?,Comma-HyphenRuijie(config)#interfacerangefastEthernet0/7-?<1-24>FastEthernetportnumberRu
8、ijie(config)#interfacerangefastEthernet0/7-24?,CommaRuijie#copyrunning-configstartup-config保存相关配置Ruijie(config)#interfacerangefastEthernet0/7-24Ruijie(config-if-range)#说
此文档下载收益归作者所有