terça-feira, 23 de outubro de 2018

SCRIPT BASICO HUAWEI AR 2220 PRAPS

system-view
aaa
 local-user admin password cipher Admin@huawei
 local-user admin  privilege level 15
 local-user admin service-type telnet ssh
!
user-interface con 0
 authentication-mode password
 set authentication password cipher Admin@huawei
!
user-interface vty 0 4
authentication-mode aaa
!
interface GigabitEthernet0/0/0
description Interface_LAN
ip address 192.168.1.1 255.255.255.0
undo shut
#
interface GigabitEthernet0/0/1
description Interface_WAN
ip address 187.51.221.150 255.255.255.252
undo shut
#
ip route-static 0.0.0.0 0 187.51.221.149

                                     Configurando com vlan

system-view
aaa
 local-user admin password cipher Admin@huawei
 local-user admin  privilege level 15
 local-user admin service-type telnet ssh
!
user-interface con 0
 authentication-mode password
 set authentication password cipher Admin@huawei
!
user-interface vty 0 4
authentication-mode aaa
!
interface GigabitEthernet0/0/0
description Interface_LAN
ip address 192.168.1.1 255.255.255.0
undo shut
#
interface GigabitEthernet0/0/1.XX
dot1q termination vid XX
ip address 187.51.221.150 255.255.255.252
#
interface GigabitEthernet0/0/1
undo ip address
#
ip route-static 0.0.0.0 0 187.51.221.149


SCRIPT BASICO HUAWEI AR 1220 PRAPS

system-view

aaa
local-user admin password cipher Admin@huawei
local-user admin privilege level 15
local-user admin service-type telnet
#
telnet server enable
#
user-interface vty 0 4
authentication-mode aaa
#
interface GigabitEthernet0/0/0
description Interface_LAN
ip address 192.168.1.1 255.255.255.0
undo shut
#
interface GigabitEthernet0/0/1
description Interface_WAN
ip address 187.51.221.150 255.255.255.252
undo shut
#
ip route-static 0.0.0.0 0 187.51.221.149


                                                        configurando com vlan

system-view

aaa
local-user admin password cipher  Admin@huawei
local-user admin privilege level 15
local-user admin service-type telnet
#
telnet server enable
#
user-interface vty 0 4
authentication-mode aaa
#
interface GigabitEthernet0/0/0
description Interface_LAN
ip address 192.168.1.1 255.255.255.0
undo shut
#
interface GigabitEthernet0/0/1.XX
dot1q termination vid XX
ip address 187.51.221.150 255.255.255.252
#
interface GigabitEthernet0/0/1
undo ip address
#
ip route-static 0.0.0.0 0 187.51.221.149

quinta-feira, 11 de outubro de 2018

ROUTER 121R

          








                              SCRIPT 

telnet server enable
#
aaa
local-user admin privilege level 15
local-user admin service-type telnet terminal ssh http 
#
interface GigabitEthernet 0/0/0
undo portswitch
descripition interfacel_Lan
ip address 189.108.181.254 255.255.255.252
#
ip route-static 0.0.0.0 0.0.0.0 187.93.194.253
#
interface loopback0
ip address 186.238.166.185 255.255.255.255 
#
user-interface vty 0 4
authentication-mode aaa
user privilege level 15
#
Return


ROUTER HP-954




                                                     SCRIPT 


system view

local-user admin class manage
service-type telnet
password simple admin
authorization-attribute user-role level-3
authorization-attribute user-role network-admin
authorization-attribute user-role network-operator
quit
telnet server enable


line vty 0 4
authentication-mode scheme
user-role network-admin
user-role network-operator
quit

interface giga 0/1
port link-mode route
ip address 200.100.100.2 255.255.255.252
undo shutdown
quit


ip route-static 0.0.0.0 0.0.0.0 201.201.201.201


interface loopback0
ip address 200.100.100.2 255.255.255.255
quit

sexta-feira, 29 de dezembro de 2017

ROTEADOR AR162F

AR162 F

SCRIPT



Press any key to get started


Login authentication


Username: admin
Password: Admin@huawei
Warning: Auto-Config is working. Before configuring the device, stop Auto-Config. If you perform configurations when Auto-Config is running, the DHCP, routing, DNS, and VTY configurations will be lost. Do you want to stop Auto-Config? [y/n]:n




Script básico Praps:


telnet server enable
#
aaa
local-user admin privilege level 15
local-user admin service-type telnet terminal ssh http
#
interface GigabitEthernet 0/0/4
description interface_WAN
ip address 201.200.150.126 255.255.255.252
#
interface GigabitEthernet 0/0/0
description interface_LAN
undo portswitch
ip address 189.108.181.254 255.255.255.252
#
ip route-static 0.0.0.0 0.0.0.0 201.200.150.125
#
user-interface vty 0 4
authentication-mode aaa
user privilege level 15
#
Return


