beautypg.com

Configuration guidelines, Ip subnet-based vlan configuration, Introduction – H3C Technologies H3C S7500E Series Switches User Manual

Page 234: Configuring an ip subnet-based vlan

background image

15-26

200 1 ipv6

Configuration guidelines

Protocol-based VLAN configuration applies to hybrid ports only.

IP Subnet-Based VLAN Configuration

Introduction

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 network segment or IP address to a specific
VLAN.

Configuring an IP Subnet-Based VLAN

This feature is only applicable on hybrid ports.

Follow these steps to configure an IP subnet-based VLAN:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter VLAN view

vlan

vlan-id

Associate an IP subnet with the

current VLAN

ip-subnet-vlan

[ ip-subnet-index ] ip ip-address

[ mask ]

Required

The IP network segment or IP

address to be associated with a

VLAN cannot be a multicast

network segment or a multicast

address.

Return to system view

quit

Enter Ethernet

interface view

interface interface-type

interface-number

Enter interface

view or port

group view

Enter Layer 2

aggregate

interface view

interface bridge-aggregation

interface-number

Required

Use either command.

In Ethernet interface view, the

subsequent configurations

apply to the current port.