华为交换机Quidway S3700虚拟局域网配置
(2012-07-14 11:22:20)
1、计划24号以太网端口级连二层交换机,将24号端口设置为trunk模式
system-view
interface ethernet0/0/24
port link-type trunk
port trunk allow-pass vlan all
2、将22号端口加入到VLAN100,注意24号口是trunk本身是不能加到VLAN中去的
interface ethernet0/0/22
port link-type access
vlan 100
description vlan_100
port ethernet0/0/22
3、将23号端口加入到VLAN200
interface ethernet0/0/23
port link-type access
vlan 200
description vlan_200
port ethernet0/0/23
4、将VLAN100地址设置为100.0.100.0,并设置网关
视图界面
interface vlanif 100
ip address 100.0.100.1 255.255.255.0
quit
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。