OKIN Networking Academy JNCIA course Junos Tips FOR PUBLIC USE F BPS-EN
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 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 request system snapshot media internal partition request system reboot media internal
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 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
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 show security ike sa Index State Initiator cookie Responder cookie Mode Remote Address 8 UP 3a895f8a9f e66d700bb Main > set cli timestamp > show security ike sa Jan 01 13:15:27 Index State Initiator cookie Responder cookie Mode Remote Address 8 UP 3a895f8a9f e66d700bb Main
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 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 * /32 L 0 Reject
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 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
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
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 logger -e UI_COMMIT > show log messages | match UI_COMMIT Jan 1 13:20:14 logger: UI_COMMIT:
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 commit | display detail show groups junos-defaults show | display detail file messages { ## ## Facility type ## Level name ## any any; ## } ## ## Name of file in which to log data ## range: ## match: Must not contain '/', % or a space ## match (regex): ![/ %] ##
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 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 "; }
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 file checksum md5 file checksum sha1 Check proces crash files show system core-dumps Hidden commands commit full monitor traffic interface ge-0/0/0 matching "proto 89" write-file ospf.cap
Tomáš Grygier ECSR Tier II Engineer e: OKIN GROUP, a. s. Hornopolní 3308/40, , Ostrava, Czech Republic