EasyManuals Logo

HP A5830 Series Command Reference

HP A5830 Series
249 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #184 background imageLoading...
Page #184 background image
177
ip-subnet-vlan
Description
Use the ip-subnet-vlan command to associate the VLAN with a specified IP subnet or IP address.
Use the undo ip-subnet-vlan command to remove the association.
The IP subnet or IP address cannot be a multicast network segment or a multicast address.
Related commands: display ip-subnet-vlan 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: Specifies a beginning IP subnet index, in the range of 0 to 11. The value can be
configured by users, or automatically numbered by the 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 parameter 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: Specifies an end IP subnet index, in the range of 0 to 11. The value 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.
Example
# 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
Description
Use the port hybrid ip-subnet-vlan command to associate the Ethernet port with the specified IP subnet-
based VLAN.
Use the undo port hybrid ip-subnet-vlan command to remove the association.

Table of Contents

Other manuals for HP A5830 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP A5830 Series and is the answer not in the manual?

HP A5830 Series Specifications

General IconGeneral
BrandHP
ModelA5830 Series
CategorySwitch
LanguageEnglish

Related product manuals