Obs: a senha de acesso telnet e a senha default (user: admin password: Admin@huawei).
















Script básico serial (V35):

telnet server enable
#
aaa
local-user admin privilege level 15
local-user admin service-type telnet terminal ssh http
#
interface Serial0/0/0
link-protocol ppp
ip address 201.200.150.126 255.255.255.252
#
interface GigabitEthernet 0/0/0
undo portswitch
ip address 189.108.181.254 255.255.255.252
#
ip route-static 0.0.0.0 0.0.0.0 201.200.150.125
#
user-interface vty 0 4
authentication-mode aaa
user privilege level 15
#
Return


Obs: a senha de acesso telnet é a senha default (user: admin password: Admin@huawei).


Script básico Frame-Relay:

telnet server enable
#
aaa
local-user admin privilege level 15
local-user admin service-type telnet terminal ssh http
#
interface Serial0/0/0
link-protocol fr
fr lmi type q933a
#
interface Serial0/0/0.16 p2p
description interface_WAN_Cliente
fr dlci 16
ip address 192.168.0.2 255.255.255.252
#
interface Serial0/0/0.400 p2p
description interface_WAN_Gerencia
fr dlci 400
ip address 179.179.179.25 255.255.255.192
#
interface GigabitEthernet 0/0/0
description interface_LAN
undo portswitch
ip address 10.10.18.1 255.255.255.0
#
ip route-static 0.0.0.0 0.0.0.0 Serial0/0/0.16
ip route-static 179.179.179.1 255.255.255.255 Serial0/0/0.400
#
user-interface vty 0 4
authentication-mode aaa
user privilege level 15
#
return

Obs: a senha de acesso telnet é a senha default (user: admin password: Admin@huawei).

Script básico Multilink PPP:

telnet server enable
#
aaa
local-user admin privilege level 15
local-user admin service-type telnet terminal ssh http
#
interface Serial0/0/0
undo ip address
link-protocol ppp
ppp mp Virtual-Template 1
virtualbaudrate 2048000
#
interface Virtual-Template1
ip address 192.168.0.2 255.255.255.252
#
interface GigabitEthernet 0/0/0
undo portswitch
ip address 10.101.10.1 255.255.255.0
#
ip route-static 0.0.0.0 0.0.0.0 192.168.0.1
#
user-interface vty 0 4
authentication-mode aaa
user privilege level 15
#
Return

Obs: a senha de acessso telnet é a senha default (user: admin password: Admin@huawei).


Salvando as configurações:

[Huawei] save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]: y
It will take several minutes to save configuration file, please wait...............................
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
[Huawei]



Deletando as configurações:

reset saved-configuration
This will delete the configuration in the flash memory.
The device configurations will be erased to reconfigure.
Are you sure? (y/n)[n]: y .....
Info: Clear the configuration in the device successfully.


reboot
Info: The system is comparing the configuration, please wait.
Warning: All the configuration will be saved to the next startup configuration. Continue? [y/n]: n
System will reboot! Continue? [y/n]: y
Info: system is rebooting, please wait...




Recuperando a senha:

Reinicie e aperte Ctrl+B para interromper o boot.

Senha default= Admin@huawei


Press Ctrl+B to break auto startup ... 3

Enter Password: Admin@huawei

Default Password,Please Set New Password.

Main Menu

1. Default Startup
2. Serial Menu
3. Network Menu
4. Startup Select
5. File Manager
6. Reboot
7. Password Manager

Enter your choice(1-7): 7

PassWord Menu

1. Modify the menu password
2. Clear the console login password
0. Return

Enter your choice(0-2): 2

Clear the console login password Succeed!

PassWord Menu

1. Modify the menu password
2. Clear the console login password
0. Return

Enter your choice(0-2): 0

Main Menu

1. Default Startup
2. Serial Menu
3. Network Menu
4. Startup Select
5. File Manager
6. Reboot
7. Password Manager

Enter your choice(1-7): 6


ROTEADOR HP-MSR-1002



HP – MSR 1002 
 GUIA RÁPIDO 





SCRIPT ROUTER 1002



system-view
telnet server enable
scheduler logfile size 16
password-recovery enable
interface LoopBack0
ip address 172.18.225.61 32
quit

interface Gigabitethernet0/0
description interface_Lan
port link-mode route
ip address 10.198.247.129 25

quit
interface Gigabitethernet0/1
description interface_Wan
port link-mode route
ip address 172.18.214.70 30
quit

line class vty
user-role network-admin
user-role network-operator
quit

line vty 0 4
authentication-mode scheme
user-role network-admin
quit

