zeldor.biz

Linux, programming and more

Copyright © 2023
Log in

Juniper clear arp entrys

June 3, 2011 by Igor Drobot Leave a Comment

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

ssg5-> get arp

Clear all dynamic entries from the ARP cache.

1
ssg5-> clear arp all

ssg5-> clear arp all

Also you can clear a single ARP entry:

1
ssg5-> clear arp 192.168.201.9

ssg5-> clear arp 192.168.201.9

Theoretical information was token from: juniper.net

Filed Under: Linux Tagged With: ARP cache, Juniper, Junos

Debug on a Juniper firewall

April 9, 2011 by Igor Drobot Leave a Comment

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.
[Read more…]

Filed Under: Linux Tagged With: Debug, ffilter, flow control, Juniper

Jiniper replace config via CLI

August 20, 2010 by Igor Drobot 2 Comments

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

1
save config from usb initial-config.cfg to flash

save config from usb initial-config.cfg to flash

And finally restart:

1
reset

reset

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

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

# 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

Filed Under: Linux Tagged With: CLI, Juniper