Lab 7 PDF
Document Details
Uploaded by Deleted User
Tags
Summary
This document describes networking commands for configuring switches. It details the commands for basic port security configuration on fastEthernet ports. It also mentions reconnecting and shutting down unknown ports. The document is likely part of a networking course or lab.
Full Transcript
Switch>en Switch>enable Switch#conf t Switch#conf terminal Enter configuration commands, one per line. End with CNTL/Z. For PC 1 Switch(config)#interface fastEthernet 0/1 Switch(config-if)#switchport mode access Switch(config-if)#switchport port-security Switch(config-if)#switchport po...
Switch>en Switch>enable Switch#conf t Switch#conf terminal Enter configuration commands, one per line. End with CNTL/Z. For PC 1 Switch(config)#interface fastEthernet 0/1 Switch(config-if)#switchport mode access Switch(config-if)#switchport port-security Switch(config-if)#switchport port-security mac-address 0050.0FA1.60E1 Switch(config-if)#switchport port-security maximum 1 Switch(config-if)#switchport port-security violation shutdown Switch(config-if)#do sh port-security Switch(config-if)#exit for PC 2 Switch(config)#interface fastEthernet 0/2 Switch(config-if)#switchport mode access Switch(config-if)#switchport port-security Switch(config-if)#switchport port-security mac-address 00D0.BCEC.627C Switch(config-if)#switchport port-security maximum 1 Switch(config-if)#switchport port-security violation shutdown Switch(config-if)#do sh port-security Switch(config)#interface range fastEthernet 0/3-24 Switch(config-if-range)#shutdown After reconnect the connection from unknown device to PC1 port 0/1 Switch(config)#interface fastEthernet 0/1 Switch(config-if)#shutdown Switch(config-if)#no shutdown