Configuring Ip Subnet-Based Vlan - HP A5830 Configuration Manual

Layer 2 lan switching
Hide thumbs Also See for A5830:
Table of Contents

Advertisement

100
200
Interface: GigabitEthernet 1/0/2
VLAN ID
======================================================
100
200

Configuring IP subnet-based VLAN

In this approach, packets are assigned to VLANs based on their source IP addresses and subnet masks. A
port configured with IP subnet-based VLANs assigns a received untagged packet to a VLAN based on the
source address of the packet.
This feature is used to assign packets from the specified IP subnet or IP address to a specific VLAN.
This feature is applicable only on hybrid ports.
To configure an IP subnet-based VLAN:
Step...
1.
Enter system view
2.
Enter VLAN view
3.
Associate an IP subnet with
the VLAN
4.
Return to system view
5.
Enter
interface
view or
port group
view
6.
Configure port link type as
hybrid
1
1
Protocol Index
1
1
Command...
system-view
vlan vlan-id
ip-subnet-vlan [ ip-subnet-
index ] ip ip-address [
mask ]
quit
Enter Layer 2
interface interface-type
Ethernet
interface-number
interface view
Enter Layer 2
interface bridge-
aggregate
aggregation interface-
interface view
number
Enter port
port-group manual port-
group view
group-name
port link-type hybrid
ipv4
ipv6
Protocol Type
ipv4
ipv6
124
Remarks
Required.
The IP subnet or IP address to be
associated with a VLAN cannot be a
multicast subnet or a multicast address.
Required.
Use any command:
The configuration made in Ethernet
interface view only applies to the
port.
The configuration made in port group
view applies to all ports in the port
group.
The configuration made in Layer 2
aggregate interface view applies to
the aggregate interface and its
aggregation member ports. If the
system fails to apply the configuration
to the aggregate interface, it stops
applying the configuration to
aggregation member ports. If the
system fails to apply the configuration
to an aggregation member port, it
skips the port and moves to the next
member port.
Required.
By default, all ports are access ports.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents