Allied-telesis AT-S95 CLI (AT-8000GS Series) Instrukcja Użytkownika Strona 354

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 397
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 353
Page 354
Allied Telesis
AT-8000GS Command Line Interface Users 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 g17
console(config-vlan)# exit
console(config)# interface ethernet 1/g17
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 g17
Przeglądanie stron 353
1 2 ... 349 350 351 352 353 354 355 356 357 358 359 ... 396 397

Komentarze do niniejszej Instrukcji

Brak uwag