ip route-static 0.0.0.0 0 172.18.208.125
local-user admin class manage
password simple admin
service-type telnet terminal
authorization-attribute user-role level-3
authorization-attribute user-role network-admin
quit

line class aux
 user-role network-admin
quit
line class tty
 user-role network-operator
quit

line class vty
 user-role network-admin
 user-role network-operator
quit

line aux 0
 user-role network-admin
quit

line vty 0 4
 authentication-mode scheme
 user-role network-admin
 user-role network-operator
quit

line vty 5 63
user-role network-operator

save




  

domingo, 15 de janeiro de 2017

ROTEADORES CISCO


                   CONFIGURAÇÃO DE ROTEADORES CISCO


Vamos aos primeiros passos para configurar um roteador Cisco 

Comandos Root                                                                         
 

show = Examina o status do roteador

configure = Altera a configuração

no = Nega o parâmetro configurado

copy = Torna a configuração efetiva                               
  
Modos de Comando

 Router> -------------------------  Modo usuário
 Router# ---------------------------Modo privilegiado 
 Router(config)# --------- ---------Modo de configuração global 
 Router(config-if)#--------- -------Modo de configuração da Interface 
 Router(config-subif)#------------- Modo de configuração da subinterface


Vamos ver como fica estes comandos no roteador Cisco

Ao Ligar o roteador Cisco aparecera varias informações como a versão a série e etc ...

States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.


Cisco 1841 (revision 5.0) with 114688K/16384K bytes of memory.
Processor board ID FTX0947Z18E
M860 processor: part number 0, mask 49
2 FastEthernet/IEEE 802.3 interface(s)
191K bytes of NVRAM.
63488K bytes of ATA CompactFlash (Read/Write)
Cisco IOS Software, 1841 Software (C1841-ADVIPSERVICESK9-M), Version 12.4(15)T1, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 18-Jul-07 04:52 by pt_team


         --- System Configuration Dialog ---

Continue with configuration dialog? [yes/no]: System Bootstrap, Version 12.3(8r)T8, RELEASE SOFTWARE (fc1)
Cisco 1841 (revision 5.0) with 114688K/16384K bytes of memory.

Self decompressing the image :
########################################################################## [OK]
              Restricted Rights Legend

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

           cisco Systems, Inc.
           170 West Tasman Drive
           San Jose, California 95134-1706



Cisco IOS Software, 1841 Software (C1841-ADVIPSERVICESK9-M), Version 12.4(15)T1, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 18-Jul-07 04:52 by pt_team
Image text-base: 0x60080608, data-base: 0x6270CD50


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.


Cisco 1841 (revision 5.0) with 114688K/16384K bytes of memory.
Processor board ID FTX0947Z18E
M860 processor: part number 0, mask 49
6 FastEthernet/IEEE 802.3 interface(s)
2 Low-speed serial(sync/async) network interface(s)
191K bytes of NVRAM.
63488K bytes of ATA CompactFlash (Read/Write)
Cisco IOS Software, 1841 Software (C1841-ADVIPSERVICESK9-M), Version 12.4(15)T1, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 18-Jul-07 04:52 by pt_team


         --- System Configuration Dialog ---

Continue with configuration dialog? [yes/no]: no


Press RETURN to get started!



Router>

Router>enable
Router#
Router#show running-config  ( mostra toda a configuração do roteador )

Building configuration...

Current configuration : 827 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
ip name-server 0.0.0.0
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface FastEthernet0/0/0
 switchport mode access
 shutdown
!
interface FastEthernet0/0/1
 switchport mode access
 shutdown
!
interface FastEthernet0/0/2
 switchport mode access
 shutdown
!
interface FastEthernet0/0/3
 switchport mode access
 shutdown
!
interface Serial0/1/0
 no ip address
 shutdown
!
interface Serial0/1/1
 no ip address
 shutdown
!
interface Vlan1
 no ip address
 shutdown
!
ip classless
!

line con 0
line vty 0 4
 login
!

end

Router#
Router#show ip interface brief     ( Comando possibilita verificar toda as interfaces )

Interface              IP-Address      OK? Method Status                Protocol
 
FastEthernet0/0        unassigned      YES manual administratively down down
 
FastEthernet0/1        unassigned      YES manual administratively down down
 
FastEthernet0/0/0      unassigned      YES manual administratively down down
 
FastEthernet0/0/1      unassigned      YES manual administratively down down
 
FastEthernet0/0/2      unassigned      YES manual administratively down down
 
FastEthernet0/0/3      unassigned      YES manual administratively down down
 
Serial0/1/0            unassigned      YES manual administratively down down

Postagem em destaque

MicroSIP

 MICRO SIP  MicroSIP - softphone SIP portátil de código aberto baseado na pilha PJSIP para o sistema operacional Windows. Permite fazer cham...