Ip Subnet-Based Vlan Configuration Commands; Display Ip-Subnet-Vlan Interface - HP A5830 Series Command Reference Manual

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

Advertisement

IP subnet-based VLAN configuration commands

display ip-subnet-vlan interface

Description
Use the display ip-subnet-vlan interface command to display IP subnet-based VLANs and IP subnet
indexes on the specified ports.
Syntax
display ip-subnet-vlan interface { interface-list | all } [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
2: System level
Parameters
interface-list: Specifies an Ethernet port list in the format of interface-list = { interface-type interface-number
[ to interface-type interface-number ] }&<1- 1 0>, where interface-type interface-number represents the port
type and port number and &<1- 1 0> indicates that you can specify up to 10 ports or port ranges.
all: Displays IP subnet information about all the ports with IP subnet-based VLAN configured.
|: 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 IP subnet-based VLANs and IP subnet indexes on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] display ip-subnet-vlan interface gigabitethernet 1/0/1
Interface: GigabitEthernet1/0/1
VLAN ID
=======================================================
3
Table 39 Command output
Field
Subnet-Index
IP ADDRESS
NET MASK
Subnet-Index
IP ADDRESS
0
192.168.1.0
Description
Index of the IP subnet
IP address of the subnet (either an IP address or a network address)
Mask of the IP subnet
NET MASK
255.255.255.0
175

Advertisement

Table of Contents
loading

Table of Contents