beautypg.com

Map mac macs-group, Show vlan macs-group, Map mac macs-group show vlan macs-group – Allied Telesis AT-S94 CLI (AT-8000S Series) User Manual

Page 354

background image

Page 353

Allied Telesis
AT-8000S-S94-3.0 Command Line Interface User’s Guide

Example

The following example sets a mac-based classification rule.

map mac macs-group

The map mac macs-group VLAN Configuration mode command maps a MAC address or a range of MAC
addresses to a group of MAC addresses. Use the no form of this command to delete a map.

Syntax

map mac mac-address {prefix-mask | host} macs-group group

no map mac mac-address {prefix-mask | host}

mac-address — Specifies the MAC address to be entered to the group.

prefix-mask — Specifies the Mask bits. The format is the MAC address format.

host — Specifies all 1’s mask.

group — Specifies the group number. (Range: 1-2147483647)

Default Configuration

This command has no default configuration.

Command Mode

VLAN Configuration mode

User Guidelines

There are no user guidelines for this command.

Example

The following example maps a MAC address or a range of MAC addresses to a group of MAC addresses.

show vlan macs-group

The show vlan macs-group privileged EXEC command displays MAC group information.

Syntax

show vlan macs-group

console(config)# vlan database

console(config-vlan)# map mac 00:08:78:32:98:78 9 macs-group 1

interface ethernet e17

console(config-vlan)# exit

console(config)# interface ethernet 1/e17

console(config-if)# switchport mode general

console(config-if)# switchport general map macs-group 1 vlan 2

console(config)# vlan database

console(config-vlan)# map mac 00:08:78:32:98:78 9 macs-group 1

interface ethernet e17