1-14
IP Subnet-Based VLAN Configuration
Introduction
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 network segment or IP address to a specific
VLAN.
Configuring an IP Subnet-Based VLAN
This feature is only applicable on hybrid ports.
Follow these steps to configure an IP subnet-based VLAN:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter VLAN view
vlan
vlan-id
—
Associate an IP subnet with the
current VLAN
ip-subnet-vlan
[
ip-subnet-index
]
ip
ip-address
[
mask
]
Required
The IP network segment or IP
address to be associated with
a VLAN cannot be a multicast
network segment or a
multicast address.
Return to system view
quit
—
Enter Ethernet
interface view
interface interface-type
interface-number
Enter Layer-2
aggregate
interface view
interface
bridge-aggregation
interface-number
Enter interface
view or port
group view
Enter port group
view
port-group manual
port-group-name
Required
Use either command.
z
In Ethernet interface view,
the subsequent
configurations apply to the
current port.
z
In port group view, the
subsequent configurations
apply to all ports in the port
group.
z
In Layer-2 aggregate
interface view, the
subsequent configurations
apply to the Layer-2
aggregate interface and all
its member ports.
Configure port link type as hybrid
port link-type
hybrid
Required
Configure the hybrid port(s) to
permit the specified IP
subnet-based VLANs to pass
through
port hybrid
vlan
vlan-id-list
{
tagged
|
untagged
}
Required
Содержание 4500G PWR 24-Port
Страница 200: ...1 5 ProviderB GigabitEthernet1 0 2 undo stp enable ProviderB GigabitEthernet1 0 2 bpdu tunnel dot1q stp ...
Страница 252: ...1 7 Clearing ARP entries from the ARP table may cause communication failures ...
Страница 362: ...i Table of Contents 1 Dual Stack Configuration 1 1 Dual Stack Overview 1 1 Configuring Dual Stack 1 1 ...
Страница 407: ...1 8 1 1 ms 1 ms 1 ms 1 1 6 1 2 1 ms 1 ms 1 ms 1 1 4 1 3 1 ms 1 ms 1 ms 1 1 2 2 Trace complete ...
Страница 786: ...1 16 3 In the case of PIM SM use the display current configuration command to check the BSR and RP information ...
Страница 1387: ...1 23 ...
Страница 1443: ...i Table of Contents 1 URPF Configuration 1 1 URPF Overview 1 1 What is URPF 1 1 How URPF Works 1 1 Configuring URPF 1 2 ...
Страница 1720: ...ii Single Device Upgrade 3 4 IRF System Upgrade 3 5 ...