146Configuring an IP subnet-based VLANTask Command Remarks1. Enter system view. system-view N/A2. Enter VLAN view. vlan vlan-idIf the specified VLAN does not exist, thiscommand first creates the VLAN andenters VLAN view of this VLAN.3. Associate an IPsubnet or IP addresswith the VLAN.ip-subnet-vlan [ ip-subnet-index ] ipip-address [ mask ]By default, a VLAN is not associatedwith any IP subnets or IP addresses.A multicast subnet or a multicastaddress cannot be associated with aVLAN.4. Return to systemview. quit N/A5. Enter interface view.• Enter Layer 2 Ethernet interfaceview:interface interface-typeinterface-number• Enter Layer 2 aggregate interfaceview:interface bridge-aggregationinterface-number• The configurations made in Layer 2Ethernet interface view apply only tothe port.• The configurations made in Layer 2aggregate interface view apply tothe aggregate interface and itsaggregation member ports. If thesystem fails to apply theconfigurations to the aggregateinterface, it stops applying theconfigurations to the aggregationmember ports. If the system fails toapply the configurations to anaggregation member port, it skipsthe port and moves to the nextmember port.6. Configure the portlink type as hybrid. port link-type hybrid By default, all ports are access ports.7. Configure the hybridport to permitpackets from thespecified IPsubnet-based VLANsto pass through.port hybrid vlan vlan-id-list { tagged |untagged }By default, the hybrid port is anuntagged member of the VLAN towhich the port belongs when its linktype is access.8. Associate the hybridport with thespecified IPsubnet-based VLAN.port hybrid ip-subnet-vlan vlan vlan-id By default, no IP subnet-based VLAN isassociated with a hybrid port.