Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

Disable dns lookup packet tracer command

27/11/2021 Client: muhammad11 Deadline: 2 Day

Lab – Configuring Switch Security Features

Topology

Addressing Table

Device Interface IP Address Subnet Mask Default Gateway

R1 G0/1 172.16.99.1 255.255.255.0 N/A

S1 VLAN 99 172.16.99.11 255.255.255.0 172.16.99.1

PC-A NIC 172.16.99.3 255.255.255.0 172.16.99.1

Objectives

Part 1: Set Up the Topology and Initialize Devices

Part 2: Configure Basic Device Settings and Verify Connectivity

Part 3: Configure and Verify SSH Access on S1

 Configure SSH access.

 Modify SSH parameters.

 Verify the SSH configuration.

Part 4: Configure and Verify Security Features on S1

 Configure and verify general security features.

 Configure and verify port security.

Background / Scenario

It is quite common to lock down access and install good security features on PCs and servers. It is important that your network infrastructure devices, such as switches and routers, are also configured with security features.

In this lab, you will follow some best practices for configuring security features on LAN switches. You will only allow SSH and secure HTTPS sessions. You will also configure and verify port security to lock out any device with a MAC address not recognized by the switch.

Note: The router used with CCNA hands-on labs is a Cisco 1941 Integrated Services Router (ISR) with Cisco IOS Release 15.2(4)M3 (universalk9 image). The switch used is a Cisco Catalyst 2960 with Cisco IOS Release 15.0(2) (lanbasek9 image). Other routers, switches, and Cisco IOS versions can be used. Depending on the model and Cisco IOS version, the commands available and output produced might vary from what is shown in the labs. Refer to the Router Interface Summary Table at the end of this lab for the correct interface identifiers.

Note: Make sure that the router and switch have been erased and have no startup configurations. If you are unsure, contact your instructor or refer to the previous lab for the procedures to initialize and reload devices.

Lab – Configuring Switch Security Features

© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 2 of 9

Required Resources

 1 Router (Cisco 1941 with Cisco IOS Release 15.2(4)M3 universal image or comparable)

 1 Switch (Cisco 2960 with Cisco IOS Release 15.0(2) lanbasek9 image or comparable)

 1 PC (Windows 7, Vista, or XP with terminal emulation program, such as Tera Term)

 Console cables to configure the Cisco IOS devices via the console ports

 Ethernet cables as shown in the topology

Part 1: Set Up the Topology and Initialize Devices

In Part 1, you will set up the network topology and clear any configurations if necessary.

Step 1: Cable the network as shown in the topology.

Step 2: Initialize and reload the router and switch.

If configuration files were previously saved on the router or switch, initialize and reload these devices back to their basic configurations.

Part 2: Configure Basic Device Settings and Verify Connectivity

In Part 2, you configure basic settings on the router, switch, and PC. Refer to the Topology and Addressing Table at the beginning of this lab for device names and address information.

Step 1: Configure an IP address on PC-A.

Step 2: Configure basic settings on R1.

a. Configure the device name.

b. Disable DNS lookup.

c. Configure interface IP address as shown in the Addressing Table.

d. Assign class as the privileged EXEC mode password.

e. Assign cisco as the console and vty password and enable login.

f. Encrypt plain text passwords.

g. Save the running configuration to startup configuration.

Step 3: Configure basic settings on S1.

A good security practice is to assign the management IP address of the switch to a VLAN other than VLAN 1 (or any other data VLAN with end users). In this step, you will create VLAN 99 on the switch and assign it an IP address.

a. Configure the device name.

b. Disable DNS lookup.

c. Assign class as the privileged EXEC mode password.

d. Assign cisco as the console and vty password and then enable login.

e. Configure a default gateway for S1 using the IP address of R1.

f. Encrypt plain text passwords.

Lab – Configuring Switch Security Features

© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 3 of 9

g. Save the running configuration to startup configuration.

h. Create VLAN 99 on the switch and name it Management.

S1(config)# vlan 99

S1(config-vlan)# name Management

S1(config-vlan)# exit

S1(config)#

i. Configure the VLAN 99 management interface IP address, as shown in the Addressing Table, and enable the interface.

S1(config)# interface vlan 99

S1(config-if)# ip address 172.16.99.11 255.255.255.0

S1(config-if)# no shutdown

S1(config-if)# end

