![Cisco Sx350 Cli Manual Download Page 1282](http://html.mh-extra.com/html/cisco/sx350/sx350_cli-manual_26093201282.webp)
Virtual Local Area Network (VLAN) Commands
1281
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
67
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)#
vlan database
switchxxxxxx(config-vlan)#
map subnet
172.16.1.1 24
subnets-group
4
switchxxxxxx(config-vlan)#
switchport general map subnets-group
4
vlan
8
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
group
vlan
vlan-id
no switchport general map subnets-group
group
Parameters
•
group
—Specifies the group number. (range: 1–2147483647)
Summary of Contents for Sx350
Page 1: ...Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide CLI GUIDE ...
Page 26: ...25 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 1 ...
Page 237: ...CDP Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 236 8 ...
Page 975: ...RADIUS Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 974 48 ...