Sep 14, 2009

Basic Switch Configuration


In semester 3 of the CCNA course. You will learn about Switching. I have learned chapter 2 in this semester and today i post this lab "Basic Switch Configuration" that i learned in my CM-Group. Lab is show in figure below.








As you can see in the figure: IP address, network segment, 2 VLAN on 2 Switch. Here is requirement:
1. Configure IP address for 2 interfaces on ROUTER with IP address in the figure.
2. Configure basic secure on 2 Switch: enable Telnet, Console port, password Switch, turn off domain lookup.
3. Configure interface Vlan1 on 2 Switch.
4. Configure Port-Security
- On Fa0/1, Fa0/2, Fa0/3 of Switch S1: enable port-security, configure sticky mode with maximum 2 mac-address, violation is shutdown.
- On Fa0/4, Fa0/5, Fa0/6 of Switch S2: enable port-security, configure port-security map mac-address of each PC that attached into S2, violation is restric.
5. After verify everything which configured. You must copy running-config to startup-config and copy running-config to TFTP server.
Here is my instruction to configre port-security:
In S1:
Go to interface Fa0/1, other interfaces is similar:

S1#switchport mode access //allow access to this port
S1#switchport port-security //enable port-security
S1#switchport port-security maximum 2 //set maximum of 2 mac-address
S1#switchport port-security mac-address sticky //enable port-security with sticky mode
S1#switchport port-security violation shutdown //shutdown this port if have a third mac-address is pluged

In S2:
Go to interface Fa0/4, other interfaces is similar:
S2#switchport mode access
S2#switchport port-security
S2#switchport port-security mac-address type MAC Address of PC04
S2#switchport port-security violation restric

To verify port-security uses this command in EXE mode: show port-security interface fa0/1

Any comments are welcome!



Author : Lâm Viết Thảo // 7:55 PM
Category:

0 comments:

Post a Comment

Comment if you have any question. Do not spam

 
Powered by Blogger.