You are on page 1of 2

Configurando Vlans (SWITCH)

Vlan 10
Name Vendas
Exit
Vlan 20
Name Dados
Exit
Vlan 30
Name Printer
Exit

Access Point (SWITCH)


int range fast 0/1 - fast 0/2
switchport mode access
switchport access vlan 10

int range fast 0/6 - fast 0/7


switchport mode access
switchport access vlan 20

int range fast 0/11 - fast 0/12


switchport mode access
switchport access vlan 30

conf t
int fast 0/24
switchport mode TRUNK
ex
ex

Estabelecendo as Subinterface (ROUTER)

conf t
int fast 0/0
no shut
exit

int fast 0/0.10


encapsulation dot1Q 2
ip addr 192.168.0.254 255.255.255.0
no shut
exit

int fast 0/0.20


encapsulation dot1Q 2
ip addr 192.168.1.254 255.255.255.0
no shut
exit

int fast 0/0.30


encapsulation dot1Q 2
ip addr 192.168.2.254 255.255.255.0
no shut
exit

SALVAR TRABALHO: copy run start

Estabelecendo Nomes, Banner e Senhas

hostname Sw1
banner motd $Senai Amapa - Sw1$

enable secret class


service pass

line vty 0 4
password cisco
login
exit

line co
line console 0
password cisco
login
exit

You might also like