Você está na página 1de 13

****TODOS OS COMANDOS DOS SWT�S DATACOM****

Zerar o SWT EDD 2104:


copy default-config running-config>

****ZERAR 4050,4170 e 4370****


m-br-sp-dut-sd-she-005#>
m-br-sp-dut-sd-she-005#config>
m-br-sp-dut-sd-she-005(config)#
m-br-sp-dut-sd-she-005(config)#load factory-config>
m-br-sp-dut-sd-she-005(config)#exit>
Uncommitted changes found, commit them? [yes/no/CANCEL] y>
Commit complete.
DM4370#
DM4370#

=====================================================
***VER CONFIGURA��O***
sh ru (para usar no final e ver os ip's nas vlan's)

=====================================================
***SWT BLOQUEADO POR TACACS OU J� CONFIGURADO***

username: suporte
senha: sup0rt3_osoe

***TIRAR O SWT DO MODO TACACS***


config>
no tacacs server>
no authentication>

=====================================================
***SENHAS REDE METRO***

username: admin
password: d4t4c0m#$%

username: admin
senha: admin

username: admin
senha: dtc123!@#

===================================================
V�RIOS COMANDOS DE TESTES
show interfaces status eth 1/1>
show mac-address-table>
------------------------------------------------------------------------
VER AS PORTAS EST�O UP/UP NO SWT:
show interfaces status ethernet 1/1> ou 1 (3,5,8)
------------------------------------------------------------------------
PARA ACESSAR SWT ESPELHADO:
telnet (+ip)> do swt que vai acessar

+++++++++++++++++++++++++++

***ACESSAR SWT ESPELHADO POR OUTRO SWT***


m-br-sp-rco-ad-swt-043#telnet 10.10.10.1(+ip do swt que vai acessar)
m-br-sp-rco-ad-swt-044# (swt acessado exe. ip do swt 10.10.10.1)
------------------------------------------------------------------------
PARA VER SE AS PORTAS DO SWT ESPELHADO EST�O UP OU DOWN
show interfaces table utilization bandwidth>
------------------------------------------------------------------------
TIRAR O LIMITE DE BANDA DO SWT:
configure>
no rate-limit>
------------------------------------------------------------------------
PARA VER O RATE LIMIT QUE ESTA NA PORTA 5 (OU NAS OUTRAS PORTAS)
sh int swit eth 5>
------------------------------------------------------------------------
PARA MUDAR O DESCRIPTION DE VELOCIDADE
EXEMPLO DE 16MB PARA 34MB
-br-sp-scl-vp-sse-003#conf
m-br-sp-scl-vp-sse-003(config)#int eth 5
<P_SAO PAULO SECRETARIA DA EDUCACAO_34Mbps_ATP1733/12
m-br-sp-scl-vp-sse-003(config-if-eth-1/5)#exit
m-br-sp-scl-vp-sse-003(config)#exit
m-br-sp-scl-vp-sse-003#copy running-config start
Saving configuration in flash 2...

Done.
Setting startup-config to 2.
m-br-sp-scl-vp-sse-003#copy running-config startup-config 1
Saving configuration in flash 1...
Done.
------------------------------------------------------------------------
PARA TROCAR A NEGOCIA��O DA PORTAS
m-br-sp-saeu-su-sse-01#
m-br-sp-saeu-su-sse-01#conf
m-br-sp-saeu-su-sse-01(config)#interface eth 5 (ou a porta que vai mudar)
m-br-sp-saeu-su-sse-01(config-if-eth-1/5)#no negociation
m-br-sp-saeu-su-sse-01(config-if-eth-1/5)#speed-duplex 100full (1000full)
m-br-sp-saeu-su-sse-01(config-if-eth-1/5)#
m-br-sp-saeu-su-sse-01#

==========================================================================
ATUALIZA��O O FIRMAWARE DO EDD:

1� Parte Atualiza��o do Firmware 5.4 ou 5.16


