vlan assign based on MAC

Post Reply
maxmania
Member
Posts: 46
Joined: 19 Dec 2010 18:43

vlan assign based on MAC

Post by maxmania » 07 Nov 2019 18:34

Hello eveyone,

I have trying to configure 8 ports on my os-6450 in port mobile mode. I want to assign the vlan based on MAC. I try to read the sw documentation, but no luck, they talk too much and explain not so much..... I understand I need do configure a classification under AAA, and configura a policy list, but can't get it work!!!

this is my configuration:

vlan 1 disable name "VLAN 1"
vlan 10 enable name "data"
vlan 10 mobile-tag enable
vlan 10 port default 1/22
vlan 10 port default 1/24
vlan 20 enable name "guest"
vlan 20 mobile-tag enable
vlan 20 port default 1/23
vlan port mobile 1/1 bpdu ignore enable
vlan port mobile 1/2 bpdu ignore enable
vlan port mobile 1/3 bpdu ignore enable
vlan port mobile 1/4 bpdu ignore enable
vlan port mobile 1/5 bpdu ignore enable
vlan port mobile 1/6 bpdu ignore enable
vlan port mobile 1/7 bpdu ignore enable
vlan port mobile 1/8 bpdu ignore enable
! VLAN SL:
! IP :
ip service all
ip interface "data" address 192.168.4.2 mask 255.255.255.0 vlan 10 ifindex 2
! IPMS :
! AAA :
aaa authentication default "local"
aaa user-network-profile name "DATA" vlan 10 hic disable policy-list-name "pl_DATA"
aaa classification-rule mac-address b8:27:eb:28:c2:f6 user-network-profile name DATA
! PARTM :
! 802.1x :
! QOS :
policy condition cDATA destination ip Any
policy action aDATA
policy rule rDATA condition cDATA action aDATA
policy list "pl_DATA" type unp rules rDATA
qos apply
! Policy manager :
! 802.1Q :
vlan 20 802.1q 1/24 "TAG PORT 1/24 VLAN 20"
Best Regards
Maxmania
Jose Alves

Post Reply

Return to “OmniSwitch 6450”