70 likes | 178 Vues
Para criar Vlans Catalyst :. Switch#vlan database Switch(vlan)#vlan 101 name "Grupo 10 Vlan 1" Switch(vlan)#apply Switch(vlan)#exit. Para adicionar portas a Vlan criada:. Switch# config terminal Switch(config)#interface fastethernet 0/1 Switch(config-if)#switchport mode access
E N D
Para criar Vlans Catalyst: Switch#vlan database Switch(vlan)#vlan 101 name "Grupo 10 Vlan 1" Switch(vlan)#apply Switch(vlan)#exit
Para adicionar portas a Vlan criada: Switch# config terminal Switch(config)#interface fastethernet 0/1 Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 101 Switch(config-if)#no shut Switch(config-if)#exit
Para adicionar range de portas: Switch(config)# interface range fastethernet 0/13 – 24 Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 102 Switch(config-if)#no shut Switch(config-if)#exit
Para criar Trunk no Switch Catalyst: Switch# config terminal Switch(config)#interface fastethernet 0/24 Switch(config-if)#switchport mode trunk Switch(config-if)#switchport trunk allowed vlan all Switch(config-if)#no shutdown Switch(config-if)# exit
Para criar Trunk no Roteador: Router> enable Router#configure terminal Router(config)#interface fastethernet 0/0 Router(config-if)#no shutdown Router(config-if)#exit
Para criar Trunk no Roteador: Router(config)#interface fastEthernet 0/0.1 Router(config-subif)#encapsulation dot1Q 101 Router(config-subif)#ip address 192.168.10.1 255.255.255.192 Router(config-subif)#no shutdown Router(config-subif)#exit
Para criar Trunk no Roteador: Router(config)#interface fastEthernet 0/0.2 Router(config-subif)#encapsulation dot1Q 101 Router(config-subif)#ip address 192.168.10.65 255.255.255.192 Router(config-subif)#no shutdown Router(config-subif)#exit