0% found this document useful (0 votes)
12 views5 pages

Comandos Juniper

The document provides a comprehensive guide on configuring a switch or router, including setting the date and time, enabling web management, and managing user authentication. It also covers commands for viewing configurations, checking interface statuses, and setting up VLANs and routing options. Additionally, it discusses the use of VRF for routing table virtualization and includes various commands for system management and configuration verification.

Uploaded by

C3RE4L
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views5 pages

Comandos Juniper

The document provides a comprehensive guide on configuring a switch or router, including setting the date and time, enabling web management, and managing user authentication. It also covers commands for viewing configurations, checking interface statuses, and setting up VLANs and routing options. Additionally, it discusses the use of VRF for routing table virtualization and includes various commands for system management and configuration verification.

Uploaded by

C3RE4L
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 5

show

**Para configurar la fecha y hora del switch o router


set cli screen-length 54
set cli screen-width 125
set date 201902072047.00

>cli
#configure
#set system root-authentication plain-text-password

#set system time-zone GMT-5


#set system host-name VmJuniper
#set system name-server 70.70.70.70
#set system services telnet
#set system static-host-mapping Router_Demo inet 192.168.6.3 ---
#set system login user vm1 full-name "soporte1" class super-user
#set system login user vm1 authentication plain-text-password
#set system login user vm2 full-name "soporte2" class super-user
#set system login user vm2 authentication plain-text-password
#set system login user vm3 full-name "soporte3" class super-user
#set system login user vm3 authentication plain-text-password
#set system login user vm4 full-name "soporte4" class super-user
#set system login user vm4 authentication plain-text-password
#set routing-options static route 0.0.0.0/0 next-hop 192.168.6.1 no-readvertise

**para habilitar puerto web


# set system services web-management http interface em0.0

**para guardar y salir cambios en configuracion


# commit and-quit

**para visulizar config de router


> show route | display xml rpc

**para visulizar usuarios logueados


> show system users | except root

**para visulizar lineas d config de router por ejemplo "AT"


> show configuration | match at

**para consultar estado de puerto de switch


> show ethernet-switching table interface ge-0/0/9

**para reiniciar
> request system reboot

**interfaces de loopback
set interfaces lo0 unit 0 family inet address 192.168.1.1/32
set interfaces lo0 unit 0 family inet address 192.168.2.1/32
**asegurar interface por zona ssh
set interfaces ge-0/0/0 unit 0 family inet address
192.168.10.2/24

**Para visualizar el ip que tiene asignado el puerto


>show configuration interfaces ge-0/0/1

**Para visualizar configuracion activa


show configuration interfaces ge-0/0/1 | display set

**para asociar una direccion ip


>test interface fe-0/0/0 restart-auto-negotiation

**ver el estado del hardware del puerto


#show interfaces fe-0/0/0 unit 1282
#show interfaces fe-0/0/0 unit 1811

verficar el estado del puerto

#show interfaces <puerto> terse

Para configurar puerta de enlace


#set routing-options static route default next-hop address

crear registro de tacplus server


**Juniper es compatible con TACACS + parcommita la autenticaci�n central de
usuarios en m�ltiples enrutadores
set tacplus-server address 172.16.98.24

#set system tacplus-server address 172.19.216.47 source-address 10.234.64.31

#set system tacplus-options service-name telmex-junos

#set system accounting events login destination tacplus server 10.234.64.31

#commit

#set system accounting events interactive-commands destination taplus-server


10.234.64.31 source-address 10.234.64.31 single-connection

#commit

#set system login user NOC full-name "remoto" class super-user


#set system login user NOC authentication plain-text-password
commit

#set system login user remote class super-user


#commit
###########################08:30 a.m. 06/04/2019###########################

set cli screen-length 54


set cli screen-width 125
set date 201904060832.00

#set system time-zone GMT+5


#set system host-name VmJuniper
#set system name-server 8.8.8.8
#set system services telnet

