Lab 2: APM Troubleshooting Lab Object Preparation (TMSH) ======================================================== *Note: You only need to perform one of Lab 1, 2, or 3. They accomplish the same thing only in different ways. Lab 2 gets the Lab Preparation using TMSH* The purpose of this lab is to preconfigure some objects that will be used throughout the other labs. These objects are as follows: - Domain Name Services (DNS) Resolver - Network Time Protocol (NTP) Server - Access Policy (APM) AAA Server – Active Directory - Access Policy (APM) SSO Configuration – NTLMv1 - Access Policy (APM) Access Profile - Local Traffic (LTM) Pool and Member - Local Traffic (LTM) Virtual Server Connect to the Lab via SSH -------------------------- |image1| 1. Establish an RDP connection to your Jump Host and double-click on the **BIG-IP** Chrome shortcut on the Windows desktop. - User: agility - Password: Agility1 2. Ignore the certificate warning. 3. Login into the BIG-IP via SSH using putty and the following credentials: - User: root - Password: default 4. Log in to tmsh by typing the following command: **tmsh** DNS Resolver for System Configuration (TMSH) -------------------------------------------- 1. To add a name server to your /etc/resolv.conf file, use the following command syntax, replacing with your IP addresses: **modify sys dns name-servers add { }** 2. To add domains to your search list use the following command replacing with the domain you wish to add: **modify sys dns search add { }** 3. Configure as follows: **modify sys dns name-servers add { 10.128.20.100 }** **modify sys dns search add { agilitylab.com }** **save sys config** 4. To verify, use the following command: **list sys dns** You should see the following reply: |image250| NTP Server for System Configuration (TMSH) ------------------------------------------ 1. To configure one or more NTP servers for the BIG-IP system, use the following command syntax: **modify sys ntp servers add {hostname hostname....}** 2. Configure as follows: **modify sys ntp servers add { 10.128.20.100 }** **save sys config** 3. To verify, use the following command: **list sys ntp** You snould see the following reply: |image251| Access Policy (APM) AAA Server – Active Directory Object Creation (TMSH) ------------------------------------------------------------------------ 1. To configure an Active Directory AAA Server object, use the following command syntax: **create apm aaa active-directory domain use-pool ** 2. Configure as follows: **create apm aaa active-directory LAB\_AD\_AAA domain agilitylab.com use-pool disabled** **save sys config** 3. To verify, use the following command: **list apm aaa** You should see the following reply: |image252| Access Policy (APM) SSO Configuration – NTLMv1 (TMSH) ----------------------------------------------------- 1. To configure an NTLMv1 SSO profile, use the following command syntax: **create apm sso ntlmv1 ** 2. Configure as follows: **create apm sso ntlmv1 Agility_Lab_SSO_NTLM** **save sys config** 3. To verify, use the command: **list apm sso** Access Policy (APM) Access Profile Creation (see GUI steps) ----------------------------------------------------------- .. NOTE:: In order to gain familiarity with the Visual Policy Editor, please follow the GUI method of Access Policy creation: https://ua230-troubleshooting-2018-dev.readthedocs.io/en/latest/class4/module1/module1.html#access-policy-apm-access-profile-creation Local Traffic (LTM) Pool and Member Creation (TMSH) --------------------------------------------------- 1. To configure a LTM Pool and Pool members, use the following command syntax: **create ltm pool members add { : }** 2. Configure as follows: **create ltm pool Agility-Lab-Pool members add { 10.128.20.100:80 }** **save sys config** 3. To verify, use the following command: **list ltm pool** Local Traffic (LTM) Virtual Server Creation (TMSH) -------------------------------------------------- 1. To configure a virtual server, use the following command syntax: **create ltm virtual Agility-LTM-VIP { destination 10.128.10.100:443 profiles add { clientssl http Agility-Lab-Access-Profile } vlans default source-address-translation { type automap } }** 2. Configure as follows: **create ltm virtual Agility-LTM-VIP { destination 10.128.10.100:443 profiles add { clientssl http Agility-Lab-Access-Profile } vlans default source-address-translation { type automap } }** **save sys config** 3. To verify, use the following command: **list ltm virtual** .. |image1| image:: /_static/class8/image3.png :width: 5.30000in :height: 3.34687in .. |image250| image:: /_static/class8/image250.png :width: 636px :height: 83px .. |image251| image:: /_static/class8/image251.png :width: 617px :height: 65px .. |image252| image:: /_static/class8/image252.png :width: 589px :height: 83px