controller (config) # logging level debugging user-debug <mac-address>
controller # show log user-debug all
Tuesday, 15 November 2016
Friday, 11 November 2016
Junos Restoring a Saved Backup Configuration
Once the saved configuration file is copied to the router, you load and commit the file:
Entering configuration mode
[edit]
user@host#
load complete
commit complete
Start the CLI configuration mode.
user@routername> configureEntering configuration mode
[edit]
user@host#
Load the file into the current configuration. You should override the existing file.
user@host# load override /var/tmp/filenameload complete
Commit the file.
user@host# commitcommit complete
Thursday, 10 November 2016
DHCPv6 and Router Advertisements in Junos
Even if you intend to use DHCPv6 instead of SLAAC in your environment, you still need RA messages to function on the local LAN. The RAs provide the default gateway information to an end node and, with the M-bit, inform the nodes that the LAN uses stateful DHCPv6
The RA contains several flags that are set that the nodes watch for and use.
- A-bit – Autonomous Address Autoconfiguration Flag tells the node it should perform stateless address assignment (SLAAC RFC 4862)
- L-bit – On-Link Flag tells the node that the prefix listed in the RA is the local IPv6 address
- M-bit – Managed Address Config Flag tells the host if it should use stateful DHCPv6 (RFC 3315) to acquire its address and other DHCPv6 options
- O-bit – Other Config Flag tells the host that there is other information the router can provide (such as DNS information defined in Stateless DHCPv6 (RFC 3736))
Junos RA config that is required for the DHCPv6 enabled infrastructure
set protocols router-advertisement interface <interface name> managed-configuration
set protocols router-advertisement interface <interface name> prefix <IPv6 Prefix> no-autonomous
set protocols router-advertisement interface <interface name> prefix <IPv6 Prefix> on-link
If the "on-link" option is not set for a prefix. Any host on that network sends all packets destined for the hosts on the same network to its default gateway. DHCPv6 does not send the prefix information to the client. When "on-link" is set the router informs the clients with the directly connected prefixes.
Tuesday, 1 November 2016
Junos Firewall pre-defined apllications list hidden command
show configuration groups junos-defaults
Subscribe to:
Posts (Atom)
Juniper Troubleshooting Commands
TROUBLESHOOTING set cli timestamp (logs timestamp on cli for all commands you run. Very useful) show system uptime show chass...
-
Login with "root" account > file copy ftp://(TFTP IP Address or Hostname)/ex4300/jinstall-ex-4300-14.1X53-D40.8-domestic-sign...
-
The following procedure allow users to mount a USB device on EX/J/SRX/MX devices. This can be helpful if network connectivity is unavailabl...
-
If a client assigns an IP Address via a DHCP Relay all initial DISCOVERY, OFFER, REQUEST and ACK udp packets are broadcast between the Clien...