Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hostname [check hostname instructions]
- line console 0
- password cisco
- login
- exit
- enable secret class
- service password-encryption
- interface vlan1
- ip address [check IP] 255.255.255.0
- ip default-gateway [ip address of router port to Switch]
- no shutdown
- exit
- ip domain-name cisco.com
- crypto key generate rsa
- ip ssh version 2
- username admin secret ccna
- line vty 0 15
- login local
- transport input ssh
- exit
- int fa0/1
- no shutdown
- int range fa0/2-24
- shutdown
- int g0/2
- shutdown
- int range fa0/1-24
- switchport mode access
- switchport port-security
- switchport port-security mac-address sticky
- switchport port-security maximum 2
- switchport port-security violation shutdown
- int range g0/1-2
- switchport mode access
- switchport port-security
- switchport port-security mac-address sticky
- switchport port-security maximum 2
- switchport port-security violation shutdown
Advertisement
Add Comment
Please, Sign In to add comment