S1#

j. Issue the show vlan command on S1. What is the status of VLAN 99?

k. Issue the show ip interface brief command on S1. What is the status and protocol for management interface VLAN 99?

Why is the protocol down, even though you issued the no shutdown command for interface VLAN 99?

l. Assign ports F0/5 and F0/6 to VLAN 99 on the switch.

S1# config t

S1(config)# interface f0/5

S1(config-if)# switchport mode access

S1(config-if)# switchport access vlan 99

S1(config-if)# interface f0/6

S1(config-if)# switchport mode access

S1(config-if)# switchport access vlan 99

S1(config-if)# end

m. Issue the show ip interface brief command on S1. What is the status and protocol showing for interface VLAN 99?

Note: There may be a delay while the port states converge.

Step 4: Verify connectivity between devices.

a. From PC-A, ping the default gateway address on R1. Were your pings successful?

b. From PC-A, ping the management address of S1. Were your pings successful?

c. From S1, ping the default gateway address on R1. Were your pings successful?

d. From PC-A, open a web browser and go to http://172.16.99.11. If it prompts you for a username and password, leave the username blank and use class for the password. If it prompts for secured connection, answer No. Were you able to access the web interface on S1?

e. Close the browser session on PC-A.

Note: The non-secure web interface (HTTP server) on a Cisco 2960 switch is enabled by default. A common security measure is to disable this service, as described in Part 4.

Lab – Configuring Switch Security Features

© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 4 of 9

Part 3: Configure and Verify SSH Access on S1

Step 1: Configure SSH access on S1.

a. Enable SSH on S1. From global configuration mode, create a domain name of CCNA-Lab.com.

S1(config)# ip domain-name CCNA-Lab.com

b. Create a local user database entry for use when connecting to the switch via SSH. The user should have administrative level access.

Note: The password used here is NOT a strong password. It is merely being used for lab purposes.

S1(config)# username admin privilege 15 secret sshadmin

c. Configure the transport input for the vty lines to allow SSH connections only, and use the local database for authentication.

S1(config)# line vty 0 15

S1(config-line)# transport input ssh

S1(config-line)# login local

S1(config-line)# exit

d. Generate an RSA crypto key using a modulus of 1024 bits.

S1(config)# crypto key generate rsa modulus 1024

The name for the keys will be: S1.CCNA-Lab.com

% The key modulus size is 1024 bits

% Generating 1024 bit RSA keys, keys will be non-exportable...

[OK] (elapsed time was 3 seconds)

S1(config)#

S1(config)# end

e. Verify the SSH configuration and answer the questions below.

S1# show ip ssh

What version of SSH is the switch using?

How many authentication attempts does SSH allow?

What is the default timeout setting for SSH?

Step 2: Modify the SSH configuration on S1.

Modify the default SSH configuration.

S1# config t

S1(config)# ip ssh time-out 75

S1(config)# ip ssh authentication-retries 2

How many authentication attempts does SSH allow?

What is the timeout setting for SSH?

Lab – Configuring Switch Security Features

© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 5 of 9

Step 3: Verify the SSH configuration on S1.

a. Using SSH client software on PC-A (such as Tera Term), open an SSH connection to S1. If you receive a message on your SSH client regarding the host key, accept it. Log in with admin for username and cisco for the password.

Was the connection successful?

What prompt was displayed on S1? Why?

b. Type exit to end the SSH session on S1.

Part 4: Configure and Verify Security Features on S1

In Part 4, you will shut down unused ports, turn off certain services running on the switch, and configure port security based on MAC addresses. Switches can be subject to MAC address table overflow attacks, MAC spoofing attacks, and unauthorized connections to switch ports. You will configure port security to limit the number of MAC addresses that can be learned on a switch port and disable the port if that number is exceeded.

Step 1: Configure general security features on S1.

a. Configure a message of the day (MOTD) banner on S1 with an appropriate security warning message.

b. Issue a show ip interface brief command on S1. What physical ports are up?

c. Shut down all unused physical ports on the switch. Use the interface range command.

S1(config)# interface range f0/1 – 4

S1(config-if-range)# shutdown

S1(config-if-range)# interface range f0/7 – 24

S1(config-if-range)# shutdown

S1(config-if-range)# interface range g0/1 – 2

S1(config-if-range)# shutdown

S1(config-if-range)# end

