6-30
ip-subnet-end
: End IP subnet index, in the range of 0 to 11. This argument must be greater than or
equal to the beginning IP subnet index.
all
: Removes all the associations between VLANs and IP subnets or IP addresses.
Description
Use the
ip-subnet-vlan
command to associate the current VLAN with a specified IP subnet or IP
address.
Use the
undo ip-subnet-vlan
command to remove the association.
Note that the IP subnet or IP address cannot be a multicast network segment or a multicast address.
Related commands:
display ip-subnet-vlan vlan
.
Examples
# Configure VLAN 3 as an IP subnet-based VLAN and associate it with the 192.168.1.0/24 network
segment.
<Sysname> system-view
[Sysname] vlan 3
[Sysname-vlan3] ip-subnet-vlan ip 192.168.1.0 255.255.255.0
port hybrid ip-subnet-vlan vlan
Syntax
port hybrid ip-subnet-vlan
vlan
vlan-id
undo
port hybrid ip-subnet-vlan
{
vlan
vlan-id
|
all
}
View
Ethernet interface view, port group view, Layer-2 aggregate interface view
Default Level
2: System level
Parameters
vlan
-
id
: VLAN ID, in the range of 1 to 4094.
all
: Specifies all VLANs.
Description
Use the
port hybrid ip-subnet-vlan vlan
command to associate the current Ethernet port with the
specified IP subnet-based VLAN.
Use the
undo
port hybrid ip-subnet-vlan vlan
command to remove the association.
On an Ethernet port associated with an IP subnet-based VLAN, if the source IP address of a received
untagged packet belongs to the corresponding IP subnet, the port tags the packet with the
corresponding VLAN tag.
z
In port group view, this command applies to all ports in the port group. For information about port
groups, refer to
Ethernet Interface Configuration
in the
Access Volume
.
z
In Layer-2 aggregate interface view, this command applies to the Layer-2 aggregate interface and
all its member ports. After you perform the configuration, the system starts applying the
Содержание E4510-48G
Страница 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Страница 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Страница 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Страница 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Страница 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Страница 857: ...iii 7 Track Configuration Commands 7 1 Track Configuration Commands 7 1 display track 7 1 track nqa 7 2 ...
Страница 914: ...5 17 Sysname reset oam ...
Страница 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Страница 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...