R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference

120
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.
Examples
# Display IP subnet-based VLANs and IP subnet indexes on GigabitEthernet 4/0/1.
<Sysname> system-view
[Sysname] display ip-subnet-vlan interface GigabitEthernet 4/0/1
Interface: GigabitEthernet4/0/1
VLAN ID Subnet-Index IP ADDRESS NET MASK
=======================================================
3 0 192.168.1.0 255.255.255.0
Table 27 Command output
Field Descri
p
tion
Subnet-Index Index of the IP subnet.
IP ADDRESS IP address of the subnet (either it can be an IP address or a network address.)
NET MASK Mask of the IP subnet.
display ip-subnet-vlan vlan
Use display ip-subnet-vlan vlan to display the IP subnet-based VLAN information and IP subnet indexes
on the specified VLANs.
Syntax
display ip-subnet-vlan vlan { vlan-id1 [ to vlan-id2 ] | all } [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command level
2: System level
Parameters
vlan-id1: Specifies a VLAN ID in the range of 1 to 4094.
vlan-id1 to vlan-id2: Specifies a VLAN ID range. vlan-id1 and vlan-id2 represent VLAN IDs in the range
of 1 to 4094. vlan-id2 must be no smaller than vlan-id1.
all: Specifies all 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.