Switchport General Map Macs-Group Vlan; Map Subnet Subnets-Group - Alcatel OS-LS-6224 User Manual

User guide
Hide thumbs Also See for OS-LS-6224:
Table of Contents

Advertisement

4
Command Line Interface

switchport general map macs-group vlan

The switchport general map macs-group vlan Interface Configuration command
sets a mac-based classification rule. Use the no form of this command to delete a
classification.
Syntax
switchport general map macs-group group vlan vlan-id
no switchport general map macs-group group
Parameters
- group — Group number. (Range: 1 – 2147483647)
- vlan-id — Define the VLAN ID that is associated with the rule.
Default Setting
There is no default setting for this command.
Command Mode
Interface Configuration (Ethernet, port-channel)
Command Usage
MAC based VLAN rules cannot contain overlapping ranges on the same
interface. The priority between VLAN classification rules is:
1) MAC based VLAN (Best match between the rules)
2) Subnet based VLAN (Best match between the rules)
3) Protocol based VLAN
4) PVID
Example
The following example maps group 100 to VLAN 23 for Ethernet port 1/e16.
Console(config)# interface ethernet 1/e16
Console(config-if)# switchport general map macs-group 100 vlan 23
Related Commands
switchport mode
switchport access vlan

map subnet subnets-group

The map subnet subnets-group VLAN Configuration mode command maps the IP
subnet to a group of IP subnets. To delete the map, use the no form of this
command.
Syntax
map subnet ip-address prefix-mask subnets-group group
no map subnet ip-address prefix-mask
690

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents