Download presentation
Presentation is loading. Please wait.
Published byWendy Hamilton Modified over 8 years ago
1
OKIN Networking Academy JNCIA course Junos Tips FOR PUBLIC USE F-01-06-BPS-EN
2
Confidential and proprietary materials for authorized OKIN BPS personnel and outside agencies only. Use, disclosure or distribution of this material is not permitted to any authorized persons or third parties except by written agreement. Junos Tips | Installation Preconfigure device from snapshot image Create a snapshot root@srx210> request system snapshot partition media usb Boot the new device from snapshot root> request system reboot media usb Copy the image to the new device and reboot root@srx210> request system snapshot media internal partition root@srx210> request system reboot media internal
3
Confidential and proprietary materials for authorized OKIN BPS personnel and outside agencies only. Use, disclosure or distribution of this material is not permitted to any authorized persons or third parties except by written agreement. Junos Tips | Operation Regexp through CLI output root@srx210> show interfaces queue fe-0/0/1 | match "Physical|Queue|Drop" Physical interface: fe-0/0/1, Enabled, Physical link is Up Egress queues: 4 supported, 4 in use Queue: 0, Forwarding classes: best-effort Queued: Tail-dropped packets : 0 0 pps RED-dropped packets : 0 0 pps RED-dropped bytes : 0 0 bps Queue: 1, Forwarding classes: expedited-forwarding Queued: Tail-dropped packets : 0 0 pps RED-dropped packets : 0 0 pps RED-dropped bytes : 0 0 bps
4
Confidential and proprietary materials for authorized OKIN BPS personnel and outside agencies only. Use, disclosure or distribution of this material is not permitted to any authorized persons or third parties except by written agreement. Junos Tips | Operation Date/Time stamp for CLI commands root@srx210> show security ike sa Index State Initiator cookie Responder cookie Mode Remote Address 8 UP 3a895f8a9f620198 9040753e66d700bb Main 1.1.1.2 root@srx210 > set cli timestamp root@srx210 > show security ike sa Jan 01 13:15:27 Index State Initiator cookie Responder cookie Mode Remote Address 8 UP 3a895f8a9f620198 9040753e66d700bb Main 1.1.1.2
5
Confidential and proprietary materials for authorized OKIN BPS personnel and outside agencies only. Use, disclosure or distribution of this material is not permitted to any authorized persons or third parties except by written agreement. Junos Tips | Operation Routing table output root@srx210> show route terse inet.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both A Destination P Prf Metric 1 Metric 2 Next hop AS path * 12.0.0.2/32 L 0 Reject
6
Confidential and proprietary materials for authorized OKIN BPS personnel and outside agencies only. Use, disclosure or distribution of this material is not permitted to any authorized persons or third parties except by written agreement. Junos Tips | Operation CLI Help root@srx210> help syslog UI_COMMIT Name: UI_COMMIT_AT_ABORT Message:, will try again Help: 'commit at' operation was cancelled Description: An attempt to complete a pending commit operation was cancelled for the indicated reason. Type: Error: An error occurred Severity: error Facility: ANY
7
Confidential and proprietary materials for authorized OKIN BPS personnel and outside agencies only. Use, disclosure or distribution of this material is not permitted to any authorized persons or third parties except by written agreement. Junos Tips | Operation Search in command history Ctrl+R to browse history of commands root2srx210> (history search) 'show o': show ospf neighbor
8
Confidential and proprietary materials for authorized OKIN BPS personnel and outside agencies only. Use, disclosure or distribution of this material is not permitted to any authorized persons or third parties except by written agreement. Junos Tips | Configuration Test Event scripts / SNMP Traps root@srx210% logger -e UI_COMMIT root@srx210 > show log messages | match UI_COMMIT Jan 1 13:20:14 logger: UI_COMMIT:
9
Confidential and proprietary materials for authorized OKIN BPS personnel and outside agencies only. Use, disclosure or distribution of this material is not permitted to any authorized persons or third parties except by written agreement. Junos Tips | Configuration Display details root@srx210# commit | display detail root@srx210# show groups junos-defaults root@srx210# show | display detail file messages { ## ## Facility type ## Level name ## any any; ## } ## ## Name of file in which to log data ## range: 1.. 1024 ## match: Must not contain '/', % or a space ## match (regex): ![/ %] ##
10
Confidential and proprietary materials for authorized OKIN BPS personnel and outside agencies only. Use, disclosure or distribution of this material is not permitted to any authorized persons or third parties except by written agreement. Junos Tips | Configuration Re-use of Groups in configuration Define a group root@srx210# show groups ETH_IFS { interfaces { { speed 100m; mtu 1500; } Apply group configuration set interfaces apply-groups ETH_IFS Apply-path contruct policy-options { prefix-list bgp-peers { apply-path "protocols bgp group neighbor "; }
11
Confidential and proprietary materials for authorized OKIN BPS personnel and outside agencies only. Use, disclosure or distribution of this material is not permitted to any authorized persons or third parties except by written agreement. Junos Tips | Maintenance System maintenance Verify integrity of downloaded Junos image root@srx210> file checksum md5 root@srx210> file checksum sha1 Check proces crash files root@srx210> show system core-dumps Hidden commands root@srx210# commit full root@srx210# monitor traffic interface ge-0/0/0 matching "proto 89" write-file ospf.cap
12
www.okinbps.com Tomáš Grygier ECSR Tier II Engineer e: tomas.grygier@okinbps.com OKIN GROUP, a. s. Hornopolní 3308/40, 702 00, Ostrava, Czech Republic
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.