1� Passo: Colocar o cabo de REDE do SWT (portas de 5 a 8 e MGMT ETH) para o
Computador,
2� Passo: Abrir o programa 3cdaemon.
3� Passo: certificar-se que no programa 3cdaemon, o arquivo de firmware do swt a
ser atualizado est� apontado na
configura��o correta.
4� Passo: abrir o teraterm, certificando-se que o cabo USB-SERIAL esteja conectado
ao SWT a ser atualizado.
-------------------------------
-CONFIGURA��O DA PLACA DE REDE-
-IP ADD: 10.10.10.2 -
-MASK: 255.255.255.252 -
-GTW: 10.10.10.1 -
-------------------------------
5� Passo:
config ->
interface vlan 5 ->
ip address 10.10.10.1/30 ->
set-member untagged ethernet 5 ->
interface ethernet 5 ->
switchport native vlan 5 ->
exit ->
exit ->
copy tftp 10.10.10.2 EDD_SII_5.16.6.im firmware ->
Y (yes para a pergunta que o swt far�).

***ACESSAR SWT ESPELHADO POR OUTRO SWT***


m-br-sp-rco-ad-swt-043#telnet 10.10.10.1(+ip do swt que vai acessar)
m-br-sp-rco-ad-swt-044# (swt acessado exe. ip do swt 10.10.10.1)
___________________________________________________________________________________
_______________________________________
2� CONFIGURA��O DO SWT EDD 2104:

admin->
admin->
configure->
interface vlan 3-> (vlan de gerencia)(vlan 3572...)
ip addres 10.10.10.2/25-> (IP SWT)
set member tagged ethernet 1-> (ou a porta que for usar, exe:1,2,5,6,7 e 8)
exit->

