Você está na página 1de 4

CONFIG SWITCH

enable #conf t (config)#hostname < > (config)#banner motd "Acesso no autorizado"

flash_init copy xmodem flash c!ro"!fm"#fp#fm#"$$$

APAGANDO CONFIGURAES #erase startup%config #delete flash &lan$dat

SALVAR CONFIGURAES router#copy run start

SENHAS 'onsole (config)#line con ( (config)# pass cisco (config)#login (config)#logging synchronous (config)#exec%timeout )( (encerra sesso ap*s )( minutos de inati&idade)

Auxiliar (config)#line aux ( (config)# pass cisco (config)#login

(config)#logging synchronous (config)#exec%timeout )( (encerra sesso ap*s )( minutos de inati&idade)

+,(config)#line &ty ( ). (config)#pass cisco (config)#login (config)#logging synchronous (config)#exec%timeout )( (encerra sesso ap*s )( minutos de inati&idade)

/0A12/ (config)#enable secret class

'riptografar as senhas de line (config)#ser&ice pass3ord%encryption


RANGE DE IP NO SWITCH '454 /6/57248 9A0:/ para portas de ) a # modo trun; (config)#interface range fast/thernet (<) % # (config%if%range)#s3itchport mode trun;

A:49A portas de . a !# em modo de acesso (config)#interface range fast/thernet (<. % !# (config%if%range)#s3itchport mode access

CONFIGURANDO ACESSO SEGURO NAS FASTETHERNETs (config)#interface range fa (<. % !# (config%if%range)#s3itchport port%security (config%if%range)#s3itchport port%security maximum ) (indica =uantos endere>os

5A'?s podem ser conectados na porta) (config%if%range)#s3itchport port%security mac%add stic;y (o primeiro 5A' =ue plugar &ai ser gra&ado) (config%if%range)#s3itchport port%security &iolation @ (utilize uma das op>Aes para caso alguBm &iole ele dC um shutdo3n8 restrict ou protect)

DEFININDO O DEFAULT GATEWAY (config)#ip default%gate3ay )D!$)E$)($)

DESABILITA A PESQUISA DNS (config)#no ip domain-lookup

CONFIGURANDO VLAN (config)#&lan )( (config%&lan)#name F0G9A config%&lan)#&lan !( config%&lan)#name F0, (config%&lan)#&lan "( (config%&lan)#name /6,

DEFININDO IP PARA VLAN (config)#int &lan )( (config%if)#ip address )D!$)E$)($! !..$!..$!..$( (config)#interface gigabit/thernet )<) (config%if)#s3itchport mode trun; (config%if%range)#s3itchport trun; nati&e &lan HH

IJ!(config)#int fast/thernet (<!! IJ!(config%if)#s3itchport mode access IJ!(config%if)#s3itchport access &lan )( (Atribui VLANs a portas)

IJ!(config)#int fast/thernet (<!" IJ!(config%if)#s3itchport mode access IJ!(config%if)#s3itchport access &lan !( (Atribui VLANs a portas)

DEFINIES DE VTP (config)#&tp domain nce (coloca nome do domKnio para LnceM) (config)#&tp &ersion ) (define a &erso) (config)#&tp mode @ (ideal utilizar o ser&er8 =ue pode criar e aprender &lan?s8 existe tambBm client e transparent)

CONFIGURANDO SUBINTERAFACES COM ENCAPSULAMENTO 802.1Q R1(config)#interface fa0/1 10 R1(config-subif)#encapsulation dot1! 10 nati"e #nati"e s# $d for nati"a ob"iamente R1(config-subif)#ip address 1%& 1% 10 1 &'' &'' &'' 0

SHOW #sh interfaces gigabit/thernet )<) s3itchport #sh &tp status #sh int trun; #sh &tp counters #sh &tp pass

SPANNING-TREE (config)#spanning%tree &lan )(8 "( root primary (config)#spanning%tree &lan !(8 #( root sec

(config)#spanning%tree &lan )(8 "( priority #.!.N


http <<333$babooforum$com$br<forum<index$php@<topic<#!!NED%tutorial%s3itch%cisco% !H((!H.(<

Você também pode gostar