环境准备:通过超级终端Hyper Terminal和console串口线链接华为交换机,用9600波特率链接

添加vlan

<Quidway>system-view                                             #由用户视图进入系统视图

[Quidway]vlan 1  /创建并进入vlan1                    

[Quidway-vlan1]interface GigabitEthernet0/0/1   #默认将全部端口加入到vlan1

[Quidway-vlan1]interface Vlanif 1

[Quidway-Vlanif1]ip address 172.16.72.254 255.255.255.0

[Quidway-Vlanif1]ip route-static 0.0.0.0 0.0.0.0 172.16.72.1

[Quidway-Vlanif1]quit

[Quidway]Exit

<Quidway>display current-configuration   #查看当前配置

修改vlan

参考链接:https://blog.csdn.net/shangcx/article/details/71429857

<Quidway>system-view                                             #由用户视图进入系统视图

[Quidway]vlan 2  /创建并进入vlan2

[Quidway-vlan2]port GigabitEthernet 0/0/46 to 0/0/48    #添加46-48端口到vlan2   

[Quidway-vlan2]dis vlan
Error: Trunk or Hybrid port(s) can not be added or deleted in this manner. #报错:不能添加Hybrid 混合端口 需要将端口模式改为access模式才可以继续 Access、Hybrid和Trunk三种模式的理解 :https://blog.csdn.net/liunianchao/article/details/50000055 [Quidway-vlan2]int GigabitEthernet 0/0/46
[Quidway-GigabitEthernet0/0/46]port link-type access
[Quidway-GigabitEthernet0/0/46]quit
[Quidway]int GigabitEthernet 0/0/47
[Quidway-GigabitEthernet0/0/47]port link-type access
[Quidway-GigabitEthernet0/0/47]quit
#进入每一个端口将Hybrid模式改为access模式 ... ... [HuaWei-S5700-01-vlan2]port GigabitEthernet 0/0/46 to 0/0/48
HuaWei-S5700-01]dis vlan # 查看端口 [Quidway-vlan2]interface Vlanif 2 [Quidway-Vlanif2]ip address 172.16.78.1 255.255.0.0 #配置vlanif ip地址 Info: A similar IP subnet already exists. Please verify the current IP subnet de sign. [Quidway-Vlanif2]display current-configuration

删除vlan

参考链接1:https://blog.csdn.net/qq_43640414/article/details/84531868

参考链接2:https://zhidao.baidu.com/question/327349557.html<Quidway>system-view

[Quidway]dis vlan

[Quidway]interface GigabitEthernet 0/0/47

[Quidway-GigabitEthernet0/0/47]display this

interface GigabitEthernet0/0/47 port link-type access port default vlan 2 return [Quidway-GigabitEthernet0/0/47]undo port default vlan [Quidway-GigabitEthernet0/0/47]display this
interface GigabitEthernet0/0/47 port link-type access return [Quidway-GigabitEthernet0/0/47] [Quidway-vlan1]int GigabitEthernet 0/0/48 [Quidway-GigabitEthernet0/0/48]port link-type access [Quidway-GigabitEthernet0/0/48]quit [Quidway] # 直接进行下面两步骤即可 [Quidway]undo interface Vlanif 2 Info: This operation may take a few seconds. Please wait for a moment...succeeded. [Quidway]undo vlan 2 [Quidway]dis vlan

