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

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...