You are on page 1of 2

--------VTP(Client)-------config t VTP mode Client vtp domain practica vtp password cisco exit wr config t username cisco privilege

15 password cisco no ip domain-lookup hostname SW1 service password-encryption enable password cisco line console 0 password cisco login logging synchronous exit line vty 0 15 login local exit exit write vlan 2 name Ventas vlan 3 name Contabilidad vlan 4 name Desarrollo vlan 5 name Capacitacion vlan 10 name CONTROL exit exit write -----multicapa----conf t interface range fa0/22-24 switchport trunk encapsulation dot1q switchport mode trunk no shut exit exit write ----capa 2-----conf t interface range fa0/23-24 switchport mode trunk no shut exit exit write -------Vlan 10--------------

conf t int vlan 10 ip add 10.0.19.148 255.255.255.240 exit exit wr ----configuarar mode access----config t interface fastethernet 0/1 switchport mode access switchport access vlan 10 exit exit wr -------configuracion de seguridad para aceptar como mximo 2 hosts---------config t interface range fastethernet 0/2-3 switchport mode access switchport access vlan 2 switchport port-security switchport port-security max 2 switchport port-security mac-address sticky exit interface range fastethernet 0/4-5 switchport mode access switchport access vlan 3 switchport port-security switchport port-security max 2 switchport port-security mac-address sticky exit interface range fastethernet 0/6-7 switchport mode access switchport access vlan 4 switchport port-security switchport port-security max 2 switchport port-security mac-address sticky exit interface range fastethernet 0/8-9 switchport mode access switchport access vlan 5 switchport port-security switchport port-security max 2 switchport port-security mac-address sticky exit interface fastethernet 0/1 switchport mode access switchport access vlan 10 switchport port-security switchport port-security max 1 switchport port-security mac-address sticky exit exit write

You might also like