S1#

d. Issue the show ip interface brief command on S1. What is the status of ports F0/1 to F0/4?

e. Issue the show ip http server status command.

What is the HTTP server status?

What server port is it using?

What is the HTTP secure server status?

What secure server port is it using?

f. HTTP sessions send everything in plain text. You will disable the HTTP service running on S1.

S1(config)# no ip http server

g. From PC-A, open a web browser session to http://172.16.99.11. What was your result?

Lab – Configuring Switch Security Features

© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 6 of 9

h. From PC-A, open a secure web browser session at https://172.16.99.11. Accept the certificate. Log in with no username and a password of class. What was your result?

i. Close the web session on PC-A.

Step 2: Configure and verify port security on S1.

a. Record the R1 G0/1 MAC address. From the R1 CLI, use the show interface g0/1 command and record the MAC address of the interface.

R1# show interface g0/1

GigabitEthernet0/1 is up, line protocol is up

Hardware is CN Gigabit Ethernet, address is 30f7.0da3.1821 (bia

3047.0da3.1821)

What is the MAC address of the R1 G0/1 interface?

b. From the S1 CLI, issue a show mac address-table command from privileged EXEC mode. Find the dynamic entries for ports F0/5 and F0/6. Record them below.

F0/5 MAC address:

F0/6 MAC address:

c. Configure basic port security.

Note: This procedure would normally be performed on all access ports on the switch. F0/5 is shown here as an example.

1) From the S1 CLI, enter interface configuration mode for the port that connects to R1.

S1(config)# interface f0/5

2) Shut down the port.

S1(config-if)# shutdown

3) Enable port security on F0/5.

S1(config-if)# switchport port-security

Note: Entering the switchport port-security command sets the maximum MAC addresses to 1 and the violation action to shutdown. The switchport port-security maximum and switchport port-security violation commands can be used to change the default behavior.

4) Configure a static entry for the MAC address of R1 G0/1 interface recorded in Step 2a.

S1(config-if)# switchport port-security mac-address xxxx.xxxx.xxxx

(xxxx.xxxx.xxxx is the actual MAC address of the router G0/1 interface)

Note: Optionally, you can use the switchport port-security mac-address sticky command to

add all the secure MAC addresses that are dynamically learned on a port (up to the maximum set) to the switch running configuration.

5) Enable the switch port.

S1(config-if)# no shutdown

S1(config-if)# end

d. Verify port security on S1 F0/5 by issuing a show port-security interface command.

S1# show port-security interface f0/5

Lab – Configuring Switch Security Features

© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 7 of 9

Port Security : Enabled

Port Status : Secure-up

Violation Mode : Shutdown

Aging Time : 0 mins

Aging Type : Absolute

SecureStatic Address Aging : Disabled

Maximum MAC Addresses : 1

Total MAC Addresses : 1

Configured MAC Addresses : 1

Sticky MAC Addresses : 0

Last Source Address:Vlan : 0000.0000.0000:0

Security Violation Count : 0

What is the port status of F0/5?

e. From R1 command prompt, ping PC-A to verify connectivity.

R1# ping 172.16.99.3

f. You will now violate security by changing the MAC address on the router interface. Enter interface configuration mode for G0/1 and shut it down.

R1# config t

R1(config)# interface g0/1

R1(config-if)# shutdown

g. Configure a new MAC address for the interface, using aaaa.bbbb.cccc as the address.

R1(config-if)# mac-address aaaa.bbbb.cccc

h. If possible, have a console connection open on S1 at the same time that you do this step. You will see various messages displayed on the console connection to S1 indicating a security violation. Enable the G0/1 interface on R1.

R1(config-if)# no shutdown

i. From R1 privilege EXEC mode, ping PC-A. Was the ping successful? Why or why not?

j. On the switch, verify port security with the following commands shown below.

S1# show port-security

Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action

(Count) (Count) (Count)

--------------------------------------------------------------------

Fa0/5 1 1 1 Shutdown

----------------------------------------------------------------------

Total Addresses in System (excluding one mac per port) :0

Max Addresses limit in System (excluding one mac per port) :8192

S1# show port-security interface f0/5

Port Security : Enabled

Port Status : Secure-shutdown

Violation Mode : Shutdown

Aging Time : 0 mins

Lab – Configuring Switch Security Features

© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 8 of 9

