Ip Subnet-Based Vlan Configuration Example - H3C S7500E-X Configuration Manual

Layer 2 lan switching
Hide thumbs Also See for H3C S7500E-X:
Table of Contents

Advertisement

State: S - Static, D – Dynamic
MAC address
000d-88f8-4e71
0014-222c-aa69
Total MAC VLAN entries count: 2

IP subnet-based VLAN configuration example

Network requirements
As shown in
Configure Device C to transmit packets from 192.168.5.0/24 and 192.168.50.0/24 in VLANs 100 and
200, respectively.
Figure 41 Network diagram
VLAN 100
Configuration procedure
Configure Device C:
1.
# Associate IP subnet 192.168.5.0/24 with VLAN 100.
<DeviceC> system-view
[DeviceC] vlan 100
[DeviceC-vlan100] ip-subnet-vlan ip 192.168.5.0 255.255.255.0
[DeviceC-vlan100] quit
# Associate IP subnet 192.168.50.0/24 with VLAN 200.
[DeviceC] vlan 200
[DeviceC-vlan200] ip-subnet-vlan ip 192.168.50.0 255.255.255.0
Mask
ffff-ffff-ffff
ffff-ffff-ffff
Figure
41, the hosts in the office belong to different IP subnets.
Device A
GE1/0/11
GE1/0/1
192.168.5.0/24
Office
VLAN ID
100
200
Device B
VLAN 200
GE1/0/12
Device C
192.168.50.0/24
132
Dot1q
State
0
S
0
S

Advertisement

Table of Contents
loading

Table of Contents