2022年锐捷交换机VLAN配置归纳 .pdf
《2022年锐捷交换机VLAN配置归纳 .pdf》由会员分享,可在线阅读,更多相关《2022年锐捷交换机VLAN配置归纳 .pdf(7页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、新设备建一个VLAN Ruijieen 用户模式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 50 shiyan(confi
2、g-vlan)#name ceshi 设名子shiyan(config-vlan)#exit shiyan(config)#interface fastethernet0/22 进入 22 口shiyan(config-if)#switchport access vlan 50 将 22 口加入 VLAN 50 shiyan(config)#interface fastethernet0/23 进入 23 口shiyan(config-if)#switchport access vlan 50 将 22 口加入 VLAN 50 Ruijie(config-if)#no switchport a
3、ccess vlan 将 22 口删除 VLAN 50 shiyan(config-if)#interface vlan 50 进入 VLAN 50 端口shiyan(config-if)#*Feb 18 08:29:52: %LINEPROTO-5-UPDOWN: Line protocol on Interf ace VLAN 50, changed state to up shiyan(config-if)#ip add 192.168.1.1 255.255.255.0 设 VLAN 50 IP Ruijie#write 写入设置系统时间shiyanen Password: shiya
4、n#clock set 12:40:40 2 18 2009 设置系统时间shiyan#sh clock 显示系统时间Clock: 2009-2-18 12:40:59 shiyan# 系统重启设置shiyan#reload in 2 test 2 分钟后重启System will reload in 120 seconds. Ruijie#reload at 13:8 2 18 2009 newyear 在 2008 2 18 13: 8 分重启System will reload in 181 seconds. Ruijie#reload cancel 取消重启计划配置信息Ruijieen
5、 Ruijie#sh version 查看系统版本信息System description : Ruijie Gigabit Routing Switch(S3750-24) 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 1 页,共 7 页 - - - - - - - - - By Ruijie Netw ork System start time : 2009-2-18 13:8:50 System hardware version : 1.50 System software
6、version : RGNOS 10.2.00(3), Release(39231) System boot version : 10.2.34077 System CTRL version : 10.2.38550 System serial number : 1234942570126 Module information: Device-1 Hardware version : 1.5 Software version : RGNOS 10.2.00(3), Release(39231) BOOT version : 10.2.34077 CTRL version : 10.2.3855
7、0 Serial Number : 1234942570126 Ruijie#sh version devices 当前的设备信息Device Slots Description - - - 1 1 RG-S3750-24 向 VLAN 分配 ACCESS 口Ruijie(config)#interface fastethernet0/22 进入 22 口配置Ruijie(config-if)#switchport mode access 将口配成二层ACCESS 口Ruijie(config-if)#switchport access vlan 2 将口分配给 vlan 2 Ruijie(c
8、onfig-if)#sh interface fastethernet0/22 switchport 显示壮态向 TRUNK 分配口Ruijie(config-if)#switchport mode trunk 将口配成二层TRUNK 口Ruijie(config-if)#sh interface fastethernet0/19 switchport 显示壮态Ruijie(config-if)#switchport trunk allowed vlan remove 1移出 vlan 口Ruijie#del config.text 除去配置文件Ruijie#reload 重启交换机启二层交换
9、例Ruijie(config)#vlan 2 Ruijie(config-vlan)#name shiyan1 Ruijie(config-vlan)#exit Ruijie(config)#vlan 3 Ruijie(config-vlan)#name shiyan2 Ruijie(config-vlan)#interface fastethernet0/6 Ruijie(config-if)#switchport access vlan 2 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - -
10、 - 第 2 页,共 7 页 - - - - - - - - - Ruijie(config-if)#interface fastethernet0/12 Ruijie(config-if)#switchport access vlan 3 Ruijie(config-if)#interface fastethernet0/22 Ruijie(config-if)#switchport mode trunk Ruijie(config-if)#switchport trunk allowed vlan remove 1 会聚例Ruijie(config)#vlan 2 Ruijie(confi
11、g-vlan)#vlan 3 Ruijie(config-vlan)#interface fastethernet0/6 Ruijie(config-if)#switchport access vlan 2 Ruijie(config-if)#interface fastethernet0/12 Ruijie(config-if)#switchport access vlan 3 Ruijie(config-if)#exit Ruijie(config)#interface range fastethernet0/21-22 Ruijie(config-if-range)#port-group
12、 1 Ruijie(config-if-range)#*Feb 19 15:46:28: %LINEPROTO-5-UPDOWN: Line protocol on Interface AggregatePort 1, changed state to up *Feb 19 15:46:30: %LINK-5-CHANGED: Interface FastEthernet 0/21, changed state to administratively down *Feb 19 15:46:30: %LINEPROTO-5-UPDOWN: Line protocol on Interface F
13、astEthernet 0 /21, changed state to down *Feb 19 15:46:30: %LINK-5-CHANGED: Interface FastEthernet 0/22, changed state to administratively down *Feb 19 15:46:30: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet 0 /22, changed state to down *Feb 19 15:47:26: %LINEPROTO-5-UPDOWN: Line prot
14、ocol on Interface AggregatePort 1, changed state to down *Feb 19 15:47:28: %LINEPROTO-5-UPDOWN: Line protocol on Interface AggregatePort 1, changed state to up Ruijie(config)#interface aggregateport 1 Ruijie(config-if)#switchport mode trunk 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师
15、精心整理 - - - - - - - 第 3 页,共 7 页 - - - - - - - - - 将端口成批加入到一个 vlan Ruijie(config)#interface range fastethernet0/1-10 Ruijie(config-if-range)#*Feb 19 15:47:58: %LINEPROTO-5-UPDOWN: Line protocol on Interface AggregatePort 1, changed state to down Ruijie(config-if-range)#switchport access vlan 2 启三层交换例R
16、uijie#en Ruijie#config Enter configuration commands, one per line. End with CNTL/Z. Ruijie(config-vlan)#vlan 2 Ruijie(config-vlan)#vlan 3 Ruijie(config-vlan)#vlan 4 Ruijie(config-vlan)#interface fastethernet0/22 Ruijie(config-if)#switchport mode trunk Ruijie(config-if)#interface fastethernet0/24 Rui
17、jie(config-if)#switchport mode trunk Ruijie(config-vlan)#interface vlan 3 Ruijie(config-if)#ip add 192.168.3.10 255.255.255.0e vlan 4 Ruijie(config-if)#interfac Ruijie(config-if)#ip add 192.168.4.10 255.255.255.0 Ruijie(config-if)#interface vlan 2 Ruijie(config-if)#ip add 192.168.2.10 255.255.255.0
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 2022年锐捷交换机VLAN配置归纳 2022 年锐捷 交换机 VLAN 配置 归纳
限制150内