Display Ip-Subnet-Vlan Vlan - HP A5830 Series Command Reference Manual

Layer 2 - lan switching
Hide thumbs Also See for A5830 Series:
Table of Contents

Advertisement

display ip-subnet-vlan vlan

Description
Use the display ip-subnet-vlan vlan command to display the IP subnet information and IP subnet indexes
on the specified VLANs.
Related commands: display vlan.
Syntax
display ip-subnet-vlan vlan { vlan-id [ to vlan-id ] | all } [ | { begin | exclude | include } regular-
expression ]
View
Any view
Default level
2: System level
Parameters
vlan-id: Specifies a VLAN ID, in the range of 1 to 4094.
to: Specifies a VLAN ID range. The parameter after this keyword must be greater than or equal to the one
before this keyword.
all: Specifies all the VLANs.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Example
# Display the IP subnet information and IP subnet indexes for all VLANs.
<Sysname> display ip-subnet-vlan vlan all
VLAN ID:
3
Subnet Index
====================================================
0
Table 40 Command output
Field
Subnet Index
IP Address
Subnet Mask
IP Address
Subnet Mask
192.168.1.0
255.255.255.0
Description
IP subnet index
IP address of the subnet; it can be an IP address or a network address.
Mask of the IP subnet
176

Advertisement

Table of Contents
loading

Table of Contents