Advanced Search
Search Results
437 total results found
Reverting Configurations
Rolling Back Commits Every time you make a change through the web UI it counts as a "commit". Sometimes you need to revert to a pre-commit state. In our case, a change committed re-applied VPN macros that we didn't want applied. The simplest way to correct the...
Switch Forwarding Table
Switching Table Look at the current forwarding table: root@sa4-39> show ethernet-switching table Match a particular address: root@stack> show ethernet-switching table | match 58:00:01 Lab411 00:00:07:58:00:01 Learn 1:27 ge-1/0/42.0 Look at...
Useful Commands
Notes for Juniper EX4200 JunOS 10.1 Showing the config in "set" commands rather than brace-format root@sa4-38# show | display set Showing the difference between the running and uncommitted config: root@sa4-39# show | compare Discard uncommitted changes: root...
Rancid in display set mode
(31 January 2013) Problem I think in set commands, not the fancy braces that JunOS likes to display. I'd like rancid to output my JunOS configuration diffs in set commands. Solution for v3.x In /etc/rancid/rancid/types.base, find the appropriate show configura...
snmp on SRX
(2013-07-24) To enable basic snmp on an SRX: set snmp description Firewall set snmp location "Location" set snmp contact "support@company.co" set snmp interface vlan.0 set snmp community public authorization read-only set security zones security-zone trust int...
System Alarm autorecovery information needs to be saved
(2017-08-05) Problem System alarm: autorecovery information needs to be saved Solution root@gateway> request system autorecovery state save Saving config recovery information Saving license recovery information Saving BSD label recovery information root@gatew...
Source Interface NAT
(2015-03-10) If traffic is going from trust to the vpn zone, and that traffic matches the rule supplied, then NAT the outbound traffic to the interface's IP. set security nat source rule-set example-nat from zone trust set security nat source rule-set example-...
CIFS
(23 March 2012) Define CIFS for JunOS 10 edit applications application CIFS set term CIFS-1 protocol tcp source-port 0-65535 destination-port 137-139 set term CIFS-2 protocol udp source-port 0-65535 destination-port 137-139 set term CIFS-3 protocol tcp source-...
SRX240 Clustering
Just following the cook book at Juniper KB15504 is incomplete in some key areas. The main problem is that the out-of-the-box settings for JunOS 10.x (up to 10.4 which is what arrived on my most recent set of SRXs) conflict with the proposed clustering setup. (...
VPNs
(10 February 2012) Background: I'm a Netscreen ScreenOS administrator and I'm coming to grips with JunOS. These are my notes on VPNs. A Note About Naming And Commands JunOS is smart, in that you can have objects of different types, and JunOS will use the corre...
VPN Associations
(2014-08-21) List phase 1 associations: > show security ike security-associations List phase 2 associations: > show security ipsec security-associations
VPN Detailed Logs
(2014-08-19) Detailed logging about VPN traffic: set security ike traceoptions flag all set security ipsec traceoptions flag all commit This information goes to /var/log/kmd on the srx. When you are done, you probably want to delete security ike traceoptions ...
VLAN IP Interface
(2023-01-19) IP address on a VLAN # show | display set | match Test set vlans Test-2500 description "Test VLAN 2500 IP Interface" set vlans Test-2500 vlan-id 2500 set vlans Test-2500 l3-interface vlan.2500
Change Root Password
(20 August 2012) --- JUNOS 10.4R5.5 built 2011-06-14 02:01:48 UTC root@sa3-41:RE:0% cli root@sa3-41> edit Entering configuration mode [edit] root@sa3-41# set system root-authentication plain-text-password New password: Retype new password: [edit] root@sa3-41...
Could Not Format Alternate Root
(2021-01-26) Problem rancid@s-reserve> request system snapshot slice alternate fpc0: -------------------------------------------------------------------------- Formatting alternate root (/dev/da0s1a)… error: Could not format alternate root Solution {master:0}...
error: remote side unexpectedly closed connection
(2014-02-21) Problem Brand new switch, can't configure because the CLI console keeps saying: error: remote side unexpectedly closed connection ...and kicking you out. Observed with many JunOS OS revs, including 11.4R7.5. Solution What is happening is that the...
Factory Defaults
Problem Return to factory defaults. Solution For JunOS 11.1 or higher: lab@EX2200> request system zeroize The switch will reboot.
filter-define.conf log message
(2021-10-27) Problem "cmd='ls -i /var/etc/filters/filter-define.conf'" log message generated every 30 seconds Solution Just ignore it. Source