10-01-2015 12:58 AM - edited 03-10-2019 11:06 PM
Hi all,
We have 802.1x authentication setup on our switches.
The switch ports have the following configured on them.
switchport access vlan 5
switchport mode access
switchport nonegotiate
switchport protected
logging event link-status
authentication port-control auto
dot1x pae authenticator
dot1x timeout tx-period 5
dot1x max-req 3
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
ip verify source
Also, the network policy server is configured to assign VLAN 9 to the devices the authenticate successfully.
I can't seem to find out that which one will take precedence? For example, if I connect a device to a switch port that has "switchport access vlan 5" configured but the network policy servers return VLAN 9 to the switch on successful authentication of the device then which VLAN will the switch put the device in?
Solved! Go to Solution.
10-01-2015 02:40 AM
Hi,
It will be placed in vlan 9. You can confirm this by issuing the following command on the switch "sh authentication sessions interface <interface id>" where interface id is the interface the device is connected to. An alternative is to enable logging on the switch en check the logs for interface events which will confirm the vlan the device is placed in.
Regards,
Jason
10-01-2015 02:40 AM
Hi,
It will be placed in vlan 9. You can confirm this by issuing the following command on the switch "sh authentication sessions interface <interface id>" where interface id is the interface the device is connected to. An alternative is to enable logging on the switch en check the logs for interface events which will confirm the vlan the device is placed in.
Regards,
Jason
10-01-2015 02:40 AM
"show interface status" will also show you the VLAN a given accessport is placed in.
10-01-2015 03:07 AM
Thanks everyone.
10-01-2015 02:44 AM
You can also check 'show int switchport' . That should show operational mode and Vlan assigned.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide