Configuring ip subnet-based vlans, Configuration procedure – H3C Technologies H3C WX5500E Series Access Controllers User Manual

Page 139

Advertising
background image

128

Step Command

Remarks

3.

Create a protocol template
for the VLAN.

protocol-vlan [ protocol-index ]
{ at | ipv4 | ipx { ethernetii | llc
| raw | snap } | mode

{ ethernetii etype etype-id | llc

{ dsap dsap-id [ ssap ssap-id ] |
ssap ssap-id } | snap etype

etype-id } }

By default, no protocol template is
configured for a VLAN.

4.

Exit VLAN view.

quit

N/A

5.

Enter interface view or port

group view.

Enter Ethernet interface

view:
interface interface-type

interface-number

Enter Layer 2 aggregation

interface view:

interface

bridge-aggregation

interface-number

Enter port group view:

port-group manual

port-group-name

Use one of the commands.

The configuration made in Ethernet

interface view applies only 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.

6.

Configure the port link

type as hybrid.

port link-type hybrid

By default, all ports are access ports.

7.

Assign the hybrid port to
the specified

protocol-based VLANs.

port hybrid vlan vlan-list
{ tagged | untagged }

By default, a hybrid port is only in VLAN
1.

8.

Assign the protocol
template you have created

to the hybrid port.

port hybrid protocol-vlan vlan
vlan-id { protocol-index [ to
protocol-end ] | all }

N/A

Configuring IP subnet-based VLANs

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 an incoming untagged packet to a VLAN based
on the source address of the packet.
This feature assigns packets from a specified IP subnet or IP address to a specific VLAN.

Configuration procedure

The IP subnet-based VLAN feature is available only for hybrid ports.
To configure an IP subnet-based VLAN:

Advertising