Configurar Switch 3com

Embed Size (px)

DESCRIPTION

Configuracao basic switch 3com

Citation preview

Para configurar o acesso via ss. o authentication ode deve estar estado para scheme

Guia: 3com_Switch_5500-EI_Family_Command_Manual.pdf - qualquer vier ou user vier[ ] - system view{} - interface view{}* - vlan interface viewundo + comando --> desfaz alteraes na maioria das configs.------------------------------ Configuracao de Switch -----------------------------

Gerncia de configurao:

Acessar o arquivo de configurao:flash:/

Exibir configurao atual: display current-configuration [configuration | Interface ] p.45

display current-configuration van

display saved-configuration --> exibe ultimo configurao salva

display startup --> exile arquivos de configurao do startup

save [cfgfile] [safely | {backup | main}] --> Salva a configurao na flash p. 55

startup saved-configuration [cfgfile [backup | main] ]

VLAN configuration:

[ ] vlan 10 --> cria vlan 10

[ ] description switch do RH

[ ] interface vlan-interface 10 --> cria interface vlan 10 (pode ter IP e demais configs)

{}* description VLAN rede RH --> descrio da interface de vlan

display interface vlan-interface [vlan-id]

display vlan [vlanID to vlanID2] all, dynamic, static

{}* name --> nome em texto para uma interface VLAN

{}* shutdown --> derruba interface vlan !(undo shutdown)

Configurar VLAN baseado em porta:

display port { hybrid | trunk } --> exibe portas

{}* port --> expecifica quais portas access faro parte da vlan

{} port access vlan vlanID -- expecifica a qual vlan uma porta de acesso ser adicionada

{} port hybrid pvid vlan --> especifica vlan default

{} port hybrid vlan { tagged | untagged } --> especifica uma lista de vlans para uma porta hybrid. opo tagged=keeps vlan tags when the packets of the specific vlans are forwarded on the port. untagged=Remove vlan tags when the packets of the specified vlans are forwarded on the port.

{} port link-type {access | hybrid | trunk | xrn-fabric} --> seta o tipo de porta

{} port trunk permit vlan {vlanList | all} --> p.73 (Somente traffic da default vlan pode trafegar untagged)

{} port trunk pvid vlan

Configurao de endereo IP

display ip interface

display ip interface brief

{}|* ip address {mask} [sub] --> define IP para interface, opcao sub define um segundo IP

display fib --> todas informacoes de forwarding

display icmp statistics

display ip statistics

display tcp statistics

display tcp status --> mostra o estado de conexoes tcp estabelecidas

display udp statistics

reset statistics

Port Basic Commands

[ ] copy configuration source destination

display interface

display link-delay

display loopback-detection

{} link-delay

{} loopback-detection control enable

{} speed [ 10 |100|1000|auto]

{} virtual-cable-test

Agregao de link

display link-aggregation interface

display link-aggregation summary

display link-aggregation verbose

******Ler sobre LACP static and dynamic

[ ] link-aggregation group mode {manual | static} --> cria grupo de agregao manual | static LACP

{} port link-aggregation group add porta ethernet a um grupo

Port Isolation

display isolate port

{} port isolate

Port Security

ACL

Roteamento

Setar password.[ ] set authentication password simple | cipher 12345678

SNMP[ ] snmp-agent community read | write [acl number | mib-view ]

Resoluo de problemas:interface down- verifier porta line protocol down- verifier se exist configurao de pi.