Port Hybrid Ip-Subnet-Vlan; Display Protocol-Vlan Interface - H3C S6812 Series Command Reference Manual

Hide thumbs Also See for S6812 Series:
Table of Contents

Advertisement

decimal notation. The mask argument is the subnet mask of the source IP address or network
address, in dotted decimal notation with a default value of 255.255.255.0.
to ip-subnet-end: Specifies an end IP subnet index of an IP subnet index range, in the range of 0 to
65535. The value for the ip-subnet-end argument must be greater than or equal to the beginning IP
subnet index.
all: Specifies all IP subnets or IP addresses that are associated with the VLAN.
Usage guidelines
The IP subnet or IP address cannot be a multicast network segment or a multicast address.
Examples
# Configure VLAN 3 as an IP subnet-based VLAN and associate it with the subnet 192.168.1.0/24.
<Sysname> system-view
[Sysname] vlan 3
[Sysname-vlan3] ip-subnet-vlan ip 192.168.1.0 255.255.255.0
Related commands

display protocol-vlan interface

display protocol-vlan vlan
port hybrid protocol-vlan

port hybrid ip-subnet-vlan

Use port hybrid ip-subnet-vlan to associate a port with the specified IP subnet-based VLAN.
Use undo port hybrid ip-subnet-vlan to disassociate a port from the specified IP subnet-based
VLAN.
Syntax
port hybrid ip-subnet-vlan vlan vlan-id
undo port hybrid ip-subnet-vlan { vlan vlan-id | all }
Default
A port is not associated with an IP subnet-based VLAN.
Views
Layer 2 Ethernet interface view
Layer 2 aggregate interface view
Predefined user roles
network-admin
Parameters
vlan vlan-id: Specifies a VLAN by its ID in the range of 1 to 4094.
all: Specifies all VLANs.
Usage guidelines
For this command to take effect, perform the following tasks:
1.
Create a VLAN and associate it with the specified IP subnet or IP address.
2.
Set the port link type to hybrid.
3.
Configure the port to allow the IP subnet-based VLAN to pass through.
26

Advertisement

Table of Contents
loading

This manual is also suitable for:

S6813 seriesS5150-ei

Table of Contents