Configuring Protocol-Based Vlans - H3C S7500E-X Configuration Manual

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

Advertisement

Use this feature when untagged packets from an IP subnet or IP address must be transmitted in a
VLAN.
This feature is available only on hybrid ports, and it processes only untagged packets.
An IP subnet-based VLAN has one or multiple subnets to match inbound packets. Each subnet has
a unique index in the IP subnet-based VLAN. All subnets in an IP subnet-based VLAN have the
same VLAN ID.
To configure an IP subnet-based VLAN:
Task
Enter system view.
1.
Enter VLAN view.
2.
Associate an IP
3.
subnet or IP
address with the
VLAN.
Return to system
4.
view.
Enter interface
5.
view.
Configure the port
6.
link type as hybrid.
Assign the hybrid
7.
port to the specified
IP subnet-based
VLANs.
Associate the
8.
hybrid port with the
specified IP
subnet-based
VLAN.

Configuring protocol-based VLANs

The protocol-based VLAN feature assigns inbound packets to different VLANs based on their
protocol types and encapsulation formats. The protocols available for VLAN assignment include IP,
IPX, and AT. The encapsulation formats include Ethernet II, 802.3 raw, 802.2 LLC, and 802.2 SNAP.
This feature is available only on hybrid ports, and it processes only untagged packets. It associates
the available network service types with VLANs and facilitates network management and
maintenance.
A protocol-based VLAN has one or multiple protocol templates. A protocol template defines a
protocol type and an encapsulation format as the match criteria to match inbound packets. Each
protocol template has a unique index in the protocol-based VLAN. All protocol templates in a
protocol-based VLAN have the same VLAN ID.
For a port to assign inbound packets to protocol-based VLANs, perform the following tasks:
Command
system-view
vlan vlan-id
ip-subnet-vlan [ ip-subnet-index ] ip
ip-address [ mask ]
quit
Enter Layer 2 Ethernet interface
view:
interface interface-type
interface-number
Enter Layer 2 aggregate
interface view:
interface bridge-aggregation
interface-number
port link-type hybrid
port hybrid vlan vlan-id-list { tagged |
untagged }
port hybrid ip-subnet-vlan vlan
vlan-id
126
Remarks
N/A
N/A
By default, a VLAN is not associated
with any IP subnets or IP addresses.
A multicast subnet or a multicast
address cannot be associated with a
VLAN.
N/A
N/A
By default, all ports are access ports.
By default, a hybrid port is an
untagged member of the VLAN to
which the port belongs when its link
type is access.
By default, no IP subnet-based VLAN
is associated with a hybrid port.

Advertisement

Table of Contents
loading

Table of Contents