Home > AAAdot1x Lab Sim

AAAdot1x Lab Sim

March 12th, 2011 in LabSim Go to comments

Question:

Acme is a small shipping company that has an existing enterprise network comprised of 2 switches;DSW1 and ASW1. The topology diagram indicates their layer 2 mapping. VLAN 40 is a new VLAN that will be used to provide the shipping personnel access to the server. For security reasons, it is necessary to restrict access to VLAN 20 in the following manner:
– Users connecting to ASW1’s port must be authenticate before they are given access to the network. Authentication is to be done via a Radius server:
– Radius server host: 172.120.39.46
– Radius key: rad123
– Authentication should be implemented as close to the host device possible.
– Devices on VLAN 20 are restricted to in the address range of 172.120.40.0/24.
– Packets from devices in the address range of 172.120.40.0/24 should be passed on VLAN 20.
– Packets from devices in any other address range should be dropped on VLAN 20.
– Filtering should be implemented as close to the server farm as possible.
The Radius server and application servers will be installed at a future date. You have been tasked with implementing the above access control as a pre-condition to installing the servers. You must use the available IOS switch features.

AAAdot1x.jpg

 

Answer and Explanation:

1) Configure ASW1

Enable AAA on the switch:
ASW1(config)#
aaa new-model

The new-model keyword refers to the use of method lists, by which authentication methods and sources can be grouped or organized.

Define the server along with its secret shared password:
ASW1(config)#radius-server host 172.120.39.46 key rad123

ASW1(config)#aaa authentication dot1x default group radius
This command causes the RADIUS server defined on the switch to be used for 802.1x authentication.

Enable 802.1x on the switch:
ASW1(config)#dot1x system-auth-control

Configure Fa0/1 to use 802.1x:

ASW1(config)#interface fastEthernet 0/1
ASW1(config-if)#switchport mode access
ASW1(config-if)#dot1x port-control auto
Notice that the word “auto” will force connected PC to authenticate through the 802.1x exchange.

ASW1(config-if)#exit
ASW1#copy running-config startup-config

2) Configure DSW1:

Define an access-list:
DSW1(config)#ip access-list standard 10 (syntax: ip access-list {standard | extended} acl-name)
DSW1(config-ext-nacl)#permit 172.120.40.0 0.0.0.255
DSW1(config-ext-nacl)#exit

Define an access-map which uses the access-list above:
DSW1(config)#vlan access-map MYACCMAP 10 (syntax: vlan access-map map_name [0-65535] )
DSW1(config-access-map)#match ip address 10 (syntax: match ip address {acl_number | acl_name})
DSW1(config-access-map)#action forward
DSW1(config-access-map)#exit

DSW1(config)#vlan access-map MYACCMAP 20
DSW1(config-access-map)#action drop (drop other networks)
DSW1(config-access-map)#exit

Apply a vlan-map into a vlan:
DSW1(config)#vlan filter MYACCMAP vlan-list 20 (syntax: vlan filter mapname vlan-list list)

DSW1#copy running-config startup-config

(Notice: Many reports said the copy running-config startup-config didn’t work but they still got the full mark)

Other lab-sims in this site:

LACP with STP Sim
MLS and EIGRP Sim
VTP Lab 2
VTP Lab
Spanning Tree Lab Sim

