cmdref.net - Cheat Sheet and Example

cmdref.net is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools


Sidebar








Etc


Reference














.

hardware:junos:index.html



Juniper Junos CLI Commands(SRX/QFX/EX)

Corporate Site

Juniper Junos Commands

System Management

Basic Operation login
% cli
Configuration > configure
> show configuration | display set | no-more
# show | display set |no-more
> show configuration | display set | match XXXX
# show | display set |match XXXX
> show configuration | display set | save USER@192.168.0.5:/home/config/test00-fw/tes00-fw_20120714.txt
Basic Setting hostname
NTP
SNMP
Logging
(system syslog)
(security log)
> show log messages?
> show log messages | last 10
> show log /var/log/messages | last
Time
Account
Hardware > show chassis hardware ← Check Serial Number, SFP
> show system alarms
> show chassis cluster status
Virtual Chassis > ping x.x.x.x routing-instance XXXX
SRX Chassis Cluster > show chassis cluter status

LAN Switching

Interface > show interface terse
Mac address > show arp
VLAN > show vlan brief
Link Aggregation
(AE = Aggreated Ethernet)
ae is Aggregated Ethernet interface.
> show interfaces terse | match ae
Static Route > show route terse

IP Routing

Policy > show security zones
#show | display set | no-more | match policy
NAT Source NAT Server/Office –> Internet
> show security nat source rule all
Static NAT Internet –> Server
> show security nat static rule all
Destination NAT Internet –> Server
> show security nat destination rule all
Check > traceroute source 10.0.0.3 10.0.0.5
IPsec VPN Phase1
>show security ike security-associations
>show security ike security-associations detail
Phase2
>show security ipsec security-associations
>show security ipsec security-associations detail

TIPS

Traffic Monitor > monitor traffic interface vlan.10
> monitor traffic interface vlan.10 matching “host 192.168.0.1 && udp && port 9997”

> start shell user root
% tcpdump -n host 192.168.0.1




References




hardware/junos/index.html.txt · Last modified: 2020/09/05 by admin

Page Tools