Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

" Switch1 "

En

Conf T

Hostname SWITCH1

Banner Motd "This system is for the use of authorized clients only."

Enable Secret Kish

Username IRAN Password Tehran

Username IRAN1 Password Tehran1

Username IRAN2 Password Tehran2


Service Password-encryption

No Username IRAN Password Tehran

Username IRAN Secret Tehran

Interface Vlan 1

Ip Address 10.0.0.1 255.255.255.0

No Shutdown

Exit

Line Vty 0

exec-timeout 10

Login Local

exit

line console 0

exec-timeout 10

login local

exit

Interface fa 0/1

Description Sales&HRdepartments

exit

Interface fa 0/2

Description IT&MGMTdepartment

exit

Interface Range fa 0/3-24, gig 0/1-2

shutdown

End

Copy Running-Config Startup-config

Clear Mac Address-Table

Show Mac Address-Table

Show Running-Config

" Switch2 "


En

Conf T

Hostname SWITCH2

Banner Motd "This system is for the use of authorized clients only."

Enable Secret Kish

Username IRAN1 Password Tehran1

Username IRAN2 Password Tehran2

Service Password-encryption

Username IRAN Secret Tehran

Interface Vlan 1

Ip Address 10.0.0.2 255.255.255.0

No Shutdown

Exit

Line Vty 0

exec-timeout 10

Login Local

exit

line console 0

exec-timeout 10

login local

exit

Interface fa 0/1

Description SALES

Exit

Interface fa 0/2

Description IT

Exit

Interface fa 0/3

Description Switch1
Exit

Interface Range fa 0/4-24, gig 0/1-2

shutdown

End

Copy Running-Config Startup-config

Clear Mac Address-Table

Show Mac Address-Table

Show Running-Config

" Switch3 "


En

Conf T

Hostname SWITCH3

Banner Motd "This system is for the use of authorized clients only."

Enable Secret Kish

Username IRAN1 Password Tehran1

Username IRAN2 Password Tehran2

Service Password-encryption

Username IRAN Secret Tehran

Interface Vlan 1

Ip Address 10.0.0.3 255.255.255.0

No Shutdown

Exit

Line Vty 0

exec-timeout 10

Login Local

exit

line console 0

exec-timeout 10

login local
exit

Interface Range fa 0/2-4

Switchport Mode Access

Switchport Port-Security

Switchport Port-Security Mac-Address Sticky

exit

Interface fa 0/1

Description Switch2

exit

Interface fa 0/2

Description SALESdepartment/Node1

exit

Interface fa 0/3

Description SALESdepartment/Node2

exit

Interface fa 0/4

Description SALESdepartment/Node3

exit

Interface Range fa 0/5-24, gig 0/1-2

shutdown

End

Copy Running-Config Startup-config

Clear Mac Address-Table

Show Mac Address-Table

Show Running-Config

" Switch4 "


En

Conf T

Hostname SWITCH4
Banner Motd "This system is for the use of authorized clients only."

Enable Secret Kish

Username IRAN1 Password Tehran1

Username IRAN2 Password Tehran2

Service Password-encryption

Username IRAN Secret Tehran

Interface Vlan 1

Ip Address 10.0.0.4 255.255.255.0

No Shutdown

Exit

Line Vty 0

exec-timeout 10

Login Local

exit

line console 0

exec-timeout 10

login local

exit

Interface Range fa 0/2-4

Switchport Mode Access

Switchport Port-Security

Switchport Port-Security Mac-Address Sticky

exit

Interface fa 0/1

Description Switch2

exit

Interface fa 0/2

Description ITdepartment/Node1

exit
Interface fa 0/3

Description ITdepartment/Node2

exit

Interface fa 0/4

Description ITdepartment/Node3

exit

Interface Range fa 0/5-24, gig 0/1-2

shutdown

End

Copy Running-Config Startup-config

Clear Mac Address-Table

Show Mac Address-Table

Show Running-Config

" Switch5 "


En

Conf T

Hostname SWITCH5

Banner Motd "This system is for the use of authorized clients only."

Enable Secret Kish

Username IRAN1 Password Tehran1

Username IRAN2 Password Tehran2

Service Password-encryption

Username IRAN Secret Tehran

Interface Vlan 1

Ip Address 10.0.0.5 255.255.255.0

No Shutdown

Exit

Line Vty 0

Exec-timeout 10
Login Local

Exit

line console 0

exec-timeout 10

login local

Exit

Interface Range fa 0/4

Switchport Mode Access

Switchport Port-Security

Switchport Port-Security Maximum 4

Switchport Port-Security Mac-Address Sticky

Exit

Interface fa 0/1

Description Switch1

Exit

Interface fa 0/2

Description HR

Exit

Interface fa 0/3

Description MGMT

Exit

Interface fa 0/4

Description HUB

Exit

Interface Range fa 0/5-24, gig 0/1-2

shutdown

End

Copy Running-Config Startup-config

Clear Mac Address-Table


Show Mac Address-Table

Show Running-Config

" Switch6 "


En

Conf T

Hostname SWITCH6

Banner Motd "This system is for the use of authorized clients only"

Enable Secret Kish

Username IRAN1 Password Tehran1

Username IRAN2 Password Tehran2

Service Password-encryption

Username IRAN Secret Tehran

Interface Vlan 1

Ip Address 10.0.0.6 255.255.255.0

No Shutdown

Exit

Line Vty 0

exec-timeout 10

Login Local

exit

line console 0

exec-timeout 10

login local

exit

Interface Range fa 0/2-4

Switchport Mode Access

Switchport Port-Security

Switchport Port-Security Mac-Address Sticky

exit
Interface fa 0/1

Description Switch5

exit

Interface fa 0/2

Description HRdepartment/Node1

exit

Interface fa 0/3

Description HRdepartment/Node2

exit

Interface fa 0/4

Description HRdepartment/Node3

exit

Interface Range fa 0/5-24, gig 0/1-2

shutdown

End

Copy Running-Config Startup-config

Clear Mac Address-Table

Show Mac Address-Table

Show Running-Config

" Switch7 "


En

Conf T

Hostname SWITCH7

Banner Motd "This system is for the use of authorized clients only"

Enable Secret Kish

Username IRAN1 Password Tehran1

Username IRAN2 Password Tehran2

Service Password-encryption

Username IRAN Secret Tehran


Interface Vlan 1

Ip Address 10.0.0.7 255.255.255.0

No Shutdown

Exit

Line Vty 0

Exec-timeout 10

Login Local

Exit

line console 0

Exec-timeout 10

login local

Exit

Interface Range fa 0/2-4

Switchport Mode Access

Switchport Port-Security

Switchport Port-Security Mac-Address Sticky

Exit

Interface fa 0/1

Description Switch5

exit

Interface fa 0/2

Description MGMTdepartment/Node1

exit

Interface fa 0/3

Description MGMTdepartment/Node2

exit

Interface fa 0/4

Description MGMTdepartment/Node3

exit
Interface Range fa 0/5-24, gig 0/1-2

shutdown

End

Copy Running-Config Startup-config

Clear Mac Address-Table

Show Mac Address-Table

Show Running-Config

You might also like