Comandos CLI integração HUAWEI

IXC ira criar essas regras

  • Altera nome do Concentrador
  • radius-server authorization
  • Radius Server Group e Seus atributos
  • Accounting-scheme do Domain
  • Cria um Novo Domain
  • Adiciona a Pool IPv4 e IPv6 de bloqueio
  • Seta NTP
  • Commit

Seta Nome do Concentrador

sysname "NOME"

radius-server authorization

radius-server authorization "IP_IXC" destination-port "PORTA_INCOMMING" shared-key-cipher "SENHA_RADIUS" server-group "Nome_GRUPO_RADIUS"


radius-attribute delegated-ipv6-prefix encapsulation-method version2

radius-attribute framed-ip-address encapsulation-method version2

radius-server coa-request hw-policy-name daa same-policy reply-ack

Adiciona Radius Group

radius-server group "radius_nome"
radius-server shared-key "Senha"
radius-server authentication "ip_sistema"  shared-key "porta_autenticacao" weight 0
radius-server authentication "ip_sistema"  shared-key "porta_contabilidade" weight 0
radius-server authentication "ip_sistema" source ip-address "ip_origem" shared-key "senha_radius" "porta_autenticacao" weight 0
radius-server authentication "ip_sistema" source ip-address "ip_origem" shared-key "senha_radius" "porta_contabilidade" weight 0

radius-server attribute translate
radius-server user-name original
radius-server user-name trust-server-request
radius-attribute include HW-Auth-Type
radius-attribute include Reply-Message coa-nak
radius-attribute include edsg-service-name accounting-request
radius-attribute include Event-Timestamp accounting-on accounting-off
radius-attribute translate extend HW-Auth-Type vendor-specific 2011 109 access-request account
radius-attribute assign hw-mng-ipv6 pppoe motm
radius-attribute case-sensitive qos-profile-name
radius-attribute qos-profile no-exist-policy offline
radius-attribute apply user-name match user-type ipoe
radius-attribute apply framed-ipv6-pool match pool-type
radius-attribute service-type value outbound user-type ipoe
radius-attribute hw-user-password simple coa-request
radius-attribute disable cisco-avpair receive
quit

Seta Domain

aaa
domain "nome_domain"
authentication-scheme "radius_nome"
accounting-scheme "radius_nome"
radius-server group "radius_nome"
accounting-start-delay 10 online user-type ppp ipoe static
user-basic-service-ip-type ipv4
quit
quit

accounting-scheme Domain

accounting-scheme 'domain'
accounting interim interval 20 traffic hash
accounting send-update
accounting start-fail online
quit

SETA NTP

ntp-service sync-interval 180
ntp-service unicast-peer " "

Adiciona POOL de bloqueio IPv4

ip pool "nome_pool" bas local
gateway "gateway"
undo section  0
section  0  "inicio" "fim"
lease 0 12 0
quit

Adiciona POOL de bloqueio IPV6

ipv6 prefix pre-"nome_pool" delegation
#
ipv6 pool "nome_pool" bas delegation
  prefix pre-#nome_pool#

APLICA CONFIGURAÇÃO

commit



Desenvolvida Por Fernando Pavão