Configuring Ip Subnet-Based Vlans; Configuration Procedure - H3C S3600V2 SERIES Layer 2-Lan Switching Configuration Manual

Hide thumbs Also See for S3600V2 SERIES:
Table of Contents

Advertisement

VLAN ID
======================================================
100
200
Interface: Ethernet 1/0/2
VLAN ID
======================================================
100
200
Configuration guidelines
Protocol-based VLAN configuration applies only to hybrid ports.

Configuring IP subnet-based VLANs

In this approach, packets are assigned to VLANs based on their source IP addresses and subnet masks.
A port configured with IP subnet-based VLANs assigns a received untagged packet to a VLAN based on
the source address of the packet.
This feature is used to assign packets from the specified IP subnet or IP address to a specific VLAN.

Configuration procedure

IMPORTANT:
This feature is applicable only on hybrid ports.
To configure an IP subnet-based VLAN:
Step
1.
Enter system view.
2.
Enter VLAN view.
3.
Associate an IP subnet
with the VLAN.
4.
Return to system view.
Protocol Index
1
1
Protocol Index
1
1
Command
system-view
vlan vlan-id
ip-subnet-vlan [ ip-subnet-index ] ip
ip-address [ mask ]
quit
Protocol Type
ipv4
ipv6
Protocol Type
ipv4
ipv6
Remarks
N/A
N/A
The IP subnet or IP address to be
associated with a VLAN cannot be a
multicast subnet or a multicast address.
N/A
139

Advertisement

Table of Contents
loading

Table of Contents