.新设备建一个VLANRuijieen用户模式Ruijie#config特权模式Enter configuration commands, one per line. End with CNTL/Z.Ruijie(config)#hostname shiyan更改设备用户名shiyan(config)#en secret xtlt加密密码shiyan(config)#line vty 0 4 设置虚拟终端的个数shiyan(config-line)#password xtlt登陆密码shiyan(config-line)#vlan 50设VLAN 50shiyan(config-vlan)#name ceshi设名子shiyan(config-vlan)#exitshiyan(config)#interface fastethernet0/22进入22口shiyan(config-if)#switchport access vlan 50将22口加入VLAN 50shiyan(config)