锐捷交换机基本配置命令
锐捷交换机,忘记colsole口的en密码,重启交换机,立即按ctrl+c,进入bootloader 菜单,再按ctrl+q,然后输入命令:main_config_password_clear,回车,即可进入交换机软件系统,不需要en密码,但重启后就会要求输入密码。用此种方式进入配置界面,更改密码。
hostname SW 更改设备名称为SW
======================================= username adminhttp privilege 15 web-auth pwd-modify password asdsdff@2023 增加一个用户用于网页登录 enable service web-server http enable service web-server https webmaster level 0 username admin password ruijie@123 webmaster level 1 username adminhttp password asdsdff@2023
service dhcp 开启dhcp服务
======================================= ip dhcp pool 1F lease 0 0 40 network 172.16.101.0 255.255.255.0 dns-server 202.99.160.68 202.99.166.4 default-router 172.16.101.254 配置dhcp地址池的操作
vlan range 1,10,100-104 设置vlan
======================================= interface GigabitEthernet 0/1 no switchport ip address 10.10.10.3 255.255.255.0 设置端口为三层口,并配置ip地址
======================================= interface GigabitEthernet 0/2 description 2F Zhuxian switchport access vlan 102 端口加入vlan,端口描述
======================================= interface VLAN 100 ip address 172.16.0.254 255.255.255.0 设置vlan虚拟接口,并配置ip地址
======================================= ip route 0.0.0.0 0.0.0.0 10.10.10.1 设置静态路由
show vlan 显示vlan信息文章来源:https://www.toymoban.com/news/detail-513082.html
show ip interface brief 显示端口IP地址信息文章来源地址https://www.toymoban.com/news/detail-513082.html
到了这里,关于锐捷交换机基本配置命令的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!