如题,ip-subnet-vlan需要用 ip-subnet-vlan enable 命令开启吗?如果需要,那么请问是在端口下开启吗?
(0)
最佳答案
[H3C]int g1/0/1
[H3C-GigabitEthernet1/0/1]port link-type hybrid
[H3C-GigabitEthernet1/0/1]quit
[H3C]int g1/0/2
[H3C-GigabitEthernet1/0/2]port link-type hybrid
[H3C-GigabitEthernet1/0/2]quit
[H3C]int g1/0/3
[H3C-GigabitEthernet1/0/3]port link-type hybrid
[H3C-GigabitEthernet1/0/3]quit
---------------------------------------------
[H3C]vlan 101
[H3C-vlan101]ip-subnet-vlan ip 192.168.101.1 255.255.255.0
[H3C-vlan101]quit
[H3C]vlan 102
[H3C-vlan102]ip-subnet-vlan ip 192.168.102.1 255.255.255.0
[H3C-vlan102]quit
[H3C]vlan 103
[H3C-vlan103]ip-subnet-vlan ip 192.168.103.1 255.255.255.0
[H3C-vlan103]quit
------------------------------------------------
[H3C]int g1/0/1
[H3C-GigabitEthernet1/0/1]port hybrid vlan 101 102 103 untagged
[H3C-GigabitEthernet1/0/1]port hybrid ip-subnet-vlan vlan 101
[H3C-GigabitEthernet1/0/1]port hybrid ip-subnet-vlan vlan 102
[H3C-GigabitEthernet1/0/1]port hybrid ip-subnet-vlan vlan 103
[H3C-GigabitEthernet1/0/1]quit
[H3C]int g1/0/2
[H3C-GigabitEthernet1/0/2]port hybrid vlan 101 102 103 untagged
[H3C-GigabitEthernet1/0/2]port hybrid ip-subnet-vlan vlan 101
[H3C-GigabitEthernet1/0/2]port hybrid ip-subnet-vlan vlan 102
[H3C-GigabitEthernet1/0/2]port hybrid ip-subnet-vlan vlan 103
[H3C-GigabitEthernet1/0/2]quit
[H3C]int g1/0/3
[H3C-GigabitEthernet1/0/3]port hybrid vlan 101 102 103 untagged
[H3C-GigabitEthernet1/0/3]port hybrid ip-subnet-vlan vlan 101
[H3C-GigabitEthernet1/0/3]port hybrid ip-subnet-vlan vlan 102
[H3C-GigabitEthernet1/0/3]port hybrid ip-subnet-vlan vlan 103
[H3C-GigabitEthernet1/0/3]quit
---------------------------------------------------
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论