国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網管 > 路由交換 > 正文

華為S5700怎么劃分VLAN? S5700交換機配置VLAN的方法

2020-10-24 11:26:27
字體:
來源:轉載
供稿:網友

<Huawei>system-view                         進入配置模式

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

<center_switch>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的方法,謝謝閱讀,希望能幫到大家,請繼續關注武林網,我們會努力分享更多優秀的文章。

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 开封县| 嘉善县| 漯河市| 武义县| 汉沽区| 南安市| 安福县| 柳河县| 尼木县| 佛山市| 正镶白旗| 阿城市| 大埔县| 革吉县| 清苑县| 江都市| 临安市| 汽车| 建水县| 淮南市| 长顺县| 乌拉特后旗| 阳江市| 天津市| 沐川县| 准格尔旗| 田林县| 塔城市| 信阳市| 汝南县| 蓬安县| 东莞市| 通海县| 贵阳市| 镇康县| 五原县| 平武县| 建阳市| 峨眉山市| 东光县| 乌拉特后旗|