Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
HQ-Sw
enable
configure terminal
!
service password-encryption
!
ip domain-name cisco.com
username CAdmin password itsasecret
!
crypto key generate rsa
1024
!
ip ssh version 2
ip ssh authentication-retries 2
ip ssh time-out 60
!
line vty 0 15
login local
transport input ssh
!
vlan 15
name Servers
exit
!
vlan 30
name PCs
exit
!
vlan 45
name Native
exit
!
vlan 60
name Management
exit
!
interface range F0/11 - F0/20
switchport mode access
switchport access vlan 15
!
interface range F0/1 - F0/10
switchport mode access
switchport access vlan 30
!
interface VLAN 60
ip address 192.168.45.34 255.255.255.240
!
interface fastEthernet 0/1
switchport port-security
switchport port-security mac-address sticky
switchport port-security maximum 2
switchport port-security violation restrict
!
interface range fastEthernet0/21-24
shutdown
!
interface gigabit 0/1
switchport mode trunk native
switchport trunk native vlan 45
!