67
1281
Parameters
•
ip-address
—Specifies the IP address prefix of the subnet to be mapped to
the group.
•
prefix-mask
—Specifies the number of 1s in the mask.
•
group
—Specifies the group number. (range: 1–2147483647)
Default Configuration
N/A
Command Mode
VLAN Database Configuration mode
User Guidelines
Forwarding of packets based on their IP subnet requires setting up groups of IP subnets and
then mapping these groups to VLANs.
Example
The following example maps an IP subnet to the group of IP subnets 4. It then
maps this group of IP subnets to VLAN 8
switchxxxxxx(config)#
switchxxxxxx(config-vlan)#
switchxxxxxx(config-vlan)#
67.27 switchport general map subnets-group
vlan
Use the switchport general map subnets-group vlan Interface Configuration mode
command to set a subnet-based classification rule. Use the no form of this
command to delete a subnet-based classification rule.
Syntax
switchport general map subnets-group
no switchport general map subnets-group
Parameters
•
group
—Specifies the group number. (range: 1–2147483647)
Virtual Local Area Network (VLAN) Commands
vlan database
map subnet
172.16.1.1 24
switchport general map subnets-group
group
group
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
subnets-group
vlan-id
vlan
4
4
8
vlan