# VLAN配置 文档密级
interface Vlanif12 ip address 12.1.1.1 255.255.255.0 # interface Vlanif13 ip address 13.1.1.1 255.255.255.0 # interface Vlanif104 ip address 1.0.0.254 255.255.255.0 arp-proxy inter-sub-vlan-proxy enable # interface Ethernet0/0/1 port link-type access port default vlan 112 # interface Ethernet0/0/2 port link-type access port default vlan 112 # interface Ethernet0/0/3 port link-type access port default vlan 103 # interface Ethernet0/0/10 port link-type trunk port trunk allow-pass vlan 12 to 13 24 103 112 212 305 312 334 401 to 402 # interface Ethernet0/0/11 port link-type trunk port trunk allow-pass vlan 12 to 13 24 103 112 212 305 312 334 401 to 402 # rip 1 undo summary version 2 network 12.0.0.0 network 13.0.0.0 network 1.0.0.0 # return
华为保密信息,未经授权禁止扩散
第11页, 共15页
# VLAN配置 文档密级
vlan batch 12 to 13 24 103 112 212 305 312 334 401 to 402 # interface Vlanif12 ip address 12.1.1.2 255.255.255.0 # interface Vlanif24 ip address 24.1.1.2 255.255.255.0 # interface Vlanif212 ip address 2.0.0.254 255.255.255.0 arp-proxy inner-sub-vlan-proxy enable # interface Ethernet0/0/1 port link-type access port default vlan 212 port-isolate enable group 1 # interface Ethernet0/0/2 port link-type access port default vlan 212 port-isolate enable group 1 # interface Ethernet0/0/10 port link-type trunk port trunk allow-pass vlan 12 to 13 24 103 112 212 305 312 334 401 to 402 # interface Ethernet0/0/11 port link-type trunk port trunk allow-pass vlan 12 to 13 24 103 112 212 305 312 334 401 to 402 # rip 1 undo summary version 2 network 12.0.0.0 network 24.0.0.0 network 2.0.0.0 # return
华为保密信息,未经授权禁止扩散
第12页, 共15页
# VLAN配置 文档密级
vlan batch 12 to 13 24 103 112 212 305 312 334 401 to 402 # vlan 305 mux-vlan subordinate separate 334 subordinate group 312 # interface Vlanif13 ip address 13.1.1.3 255.255.255.0 # interface Ethernet0/0/1 port link-type access port default vlan 312 port mux-vlan enable # interface Ethernet0/0/2 port link-type access port default vlan 312 port mux-vlan enable # interface Ethernet0/0/3 port link-type access port default vlan 334 port mux-vlan enable # interface Ethernet0/0/4 port link-type access port default vlan 334 port mux-vlan enable # interface Ethernet0/0/5 port link-type access port default vlan 305 port mux-vlan enable # interface Ethernet0/0/10 port link-type access port default vlan 305 port mux-vlan enable # interface Ethernet0/0/11 port link-type trunk 2017-8-29
华为保密信息,未经授权禁止扩散
第13页, 共15页
VLAN配置 文档密级
port trunk allow-pass vlan 12 to 13 24 103 112 212 305 312 334 401 to 402 # rip 1 undo summary version 2 network 13.0.0.0 # return
华为保密信息,未经授权禁止扩散
第14页, 共15页
# VLAN配置 文档密级
interface Ethernet0/0/11 port link-type trunk port trunk allow-pass vlan 12 to 13 24 103 112 212 305 312 334 401 to 402 # rip 1 undo summary version 2 network 24.0.0.0 network 3.0.0.0 network 4.0.0.0 # return 2017-8-29
华为保密信息,未经授权禁止扩散 第15页, 共15页