Tag Archive for 'Juniper'

Juniper clear arp entrys

Sending IP packets on a multiaccess network requires mapping from an IP address to a MAC address (physical/hardware address like 00:02:b6:34:6a:2f).

In an ethernet environment, ARP is used to map a MAC address to an IP address.
ARP dynamically binds the IP address  to the correct MAC address.

You need a SSH Access to your juniper to proceed!

Show all ARP entrys:

1
ssg5-> get arp

Clear all dynamic entries from the ARP cache.

1
ssg5-> clear arp all

Also you can clear a single ARP entry:

1
ssg5-> clear arp 192.168.201.9
Theoretical information was token from: juniper.net

Debug on a Juniper firewall

Example, you want to debug a connection from a client(192.168.110.20) to the internet (google – 8.8.8.8).

From your client you start a continuous ping to 8.8.8.8, now you are able to debug the traffic on your juniper device.
Continue reading ‘Debug on a Juniper firewall’

Jiniper replace config via CLI

I used a serial connection, with USB -> RJ45-Serial – Cable

save config from usb configname.cfg to flash

minicom config from: /etc/minicom/minirc.juniper

Config:

1
2
3
4
5
6
7
8
9
# Manuell erzeugte Datei - Verwenden Sie "minicom -s" zum Ändern
pu port             /dev/ttyUSB0
pu baudrate         9600
pu minit
pu mreset
pu mconnect
pu mhangup
pu escape-key       ^M
pu rtscts           No