Ip-Subnet-Vlan; Subnet Mask - H3C S7500E Series Command Reference Manual

Lan switching
Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Table 13-7 display ip-subnet-vlan vlan command output description
Field
Subnet Index
IP Address

Subnet Mask

ip-subnet-vlan

Syntax
ip-subnet-vlan [ ip-subnet-index ] ip ip-address [ mask ]
undo ip-subnet-vlan { ip-subnet-index [ to ip-subnet-end ] | all }
View
VLAN view
Default Level
2: System level
Parameters
ip-subnet-index: Beginning IP subnet Index, in the range of 0 to 11. This value can be configured by
users, or automatically numbered by system based on the order in which the IP subnets or IP
addresses are associated with the VLAN.
ip ip-address [mask]: Specifies the source IP address or network address based on which the
subnet-based VLANs are classified, in dotted decimal notation. The mask argument is the subnet
mask of the source IP address or network address, in dotted decimal notation with a default value of
255.255.255.0.
to: Specifies an IP subnet index range.
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
IP subnet index
IP address of the subnet (can be an IP address or a network address)
Mask of the IP subnet
13-34
Description

Advertisement

Table of Contents
loading

Table of Contents