terça-feira, 23 de outubro de 2018

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

Nenhum comentário:

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