commit

//set interfaces interface-range "GRUPO_1

set interfaces interface-range "GRUPO_1" member fe-0/0/1


set interfaces interface-range "GRUPO_1" member fe-0/0/2
set interfaces interface-range "GRUPO_1" member fe-0/0/3
set interfaces interface-range "GRUPO_1" member fe-0/0/4
commit

set interfaces interface-range "GRUPO_1" unit 0 family ethernet-switching

set vlans "GRUPO_1" vlan-id 2

set vlans "GRUPO_2" vlan-id 4

set interfaces interface-range "GRUPO_1" unit 0 family ethernet-switching vlan


members GRUPO_1

***************11:42 a.m. 08/04/2019**********************


//set interfaces interface-range "GRUPO_2"

#set interfaces interface-range "GRUPO_2" member fe-0/0/5


#set interfaces interface-range "GRUPO_2" member fe-0/0/6
#set interfaces interface-range "GRUPO_2" member fe-0/0/7
#set interfaces interface-range "GRUPO_2" member fe-0/0/8
#commit

#set interfaces interface-range "GRUPO_2" unit 0 family ethernet-switching

#set interfaces interface-range "GRUPO_2" unit 0 family ethernet-switching vlan


members GRUPO_2

set interfaces fe-0/0/0 unit 0 family inet address 192.168.10.1/24


set interfaces fe-0/0/5 unit 0 family inet address 192.168.20.1/24

#edit interfaces fe-0/0/0

#set unit 0 family ethernet-switching vlan members "GRUPO_1"

#edit interfaces fe-0/0/5

#set unit 0 family ethernet-switching vlan members "GRUPO_2"


edit interface fe-0/0/0
set unit 0 family ethernet-switching port-mode trunk

commit

set unit 0 family ethernet-switching vlan members all


set unit 0 family ethernet-switching native-vlan-id 10
set per-unit-scheduler vlan-tagging speed 100m mtu 1500 link-mode full-duplex
fastether-options no-auto-negotiation
commit

edit interface fe-0/0/0


set unit 1282 vlAN-ID 1282
set unit 1282 description "INTERFACE WAN-RPVL"
set unit 1282 family ethernet-switching vlan members all
set unit 1282 family inet filter output policing-wan-rpvc

request system reboot

set protocols l2-learning globa-mode switching

set protocols l2-learning global-mode transparent-bridge switching

show system processes summary

show chassis routing-engine

**************
show interfaces irb.211

show vlans

show route
show interface terse | match inet
run show configuration interfaces irb.5 | display set
run show configuration interfaces | display set
run show interfaces irb terse

----run show interfaces irb extensive


----show interfaces irb.5 family inet

show ethernet-switching global-information

policy options---->08:38 a.m. 02/06/2019 se retiro el loopback

run show version


run show chassis hardware
VRF es una forma de virtualizar la tabla de enrutamiento de un router para separar
a los clientes y poder asignar una �nica instancia a cada uno de ellos. Esta
virtualizaci�n permite lograr cosas tan extra�as en otros escenarios como que dos
clientes tengan el mismo direccionamiento IP y est�n totalmente aislados uno del
otro.
Gracias a las VRF, los ISPs pueden virtualizar sus routers internos (PE o Provider
Edge) para utilizar el mismo dispositivo f�sico y asignar m�ltiples clientes, cada
cual usando sus propios m�todos de enrutamiento independientes ofreciendo
extraordinaria flexibilidad y ahorro de costos de implementaci�n.

set interfaces ge-0/0/0 link-mode full-duplex gigether-options auto-negotiation


para habilitar puerto en srx300

>file list /config


para ver archivos de onfiguracion

root-authentication {
encrypted-password
"$5$/7bq8/xB$ai0RDQgLQ/ocHYhBVGwOwTzQ9aaVSc5yKWr7wYKvlR7"; ## SECRET-DATA
}

You might also like