Aging Type : Absolute

SecureStatic Address Aging : Disabled

Maximum MAC Addresses : 1

Total MAC Addresses : 1

Configured MAC Addresses : 1

Sticky MAC Addresses : 0

Last Source Address:Vlan : aaaa.bbbb.cccc:99

Security Violation Count : 1

S1# show interface f0/5

FastEthernet0/5 is down, line protocol is down (err-disabled)

Hardware is Fast Ethernet, address is 0cd9.96e2.3d05 (bia 0cd9.96e2.3d05)

MTU 1500 bytes, BW 10000 Kbit/sec, DLY 1000 usec,

reliability 255/255, txload 1/255, rxload 1/255

S1# show port-security address

Secure Mac Address Table

------------------------------------------------------------------------

Vlan Mac Address Type Ports Remaining Age

(mins)

---- ----------- ---- ----- -------------

99 30f7.0da3.1821 SecureConfigured Fa0/5 -

-----------------------------------------------------------------------

Total Addresses in System (excluding one mac per port) :0

Max Addresses limit in System (excluding one mac per port) :8192

k. On the router, shut down the G0/1 interface, remove the hard-coded MAC address from the router, and re-enable the G0/1 interface.

R1(config-if)# shutdown

R1(config-if)# no mac-address aaaa.bbbb.cccc

R1(config-if)# no shutdown

R1(config-if)# end

l. From R1, ping PC-A again at 172.16.99.3. Was the ping successful?

m. Issue the show interface f0/5 command to determine the cause of ping failure. Record your findings.

n. Clear the S1 F0/5 error disabled status.

S1# config t

S1(config)# interface f0/5

S1(config-if)# shutdown

S1(config-if)# no shutdown

Note: There may be a delay while the port states converge.

o. Issue the show interface f0/5 command on S1 to verify F0/5 is no longer in error disabled mode.

S1# show interface f0/5

FastEthernet0/5 is up, line protocol is up (connected)

Hardware is Fast Ethernet, address is 0023.5d59.9185 (bia 0023.5d59.9185)

Lab – Configuring Switch Security Features

© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 9 of 9

MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec,

reliability 255/255, txload 1/255, rxload 1/255

p. From the R1 command prompt, ping PC-A again. You should be successful.

Reflection

1. Why would you enable port security on a switch?

2. Why should unused ports on a switch be disabled?

Router Interface Summary Table

Router Interface Summary

Router Model Ethernet Interface #1 Ethernet Interface #2 Serial Interface #1 Serial Interface #2

1800 Fast Ethernet 0/0 (F0/0)

Fast Ethernet 0/1 (F0/1)

Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)

1900 Gigabit Ethernet 0/0 (G0/0)

Gigabit Ethernet 0/1 (G0/1)

Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)

2801 Fast Ethernet 0/0 (F0/0)

Fast Ethernet 0/1 (F0/1)

Serial 0/1/0 (S0/1/0) Serial 0/1/1 (S0/1/1)

2811 Fast Ethernet 0/0 (F0/0)

Fast Ethernet 0/1 (F0/1)

Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)

2900 Gigabit Ethernet 0/0 (G0/0)

Gigabit Ethernet 0/1 (G0/1)

Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)

Note: To find out how the router is configured, look at the interfaces to identify the type of router and how many interfaces the router has. There is no way to effectively list all the combinations of configurations for each router class. This table includes identifiers for the possible combinations of Ethernet and Serial interfaces in the device. The table does not include any other type of interface, even though a specific router may contain one. An example of this might be an ISDN BRI interface. The string in parenthesis is the legal abbreviation that can be used in Cisco IOS commands to represent the interface.

TextField1:

Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Solution Provider
Top Academic Tutor
Helping Hand
Engineering Help
Essay & Assignment Help
Assignment Guru
Writer Writer Name Offer Chat
Solution Provider

ONLINE

Solution Provider

Being a Ph.D. in the Business field, I have been doing academic writing for the past 7 years and have a good command over writing research papers, essay, dissertations and all kinds of academic writing and proofreading.

$32 Chat With Writer
Top Academic Tutor

ONLINE

Top Academic Tutor

I reckon that I can perfectly carry this project for you! I am a research writer and have been writing academic papers, business reports, plans, literature review, reports and others for the past 1 decade.

$32 Chat With Writer
Helping Hand

