You are on page 1of 2

*** en el Router*** enable configure terminal hostname R1 enable secret class no ip domain-lookup line console 0 password cisco login

line vty 0 15 password cisco login end interface FastEthernet0/0.1 encapsulation dot1 1 ip address 172.17.50.1 255.255.255.0 interface FastEthernet0/0.10 encapsulation dot1 10 ip address 172.17.10.1 255.255.255.0 interface FastEthernet0/0.20 encapsulation dot1 20 ip address 172.17.20.1 255.255.255.0 interface FastEthernet0/0.99 encapsulation dot1 99 ip address 172.17.99.1 255.255.255.0 interface Loopback 0 ip address 10.1.1.1 255.255.255.252 interface FastEthernet0/0 no shutdown interface FastEthernet0/1 ip address 172.17.50.1 255.255.255.0 no shutdown

***en S1 - S2 - S3*** enable configure terminal hostname S3 enable secret class no ip domain-lookup line console 0 password cisco login line vty 0 15 password cisco login vtp mode transparent vlan name vlan name vlan name 99 Wireless(Guest) 10 Faculty/Staff 20 Students

***en S2 - S3***

interface FastEthernet0/7 switchport mode access switchport access vlan 99 no shutdown ***en S1*** interface FastEthernet0/5 encapsulation dot1q ******ver***** switchport mode trunk no shutdown interface range fa0/1-4 switchport mode trunk no shutdown ***en S2*** interface FastEthernet 0/11 switchport mode access switchport access vlan 10 no shutdown interface FastEthernet 0/18 switchport mode access switchport access vlan 20 no shutdown interface range fa0/1-4 switchport mode trunk no shutdown ***en S3*** interface range fa0/1-4 switchport mode trunk no shutdown ***en R1*** ip route 172.17.30.0 255.255.255.0 172.17.99.35 ip route 172.17.40.0 255.255.255.0 172.17.99.25 **en S2** interface fa0/18 switchport port-security switchport port-security mac-address sticky switchport port-security mac-address sticky 00D0.BA7A.299D interface fa0/11 switchport port-security switchport port-security mac-address sticky switchport port-security mac-address sticky 00D0.BCE8.0B8A **********ver****** show running-config show port-security interface fa0/18 show mac-address-table switchport port-security violation shutdown **se desconecta en caso de violacio n switchport port-security maximum 1 **nmero max de direcc mac

You might also like