华为S5700怎么划分VLAN 华为s5700如何配置
作者:075玩 来源:互联网 2023-09-05 01:50:17
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname center_switch 更改交换机名
创建vlan
[center_switch]vlan 40
[center_switch-vlan40]quit
给vlan配置IP地址
[center_switch]interface Vlanif 40
[center_switch-Vlanif40]ip address 10.10.40.1 255.255.255.0
将某个端口加入到vlan中
[center_switch] interface port GigabitEthernet 0/0/24
[center_switch-GigabitEthernet0/0/24]port link-type access
[center_switch-GigabitEthernet0/0/24]port default vlan40
将交换机中一组端口加入到一个VLAN中
创建vlan
[center_switch]vlan 42
[center_switch-vlan42]quit
给vlan 配置IP地址
[center_switch]interface Vlanif 42
[center_switch-Vlanif42]ip add
[center_switch-Vlanif42]ip address 10.10.42.1 255.255.255.0
创建端口组
[center_switch]port-group port1to8forvlan40
将相应的端口加入组中
[center_switch]port-group port1to8forvlan40]group-member GigabitEthernet 0/0/1 to GigabitEthernet 0/0/8
设置端口方式
[center_switch-port-group-port1to8forvlan42]port link-type access
设置端口组默认vlan(即之前创建好的vlan ID 42)
[center_switch-port-group-port1to8forvlan42]port default vlan 42
[center_switch]display vlan
save
[Quidway] display version
显示VRP版本号
[Quidway] display current-configuration
显示系统运行配置信息
[Quidway] display saved-configuration
显示保存的配置信息
[Quidway] display interfaces brief
显示接口配置信息
[Quidway]display ip routing-table
显示路由表
[Quidway]display systname
命令用来显示路由器的名称
以上就是华为S5700交换机配置VLAN的方法,谢谢阅读,希望能帮到大家,请继续关注,我们会努力分享更多优秀的文章。
- 上一篇:CPU怎么超频 笔记本cpu怎么超频
- 下一篇:返回列表
- 本类推荐
- 本类排行
- 1华为S5700怎么划分VLAN 华为s5700如何配置
- 2CPU怎么超频 笔记本cpu怎么超频
- 3如何批量修改文件后缀名 如何批量修改文件后缀名为mp4
- 4华为随行wifi怎样使用 华为随行wifi设置方法介绍【详解】 华为随行wifiapp
- 5显卡交火是什么意思 显卡交火啥意思
- 6派派怎么在电脑上玩 派派怎么玩?
- 7360安全卫士怎么重装系统
- 8Skylake珊珊来迟 Intel酷睿六代i5-6600K和i7-6700K对比评测
- 9linux桌面环境gnome,kde,xfce,lxde 使用比较 linux kde gnome
- 10雷柏机械键盘介绍,教你设置键盘灯光 雷柏键盘灯光设置按键
- 热门软件
- 热门标签