ONLINE

Helping Hand

I can assist you in plagiarism free writing as I have already done several related projects of writing. I have a master qualification with 5 years’ experience in; Essay Writing, Case Study Writing, Report Writing.

$47 Chat With Writer
Engineering Help

ONLINE

Engineering Help

I have written research reports, assignments, thesis, research proposals, and dissertations for different level students and on different subjects.

$34 Chat With Writer
Essay & Assignment Help

ONLINE

Essay & Assignment Help

I will be delighted to work on your project. As an experienced writer, I can provide you top quality, well researched, concise and error-free work within your provided deadline at very reasonable prices.

$35 Chat With Writer
Assignment Guru

ONLINE

Assignment Guru

I can assist you in plagiarism free writing as I have already done several related projects of writing. I have a master qualification with 5 years’ experience in; Essay Writing, Case Study Writing, Report Writing.

$49 Chat With Writer

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

Short fictional work crossword clue - Charlemagne had the most profound influence on which continent - "everyone lives by selling something" was an observation made by __________. - Describe your career aspirations - Strayer university commercial voice - Scary tales by jackie torrence analyzing the text answers - Computer lab proposal example - Block paving calculator marshalls - One of the emission spectral lines for be - Dj stallings cause of death - 110 e 2nd st silver grove ky 41085 - Biopsychosocial model of addiction - Week 6 Assignment: Essay 6Assignment - Homo suburbiensis by bruce dawe - Zaps lab - Define the term cliché penn foster - The advantages and disadvantages of vegetarianis. - Pelion mass effect 3 - American woodmark cabinet specifications - Rank the vector combinations on the basis of their magnitude - 1a yellambie st yowie bay - Sqa higher psychology assignment examples - Positive and negative characteristics of a criminal investigator - Financial accounting ll w myaccountinglab - Statistics Online Homework - BI A - WK4 Assignment-Quantitative Research Critique - A secretary makes errors per page on average - Https www google com search q sex offender registry - Get up stand up pop and protest - Porsche the cayenne launch case study - Management accounting course syllabus - Www rbs com ir - Bobcat code 9 21 - Target market for chick fil a - Research journal of english language and literature rjelal - Winkin blinkin and nod are equal shareholders - Goldilocks just right books lesson - Uts business school guide to writing assignments - Disa acas best practices guide - Module 02 Assignment - Digital Forensics Tools and Tech - New England - Discussion 7 - Which Company Offers Best Cognitive Neuroscience Writing Services? - Short question (200words) - Aramis meaning in the bible - What is a strophic form - Audition scripts for teens - Teaching american history neutrality - OCI & OSC - True grit in the rink crossword - Papers on International Management - Order 2442397: Designing a building at the softball complex with bathrooms for the fans and locker room for the girls with laurdry room - Salomon v salomon & co ltd - The pure in heart need no lawyers meaning - Hypochondriac medical term breakdown - Kathe kollwitz the widow analysis - Rhetorical devices in their eyes were watching god - Sheraton hotels in flagstaff az - Edu 620 week 6 assignment - Week 7 Organizational Change Paper - Eco 110 discussion question answer - Hcf gym membership discount - Acdsee powerpack 7 license code - The other wife discussion questions - Character description year 1 - THE FUTURE OF LIFE INSTITUTE. - Zinc nickel plating process flow chart - Gri g4 guidelines ppt - Telstra shop colac vic - The dangerous morality of managing earnings - Riverside surgery brigg doctors - Saturation and atmospheric stability lab 6 answers - Structural health monitoring aerospace - Mood music channel guide - The tale of despereaux baby - Putting autozone into drive case study - Ucl ibsc booklet 2017 - Speak english with vanessa - 2400 lbs to kg - Hazard, Risk and Vulnerability - Drugged high on alcohol worksheet answers - Air hose festoon system - I need two discussion questions answered. 200 word min w/ references. - In self-directed learning, trainers do not control or disseminate instruction. - Augustine on just war - James brown son teddy riley died - 6 month training program - Circular functions graph calculator - Response - Week 5 environmental science - Paper towel absorbency research - Windshield survey powerpoint presentation - Better world books case study pdf - A landscaper has 125 tiles - Norton introduction to literature portable 13th edition - Hierarchy structure of tata steel - Week 2 - Study questions the last lecture answers - Basic networking tutorial for beginners