HP 6125G Configuration Manual page 132

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

Advertisement

[DeviceC] vlan 200
[DeviceC-vlan200] ip-subnet-vlan ip 192.168.50.0 255.255.255.0
[DeviceC-vlan200] quit
# Configure interface GigabitEthernet 1/0/1 1 to permit packets of VLAN 100 to pass through.
[DeviceC] interface gigabitethernet 1/0/11
[DeviceC-GigabitEthernet1/0/11] port link-type hybrid
[DeviceC-GigabitEthernet1/0/11] port hybrid vlan 100 tagged
Please wait... Done.
[DeviceC-GigabitEthernet1/0/11] quit
# Configure interface GigabitEthernet 1/0/12 to permit packets of VLAN 200 to pass through.
[DeviceC] interface gigabitethernet 1/0/12
[DeviceC-GigabitEthernet1/0/12] port link-type hybrid
[DeviceC-GigabitEthernet1/0/12] port hybrid vlan 200 tagged
Please wait... Done.
[DeviceC-GigabitEthernet1/0/12] quit
# Associate interface GigabitEthernet 1/0/1 with IP subnet-based VLANs 100 and 200.
[DeviceC] interface gigabitethernet 1/0/1
[DeviceC-GigabitEthernet1/0/1] port link-type hybrid
[DeviceC-GigabitEthernet1/0/1] port hybrid vlan 100 200 untagged
Please wait... Done.
[DeviceC-GigabitEthernet1/0/1] port hybrid ip-subnet-vlan vlan 100
[DeviceC-GigabitEthernet1/0/1] port hybrid ip-subnet-vlan vlan 200
[DeviceC-GigabitEthernet1/0/1] return
Verifying the configurations
# Display the IP subnet information for all VLANs.
<Device C> display ip-subnet-vlan vlan all
VLAN ID:
Subnet Index
====================================================
0
VLAN ID:
Subnet Index
====================================================
0
# Display the IP subnet-based VLAN information on GigabitEthernet 1/0/1.
<DeviceC> display ip-subnet-vlan interface gigabitethernet 1/0/1
Interface: GigabitEthernet1/0/1
VLAN ID
=======================================================
100
200
Configuration guidelines
The IP subnet-based VLAN configurations are only effective on hybrid ports.
100
IP Address
192.168.5.0
200
IP Address
192.168.50.0
Subnet-Index
IP ADDRESS
0
192.168.5.0
0
192.168.50.0
Subnet Mask
255.255.255.0
Subnet Mask
255.255.255.0
NET MASK
255.255.255.0
255.255.255.0
123

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents