JunOS Upgrade

For some reason, JunOS 12.1X46-D65.4 on SRX platform can’t validate any update it takes me several attempts before figure out to run the upgrade with the “no-validate” option. root> request system configuration rescue save root> request system autorecovery state save root> request system storage cleanup List of files to delete: Size Date Name 11B Dec 29 22:35 /cf/var/jail/tmp/alarmd.ts 142.6M Dec 29 22:38 /cf/var/jail/tmp/install/junos-srxsme-12.1X46-D82-domestic.tgz 420B Dec 29 22:36 /cf/var/jail/tmp/jweb-users.xml 128B Dec 29 22:40 /cf/var/log/interactive-commands.0.gz 175B Dec 29 22:40 /cf/var/log/messages.0.gz 27B Dec 29 22:32 /cf/var/log/wtmp.0.gz Delete these files ? [yes,no] (no) yes root> Follow: ...

11 January 2021 @ 08:27 · Updated: 30 June 2026 @ 03:28 · leo

Linux - Removing all IP information from an interface

If an interface has already had IP addresses assigned to it, and all of the addresses need to be removed (along with their routes), there is one handy command to accomplish all of these tasks. ip address flush takes an interface name as an argument. Let’s look at the output of ip address show just before and just after removing all IPs. [root@logistic]# ip address show dev eth0 2: eth0: <BROADCAST,MULTICAST,UP mtu 1500 qdisc pfifo_fast qlen 100 link/ether 00:80:c8:f8:4a:51 brd ff:ff:ff:ff:ff:ff inet 192.168.99.35/24 brd 192.168.99.255 scope global eth0 inet 192.168.99.37/24 brd 192.168.99.255 scope global secondary eth0:0 [root@logistic]# ip address flush Flush requires arguments. [root@logistic]# ip address flush dev eth0 [root@logistic]# ip address show dev eth0 2: eth0: <BROADCAST,MULTICAST,UP mtu 1500 qdisc pfifo_fast qlen 100 link/ether 00:80:c8:f8:4a:51 brd ff:ff:ff:ff:ff:ff

22 July 2010 @ 23:44 · Updated: 30 June 2026 @ 03:28 · leo

Windows - Change IP from command line

Yes, is possibile don’t make lot of click to reconfigure network interfaces under Windows, using “netsh” command like this: For set up static address and metric 1 gateway: netsh interface ip set address name="Local Area Connection" static ip.ip.ip.ip 255.255.255.0 gw.gw.gw.gw 1 For set up static dns: netsh interface ip set dns "Local Area Connection" static xx.xx.xx.xx netsh add dns "Local Area Connection" addr=xx.xx.xx.xx index=2 For setup ip by dhcp: netsh interface ip set address name="Local Area Connection" source=dhcp netsh interface ip set dns name="Local Area Connection" source=dhcp

1 February 2009 @ 19:36 · Updated: 30 June 2026 @ 03:28 · leo