Displaying And Maintaining Vlan - H3C S3600V2 SERIES Layer 2-Lan Switching Configuration Manual

Hide thumbs Also See for S3600V2 SERIES:
Table of Contents

Advertisement

Please wait... Done.
[DeviceC-Ethernet1/0/12] quit
# Associate interface Ethernet 1/0/1 with IP subnet-based VLANs 100 and 200.
[DeviceC] interface ethernet 1/0/1
[DeviceC-Ethernet1/0/1] port link-type hybrid
[DeviceC-Ethernet1/0/1] port hybrid vlan 100 200 untagged
Please wait... Done.
[DeviceC-Ethernet1/0/1] port hybrid ip-subnet-vlan vlan 100
[DeviceC-Ethernet1/0/1] port hybrid ip-subnet-vlan vlan 200
[DeviceC-Ethernet1/0/1] return
Verifying the configurations
# Display the IP subnet information for all VLANs.
<Device C> display ip-subnet-vlan vlan all
VLAN ID:
Subnet Index
====================================================
0
VLAN ID:
Subnet Index
====================================================
0
# Display the IP subnet-based VLAN information on Ethernet 1/0/1.
<DeviceC> display ip-subnet-vlan interface ethernet 1/0/1
Interface: Ethernet1/0/1
VLAN ID
=======================================================
100
200
Configuration guidelines
The IP subnet-based VLAN configurations are only effective on hybrid ports.

Displaying and maintaining VLAN

Task
Display VLAN information.
Display VLAN interface
information.
Display hybrid ports or trunk ports
on the device.
100
IP Address
192.168.5.0
200
IP Address
192.168.50.0
Subnet-Index
IP ADDRESS
0
192.168.5.0
0
192.168.50.0
Subnet Mask
255.255.255.0
Subnet Mask
255.255.255.0
NET MASK
255.255.255.0
255.255.255.0
Command
display vlan [ vlan-id1 [ to vlan-id2 ] | all | dynamic
| reserved | static ] [ | { begin | exclude | include }
regular-expression ]
display interface [ vlan-interface ] [ brief [ down ] ] [ |
{ begin | exclude | include } regular-expression ]
display interface vlan-interface vlan-interface-id
[ brief ] [ | { begin | exclude | include }
regular-expression ]
display port { hybrid | trunk } [ | { begin | exclude |
include } regular-expression ]
142
Remarks
Available in any
view
Available in any
view
Available in any
view

Advertisement

Table of Contents
loading

Table of Contents