Ip Subnet-Based Vlan Configuration Example - HP 6125G Configuration Manual

Layer 2 - lan switching
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

Step
8.
Associate the hybrid
ports with the specified
IP subnet-based VLAN.

IP subnet-based VLAN configuration example

Network requirements
As shown in
192.168.50.0/24.
Configure Device C to transmit packets over separate VLANs based on their source IP addresses.
Figure 37 Network diagram
Configuration consideration
Create VLANs 100 and 200.
Associate IP subnets with the VLANs.
Assign ports to the VLANs.
Configuration procedure
# 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.
Command
port hybrid ip-subnet-vlan vlan
vlan-id
Figure
37, the hosts in the office belong to different IP subnets 192.168.5.0/24 and
Remarks
Not configured by default.
122

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents