Difference between revisions of "Manual do usuário AGOS 4 CLI"
| Line 94: | Line 94: | ||
config network ethernetN | config network ethernetN | ||
| + | |||
Configurar a interface ethernetN, onde N é o número de identificação da interface. | Configurar a interface ethernetN, onde N é o número de identificação da interface. | ||
| + | |||
config network ethernetN mode <autoneg,100full,100half,10full,10half> | config network ethernetN mode <autoneg,100full,100half,10full,10half> | ||
| + | |||
Configurar velocidade da porta | Configurar velocidade da porta | ||
| + | |||
config network ethernetN mtu <mtu> | config network ethernetN mtu <mtu> | ||
Configurar o MTU da interface Ethernet em bytes | Configurar o MTU da interface Ethernet em bytes | ||
config network ethernetN ip type <dhcp,static> | config network ethernetN ip type <dhcp,static> | ||
| + | |||
Configurar o tipo de endereçamento IP | Configurar o tipo de endereçamento IP | ||
| + | |||
config network ethernetN ip address <x.x.x.x> | config network ethernetN ip address <x.x.x.x> | ||
| + | |||
Configurar o endereço IP | Configurar o endereço IP | ||
config network ethernetN ip netmask <x.x.x.x> | config network ethernetN ip netmask <x.x.x.x> | ||
| + | |||
Configurar a máscara de rede | Configurar a máscara de rede | ||
config network ethernetN ip alias <alias_name> | config network ethernetN ip alias <alias_name> | ||
| + | |||
Criar/ configurar alias de IP | Criar/ configurar alias de IP | ||
| + | |||
config network ethernetN ip alias <alias_name> address <x.x.x.x> | config network ethernetN ip alias <alias_name> address <x.x.x.x> | ||
| + | |||
Configurar endereço IP do alias | Configurar endereço IP do alias | ||
| + | |||
config network ethernetN ip alias <alias_name> netmask <x.x.x.x> | config network ethernetN ip alias <alias_name> netmask <x.x.x.x> | ||
| + | |||
Configurar máscara do alias | Configurar máscara do alias | ||
| + | |||
config network ethernetN ip alias <alias_name> show | config network ethernetN ip alias <alias_name> show | ||
| + | |||
Exibir configurações do alias | Exibir configurações do alias | ||
| + | |||
config network ethernetN ip alias <alias_name> delete | config network ethernetN ip alias <alias_name> delete | ||
Excluir alias | Excluir alias | ||
| + | |||
config network ethernetN ip vlan <vlan_id> | config network ethernetN ip vlan <vlan_id> | ||
| + | |||
Configurar ID de VLAN (1-4094) | Configurar ID de VLAN (1-4094) | ||
| + | |||
config network ethernetN ip vlan <vlan_id> address <x.x.x.x> | config network ethernetN ip vlan <vlan_id> address <x.x.x.x> | ||
| + | |||
Configurar o endereço IP da VLAN <vlan_id> | Configurar o endereço IP da VLAN <vlan_id> | ||
| + | |||
config network ethernetN ip vlan <vlan_id> netmask <x.x.x.x> | config network ethernetN ip vlan <vlan_id> netmask <x.x.x.x> | ||
| + | |||
Configurar a máscara do endereço IP da VLAN <vlan_id> | Configurar a máscara do endereço IP da VLAN <vlan_id> | ||
| + | |||
config network ethernetN ip vlan <vlan_id> show | config network ethernetN ip vlan <vlan_id> show | ||
| + | |||
Exibir configurações da vlan <vlan_id> | Exibir configurações da vlan <vlan_id> | ||
| + | |||
config network ethernetN ip vlan <vlan_id> delete | config network ethernetN ip vlan <vlan_id> delete | ||
| + | |||
Excluir a vlan | Excluir a vlan | ||
| + | |||
config network ethernetN ip show | config network ethernetN ip show | ||
| + | |||
Exibir configurações de endereçamento da interface ethernetN | Exibir configurações de endereçamento da interface ethernetN | ||
| + | |||
config network defaultgw <x.x.x.x> | config network defaultgw <x.x.x.x> | ||
| + | |||
Configurar o endereço IP do gateway padrão | Configurar o endereço IP do gateway padrão | ||
| + | |||
config network hostname <hostname> | config network hostname <hostname> | ||
| + | |||
Configurar o nome do host | Configurar o nome do host | ||
config network dns [nameserver1] … [nameserver3] | config network dns [nameserver1] … [nameserver3] | ||
| + | |||
Configurar os servidores DNS | Configurar os servidores DNS | ||
| + | |||
config network ntp <ntp[:port]> | config network ntp <ntp[:port]> | ||
| + | |||
Configurar o servidor NTP e a porta (opcional) | Configurar o servidor NTP e a porta (opcional) | ||
| + | |||
config network syslog <syslog[:port]> | config network syslog <syslog[:port]> | ||
| + | |||
Configurar servidor para remote syslog e porta (opcional) | Configurar servidor para remote syslog e porta (opcional) | ||
| + | |||
config network route <route_name> | config network route <route_name> | ||
| + | |||
Configurar nome da rota estática | Configurar nome da rota estática | ||
| + | |||
config network route <route_name> source <source_address/cidr_mask> | config network route <route_name> source <source_address/cidr_mask> | ||
| + | |||
Configurar a rede e máscara da rede de origem na forma <x.x.x/y> da rota <route_name> | Configurar a rede e máscara da rede de origem na forma <x.x.x/y> da rota <route_name> | ||
| + | |||
config network route <route_name> gateway <gateway_address> | config network route <route_name> gateway <gateway_address> | ||
| + | |||
Configurar o endereço IP do gateway <gateway_address> da rota <route_name> | Configurar o endereço IP do gateway <gateway_address> da rota <route_name> | ||
| + | |||
config network route <route_name> device <destination_interface> | config network route <route_name> device <destination_interface> | ||
| + | |||
Configurar a interface de destino <destination_interface> da rota <route_name> | Configurar a interface de destino <destination_interface> da rota <route_name> | ||
| + | |||
config network snmp version2 | config network snmp version2 | ||
| + | |||
Configurar o agente SNMPv2 | Configurar o agente SNMPv2 | ||
| + | |||
config network snmp version2 state {disabled, enabled} | config network snmp version2 state {disabled, enabled} | ||
| + | |||
Habilita ou desabilita o agente SNMP | Habilita ou desabilita o agente SNMP | ||
| + | |||
config network snmp version2 agent_list | config network snmp version2 agent_list | ||
| + | |||
Habilita ou desabilita o agente SNMP | Habilita ou desabilita o agente SNMP | ||
| + | |||
config network snmp version2 rocommunity <rocommunity> | config network snmp version2 rocommunity <rocommunity> | ||
| + | |||
Configurar o comunidade de leitura <rocommunity> das bases de informação de | Configurar o comunidade de leitura <rocommunity> das bases de informação de | ||
| + | |||
gerenciamento (MIBs) | gerenciamento (MIBs) | ||
| + | |||
config network snmp version2 trap_ip <trap_ip> | config network snmp version2 trap_ip <trap_ip> | ||
| + | |||
Configurar o endereço IP <trap_ip> para onde serão enviadas as traps SNMP | Configurar o endereço IP <trap_ip> para onde serão enviadas as traps SNMP | ||
| + | |||
config network snmp version2 trap_port <trap_port> | config network snmp version2 trap_port <trap_port> | ||
| + | |||
Configurar a porta UDP <trap_port> que será utilizada para o envio de traps SNMP | Configurar a porta UDP <trap_port> que será utilizada para o envio de traps SNMP | ||
config network show | config network show | ||
| + | |||
Exibir configurações de rede | Exibir configurações de rede | ||
Revision as of 09:42, 15 June 2022
Introdução
AGOS (Aligera Operational System) é a distribuição Linux da Aligera que é embarcada nos Media Gateways. O presente manual apresenta procedimentos de configuração via linha de comando (CLI).
Os equipamentos equipados com o AGOS fornecem acesso via SSH e Telnet para a sua administração avançada. As credenciais são as mesmas da interface WEB. Sendo a porta 22 para o acesso SSH e a porta 23 para o serviço Telnet.
Login: admin
Password: aligera
Ao acessar o gateway via telnet ou ssh, o terminal irá abrir diretamente na interface CLI, a
partir de então os comandos podem ser executados. Ao pressionar a tecla ? (interrogação)
serão apresentados os comandos disponíveis dentro do respectivo menu e a função de cada
um.
config
Acesso aos comandos de configuração
status
Acesso aos comandos de status do gateway
system
Acesso às informações de gerenciamento do sistema
debug
Acesso ao terminal de debug
tools
Acesso a ferramentas de diagnóstico de conectividade
quit,exit
Deixa o a interface CLI ou retorna ao menu anterior
Configurações
config network
Configurações de rede
config tdm
Configurar porta TDM
config sip
Configurar parâmetros e contas SIP
config dialplan
Configurar o plano de discagem
config login
Configurar usuários
config firewall
Configurar o firewall
config ss7
Configurar os parâmetros de sinalização SS7
config show
Exibir configurações
config apply
Aplicar as configurações, salva e reinicia os serviços.
!,quit,exit
Retornar ao menu anterior
Configurações de rede
config network ethernetN
Configurar a interface ethernetN, onde N é o número de identificação da interface.
config network ethernetN mode <autoneg,100full,100half,10full,10half>
Configurar velocidade da porta
config network ethernetN mtu <mtu> Configurar o MTU da interface Ethernet em bytes config network ethernetN ip type <dhcp,static>
Configurar o tipo de endereçamento IP
config network ethernetN ip address <x.x.x.x>
Configurar o endereço IP config network ethernetN ip netmask <x.x.x.x>
Configurar a máscara de rede config network ethernetN ip alias <alias_name>
Criar/ configurar alias de IP
config network ethernetN ip alias <alias_name> address <x.x.x.x>
Configurar endereço IP do alias
config network ethernetN ip alias <alias_name> netmask <x.x.x.x>
Configurar máscara do alias
config network ethernetN ip alias <alias_name> show
Exibir configurações do alias
config network ethernetN ip alias <alias_name> delete Excluir alias
config network ethernetN ip vlan <vlan_id>
Configurar ID de VLAN (1-4094)
config network ethernetN ip vlan <vlan_id> address <x.x.x.x>
Configurar o endereço IP da VLAN <vlan_id>
config network ethernetN ip vlan <vlan_id> netmask <x.x.x.x>
Configurar a máscara do endereço IP da VLAN <vlan_id>
config network ethernetN ip vlan <vlan_id> show
Exibir configurações da vlan <vlan_id>
config network ethernetN ip vlan <vlan_id> delete
Excluir a vlan
config network ethernetN ip show
Exibir configurações de endereçamento da interface ethernetN
config network defaultgw <x.x.x.x>
Configurar o endereço IP do gateway padrão
config network hostname <hostname>
Configurar o nome do host config network dns [nameserver1] … [nameserver3]
Configurar os servidores DNS
config network ntp <ntp[:port]>
Configurar o servidor NTP e a porta (opcional)
config network syslog <syslog[:port]>
Configurar servidor para remote syslog e porta (opcional)
config network route <route_name>
Configurar nome da rota estática
config network route <route_name> source <source_address/cidr_mask>
Configurar a rede e máscara da rede de origem na forma <x.x.x/y> da rota <route_name>
config network route <route_name> gateway <gateway_address>
Configurar o endereço IP do gateway <gateway_address> da rota <route_name>
config network route <route_name> device <destination_interface>
Configurar a interface de destino <destination_interface> da rota <route_name>
config network snmp version2
Configurar o agente SNMPv2
config network snmp version2 state {disabled, enabled}
Habilita ou desabilita o agente SNMP
config network snmp version2 agent_list
Habilita ou desabilita o agente SNMP
config network snmp version2 rocommunity <rocommunity>
Configurar o comunidade de leitura <rocommunity> das bases de informação de
gerenciamento (MIBs)
config network snmp version2 trap_ip <trap_ip>
Configurar o endereço IP <trap_ip> para onde serão enviadas as traps SNMP
config network snmp version2 trap_port <trap_port>
Configurar a porta UDP <trap_port> que será utilizada para o envio de traps SNMP config network show
Exibir configurações de rede