Swith
- 1. interface range f0/16,f0/18,f0/20
interface range fastEthernet 0/5 - 10
switchport mode access
switchport mode access
switchport port-security
switchport port-security mac-address st
switchport port-security mac-address sticky
switchport port-security maximum 2
switchport port-security violation shutdown
exit
hostname SW2
vlan 20
name docentes
vlan 30
name estudiantes
vlan 40
name direccion
exit
interface range fastEthernet 0/5 - 10
switchport mode access
switchport access vlan 20
exit
interface range fastEthernet 0/11 - 15
switchport mode access
switchport access vlan 30
exit
interface range fastEthernet 0/16 - 21
switchport mode access
switchport access vlan 40
exit
interface range fastEthernet 0/1 -4
switchport mode trunk
interface fastEthernet 0/0.20
encapsulation dot1Q 20
ip address 172.16.40.1 255.255.255.0