no remote-device enable->
ip default-gateway 10.10.10.1-> (IP GATEWAY) e se for o mesmo ip do swt usar o
final .1
hostname m-br-sp-bat-bao-swt-001
ip telnet server> *****
interface ethernet 1-> (inter eth 1/5 quando entregue o servi�o na porta 5)
no negotiation>
negotiation> ( quando for radio NEC, para deixar em ALTA NEGOCIA��O)
speed-duplex 1000full> ou (speed-duplex 100full SE FOR RADIO)(A PARTIR DAQUI USAR
EM RADIO,SWS,SWD
switchport native vlan 3-> ( vlan 3572...)
exit-> ou ctrl+z
exit->

copy runnins-config startup-config 1->


copy runnins-config startup-config 2->
ping 10.10.10.1->

PARA ACESSAR SWT ESPELHADO:


telnet (+ip)> do swt que vai acessar

PARA VER SE AS PORTAS DO SWT ESPELHADO EST�O UP OU DOWN


show interfaces table utilization bandwidth>

sh ru> (para usar no final e ver os ip's nas vlan's)

show interfaces status ethernet 1> ( ver as portas est�o bloqueadas)

TIRAR O LIMITE DE BANDA DO SWT:


configure>
no rate-limit>

******************************************
PORTA 1 DOWN E COM EQUIPAMENTO SWD NA CENTRAL,PARA SE COMUNICAR COM A METRO
(PARA VER A SITUA��O DA PORTA):

configure>
show interface status ethernet 1>

(PARA TROCAR A NEGOCIA��O DA PORTA)


configure>
interface ethernet 1>
no negociation>
speed-duplex 1000full> (100full)

*******************************

PARA MUDAR O IP DO SWT:

admin>
admin>
config>
no authentication login>
interface vlan 3>
ip addres + (ip swt)>
exit>

no remote-device enable>
ip default-gateway + (ip gtw)>
interface ethernet 1>
no negociation>
exit>

copy runnins-config startup-config 1->


copy runnins-config startup-config 2->

===================================================================================
===================
CONFIGURA��O DO SWT ESPELHADO EDD 2104:
PORTA 1=RUA/CLIENTE
PORTA 3=SWD/SWS/SWA/RADIO/DWDM
SWT02= CENTRAL
SWT01= CLIENTE
IP CENTRAL= (exemplo) 10.10.10.23
IP CLIENTE= (exemplo) 10.10.10.24

admin>
admin>
configure>
interface vlan 3>
set-member tagged ethernet 1> ou 6 ou 2
set-member tagged ethernet 3> ou 5 ou 1
ip addres (ip swt)>
interface ethernet 1> ou 6 ou 2
interface ethernet 3> ou 5 ou 1
switchport native vlan 3>
exit>

no remote-device enable>
ip default-gateway (ip gtw)>
ip telnet server>
ip ssh host-key generate>
ip ssh server>
interface ethernet 3> ou 5 ou 1
no negociation> (cuidado que pode deixar a porta em down)
speed-duplex 1000full>
exit-> ou crtl+z
exit->

copy runnins-config startup-config 1>


copy runnins-config startup-config 2>

PARA ACESSAR SWT ESPELHADO:


telnet (+ip)> do swt que vai acessar

PARA VER SE AS PORTAS DO SWT ESPELHADO EST�O UP OU DOWN


show interfaces table utilization bandwidth>

***ACESSAR SWT ESPELHADO POR OUTRO SWT***


m-br-sp-rco-ad-swt-043#telnet 10.10.10.1(+ip do swt que vai acessar)
m-br-sp-rco-ad-swt-044# (swt acessado exe. ip do swt 10.10.10.1)

==================================================================================
CONFIGURA��O ESPELHADO CENTRAL DCN:
PORTA 1=RUA/CLIENTE
PORTA 3=SWD/SWS/SWA
PORTA 5=OSN/NOKIA
PORTA 8=DCN
PORTA 7=PARA PINGAR

admin>
admin>
configure>
interface vlan 3>
set-member tagged ethernet 1>
set-member untagged ethernet 8>
ip addres (ip swt)>
interface ethernet 1>
interface ethernet 8>
switchport native vlan 3>
exit>

no remote-device enable>
ip default-gateway (ip gtw)>
ip telnet server>
ip ssh host-key generate>
ip ssh server>
interface ethernet 1>
no negociation>
exit>
exit>

copy runnins-config startup-config 1>


copy runnins-config startup-config 2>

PARA ACESSAR SWT ESPELHADO:


telnet (+ip)> do swt que vai acessar

PARA VER SE AS PORTAS DO SWT ESPELHADO EST�O UP OU DOWN


show interfaces table utilization bandwidth>

PING DCN NUVEM:


ping 10.18.77.240>

***ACESSAR SWT ESPELHADO POR OUTRO SWT***


m-br-sp-rco-ad-swt-043#telnet 10.10.10.1(ip do swt que vai acessar)
m-br-sp-rco-ad-swt-044# (swt acessado exe. ip do swt 10.10.10.1)

*********************************

TROCAR IP DO SWT DCN:

configure>
interface vlan 3>
no ip addres>
ip addres + ip>
set-member untaggend ethernet 8
set-member tagged ethernet 1

=====================================================================
****CONFIGURA��O DOS DM 4050,DM 4370 e DM 4170****

config exclusive
dot1q
vlan 3
interface gigabit-ethernet-1/1/5 (ou ten-gigabit-ethernet-1/1/1) --> porta de
uplink
commit
exit
exit

interface l3 gerencia
lower-layer-if vlan 3
ipv4 address 10.217.214.2/25 --> IP DE GERENCIA COM MASCARA
commit
exit
exit

router static
address-family ipv4
200.204.1.4/32 next-hop 10.217.214.1 --> GATEWAY (SE GERENCIA FOR REDE METRO)
10.18.77.240/32 next-hop 10.217.214.1 --> GATEWAY (SE GERENCIA FOR REDE DCN)
commit
exit
exit

telnet-server enabled
commit
exit
===================================================

++++caso for DNC substituir rota para 10.18.77.240+++

***ZERAR 4050,4170 e 4370***


m-br-sp-dut-sd-she-005#>
m-br-sp-dut-sd-she-005#config>
m-br-sp-dut-sd-she-005(config)#
m-br-sp-dut-sd-she-005(config)#load factory-config>
m-br-sp-dut-sd-she-005(config)#exit>
Uncommitted changes found, commit them? [yes/no/CANCEL] y>
Commit complete.
DM4370#
DM4370#

==================================================
+++ESTA CONFIG SE APLICA NO DM4370 COM UPLINK PORTCHANNEL+++

config exclusive
link-aggregation interface lag 1 --> CRIA O PORTCHANNEL
interface gigabit-ethernet-1/1/5
exit
interface gigabit-ethernet-1/1/6
exit
mode active ----------------------> HABILITA O LACP (ESTE MODO NEM SEMPRE �
APLICADO)
commit
exi

dot1q
vlan 3
interface lag1 --> UPLINK
commit
exit
exit

interface l3 gerencia
lower-layer-if vlan 3
ipv4 address 10.217.214.2/25 --> IP DE GERENCIA COM MASCARA
commit
exit
exit

router static
address-family ipv4
200.204.1.4/32 next-hop 10.217.214.1 --> GATEWAY (SE GERENCIA FOR REDE METRO)
10.18.77.240/32 next-hop 10.217.214.1 --> GATEWAY (SE GERENCIA FOR REDE DCN)
commit
exit
exit

telnet-server enabled
commit
exit

===================================================
***PARA VER A PORTA SE ESTA UP/UP***
DM4370# show interface ten-gigabit-ethernet 1/1/1

==================================================

***** OUTRAS CONFIGURA�OES 4050 E 4170 GERNCIA DCN *****

ESTA CONFIG SE APLICA NOS DM4050 E DM4170

config exclusive
dot1q
vlan 3
interface gigabit-ethernet-1/1/1 (ou ten-gigabit-ethernet-1/1/1) --> porta de
uplink
commit
exit
exit

interface l3 gerencia
lower-layer-if vlan 3
ipv4 address 10.217.214.2/25 --> IP DE GERENCIA COM MASCARA
commit
exit
exit

router static
address-family ipv4
200.204.1.4/32 next-hop 10.217.214.1 GATEWAY (SE GERENCIA REDE METRO)
10.18.77.240/32 next-hop 10.217.214.1 GATEWAY (SE GERENCIA REDE DCN)
commit
exit
exit

telnet-server enabled
commit
exit

ATUALIZA��O DE FIRMAWARE

request firmware add tftp://192.168.0.26 (IP DO NOTEBOOK) + DmOS-4.7.0-DM4370.swu


(NOME DO ARQUIVO)

AP�S O CARREGADO DA FIMWARE, DIGITE: request firmware activate


=========================================================================
CONFIGURA��O DO SWT 4100:

admin>
admin>
configure>
interface vlan 3>
set-member tagged ethernet 27>
ip address (ip swt)>
interface ethernet 27>
switchport native vlan 3>
no shutdown>>
exit>

no remote-device enable>
ip default-gateway (ip gtw)>
exit>

copy running-config startup-config 1>

USAR A PORTA 27 PARA O LINK


USAR A PORTA 26 PARA O CLIENTE/ROUTER

***************************************
QUANDO N�O CONSEGUIR ACESSO AO SWT USAR ESSE COMANDO:

m-br-sp-rpo-swt-026>(show ip)

QUANDO A PORTA NO DM3000/4100 N�O ESTIVER NEGOCIADA USAR ESSE COMANDO:


configure>
interface ethernet 27>
negociation>

=======================================================================
TESTAR OS E1�s no 2e1 e 8e1:

configure>
interface tdm range 1/1 1/8>
no shutdown>
show interfaces status tdm 1>
show interfaces status tdm 2>
show interfaces status tdm 3>
show interfaces status tdm 4>
show interfaces status tdm 5>
show interfaces status tdm 6>
show interfaces status tdm 7>
show interfaces status tdm 8>

======================================================================
CONFIGURA��O DO DM4004:

admin>
admin>
configure>
interface port-channel 1>
lacp>
set-member ethernet 5/1> ou 2/1> (porta uplink principal)
set-member ethernet 5/2> ou 2/2> (porta uplink backup)
no shutdown>
no negociation>
speed-duplex 1000full> (ou 10Gfull)
interface vlan 3> (ou 3560)
ip addres (ip/)>
set-member tagged port-channel 1>
exit>
no remote-device enable>
ip default gateway (ip gtw)>
exit>

copy runnins-config startup-config 1->


copy runnins-config startup-config 2->
ping 10.10.10.1->

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
QUANDO PRECISAR MUDAR O PORT-CHANEL E LACP
m-br-sp-amr-rd-swa login: ADMIN
PASSWORD:
M-BR-SP-AMR-RD-SWA#
M-BR-SP-AMR-RD-SWA#
M-BR-SP-AMR-RD-SWA#CON
M-BR-SP-AMR-RD-SWA(CONFIG)#INTERFACE PORT-CHANNEL 1
M-BR-SP-AMR-RD-SWA(CONFIG-IF-PORT-CH-1)#NO LACP
SHOW M-BR-SP-AMR-RD-SWA(CONFIG-IF-PORT-CH-1)#SHOW INTERFACES STATUS PORT-CHANNEL 1

TIRAR A PORTA DE (NO SHUT)


M-BR-SP-AMR-RD-SWA(CONFIG)#INT ETHERNET 2/2
M-BR-SP-AMR-RD-SWA(CONFIG-IF-ETH-2/2)#NO SHUTDOWN
M-BR-SP-AMR-RD-SWA(CONFIG-IF-ETH-2/2)#

********************************************
CONFIGURA��O QUANDO 10GB E CABO CONECTADOS
admin>
admin>
configure>
interface vlan 3>
ip address (ip)
set-member tagged port-channel 1>
exit>

no remote-device enable>
ip default-gateway (ip)>
hostname m-br-sp-scl-ae-swa-001
exit>
copy running-config startup-config 1
(e ligar na metro)

lupar todos os e1`s no DID ou na r�gua RB:


se estiver ok vai aparecer AIS ou OK
se estiver com defeito vai aparecer LOSS

configure>
interface g704 all>
no shutdown>
.>

====================================================================
TROCA DE PORTAS NO SWT 4004:

configure>
interface vlan 3>
ip addres>
set-member tagget ethernet 26>
interface ethernet 26> (ou as porta que vai usar)
no shutdown>
no negotiation>
switcht-port native vlan 3>
no remote de
ip defaul
ip ssh host

speed-duplex 1000full> (usar esse comando se n�o subir)


exit>
exit>

copy running-config startup-config 1>

===================================================================
FAZER LOOP NO CONECTOR RJ45:
1+3 - 2+6
OU
1+3 - 2+4 - 5+6
====================================================================
CONFIGURA��O PARA AUMENTAR A VELOCIDADE SE N�O BATER A BANDA

m-br-sp-sjv-cb-swt-032 login: admin


Password:d4t4c0m#$%>
m-br-sp-sjv-cb-swt-032#configure>
m-br-sp-sjv-cb-swt-032(config)#interface ethernet 5>
<ig-if-eth-1/5)#rate-limit input rate 102400 burst 512>
<-if-eth-1/5)#rate-limit input rate 102400 burst 512>
m-br-sp-sjv-cb-swt-032(config-if-eth-1/5)#rate-limit output rate 102400 burst >
m-br-sp-sjv-cb-swt-032(config-if-eth-1/5)#show running-config>
Building configuration...
################################################################
# ATENCAO: ACESSO PERMITIDO PARA PESSOAL AUTORIZADO. #
# DESCONECTE-SE IMEDIATAMENTE #
# ATTENTION: AUTHORIZED PERSONAL ONLY. DISCONNECT IMMEDIATELY. #
################################################################
***ATEN��O*** PARA ALTERAR A VELOCIDADE NA PORTA ***

interface ethernet 1/5


description IPD_BAUER_50Mbps_ATP-6951/19
rate-limit input rate 102400 burst 512
rate-limit output rate 102400 burst 512
spanning-tree restricted-tcn
no spanning-tree 1
switchport native vlan 1545
no switchport storm-control broadcast
--More--
========================================================================
PARA VER O RATE LIMIT QUE ESTA NA PORTA 5 (OU NAS OUTRAS PORTAS)
sh int swit eth 5>
------------------------------------------------------------------------
PARA MUDAR O DESCRIPTION DE VELOCIDADE
EXEMPLO DE 16MB PARA 34MB
-br-sp-scl-vp-sse-003#conf
m-br-sp-scl-vp-sse-003(config)#int eth 5
<P_SAO PAULO SECRETARIA DA EDUCACAO_34Mbps_ATP1733/12
m-br-sp-scl-vp-sse-003(config-if-eth-1/5)#exit
m-br-sp-scl-vp-sse-003(config)#exit
m-br-sp-scl-vp-sse-003#copy running-config start
Saving configuration in flash 2...
Done.
Setting startup-config to 2.
m-br-sp-scl-vp-sse-003#copy running-config startup-config 1
Saving configuration in flash 1...
Done.

-------------------------------------------------------------------------
*****QUANDO RADIO LINKA MAS N�O PINGA, PORTA EST� BLOQUEADA NO SWT*****
TIRAR A PORTA DO BLOQUEIO

--- 10.217.172.65 ping statistics ---


5 packets transmitted, 0 packets received, 100% packet loss
% 15: Network operation error
DmSwitch2104#
DmSwitch2104#
DmSwitch2104#show interfaces table utilization bandwidth
Link Link Rx Peak Rx Tx Peak Tx
Port Status Speed % BW % BW % BW % BW
================================================================================
1/1 UP 1000 0.00 0.00 0.00 0.00
1/2 DOWN 0.00 0.00 0.00 0.00
1/3 DOWN 0.00 0.00 0.00 0.00
1/4 DOWN 0.00 0.00 0.00 0.00
1/5 DOWN 0.00 0.00 0.00 0.00
1/6 DOWN 0.00 0.00 0.00 0.00
1/7 DOWN 0.00 0.00 0.00 0.00
1/8 DOWN 0.00 0.00 0.00 0.00
================================================================================
spacebar->toggle screen ESC->exit
DmSwitch2104#show interfaces status ethernet 1/1
Information of Eth 1/1
Basic information:
Port type: SFP
MAC address: 70:CD:91:04:63:B2
Configuration:
Name:
Port admin: Up
Speed-duplex: Auto
Capabilities: 1000full
MDIX: Auto
LACP: Disabled
OAM: Enabled - Active
Current status:
Link status: Up (BLOCKED)-Unidirectional Link(PORTA BLOQUEADA)
Operation speed-duplex: 1000M full
Flow control: Disabled
MDIX: Normal
========================================================
DmSwitch2104#configure
DmSwitch2104(config)#interface ethernet 1/1
DmSwitch2104(config-if-eth-1/1)#shutdown
DmSwitch2104(config-if-eth-1/1)#no shutdown
DmSwitch2104(config-if-eth-1/1)#no negotiation
DmSwitch2104(config-if-eth-1/1)#speed-duplex 1000full
DmSwitch2104(config-if-eth-1/1)#end
=========================================================
DmSwitch2104#show interfaces status ethernet 1/1
Information of Eth 1/1
Basic information:
Port type: SFP
MAC address: 70:CD:91:04:63:B2
Configuration:
Name:
Port admin: Up
Speed-duplex: 1000M full
Capabilities: 1000full
MDIX: Auto
LACP: Disabled
OAM: Enabled - Active
Current status:
Link status: Up (PORTA DESBLOQUEOU)
Operation speed-duplex: 1000M full
Flow control: Disabled
MDIX: Normal

DmSwitch2104#ping 10.217.172.65
PING 10.217.172.65 (10.217.172.65): 56 data bytes

--- 10.217.172.65 ping statistics ---


5 packets transmitted, 0 packets received, 100% packet loDmSwitch2104#
DmSwitch2104#
DmSwitch2104#
DmSwitch2104#ping 10.217.172.65
PING 10.217.172.65 (10.217.172.65): 56 data bytes
64 bytes from 10.217.172.65: seq=1 ttl=254 time=7.142 ms
64 bytes from 10.217.172.65: seq=2 ttl=254 time=5.808 ms
64 bytes from 10.217.172.65: seq=3 ttl=254 time=5.843 ms
64 bytes from 10.217.172.65: seq=4 ttl=254 time=5.916 ms

--- 10.217.172.65 ping statistics ---


5 packets transmitted, 4 packets received, 20% packet loss
round-trip min/avg/max = 5.808/6.177/7.142 ms
DmSwitch2104#copy running-config startup-con

Você também pode gostar