Vous êtes sur la page 1sur 3

enable configure terminal hostname SW-F enable secret class line console 0 password cisco login exit line

vty 0 15 password cisco login exit vlan name vlan name vlan name vlan name vlan name exit 10 Estudiantes 20 Profesores 30 Direccion 40 Control-Estudios 70 Admin

interface vlan70 ip address 192.168.70.11 255.255.255.0 no sh exit ip default-gateway 192.168.70.1

banner motd #Solo Acceso Autorizado# interface Serial Ip address no shutdown interface fastEthernet Ip address no shutdown

interface Serial Ip address no shutdown interface fastEthernet Ip address no shutdown

interface fastEthernet switchport mode access switchport access vlan exit interface fastEthernet switchport mode access switchport access vlan exit interface fastEthernet switchport mode access switchport access vlan exit interface fastEthernet switchport mode access switchport access vlan exit

0/1 10 0/2 20 0/3 30 0/4 40

interface fastEthernet 0/1 switchport mode access switchport access vlan 10 switchport port-security switchport port-security maximum 2 switchport port-security mac-address sticky switchport port-security violation shutdown exit interface fastEthernet 0/2 switchport mode access switchport access vlan 20 switchport port-security switchport port-security maximum 2 switchport port-security mac-address sticky switchport port-security violation shutdown exit interface fastEthernet 0/3 switchport mode access switchport access vlan 30 switchport port-security switchport port-security maximum 2 switchport port-security mac-address sticky switchport port-security violation shutdown exit interface fastEthernet 0/4 switchport mode access switchport access vlan 40 switchport port-security switchport port-security maximum 2 switchport port-security mac-address sticky switchport port-security violation shutdown exit

interface fastEthernet 0/5 switchport mode access switchport access vlan 30 switchport port-security switchport port-security maximum 2 switchport port-security mac-address sticky switchport port-security violation shutdown

interface fastEthernet 0/6 switchport mode access switchport access vlan 30 switchport port-security switchport port-security maximum 2 switchport port-security mac-address sticky switchport port-security violation shutdown interface fastEthernet 0/7 switchport mode access switchport access vlan 40 switchport port-security switchport port-security maximum 2 switchport port-security mac-address sticky switchport port-security violation shutdown interface fastEthernet 0/8 switchport mode access switchport access vlan 40 switchport port-security switchport port-security maximum 2 switchport port-security mac-address sticky switchport port-security violation shutdown

Vous aimerez peut-être aussi