Вы находитесь на странице: 1из 2

Lab - Configuring VLANs and Trunking ((3.2.2.5)) 1.

configuraciones bsicas =========== S1 ======================== enable configure terminal hostname S1 service password-encryption enable secret class line vty 0 15 password cisco login exit line console 0 password cisco login logging synchronous exit banner motd # unauthorized access is prohibited # no ip domain-lookup int vlan 1 ip address 192.168.1.11 255.255.255.0 no shut exit interface range fa 0/1- 0/24 shutdown exit interface range gi 1/1- gi 1/2 shutdown end copy running-config startup-config =========== S2 ======================== enable configure terminal hostname S2 service password-encryption enable secret class line vty 0 15 password cisco login exit line console 0 password cisco login logging synchronous exit banner motd # unauthorized access is prohibited # no ip domain-lookup int vlan 1 ip address 192.168.1.12 255.255.255.0 no shut exit interface range fa 0/1- 0/24 shutdown exit interface range gi 1/1 - gi 1/2 shutdown

end copy running-config startup-config ********************************************** Part 2: Create VLANs and Assign Switch Ports =========== S1 ======================== enable configure terminal vlan 10 name Student vlan 20 name Faculty vlan 99 name Management exit interface f0/6 description PCA_ASOCIADO_VLAN10 switchport mode access switchport access vlan 10 exit interface vlan 1 no ip address interface vlan 99 description VLAN_ADMINISTRACION ip address 192.168.1.11 255.255.255.0 end =========== S2 ======================== enable configure terminal vlan 10 name Student vlan 20 name Faculty vlan 99 name Management end