Comments
Comment pages
1 2 3 4 41
  1. Ahmed
    November 23rd, 2011

    Not Sure, But “The Radius server and application servers will be installed at a future date. You have been tasked with implementing the above access control as a pre-condition to installing the servers. You must use the available IOS switch features. ”

    Means that we need only to apply the VACL ,no authentication to be applied at this point , also i think it shall be extended ACL from Vlan20 IP range to the Radius server host .

    Any body can comment .. My exam will be tomorrow !!!!

  2. ccnp-hopeful
    November 25th, 2011

    @ahmed: what were your results regarding this?

  3. Ahmed
    November 25th, 2011

    Passed 890

  4. Ahmed
    November 25th, 2011

    i did as mentined before m but i applied the 2 configurations in ASW1

  5. ccnp-hopeful
    November 26th, 2011

    ahh i see.. well grats that u passed anyways..

  6. Yonimungus
    November 30th, 2011

    Should you not also include a:

    ASW1(config-int)#no shutdown

    command under the interface or is the line protocol already up?

  7. Ante
    December 5th, 2011

    These are switch ports, they should already be up.. Will see in 8 hours anyway :)

  8. Anon
    December 6th, 2011

    When running through this lab on real equipment the following command is not working. Can anyone verify that this does indeed work in the actual exam?

    ASW1(config-if)#dot1x port-control auto

  9. JB
    December 6th, 2011

    Make sure you enter switch mode access. It should work after that. Did you complete the exam. If so how did it go?

  10. JB
    December 6th, 2011

    Ante how did the exam go. Feedback man… Feedback

  11. spy
    December 7th, 2011

    2-day i passed switch exam got 912 marks….this lab is present in my exam…

    i have solved all 3 lab correctly…..but mess up in simple Multiple choice Question…anyway….

    if u wann any information regarding this switch exam then contact me on tokle.sumit@gmail.com..i will give your all problem answer…as i remember every thing

  12. canon
    December 8th, 2011

    DSW1(config)# vlan access-map MYACCMAP 10
    Why this command is not working in Packet tracer or in GNS.?
    did we need latest ios or 6500 series switch or it happen to me only.??
    and is it worked in lab same as written here.??

  13. Anonymous
    December 8th, 2011

    Passed with 923

  14. HIO
    December 9th, 2011

    this lab still valid!!! all the best

  15. baraka
    December 14th, 2011

    why wildcard mask? 0.0.0.255?

  16. Anon
    December 15th, 2011

    Baraka,

    Because its a class C network. /24, So we only want to look at the host bits…

  17. NRDN
    December 15th, 2011

    SALAM

    don’t miss these 2 command lignes :
    config)int fa0/1
    switchport mode access
    switchport access vlan 20

    salam

  18. Kate
    December 16th, 2011

    Hi all…

    Are the commands

    1. switchport access vlan 20

    and

    2. no shutdown

    necessary ???????

    i think there is no harm in giving the command ‘ no shutdown ‘ although it is not required for switches (In switches by default it is no shutdown unlike routers…)

    I’m giving my exam 2moro so please reply ASAP……

  19. baraka
    December 17th, 2011

    I would put switchport access vlan 20 as i don’t see any restrictions for the contrary anyway.

  20. mkultra
    December 22nd, 2011

    @canon
    those commands don’t work in packet tracer or simulators (IOU/GNS3). they only work on real cisco switches.
    just type those commands down into notepad and cheat your brain into thinking it’s a real switch until you’ve memorized them

  21. mkultra
    December 22nd, 2011

    btw. I don’t think this part is needed

    DSW1(config)#vlan access-map MYACCMAP 20
    DSW1(config-access-map)#action drop (drop other networks)
    DSW1(config-access-map)#exit

    the deny is implied at the end of the ACL used in the previous map

    Taking the test friday. I’ll report back later

  22. spy
    December 22nd, 2011

    hi many of my friend coulnt pass this exam because of this sim…
    while entering “aaa authentication dot1x default group radius” this command we got some error..

    help me out….

  23. Seym
    December 23rd, 2011

    Cleared yesterday. Lab is the same. All works

  24. Gibeli
    December 23rd, 2011

    What about the condition?
    “– Devices on VLAN 20 are restricted to in the address range of 172.120.40.0/24.”

    Don’t we create a new VACL for that? (but vlan 20′s subnet is missing)

  25. MB
    December 24th, 2011

    HI,
    does anyone know how to get a proper network simulation for CCNP switch as most of the commands are not compatible with the packet tracer even 5.3 ??

  26. tsh
    December 24th, 2011

    Can u post the latest switching dumps url please(642-813)..or any pointers to that

  27. Bharath
    December 26th, 2011

    Hi Guys,

    Couple of hours before I passed my Switching exam, this site was very helpful and thanks a lot for all your contributions. I got 3 simulators (LACP, DOT1X, EIGRP with MLS), 2 drag & drop (syslog order, Sys, N/W, Mgmnt Levels), 1 hot spot (HSRP).

    All optional questions came from the below Dumps, (examcollection)

    Cisco ActualTest 642-813 v2011-11-11 by nonentity 407q.vce

    For Simulators and Drag & Drop use the below dump (Drag & Drop Section)

    Cisco Pass4sure 642-813 v2011-09-20 by WhiteNetworks 459q.vce

    Thanks once again.

  28. Osman
    December 29th, 2011

    @spy
    Did you first entered this command
    Asw1(config)AAA new-model
    cause the same happened to me but after that command it was ok.

  29. mustafeez
    December 31st, 2011

    Hi,,first of all i thanks for digitaltut.com ,and certprepare.com for there wonderful site…for the preparation for Cisco track exam…i passed route and switch with help this 2 sites and dumps by nonenty ….now i am preparing for TSHOOT and hopfully ill write exam 20 jan 2012….can any one send me latest dumps and required study material …….here is my email address..

    mustafeezmj@gmail.com thanks for help

  30. Dang Van Cuong
    January 3rd, 2012

    Hi all
    Today, i pass switch with score 989, thank certprepare very much.
    My exam has 40 questions, Lab aaa dot1x, Lacp, mls, 1hotspot, 1 D&D.
    dump nonentity is enough
    In aaa dot1x, when show run u will see fa0/1 assignmented access port for vllan 20 thus no need ‘switchport mode access’ and no need ‘vlan access-map MYACCMAP 20′ too because default is drop.
    Good luck

  31. abhishek
    January 10th, 2012

    hi everyone,

    I am able to do MCQ,DD, lacp+stp and mls+eigrp sim lab….this lab ‘aaadot1x’ is killing me…couldnt find any interactive versions…got exam after 3 days…is it ok to practise/mug all commands from here (asw1 and dsw1) on note pad and do exam !!

    I heard many people fails because of aaadot1x

    pls advice…eager waiting for reply,

    cheers,
    abhi

  32. Rhebu
    January 10th, 2012

    @abhishek

    I’ve just configured the dot1x lab on a real switch. I have to assure you that this one is a piece of cake.
    If you count the sequences needed to implement this LAB, there are only 9 of them (meaning that you’ve had your hands on a switch before).

    Dot1x Part: i didn’t configure authentication and authorization before on a real setup, but this lab it’s quite simple. You have to memorize only the first (and second) command word, and from there you can solve the LAB.

    For the VACL, it’s more simpler if you just passed the ROUTE, which teaches you about route-maps. If you aren’t familiar with ROUTE, note that only 3 steps are required to complete the section:
    1. Configure standard access-list
    2. configure VLAN access-map
    3. Apply the VLAN access-map onto vlan

    My exam it’s on this Thursday, and hope at the same 3 LABS.

  33. abhishek
    January 11th, 2012

    @ hey Rhebu,

    i talked with so many people….all suggested to just mug the command and sit on the exam…. as thr is no interactive version on pkt tracer and gns3 !!

    well, my issue is …if i execute all this command displayed up (in a same sequence without skipping any commands and steps)…will the sim work …i mean can i solve it on exam…i have to pass mate howevr :)

    pls reply me and tell me ur exam experience…how was it?

    good luck ,
    abhi

  34. Rhebu
    January 12th, 2012

    Just pass the exam.
    @abhishek:
    I’ve scored 100% at dot1x lab, and you only need to memorize the commands.

  35. mox
    January 12th, 2012

    Thanks for share this labs!!

    I’ve passed it today, 3 labs, aaa dot1x, Lacp, eigrp, 2 drag and drop, hop spot (hsrp)

    teskings user Bharath

  36. abhishek
    January 13th, 2012

    hey Rhebu …

    congrats!! i m hpy for u

    by the way, was thr any question frm WIRELESS and VOICE
    I am mugging the commands of AAA dot1x sim…funny stuffs :)

    pls reply,
    abhi

  37. Faisal
    January 13th, 2012

    @Abhishek
    please send me the exact configuration of aaa dot1x lab and lacp eigrp labs please i have exam on 19th of this january

  38. Faisal
    January 13th, 2012

    Kindly share the Configuration of all labs…
    i have exam on 19th january

    also mail me
    faisal.safdar@live.com

  39. abhishek
    January 14th, 2012

    @ Faisal

    dude,even i have got exam on 19th…
    and i am looking for the configuration of the same lab….
    whereas, the other two ….u can get it frm this cert…
    however,i have send u the ccnp_switch_exam dumps…along with the lab simulations
    please chk ur mail

    good luck,
    abhi

  40. Anonymous
    January 16th, 2012

    Why are ppl asking for the configs for this sim? Aren’t they clearly posted above? Are they not correct or something??

  41. RandomCCNPSeeker
    January 18th, 2012

    Passed last week with 923!! Hooray! Now studying for Route test …had 4 labs – AAA SIM 1st, then MLS/EIGRP, LACP with STP and Spanning-tree SIM. A couple drap and drops…one I remember is that “packet cos priority one” which I could find a legit answer too…anyways 923 aint bad.

  42. Ahmed
    January 18th, 2012

    pls. i will be writing Switch very soon and i need someone that just did his/hers to send me the dums and any relevant configuration…my email is obadunahmed@gmail.com…Thanks

  43. Anonymous
    January 19th, 2012

    There is difference in the answers of vc file and p4s dumps… i m so tens,,, my concepts are so weak…

    please tell me on which ones should me prepare????

    please reply fast i have exam after 12 hour

  44. Spider
    January 25th, 2012

    my exam is tomorrow !!
    could anyone help about last command vlan filter MYACCMAP vlan-list 20 or 40 and why?

    thanx for any help

  45. ccnp fail
    January 25th, 2012

    Anonymous, i am amazed that you dont even know the concepts are paying 200$ :) . GOD Bless you my dear.

  46. James
    January 25th, 2012

    @ Spider
    The “vlan-list 20″ is referring to VLAN 20
    All The Best for tommorrow.

  47. Spider
    January 25th, 2012

    @ James
    i know the VACL is applied on vlan 20 but i wanna why vlan 20 , i think it should be applied on VLAN 40

    thanx for help

  48. Nitai
    January 26th, 2012

    In the above simulation, it says:
    “Users connecting to ASW1’s port must be authenticate before they are given access to the network” and in the figure it shows three switch port rather than only fa0/1. So the question is that when configuring the authentication, shouldn’t it apply to all three fast ethernet ports rather than only fa0/1.
    So I was thinking may be it should be more like:

    int range fa0/1 – 3
    switchport mode access
    dot1x port-control auto

    Any comments??? Will take switch next week…

  49. Nitai
    January 26th, 2012

    @Sprider and James

    If you read the question it says:
    ” Packets from devices in the address range of 172.120.40.0/24 should be passed on VLAN 20.
    – Packets from devices in any other address range should be dropped on VLAN 20.”

    That suggests that vlan 20 is the only vlan where you need to set access-map on.
    The command syntax is “vlan filter {map-name} vlan-list {vlan-list}

  50. Oink
    January 28th, 2012

    @Nitai, according to the diagram VLAN 20 is only valid for the port fa0/1. If a user connects to another access port they wouldn’t be in VLAN 20 anyway and would therefore not need to authenticate.

  51. Alden
    February 6th, 2012

    This command is not working at real switch i check at both 2950 and 2960 , please help

    DSW1(config)#vlan access-map MYACCMAP 10

    Thanks in advanced
    http://20best.blogspot.com

  52. Saber
    February 7th, 2012

    Can any one help me to get IOS for GNS3 to test.

    tanh123@hotmail.com

  53. Saber
    February 7th, 2012

    Dear Aledn i think it need L3 switch, this comman is not working at L2 switch. Please clear if i am wrong.

Comment pages
1 2 3 4 41
  1. No trackbacks yet.
Add a Comment