Configurações de Switch Huawei

!! Resetando !!

reset saved-configuration

reboot

!! Mudando Nome !!

sysname s5700-JUNCO

!! Configurações de Acesso !!

acl number 2000
 rule 10 permit source 177.66.116.79 0
 rule 15 permit source 177.66.116.2 0
 rule 20 permit source 177.66.114.8 0
quit
acl number 2001
 rule 10 permit source 177.66.114.5 0
 rule 11 permit source 170.82.124.198 0
quit

stelnet server enable
ssh server port 31278
ssh authentication-type default password
ssh server acl 2001

aaa
 authentication-scheme default
 authentication-scheme radius
 authentication-mode radius
 authorization-scheme default
 accounting-scheme default
 local-aaa-user password policy administrator
  password expire 0
 domain default
  authentication-scheme radius
  radius-server default
 domain default_admin
  authentication-scheme default
 local-user admin password irreversible-cipher $1a$$)Gv.xWj5Z$5NldBoO)_B:#$kD`Hfj)Ojwl%9{,E((;3A~[c*q6$
 local-user admin privilege level 15
 local-user admin service-type terminal ssh

user-interface con 0
authentication-mode none
user-interface vty 0 4
authentication-mode aaa
protocol inbound all
user-interface vty 16 20

!! Salvando Configurações !!

save all

!! Colocando Gerência !!

vlan 399
 name GERENCIA
quit

interface Vlanif399
 ip address 172.20.8.190 255.255.255.252
quit

ip route-static 0.0.0.0 0.0.0.0 172.20.8.189

interface GigabitEthernet0/0/21
 description UPLINK
 port link-type trunk
 port trunk allow-pass vlan 399

interface XGigabitEthernet0/0/1
 description UPLINK
 port link-type trunk
 port trunk allow-pass vlan 399

 !! CONFIGURAÇÕES SNMP !!

snmp-agent
snmp-agent acl 2000
snmp-agent community read cipher public
snmp-agent sys-info version v2c

Comentários

Postagens mais visitadas