R3721-F3210-F3171-HP High-End Firewalls Network Management Configuration Guide-6PW101

Table Of Contents
45
Verifying the configuration
Host A and Host C and ping each other successfully, but they both fail to ping Host B. Host B and
Host D and ping each other successfully, but they both fail to ping Host A.
Check whether the configuration is successful by displaying relevant VLAN information.
# Display information about VLANs 100 and 200 on Device A.
[DeviceA-GigabitEthernet0/3] display vlan 100
VLAN ID: 100
VLAN Type: static
Route Interface: not configured
Description: VLAN 0100
Name: VLAN 0100
Tagged Ports:
GigabitEthernet0/3
Untagged Ports:
GigabitEthernet0/1
[DeviceA-GigabitEthernet0/3] display vlan 200
VLAN ID: 200
VLAN Type: static
Route Interface: not configured
Description: VLAN 0200
Name: VLAN 0200
Tagged Ports:
GigabitEthernet0/3
Untagged Ports:
GigabitEthernet0/2
Displaying and maintaining VLAN
Task Command
Remarks
Display VLAN information.
display vlan [ vlan-id1 [ to vlan-id2 ] | all |
dynamic | reserved | static ] [ | { begin |
exclude | include } regular-expression ]
Available in any view
Display VLAN interface
information.
display interface [ vlan-interface ] [ brief
[ down ] ] [ | { begin | exclude | include }
regular-expression ]
display interface vlan-interface
vlan-interface-id [ brief ] [ | { begin | exclude
| include } regular-expression ]
Available in any view
Display hybrid ports or trunk ports
on the device.
display port { hybrid | trunk } [ | { begin |
exclude | include } regular-expression ]
Available in any view
Clear statistics on a port.
reset counters interface vlan-interface
[ vlan-interface-id ]
Available in user view
Configuration guidelines
Follow these guidelines when you configure VLANs: