交换机配置(瑞斯康达)
时间:2025-07-08
时间:2025-07-08
瑞斯康达2026配置:
############################################################ # # # Welcome to ROS # # # # Press 'RETURN' to connect and config this system # # # ############################################################
ROS Version 3.7.1041.ISCOM2026.66.20080526. on ISCOM2026
Login:raisecom *输入账号*
Password: *输入密码*
Hello, Welcome to Raisecom Switch Operating System(ROS) software .
Copyright (c) 2004-2006 Raisecom Technology Co., Ltd .
Raisecom>enable *输入enable进入特权模式*
Password: *输入enable密码*
Raisecom#config t *输入config t进入全局配置模式*
Configuration mode, one command input per times. End with CTRL-Z.
CONFIG-I:Configured from console ...
Raisecom(config)#create vlan 200,300,500 active *创建vlan200 300 500* Create successfully
Raisecom(config)#no vlan 500 *删除vlan 500*
Raisecom(config)#create vlan 255 act *创建vlan 255*
Create successfully
Raisecom(config)#inter ip 0 *进入IP配置接口*
Raisecom(config-ip)#ip add 10.10.10.10 255.255.255.0 255
*配置管理IP为10.10.10.10,对应管理vlan为255*
Set successfully
Raisecom(config-ip)#exit *退出IP配置接口,进入全局配置模式* Raisecom(config)#ip default-gateway 10.10.10.1
*配置默认网关为10.10.10.1*
Set successfully
Raisecom(config)#inter port 10 *进入端口10*
Raisecom(config-port)#switchport access vlan 600
*将端口10加入到VLAN 600中*
Set successfully
Raisecom(config-port)#exit *退出端口配置模式,进入全局配置模式* Raisecom(config)#inter port 20 *进入端口20*
Raisecom(config-port)#switch mode trunk
*将端口20模式设置为trunk模式*
Set successfully
Raisecom(config-port)#swi trunk allowed vlan 280,290,303,404 confirm
*允许vlan 280 290 303 404这些vlan通过端口20*
Set successfully
Raisecom(config-port)# exit *退出端口配置模式,进入全局配置模式* Raisecom(config)#create vlan 280,290,303,404 active
*必须添加这四个VLAN,“允许他们通过端口20”这条命令才有意义* Create successfully
Raisecom(config)#inter port 15 *进入端口15*
Raisecom(config-port)#speed 10 *强制端口15速率为10M*
Set successfully
Raisecom(config-port)#duplex half *强制端口15工作模式为半双工*
Set successfully
Raisecom(config-port)#end *退出端口配置模式,进入特权模式* Raisecom#user name dianxin pass 123 *添加账号dianxin,密码是123*
Set successfully
Raisecom#enable pass *设置进入特权模式时需要输入的密码 Please input password: *输入新密码*
Please input again: *重新输入一次*
Set successfully
Login:dianxin *输入账号*
Password: *输入密码*
Hello, Welcome to Raisecom Switch Operating System(ROS) software .
Copyright (c) 2004-2006 Raisecom Technology Co., Ltd .
Raisecom>enable *输入enable进入特权模式*
Password: *输入enable密码*
Raisecom#no user raisecom *删除账号raisecom*
Delete successfully
Raisecom#write *别忘记存储!!!!*
注意:如果用raisecom账号登陆进入交换机,是不能删除raisecom账号的;只有使用其他账号登陆,才可以删除。
…… 此处隐藏:445字,全部文档内容请下载后查看。喜欢就下载吧 ……