华为交换机S5700-52C-SI配置vlan的更多相关文章

  1. 华为交换机Console口属性配置

    华为交换机Console口属性配置 一.设置通过账号和密码(AAA验证)登陆Console口 进入 Console 用户界面视图 <Huawei>system-view [Huawei]u ...

  2. 华为交换机S5700设置远程ssh telnet登录

    AAA是指:authentication(认证).authorization(授权).accounting(计费)的简称,是网络安全的一种管理机制:Authentication是本地认证/授权,aut ...

  3. 华为交换机S5700系列配置镜像端口(M:N)

    配置本地端口镜像组网图(M:N) 组网需求 如图所示,某公司研发一部.研发二部和市场部通过Switch与外部Internet通信,监控设备Server1.Server2与Switch直连. 现在希望将 ...

  4. 华为交换机S5700系列配置镜像端口(1:1)

    配置本地镜像口(1:1) 组网需求 如图一所示,某公司行政部通过Switch与外部Internet通信,监控设备Server与Switch直连. 现在希望通过Server对行政部访问Internet的 ...

  5. 华为交换机S5700系列配置通过STelnet登录设备示例

    配置通过STelnet登录设备示例 组网图形 图1 配置用户通过STelnet登录设备组网图 在服务器端生成本地密钥对 <HUAWEI> system-view [HUAWEI] sysn ...

  6. 华为交换机S5700 vty 0 4

    最佳答案   vty 0 4 代表有5条VTY线路 由0到4 这个要看设备的版本有的设备会有更多条VTY线路比如一些企业版的设备 显示用户界面 进入TELNET 设置模式 user-interface ...

  7. 解决华为交换机S5700无法解除ip/Mac绑定的问题

    今天同事离职,需要解除他的个人笔记本Mac与ip的绑定 首先进入系统用户视图,然后进入vlanif4,解除151绑定 system-view interface vlanif 4 undo dhcp ...

  8. 华为交换机批量加入 Vlan 方法

    华为交换机单独加入vlan太麻烦,思科有批量加入vlan的方法,华为也有.要求 1~6口划分到vlan2,6~12口划分到vlan3,13~18口划分到vlan4,19~24口划分到vlan5.25, ...

  9. 华为交换机MSTP+VRRP配置实例说明文档

    华为交换机MSTP+VRRP配置实例说明文档 拓扑图 IP地址规划表 设备名称 设备接口 对端设备 对端接口 VLAN VLAN /接口地址 备注 SW0 GE0/0/23 SW2 GE0/0/23 ...

  10. 华为交换机sflow配置

    华为交换机sflow功能配置 1.配置交换机的sflow流发送 [系统视图]sflow agen ip  x.x.x.x                 设置sflow输出源 [系统视图]sflow ...

随机推荐

  1. 3568F-Linux应用开发手册

       

  2. Java 知识总结大汇总!看完哪个都变大佬!

    免费编程资源大全项目:https://github.com/liyupi/free-programming-resources 大家好,我是鱼皮,今天分享 十几个 让人直呼 "哇塞" ...

  3. 基于MindSpore实现BERT对话情绪识别

    本文分享自华为云社区<[昇思25天学习打卡营打卡指南-第二十四天]基于 MindSpore 实现 BERT 对话情绪识别>,作者:JeffDing. 模型简介 BERT全称是来自变换器的双 ...

  4. ASP.NET Core 程序集注入(二)

    public void ConfigureServices(IServiceCollection services) { string strValue = Configuration.GetSect ...

  5. 整段 html实现其中的每一个 a 标签跨域下载操作 window.URL.createObjectURL(blob)

    window.URL.createObjectURL(blob) a 标签下载问题,通常在 a 标签中加上download属性,就可完成对href属性链接文件的下载,但仅仅是限于同源文件,如果是非同源 ...

  6. 【MySQL】MySQL 执行创建存储过程报错的解决方法

    源码 创建使用while循环插入数据的存储过程 设置mysql分隔符为// delimiter // drop procedure if exists while1 ; create procedur ...

  7. [rCore学习笔记 018]实现特权级的切换

    写在前面 本随笔是非常菜的菜鸡写的.如有问题请及时提出. 可以联系:1160712160@qq.com GitHhub:https://github.com/WindDevil (目前啥也没有 本节内 ...

  8. 为什么我@Value中明明显示了值,他却是null

    今天尝试把一些重要东西写入application.yml里,结果在使用的时候发现value取不出来值原因有2个: 1.没有写@compent,没有把这个类交给spring管理 2.在service层n ...

  9. el-date-picker 时间日期格式,选择范围限制

    背景:ElementUI的 el-date-picker 使用时,有时候想要限制用户选择的时间范围,但是用的是datetimerange类型的选择器,不想单独写两个起始的选择器.我发现网上的方案大部分 ...

  10. Linux 破解mysql密码

    mysql忘记密码怎么办 [root@master ~]# mysql -uroot -pHuawei123123$ mysql: [Warning] Using a password on the ...