Comandos compatíveis com os principais Roteadores Juniper disponibilizados pela Fabricante:
- Série MX — Acesso, Borda e Core (todas as versões)
- MX5
- MX10
- MX40
- MX80
- MX104
- MX150
- MX204
- MX240
- MX480
- MX960
- MX2008
- MX2010
- MX2020
- Série ACX — Acesso e Metro
- ACX1100
- ACX2100
- ACX2200
- ACX4000
- ACX5000 Series
- ACX7100 Series
- Série PTX — Core de alta capacidade
- PTX1000
- PTX10002
- PTX10003
- PTX3000
- PTX5000
- PTX10008
- PTX10016
- Série SRX — Segurança e Roteamento
- SRX300 Series
- SRX1500
- SRX4100
- SRX4200
- SRX4600
- SRX5000 Series
Entrar no modo de configuração
configure
Sair do modo de configuração
exit
Cancelar alterações não salvas
rollback 0
Salvar configuração
commit
Salvar configuração e exibir mudanças
commit confirmed
Mostrar dif entre configuração atual e ativa
show | compare
Mostrar versão do equipamento
show version
Mostrar configuração atual
show configuration
Mostrar configuração hierárquica
show configuration | display set
Histórico de comandos
show cli history
Sistem
Configurar hostname
set system host-name nome-do-equipo
Criar usuário
set system login user username class super-user authentication plain-text-password
Remover usuário
delete system login user username
Reiniciar equipamento
request system reboot
Salvar snapshot do sistema
request system snapshot
Interface
Mostrar interfaces
show interfaces
Mostrar interface específica
show interfaces ge-0/0/0
Entrar em interface
edit interfaces ge-0/0/0
Configurar IP
set interfaces ge-0/0/0 unit 0 family inet address x.x.x.x/y
Habilitar interface
delete interfaces ge-0/0/0 disable
Desabilitar interface
set interfaces ge-0/0/0 disable
VLA
Criar VLAN
set vlans nome-vlan vlan-id id
Associar interface à VLAN (modo acesso)
set interfaces ge-0/0/0 unit 0 family ethernet-switching port-mode access
set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members nome-vlan
Configurar interface trunk
set interfaces ge-0/0/0 unit 0 family ethernet-switching port-mode trunk
set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members all
Rota
Adicionar rota estática
set routing-options static route rede/máscara next-hop x.x.x.x
Mostrar tabela de rotas
show route
Diagnóstic
Ping
ping x.x.x.x
Traceroute
traceroute x.x.x.x
Mostrar ARP
show arp
Limpar ARP
clear arp
Mostrar CPU
show chassis routing-engine
Mostrar logs
show log messages
SNM
Configurar comunidade SNMP
set snmp community nomecomunidade authorization read-only
set snmp community nomecomunidade authorization read-write
Firewall / Filtros (ACL)
Criar filtro simples
set firewall family inet filter filtro1 term t1 from source-address x.x.x.x/yy
set firewall family inet filter filtro1 term t1 then accept
Aplicar filtro na interface
set interfaces ge-0/0/0 unit 0 family inet filter input filtro1
- MX5
- MX10
- MX40
- MX80
- MX104
- MX150
- MX204
- MX240
- MX480
- MX960
- MX2008
- MX2010
- MX2020
- ACX1100
- ACX2100
- ACX2200
- ACX4000
- ACX5000 Series
- ACX7100 Series
- PTX1000
- PTX10002
- PTX10003
- PTX3000
- PTX5000
- PTX10008
- PTX10016
- SRX300 Series
- SRX1500
- SRX4100
- SRX4200
- SRX4600
- SRX5000 Series
configure exit rollback 0 commit commit confirmed show | compare show version show configuration show configuration | display set show cli history set system host-name nome-do-equipo set system login user username class super-user authentication plain-text-password delete system login user username request system reboot request system snapshot show interfaces show interfaces ge-0/0/0 edit interfaces ge-0/0/0 set interfaces ge-0/0/0 unit 0 family inet address x.x.x.x/y delete interfaces ge-0/0/0 disable set interfaces ge-0/0/0 disable set vlans nome-vlan vlan-id id set interfaces ge-0/0/0 unit 0 family ethernet-switching port-mode access set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members nome-vlan set interfaces ge-0/0/0 unit 0 family ethernet-switching port-mode trunk set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members all set routing-options static route rede/máscara next-hop x.x.x.x show route ping x.x.x.x traceroute x.x.x.x show arp clear arp show chassis routing-engine show log messages set snmp community nomecomunidade authorization read-only set snmp community nomecomunidade authorization read-write set firewall family inet filter filtro1 term t1 from source-address x.x.x.x/yy set firewall family inet filter filtro1 term t1 then accept set interfaces ge-0/0/0 unit 0 family inet filter input filtro1 GPON • REDES • DATACENTER • AUTOMAÇÃO
Explore Nossa Base Técnica
Tudo o que você precisa para configurar e administrar sua rede.
Scripts e Comandos
+
0
Guias Técnicos
+
0
Fabricantes Suportados
+
0



