<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-9197971964393665898</atom:id><lastBuildDate>Sat, 16 Sep 2023 22:13:48 +0000</lastBuildDate><category>network</category><category>linux</category><category>cisco</category><category>mikrotik</category><category>hack</category><category>windows</category><category>GNS3</category><category>Juniper</category><category>Huawei</category><category>MPLS</category><category>VMware</category><category>About me</category><category>Contact</category><category>Disclaimer</category><category>EoMPLS</category><category>Privacy-Policy</category><category>threat</category><title>jpudasaini</title><description></description><link>http://www.jpudasaini.com.np/</link><managingEditor>noreply@blogger.com (j)</managingEditor><generator>Blogger</generator><openSearch:totalResults>82</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-1873657696176990251</guid><pubDate>Sat, 12 Jan 2019 12:11:00 +0000</pubDate><atom:updated>2019-01-12T17:56:40.899+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">threat</category><title>Sextortion Spam. </title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
If you received such a mail means bad guys already harvest your email. Don&#39;t worry this is only a bait. Below is the sample of mail.&amp;nbsp; Email is received with spoof email address. This email also bypass office 365 ATP as well. Detection status on VT score is none when this email was received.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre style=&quot;background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 11px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;i&gt;&lt;u&gt;&lt;span style=&quot;color: #333333;&quot;&gt;X-BESS-REASON: bbl
X-BESS-REASON-EXTRA: 175.117.27.170
Received: from [175.117.27.170] (unknown [175.117.27.170]) by mx4.eu-west-2a.ess.aws.cudaops.com; Wed, 09 Jan 2019 18:31:24 +0000
Message-ID: &amp;lt;003e&amp;gt;
From: &amp;lt;cust&amp;gt;
To: &amp;lt;cust&amp;gt;
&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;Subject: Your account has been hacked! You need to unlock.&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;
Date: 10 Jan 2019 11:03:17 +0800
MIME-Version: 1.0
Content-Type: text/plain;
 charset=&quot;ibm852&quot;
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-BESS-ID: 1547058684-889006-11704-54424-1
X-BESS-VER: 2018.16_20190108.1920
X-BESS-Apparent-Source-IP: &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;175.117.27.170&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;

Hi, stranger!

I hacked your device, because I sent you this message from your account.
If you have already changed your password, my malware will be intercepts it every time.

You may not know me, and you are most likely wondering why you are receiving this email, right?
In fact, I posted a malicious program on adults (pornography) of some websites, and you know that you visited these websites to enjoy 
(you know what I mean).

While you were watching video clips,
my trojan started working as a RDP (remote desktop) with a keylogger that gave me access to your screen as well as a webcam.

Immediately after this, my program gathered all your contacts from messenger, social networks, and also by e-mail.

What I&#39;ve done?
I made a double screen video.
The first part shows the video you watched (you have good taste, yes ... but strange for me and other normal people),
and the second part shows the recording of your webcam.

What should you do?

Well, I think $645 (USD dollars) is a fair price for our little secret.
You will make a bitcoin payment (if you don&#39;t know, look for &quot;how to buy bitcoins&quot; on Google).

&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;BTC Address: 1GjZSJnpU4AfTS8vmre6rx7eQgeMUq8VYr&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;
(This is CASE sensitive, please copy and paste it)

Remarks:
You have 2 days (48 hours) to pay. (I have a special code, and at the moment I know that you have read this email).

If I don&#39;t get bitcoins, I will send your video to all your contacts, including family members, colleagues, etc.
However, if I am paid, I will immediately destroy the video, and my trojan will be destruct someself.

If you want to get proof, answer &quot;Yes!&quot; and resend this letter to youself. 
And I will definitely send your video to your any 17 contacts.

This is a non-negotiable offer, so please do not waste my personal and other people&#39;s time by replying to this email.

Bye!&lt;/span&gt;&lt;/u&gt;&lt;/i&gt;&lt;span style=&quot;color: #333333;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2019/01/sextortion-spam.html</link><author>noreply@blogger.com (j)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-3469725911004473956</guid><pubDate>Fri, 28 Dec 2018 13:14:00 +0000</pubDate><atom:updated>2018-12-28T19:01:42.710+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">linux</category><title>MongoDB Failed to start lsb an object/document-oriented database</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div&gt;
After long gap I&#39;m going to post new blog. Due to the work load and research I have little time.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
MongoDB could not started after installation of 3.6 version, However downgrade to the 3.4, still the Mongodb couldn&#39;t start and show below error message.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://1.bp.blogspot.com/-XkSunU9RQs0/XCYfXNZD_AI/AAAAAAAAA7Y/mKTFfqgfoxouco55qEUgBKcR7nxUX0z6ACLcBGAs/s1600/MongoDB_Start_FAil.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;381&quot; data-original-width=&quot;872&quot; height=&quot;278&quot; src=&quot;https://1.bp.blogspot.com/-XkSunU9RQs0/XCYfXNZD_AI/AAAAAAAAA7Y/mKTFfqgfoxouco55qEUgBKcR7nxUX0z6ACLcBGAs/s640/MongoDB_Start_FAil.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Search don&#39;t help to resolved the issue. After so much hit and trail nothing work. One Chinese forum posted this command and its works for me.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
cd /var/lib&lt;/div&gt;
&lt;div&gt;
sudo rm -rf ./mongodb&lt;/div&gt;
&lt;div&gt;
sudo mkdir mongodb&lt;/div&gt;
&lt;div&gt;
sudo chown -R mongodb mongodb/&lt;/div&gt;
&lt;div&gt;
sudo serivce mongodb restart&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2018/12/mongodb-failed-to-start-lsb.html</link><author>noreply@blogger.com (j)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-XkSunU9RQs0/XCYfXNZD_AI/AAAAAAAAA7Y/mKTFfqgfoxouco55qEUgBKcR7nxUX0z6ACLcBGAs/s72-c/MongoDB_Start_FAil.PNG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-2024923330449311007</guid><pubDate>Sun, 05 Feb 2017 13:37:00 +0000</pubDate><atom:updated>2021-06-12T18:38:23.971+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">linux</category><title>UBUNTU Files not Opening</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Suddenly My Ubuntu 16.04 LTS giving me a issue, I can&#39;t open files manger as well as screenshots app. &amp;nbsp;So I dig into the problem and found this temporary solution for file manager. Still searching for permanent solution. Ubuntu is very buggy since and then, not stable any way.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 1&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
@jpudasaini:~$ nautilus -q&lt;br /&gt;
&lt;br /&gt;
(nautilus:6210): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion &#39;interface_-&amp;gt;priv-&amp;gt;connections != NULL&#39; failed&lt;br /&gt;
&lt;br /&gt;
(nautilus:6210): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion &#39;interface_-&amp;gt;priv-&amp;gt;connections != NULL&#39; failed&lt;br /&gt;
&lt;br /&gt;
(nautilus:6210): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion &#39;GDK_IS_SCREEN (screen)&#39; failed&lt;br /&gt;
&lt;br /&gt;
(nautilus:6210): GLib-GObject-WARNING **: invalid (NULL) pointer instance&lt;br /&gt;
&lt;br /&gt;
(nautilus:6210): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion &#39;G_TYPE_CHECK_INSTANCE (instance)&#39; failed&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 2&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
jpudasaini@jpudasaini:~$ nautilus&lt;br /&gt;
Nautilus-Share-Message: Called &quot;net usershare info&quot; but it failed: Failed to execute child process &quot;net&quot; (No such file or directory)&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://3.bp.blogspot.com/-SYv8uCy4Mgo/WJcmI80UZnI/AAAAAAAAA4w/Q1vh9A2KGrMaQsidJHxCmUDDYjFggAN3ACLcB/s1600/File_Manager-ubuntu.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;126&quot; src=&quot;https://3.bp.blogspot.com/-SYv8uCy4Mgo/WJcmI80UZnI/AAAAAAAAA4w/Q1vh9A2KGrMaQsidJHxCmUDDYjFggAN3ACLcB/s640/File_Manager-ubuntu.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
New your file manager is ready to used.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
HTH&lt;/div&gt;
&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2017/02/ubuntu-files-not-opening.html</link><author>noreply@blogger.com (j)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://3.bp.blogspot.com/-SYv8uCy4Mgo/WJcmI80UZnI/AAAAAAAAA4w/Q1vh9A2KGrMaQsidJHxCmUDDYjFggAN3ACLcB/s72-c/File_Manager-ubuntu.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-1772333721466130359</guid><pubDate>Mon, 23 Jan 2017 15:57:00 +0000</pubDate><atom:updated>2017-01-23T21:45:12.924+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">cisco</category><category domain="http://www.blogger.com/atom/ns#">GNS3</category><category domain="http://www.blogger.com/atom/ns#">network</category><title>Cisco ASA in GNS3</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Here is another tutorial running Cisco ASAv on GNS3 using Qemu.&lt;br /&gt;
&lt;br /&gt;
For Configure GNS3&lt;br /&gt;
&lt;br /&gt;
In My case I have used ASAv952-204.qcow2&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &amp;quot;merriweather&amp;quot; , serif; font-size: 16px;&quot;&gt;Go&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #444444; font-family: &amp;quot;merriweather&amp;quot; , serif; font-size: 16px;&quot;&gt;to the GNS3&amp;gt;Edit&amp;gt;Preferences&amp;gt;QEMU&amp;gt;Qemu VMs&amp;gt;New&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &amp;quot;merriweather&amp;quot; , serif; font-size: 16px;&quot;&gt;Follow on screen procedure.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &amp;quot;merriweather&amp;quot; , serif; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: merriweather, serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Don&#39;t forget to enable kvm and memory allocation.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &amp;quot;merriweather&amp;quot; , serif; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://1.bp.blogspot.com/-rjguXz3fqh8/WIYmJu1-J8I/AAAAAAAAA4c/J0vfGTygsckglOZcEUJWJLzhHSGKbb_zACEw/s1600/ASAv-GNS3-Qemu.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;292&quot; src=&quot;https://1.bp.blogspot.com/-rjguXz3fqh8/WIYmJu1-J8I/AAAAAAAAA4c/J0vfGTygsckglOZcEUJWJLzhHSGKbb_zACEw/s400/ASAv-GNS3-Qemu.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;merriweather&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Now you can see I can run ASAv 9.5.2&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;merriweather&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;merriweather&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Blank Password.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;merriweather&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://4.bp.blogspot.com/-scMKDaOHqbI/WIYmKPChOXI/AAAAAAAAA4g/-NIgUkwgUfQWCb_9sGKtv0NavXqTgGDDACEw/s1600/ASAv-GNS3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://4.bp.blogspot.com/-scMKDaOHqbI/WIYmKPChOXI/AAAAAAAAA4g/-NIgUkwgUfQWCb_9sGKtv0NavXqTgGDDACEw/s400/ASAv-GNS3.png&quot; width=&quot;392&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;merriweather&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2017/01/cisco-asa-in-gns3.html</link><author>noreply@blogger.com (j)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-rjguXz3fqh8/WIYmJu1-J8I/AAAAAAAAA4c/J0vfGTygsckglOZcEUJWJLzhHSGKbb_zACEw/s72-c/ASAv-GNS3-Qemu.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-7511315379854170236</guid><pubDate>Mon, 05 Dec 2016 14:58:00 +0000</pubDate><atom:updated>2017-01-01T20:34:42.656+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">cisco</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">network</category><title>IOS XR GNS3 QEMU</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This time lets have tutorial on Cisco XR 9k series router image running on the GNS3. Please don&#39;t ask for the XR image. Your are smart enough to get it.&lt;br /&gt;
&lt;br /&gt;
My system configuration:&lt;br /&gt;
&lt;br /&gt;
Ubuntu 16.04&lt;br /&gt;
GNS3 1.4&lt;br /&gt;
RAM 8Gig&lt;br /&gt;
i7 processor&lt;br /&gt;
&lt;br /&gt;
Used XR Image&lt;br /&gt;
iosxrv-k9-demo-6.0.1.qcow2&lt;br /&gt;
&lt;br /&gt;
This image is VIRL extracted image.&lt;br /&gt;
&lt;br /&gt;
You need to convert this image into QEMU image, follow this &lt;a href=&quot;http://www.jpudasaini.com.np/2015/09/vsrx-gns3-qemu.html&quot; target=&quot;_blank&quot;&gt;link&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I strongly recommend you to run it on the Linux system.&lt;br /&gt;
&lt;br /&gt;
Now you have converted image, then go to the GNS3&amp;gt;Edit&amp;gt;Preferences&amp;gt;QEMU&amp;gt;Qemu VMs&amp;gt;New&lt;br /&gt;
then follow the onscreen procedure.&lt;br /&gt;
&lt;br /&gt;
Setting for QEMU XR Image.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;RAM:- 4Gig&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;CPU:- 1&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://3.bp.blogspot.com/-qWsbsKyq4uk/WEV8_kPuLEI/AAAAAAAAA3I/8TimcFGUYJsM5jOcwxDKsDURr79ycf_rACLcB/s1600/XR-CPU-RAM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://3.bp.blogspot.com/-qWsbsKyq4uk/WEV8_kPuLEI/AAAAAAAAA3I/8TimcFGUYJsM5jOcwxDKsDURr79ycf_rACLcB/s640/XR-CPU-RAM.png&quot; width=&quot;625&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;Adapters at lest 4.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://1.bp.blogspot.com/-yB1sbsYG4gw/WEV8_DvmZgI/AAAAAAAAA28/e891EP7dGA0yRxZF_a6yI0ZGD7C3QfBagCEw/s1600/QEMU-XR-Ethernet.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://1.bp.blogspot.com/-yB1sbsYG4gw/WEV8_DvmZgI/AAAAAAAAA28/e891EP7dGA0yRxZF_a6yI0ZGD7C3QfBagCEw/s640/QEMU-XR-Ethernet.png&quot; width=&quot;627&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;-enable-kvm&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://2.bp.blogspot.com/-dSrv3dnJAZQ/WEV8_FnNYuI/AAAAAAAAA3A/PmxzkSQCypg8tn-OL4vU4-Pxrh4IzaxOQCEw/s1600/QEMU-XR-CLI.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://2.bp.blogspot.com/-dSrv3dnJAZQ/WEV8_FnNYuI/AAAAAAAAA3A/PmxzkSQCypg8tn-OL4vU4-Pxrh4IzaxOQCEw/s640/QEMU-XR-CLI.png&quot; width=&quot;618&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
Here you can see I can run the XR on my system. Interface is up and system is already booted.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://1.bp.blogspot.com/-S2O0FocgbNc/WEV8_LwPorI/AAAAAAAAA3E/ZtlK48zciAMxHm2blVUSTmu3MO09Sny1wCEw/s1600/Cisco-XR-GNS3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;566&quot; src=&quot;https://1.bp.blogspot.com/-S2O0FocgbNc/WEV8_LwPorI/AAAAAAAAA3E/ZtlK48zciAMxHm2blVUSTmu3MO09Sny1wCEw/s640/Cisco-XR-GNS3.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
I have run 3 XR router &amp;nbsp;here is my system RAM CPU usages.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://1.bp.blogspot.com/-hOuIuJ80XeM/WEV_LJqCiKI/AAAAAAAAA3U/lp8ejKfNH1wuoKuCCZOCp0vJRSIjF5HWQCEw/s1600/System-CPU-RAM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;122&quot; src=&quot;https://1.bp.blogspot.com/-hOuIuJ80XeM/WEV_LJqCiKI/AAAAAAAAA3U/lp8ejKfNH1wuoKuCCZOCp0vJRSIjF5HWQCEw/s640/System-CPU-RAM.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
RP/0/0/CPU0:XR3(config)#int gi0/0/0/0&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
RP/0/0/CPU0:XR3(config-if)#ip add 192.168.13.2 255.255.255.252&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
RP/0/0/CPU0:XR3(config-if)#commit&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
RP/0/0/CPU0:XR3#ping 192.168.13.1&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Mon Dec &amp;nbsp;5 14:28:29.088 UTC&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Type escape sequence to abort.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Sending 5, 100-byte ICMP Echos to 192.168.13.1, timeout is 2 seconds:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
!!!!!&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/4/19 ms&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Note: Assign IP on gi0/0/0/0 interface but connect on e1 to e/1 on your router otherwise it will not ping.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Enjoy.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2016/12/ios-xr-gns3-qemu.html</link><author>noreply@blogger.com (j)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://3.bp.blogspot.com/-qWsbsKyq4uk/WEV8_kPuLEI/AAAAAAAAA3I/8TimcFGUYJsM5jOcwxDKsDURr79ycf_rACLcB/s72-c/XR-CPU-RAM.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-5701542861118084934</guid><pubDate>Thu, 01 Dec 2016 06:52:00 +0000</pubDate><atom:updated>2016-12-01T12:38:51.293+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">cisco</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">network</category><title>Unit vpnagentd service not loaded.</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Somebody ask me to run Cisco EPIC VPN lab test provide by the Cisco. I just try it done but Anyconnect client doesn&#39;t seems to work on ubuntu system. The error message was&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://1.bp.blogspot.com/-kg_GRPZRPko/WD_GpULUbII/AAAAAAAAA2g/ueYmYQ_oWFANmbdsMCSJS2920jgnLganwCLcB/s1600/AnyConnect.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;100&quot; src=&quot;https://1.bp.blogspot.com/-kg_GRPZRPko/WD_GpULUbII/AAAAAAAAA2g/ueYmYQ_oWFANmbdsMCSJS2920jgnLganwCLcB/s640/AnyConnect.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
How to resolved the issue??&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
First of all install the following packages.&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;br /&gt;
sudo apt-get install lib32z1 lib32ncurses5&lt;/blockquote&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Then try to install the AnyConnect client, if its still show the same error message. Used below command....&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
sudo apt-get install network-manager-openconnect&lt;/blockquote&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Reload the changes using this command....&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
sudo systemctl daemon-reload&lt;/blockquote&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Now AnyConnect should be installed.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://4.bp.blogspot.com/-4L79oQHLits/WD_IBV2-MwI/AAAAAAAAA2o/jlE61ZUYC68A48eSeT2VOrwgtCesNgC2QCLcB/s1600/anyconnect-install.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;124&quot; src=&quot;https://4.bp.blogspot.com/-4L79oQHLits/WD_IBV2-MwI/AAAAAAAAA2o/jlE61ZUYC68A48eSeT2VOrwgtCesNgC2QCLcB/s640/anyconnect-install.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2016/12/unit-vpnagentd-service-not-loaded.html</link><author>noreply@blogger.com (j)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-kg_GRPZRPko/WD_GpULUbII/AAAAAAAAA2g/ueYmYQ_oWFANmbdsMCSJS2920jgnLganwCLcB/s72-c/AnyConnect.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-349219835218781849</guid><pubDate>Sun, 04 Sep 2016 11:46:00 +0000</pubDate><atom:updated>2016-09-15T21:12:36.596+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">network</category><title>Perl Can&#39;t Locate in @inc</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Recently I try to install &amp;nbsp;SmokePing (tar ball) on Centos 7, for my company to check Network latency, but &amp;nbsp;&lt;a href=&quot;http://www.jpudasaini.com.np/2015/04/perl-cant-locate-module-in-inc_24.html&quot; target=&quot;_blank&quot;&gt;same &lt;/a&gt;error re-occur.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Multiple Errors:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://1.bp.blogspot.com/-zhawYwgc5m0/V8wI7M8kP-I/AAAAAAAAA2E/mjU7Ojuqp4MR2iNU1p1kcH899GB4Ddh5ACLcB/s1600/perl.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;424&quot; src=&quot;https://1.bp.blogspot.com/-zhawYwgc5m0/V8wI7M8kP-I/AAAAAAAAA2E/mjU7Ojuqp4MR2iNU1p1kcH899GB4Ddh5ACLcB/s640/perl.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Then I search a lot, try to install the packages but the problem still appear, then after I found &amp;nbsp;a simple solution.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Solution:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
# perl -MCPAN -eshell&lt;br /&gt;
Terminal does not support AddHistory.&lt;br /&gt;
&lt;br /&gt;
cpan shell -- CPAN exploration and modules installation (v1.9800)&lt;br /&gt;
Enter &#39;h&#39; for help.&lt;br /&gt;
&lt;br /&gt;
cpan[1]&amp;gt; install Net::OpenSSH&lt;br /&gt;
Reading &#39;/root/.cpan/Metadata&#39;&lt;br /&gt;
&amp;nbsp; Database was generated on Sat, 03 Sep 2016 21:53:30 GMT&lt;br /&gt;
Running install for module &#39;Net::OpenSSH&#39;&lt;br /&gt;
Running make for S/SA/SALVA/Net-OpenSSH-0.73.tar.gz&lt;br /&gt;
Fetching with LWP:&lt;br /&gt;
http://cpan.communilink.net/authors/id/S/SA/SALVA/Net-OpenSSH-0.73.tar.gz&lt;br /&gt;
Fetching with LWP:&lt;br /&gt;
http://cpan.communilink.net/authors/id/S/SA/SALVA/CHECKSUMS&lt;br /&gt;
Checksum for /root/.cpan/sources/authors/id/S/SA/SALVA/Net-OpenSSH-0.73.tar.gz ok&lt;br /&gt;
Scanning cache /root/.cpan/build for sizes&lt;br /&gt;
............................................................................DONE&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; CPAN.pm: Building S/SA/SALVA/Net-OpenSSH-0.73.tar.gz&lt;br /&gt;
&lt;br /&gt;
Checking if your kit is complete...&lt;br /&gt;
Looks good&lt;br /&gt;
Writing Makefile for Net::OpenSSH&lt;br /&gt;
Could not read metadata file. Falling back to other methods to determine prerequisites&lt;br /&gt;
cp lib/Net/OpenSSH/ConnectionCache.pm blib/lib/Net/OpenSSH/ConnectionCache.pm&lt;br /&gt;
cp lib/Net/OpenSSH/ShellQuoter/fish.pm blib/lib/Net/OpenSSH/ShellQuoter/fish.pm&lt;br /&gt;
cp lib/Net/OpenSSH/ShellQuoter.pm blib/lib/Net/OpenSSH/ShellQuoter.pm&lt;br /&gt;
cp lib/Net/OpenSSH/ShellQuoter/POSIX.pm blib/lib/Net/OpenSSH/ShellQuoter/POSIX.pm&lt;br /&gt;
cp lib/Net/OpenSSH/ModuleLoader.pm blib/lib/Net/OpenSSH/ModuleLoader.pm&lt;br /&gt;
cp lib/Net/OpenSSH/ShellQuoter/Chain.pm blib/lib/Net/OpenSSH/ShellQuoter/Chain.pm&lt;br /&gt;
cp lib/Net/OpenSSH/SSH.pm blib/lib/Net/OpenSSH/SSH.pm&lt;br /&gt;
cp lib/Net/OpenSSH/Constants.pm blib/lib/Net/OpenSSH/Constants.pm&lt;br /&gt;
cp lib/Net/OpenSSH/ShellQuoter/MSWin.pm blib/lib/Net/OpenSSH/ShellQuoter/MSWin.pm&lt;br /&gt;
cp lib/Net/OpenSSH/OSTracer.pm blib/lib/Net/OpenSSH/OSTracer.pm&lt;br /&gt;
cp lib/Net/OpenSSH.pm blib/lib/Net/OpenSSH.pm&lt;br /&gt;
cp lib/Net/OpenSSH/ShellQuoter/MSCmd.pm blib/lib/Net/OpenSSH/ShellQuoter/MSCmd.pm&lt;br /&gt;
cp lib/Net/OpenSSH/ShellQuoter/csh.pm blib/lib/Net/OpenSSH/ShellQuoter/csh.pm&lt;br /&gt;
cp lib/Net/OpenSSH/ObjectRemote.pm blib/lib/Net/OpenSSH/ObjectRemote.pm&lt;br /&gt;
Manifying blib/man3/Net::OpenSSH::SSH.3pm&lt;br /&gt;
Manifying blib/man3/Net::OpenSSH::Constants.3pm&lt;br /&gt;
Manifying blib/man3/Net::OpenSSH::ShellQuoter::MSWin.3pm&lt;br /&gt;
Manifying blib/man3/Net::OpenSSH::ConnectionCache.3pm&lt;br /&gt;
Manifying blib/man3/Net::OpenSSH::ShellQuoter::MSCmd.3pm&lt;br /&gt;
Manifying blib/man3/Net::OpenSSH.3pm&lt;br /&gt;
Manifying blib/man3/Net::OpenSSH::OSTracer.3pm&lt;br /&gt;
&amp;nbsp; SALVA/Net-OpenSSH-0.73.tar.gz&lt;br /&gt;
&amp;nbsp; /usr/bin/make -- OK&lt;br /&gt;
&#39;YAML&#39; not installed, will not store persistent state&lt;br /&gt;
Running make test&lt;br /&gt;
PERL_DL_NONLAZY=1 /usr/bin/perl &quot;-MExtUtils::Command::MM&quot; &quot;-e&quot; &quot;test_harness(0, &#39;blib/lib&#39;, &#39;blib/arch&#39;)&quot; t/*.t&lt;br /&gt;
t/1_run.t .... #&lt;br /&gt;
# SSH client found: OpenSSH_6.6.1p1, OpenSSL 1.0.1e-fips 11 Feb 2013.&lt;br /&gt;
# Trying to connect to localhost, timeout is 15s.&lt;br /&gt;
Warning: Permanently added &#39;localhost&#39; (ECDSA) to the list of known hosts.&lt;br /&gt;
root@localhost&#39;s password:&lt;br /&gt;
t/1_run.t .... ok &amp;nbsp; &lt;br /&gt;
t/quoting.t .. # unable to exec csh -c echo good&lt;br /&gt;
# unable to exec tcsh -c echo good&lt;br /&gt;
# unable to exec ksh -c echo good&lt;br /&gt;
# unable to exec dash -c echo good&lt;br /&gt;
# unable to exec ash -c echo good&lt;br /&gt;
# unable to exec pdksh -c echo good&lt;br /&gt;
# unable to exec mksh -c echo good&lt;br /&gt;
# unable to exec zsh -c echo good&lt;br /&gt;
# unable to exec fish -c echo good&lt;br /&gt;
# running tests for shells sh bash&lt;br /&gt;
t/quoting.t .. ok &amp;nbsp; &amp;nbsp; &lt;br /&gt;
t/uri.t ...... ok &amp;nbsp; &lt;br /&gt;
All tests successful.&lt;br /&gt;
Files=3, Tests=471, 16 wallclock secs ( 0.17 usr &amp;nbsp;0.01 sys + &amp;nbsp;1.63 cusr &amp;nbsp;1.06 csys = &amp;nbsp;2.87 CPU)&lt;br /&gt;
Result: PASS&lt;br /&gt;
&amp;nbsp; SALVA/Net-OpenSSH-0.73.tar.gz&lt;br /&gt;
&amp;nbsp; /usr/bin/make test -- OK&lt;br /&gt;
Running make install&lt;br /&gt;
Installing /usr/local/share/perl5/Net/OpenSSH.pm&lt;br /&gt;
Installing /usr/local/share/perl5/Net/OpenSSH/ConnectionCache.pm&lt;br /&gt;
Installing /usr/local/share/perl5/Net/OpenSSH/ShellQuoter.pm&lt;br /&gt;
Installing /usr/local/share/perl5/Net/OpenSSH/ModuleLoader.pm&lt;br /&gt;
Installing /usr/local/share/perl5/Net/OpenSSH/SSH.pm&lt;br /&gt;
Installing /usr/local/share/perl5/Net/OpenSSH/Constants.pm&lt;br /&gt;
Installing /usr/local/share/perl5/Net/OpenSSH/OSTracer.pm&lt;br /&gt;
Installing /usr/local/share/perl5/Net/OpenSSH/ObjectRemote.pm&lt;br /&gt;
Installing /usr/local/share/perl5/Net/OpenSSH/ShellQuoter/fish.pm&lt;br /&gt;
Installing /usr/local/share/perl5/Net/OpenSSH/ShellQuoter/POSIX.pm&lt;br /&gt;
Installing /usr/local/share/perl5/Net/OpenSSH/ShellQuoter/Chain.pm&lt;br /&gt;
Installing /usr/local/share/perl5/Net/OpenSSH/ShellQuoter/MSWin.pm&lt;br /&gt;
Installing /usr/local/share/perl5/Net/OpenSSH/ShellQuoter/MSCmd.pm&lt;br /&gt;
Installing /usr/local/share/perl5/Net/OpenSSH/ShellQuoter/csh.pm&lt;br /&gt;
Installing /usr/local/share/man/man3/Net::OpenSSH::SSH.3pm&lt;br /&gt;
Installing /usr/local/share/man/man3/Net::OpenSSH::Constants.3pm&lt;br /&gt;
Installing /usr/local/share/man/man3/Net::OpenSSH::ShellQuoter::MSWin.3pm&lt;br /&gt;
Installing /usr/local/share/man/man3/Net::OpenSSH::ConnectionCache.3pm&lt;br /&gt;
Installing /usr/local/share/man/man3/Net::OpenSSH::ShellQuoter::MSCmd.3pm&lt;br /&gt;
Installing /usr/local/share/man/man3/Net::OpenSSH.3pm&lt;br /&gt;
Installing /usr/local/share/man/man3/Net::OpenSSH::OSTracer.3pm&lt;br /&gt;
Appending installation info to /usr/lib64/perl5/perllocal.pod&lt;br /&gt;
&amp;nbsp; SALVA/Net-OpenSSH-0.73.tar.gz&lt;br /&gt;
&amp;nbsp; /usr/bin/make install &amp;nbsp;-- OK&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2016/09/perl-cant-locate-in-inc.html</link><author>noreply@blogger.com (j)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-zhawYwgc5m0/V8wI7M8kP-I/AAAAAAAAA2E/mjU7Ojuqp4MR2iNU1p1kcH899GB4Ddh5ACLcB/s72-c/perl.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-4687700024435106423</guid><pubDate>Thu, 26 May 2016 07:04:00 +0000</pubDate><atom:updated>2016-05-26T12:51:43.999+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">linux</category><title>No Matching Host Key Type Found. Their Offer: ssh-rsa</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
After upgrading the Laptop OS when I try to login to my old machine I got this error message....&lt;br /&gt;
&lt;br /&gt;
jay@jay:~$ ssh -p 2222 jay@jpudasaini.com.np&lt;br /&gt;
Unable to negotiate with 192.168.156.101 port 2222: no matching host key type found. Their offer: ssh-dss&lt;br /&gt;
&lt;br /&gt;
I can&#39;t access the system, here is the solution&lt;br /&gt;
&lt;br /&gt;
jay@jay:~$ ssh -oHostKeyAlgorithms=+ssh-dss -p 2222 jay@jpudasaini.com.npThe authenticity of host &#39;[jpudasaini.com.np]:2222 ([192.168.156.101]:2222)&#39; can&#39;t be established.&lt;br /&gt;
DSA key fingerprint is SHA256:J#$/zFpzr05gdfrshufHHOQvss6NQcEpPMgKlibTc.&lt;br /&gt;
Are you sure you want to continue connecting (yes/no)? yes&lt;br /&gt;
Warning: Permanently added &#39;[jpudasaini.com.np]:2222,[192.168.156.101]:2222&#39; (DSA) to the list of known hosts.&lt;br /&gt;
Password:&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Now Just type the password&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2016/05/no-matching-host-key-type-found-their.html</link><author>noreply@blogger.com (j)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-309122959894142921</guid><pubDate>Mon, 21 Mar 2016 06:39:00 +0000</pubDate><atom:updated>2016-03-21T12:34:36.915+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">network</category><category domain="http://www.blogger.com/atom/ns#">windows</category><title>nslookup Command</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
A Network Administrator command&amp;nbsp; which help diagnosis DNS related issue. However to understand this,&amp;nbsp; you should better to know how DNS works.&lt;br /&gt;
&lt;br /&gt;
How to troubleshoot DNS related issue.&lt;br /&gt;
&lt;br /&gt;
1. &lt;b&gt;NSLOOKUP example display &quot;A Record&quot; (IP Adress) of the domain&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://3.bp.blogspot.com/-CBv9y7SMD8g/Vu-Yw1BpytI/AAAAAAAAA1o/gA27hoP6Hn09Fj1pOMHRojIFZ_MLxD8Iw/s1600/mx-record.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;126&quot; src=&quot;https://3.bp.blogspot.com/-CBv9y7SMD8g/Vu-Yw1BpytI/AAAAAAAAA1o/gA27hoP6Hn09Fj1pOMHRojIFZ_MLxD8Iw/s400/mx-record.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
C:\Users\jpudasaini&amp;gt;nslookup &lt;a href=&quot;http://jpudasaini.com.np/&quot; rel=&quot;noreferrer&quot; target=&quot;_blank&quot;&gt;jpudasaini.com.np&lt;/a&gt; 8.8.8.8&lt;br /&gt;
Server:&amp;nbsp; google-public-dns-a.google.com&lt;br /&gt;
Address:&amp;nbsp; 8.8.8.8&lt;br /&gt;
&lt;br /&gt;
Non-authoritative answer:&lt;br /&gt;
Name:&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://jpudasaini.com.np/&quot; rel=&quot;noreferrer&quot; target=&quot;_blank&quot;&gt;jpudasaini.com.np&lt;/a&gt;&lt;br /&gt;
Address:&amp;nbsp; 216.239.32.21&lt;br /&gt;
&lt;br /&gt;
A Non-Authoritative Answer is a response from Cache. A DNS server is&lt;br /&gt;
authoritative for zones actually holds it.&lt;br /&gt;
&lt;br /&gt;
The above output shows &quot;A Records&quot; (IP Adress) of the domain&lt;br /&gt;
&quot;&lt;a href=&quot;http://jpudasaini.com.np/&quot; rel=&quot;noreferrer&quot; target=&quot;_blank&quot;&gt;jpudasaini.com.np&lt;/a&gt;&quot;. Which is actually query to the public Google DNS. If&lt;br /&gt;
you don&#39;t put DNS after the domain, it will used your default DNS, in my&lt;br /&gt;
case I have used public DNS.&lt;br /&gt;
&lt;br /&gt;
2. &lt;b&gt;MX Record using -query=mx&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
MX (Mail Exchange) record maps for the specific domain name to verify mail&lt;br /&gt;
exchaing servers on that domain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:\Users\jpudasaini&amp;gt;nslookup -query=mx gmail.com 8.8.8.8&lt;br /&gt;
Server:&amp;nbsp; google-public-dns-a.google.com&lt;br /&gt;
Address:&amp;nbsp; 8.8.8.8&lt;br /&gt;
&lt;br /&gt;
Non-authoritative answer:&lt;br /&gt;
gmail.com&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MX preference = 40, mail exchanger =alt4.gmail-smtp-in.l.google&lt;br /&gt;
.com&lt;br /&gt;
gmail.com&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MX preference = 20, mail exchanger =alt2.gmail-smtp-in.l.google&lt;br /&gt;
.com&lt;br /&gt;
gmail.com&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MX preference = 10, mail exchanger =alt1.gmail-smtp-in.l.google&lt;br /&gt;
.com&lt;br /&gt;
gmail.com&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MX preference = 30, mail exchanger =alt3.gmail-smtp-in.l.google&lt;br /&gt;
.com&lt;br /&gt;
gmail.com&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MX preference = 5, mail exchanger =gmail-smtp-in.l.google.com&lt;br /&gt;
&lt;br /&gt;
From the above example we can say that&amp;nbsp; 4 MX records used for gmail&lt;br /&gt;
domain, the number associat with mx reference the preference of mail&lt;br /&gt;
server. Lower the number, higher the preference. So&lt;br /&gt;
gmail-smtp-in.l.google.com is the first server which received the mail at&lt;br /&gt;
first.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;
3. NS Record using -query=ns&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
NS (Name Server) records maps a domain to a list of DNS servers&lt;br /&gt;
authoritative for that domain. Here is example of name server which are&lt;br /&gt;
associated with &lt;a href=&quot;http://jpudasaini.com.np/&quot; rel=&quot;noreferrer&quot; target=&quot;_blank&quot;&gt;jpudasaini.com.np&lt;/a&gt; doamain.&lt;br /&gt;
&lt;br /&gt;
C:\Users\jpudasaini&amp;gt;nslookup -query=ns &lt;a href=&quot;http://jpudasaini.com.np/&quot; rel=&quot;noreferrer&quot; target=&quot;_blank&quot;&gt;jpudasaini.com.np&lt;/a&gt; 8.8.8.8&lt;br /&gt;
Server:&amp;nbsp; google-public-dns-a.google.com&lt;br /&gt;
Address:&amp;nbsp; 8.8.8.8&lt;br /&gt;
&lt;br /&gt;
Non-authoritative answer:&lt;br /&gt;
&lt;a href=&quot;http://jpudasaini.com.np/&quot; rel=&quot;noreferrer&quot; target=&quot;_blank&quot;&gt;jpudasaini.com.np&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;nameserver = ns4.afraid.org&lt;br /&gt;
&lt;a href=&quot;http://jpudasaini.com.np/&quot; rel=&quot;noreferrer&quot; target=&quot;_blank&quot;&gt;jpudasaini.com.np&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;nameserver = ns2.afraid.org&lt;br /&gt;
&lt;a href=&quot;http://jpudasaini.com.np/&quot; rel=&quot;noreferrer&quot; target=&quot;_blank&quot;&gt;jpudasaini.com.np&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;nameserver = ns1.afraid.org&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;4. SOA Record using -query=soa&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;C:\Users\jpudasaini&amp;gt;nslookup -query=soa jpudasaini.com.np 8.8.8.8&lt;br /&gt;
Server:&amp;nbsp; google-public-dns-a.google.com&lt;br /&gt;
Address:&amp;nbsp; 8.8.8.8&lt;br /&gt;
&lt;br /&gt;
Non-authoritative answer:&lt;br /&gt;
jpudasaini.com.np&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; primary name server = ns1.afraid.org&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; responsible mail addr = dnsadmin.afraid.org&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; serial&amp;nbsp; = 1511030001&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; refresh = 86400 (1 day)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; retry&amp;nbsp;&amp;nbsp; = 7200 (2 hours)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; expire&amp;nbsp; = 2419200 (28 days)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; default TTL = 3600 (1 hour)&lt;br /&gt;
&lt;br /&gt;
SOA record (start of authority) which provides the authoritative&lt;br /&gt;
information, as well as e-mail address, serial no of the respective&lt;br /&gt;
domain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;5. Reserve DNS lookup&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The reverse DNS look-up using IP Adress as argument to nslookup&lt;br /&gt;
C:\Users\jpudasaini&amp;gt;nslookup 216.239.32.21 8.8.8.8&lt;br /&gt;
Server:&amp;nbsp; google-public-dns-a.google.com&lt;br /&gt;
Address:&amp;nbsp; 8.8.8.8&lt;br /&gt;
&lt;br /&gt;
Name:&amp;nbsp; &amp;nbsp; any-in-2015.1e100.net&lt;br /&gt;
Address:&amp;nbsp; 216.239.32.21&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;6. Using Specific DNS Server&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Make query using particular name server instead of using default DNS server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:\Users\jpudasaini&amp;gt;nslookup &lt;a href=&quot;http://jpudasaini.com.np/&quot; rel=&quot;noreferrer&quot; target=&quot;_blank&quot;&gt;jpudasaini.com.np&lt;/a&gt; ns1.afraid.org&lt;br /&gt;
Server:&amp;nbsp; UnKnown&lt;br /&gt;
Address:&amp;nbsp; 50.23.197.95&lt;br /&gt;
&lt;br /&gt;
Name:&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://jpudasaini.com.np/&quot; rel=&quot;noreferrer&quot; target=&quot;_blank&quot;&gt;jpudasaini.com.np&lt;/a&gt;&lt;br /&gt;
Address:&amp;nbsp; 216.239.32.21&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2016/03/nslookup-command.html</link><author>noreply@blogger.com (j)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://3.bp.blogspot.com/-CBv9y7SMD8g/Vu-Yw1BpytI/AAAAAAAAA1o/gA27hoP6Hn09Fj1pOMHRojIFZ_MLxD8Iw/s72-c/mx-record.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-8751842935882788052</guid><pubDate>Tue, 08 Mar 2016 05:24:00 +0000</pubDate><atom:updated>2017-01-08T00:30:50.202+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">cisco</category><category domain="http://www.blogger.com/atom/ns#">EoMPLS</category><category domain="http://www.blogger.com/atom/ns#">GNS3</category><category domain="http://www.blogger.com/atom/ns#">MPLS</category><category domain="http://www.blogger.com/atom/ns#">network</category><title>EoMPLS Configuration</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
EoMPLS is point to point L2 VPN services which is used to transport all Ethernet frame received on particular Ethernet or VLAN,&amp;nbsp; its also called Any Transport over MPLS(ATOM) means this technology can connect like Frame-Relay, PPP, Ethernet,ATM etc.&lt;br /&gt;
&lt;br /&gt;
IOS used&lt;br /&gt;
c7200-adventerprisek9-mz.151-4.M&lt;br /&gt;
&lt;br /&gt;
Logical Topology&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://4.bp.blogspot.com/-Dt6XowwqaR8/Vt5febC2tII/AAAAAAAAA1M/ft9MPc8KUFw/s1600/EoMPLS.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://4.bp.blogspot.com/-Dt6XowwqaR8/Vt5febC2tII/AAAAAAAAA1M/ft9MPc8KUFw/s400/EoMPLS.JPG&quot; width=&quot;315&quot; /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Make sure MPLS with IGP&amp;nbsp; is confugure as shown in a diagram. I&#39;m not going to configure MPLS here. This tutorial only show how to configure xconnect tunnel peer with other side customer faces interface in our network diagram we interconnect PE1 fa1/0 with PE2 fa0/0 interfaces. &lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Config of PE1&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;i&gt;PE1#sh run&lt;br /&gt;Building configuration...&lt;br /&gt;&lt;br /&gt;Current configuration : 1337 bytes&lt;br /&gt;!&lt;br /&gt;upgrade fpd auto&lt;br /&gt;version 15.1&lt;br /&gt;service timestamps debug datetime msec&lt;br /&gt;service timestamps log datetime msec&lt;br /&gt;no service password-encryption&lt;br /&gt;!&lt;br /&gt;hostname PE1&lt;br /&gt;!&lt;/i&gt;&lt;i&gt;&lt;br /&gt;ip cef&lt;br /&gt;&lt;br /&gt;interface Loopback0&lt;br /&gt;&amp;nbsp;ip address 2.2.2.2 255.255.255.255&lt;br /&gt;&amp;nbsp;ip ospf network point-to-point&lt;br /&gt;&amp;nbsp;ip ospf 1 area 0&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/0&lt;br /&gt;&amp;nbsp;ip address 192.168.12.2 255.255.255.252&lt;br /&gt;&amp;nbsp;ip ospf 1 area 0&lt;br /&gt;&amp;nbsp;duplex half&lt;br /&gt;&amp;nbsp;mpls ip&lt;br /&gt;!&lt;br /&gt;interface FastEthernet1/0&lt;br /&gt;&amp;nbsp;no ip address&lt;br /&gt;&amp;nbsp;duplex auto&lt;br /&gt;&amp;nbsp;speed auto&lt;br /&gt;&amp;nbsp;xconnect 3.3.3.3 15 encapsulation mpls&lt;br /&gt;!&lt;/i&gt;&lt;i&gt;&lt;br /&gt;router ospf 1&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&lt;br /&gt;mpls ldp router-id Loopback0 force&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;i&gt;======================================&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;i&gt;PE1#sh mpls l2transport vc&lt;br /&gt;&lt;br /&gt;Local intf&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Local circuit&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dest address&amp;nbsp;&amp;nbsp;&amp;nbsp; VC ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status&lt;br /&gt;-------------&amp;nbsp; -------------------------- --------------- ---------- ----------&lt;br /&gt;Fa1/0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ethernet&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.3.3.3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: red;&quot;&gt;DOWN&lt;/span&gt;&lt;br /&gt;PE1#&lt;br /&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;*Mar&amp;nbsp; 8 07:49:39.887: %LDP-5-NBRCHG: LDP Neighbor 3.3.3.3:0 (2) is UP&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;PE1#sh mpls l2transport vc&lt;br /&gt;&lt;br /&gt;Local intf&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Local circuit&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dest address&amp;nbsp;&amp;nbsp;&amp;nbsp; VC ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status&lt;br /&gt;-------------&amp;nbsp; -------------------------- --------------- ---------- ----------&lt;br /&gt;Fa1/0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ethernet&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.3.3.3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UP&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PE1#sh mpls l2transport vc detail&lt;br /&gt;Local interface: Fa1/0 up, line protocol up, Ethernet up&lt;br /&gt;&amp;nbsp; Destination address: 3.3.3.3, VC ID: 15, VC status: up&lt;br /&gt;&lt;br /&gt;pc1&lt;br /&gt;&lt;br /&gt;PC1&amp;gt; ping 10.10.10.11&lt;br /&gt;84 bytes from 10.10.10.11 icmp_seq=1 ttl=64 time=39.002 ms&lt;br /&gt;84 bytes from 10.10.10.11 icmp_seq=2 ttl=64 time=39.002 ms&lt;br /&gt;84 bytes from 10.10.10.11 icmp_seq=3 ttl=64 time=39.002 ms&lt;br /&gt;84 bytes from 10.10.10.11 icmp_seq=4 ttl=64 time=40.002 ms&lt;br /&gt;84 bytes from 10.10.10.11 icmp_seq=5 ttl=64 time=31.001 ms&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #990000;&quot;&gt;PC1&amp;gt; sh ip&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : PC1[1]&lt;br /&gt;IP/MASK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 10.10.10.10/24&lt;br /&gt;===============================================================&lt;br /&gt;&lt;br /&gt;pc2&lt;br /&gt;====&lt;br /&gt;PC2&amp;gt; ping 10.10.10.10&lt;br /&gt;84 bytes from 10.10.10.10 icmp_seq=1 ttl=64 time=40.002 ms&lt;br /&gt;84 bytes from 10.10.10.10 icmp_seq=2 ttl=64 time=40.002 ms&lt;br /&gt;84 bytes from 10.10.10.10 icmp_seq=3 ttl=64 time=41.002 ms&lt;br /&gt;84 bytes from 10.10.10.10 icmp_seq=4 ttl=64 time=59.003 ms&lt;br /&gt;84 bytes from 10.10.10.10 icmp_seq=5 ttl=64 time=41.003 ms&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #990000;&quot;&gt;PC2&amp;gt; sh ip&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : PC2[1]&lt;br /&gt;IP/MASK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 10.10.10.11/24&lt;br /&gt;&lt;br /&gt;=================================================================&lt;br /&gt;&lt;br /&gt;PE1#sh mpls ldp neighbor all&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Peer LDP Ident: 1.1.1.1:0; Local LDP Ident 2.2.2.2:0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TCP connection: 1.1.1.1.646 - 2.2.2.2.47031&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; State: Oper; Msgs sent/rcvd: 36/35; Downstream&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Up time: 00:24:20&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LDP discovery sources:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FastEthernet0/0, Src IP addr: 192.168.12.1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Addresses bound to peer LDP Ident:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.12.1&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.1.1.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.13.1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Peer LDP Ident: 3.3.3.3:0; Local LDP Ident 2.2.2.2:0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TCP connection: 3.3.3.3.61604 - 2.2.2.2.646&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; State: Oper; Msgs sent/rcvd: 21/22; Downstream&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Up time: 00:11:25&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LDP discovery sources:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Targeted Hello 2.2.2.2 -&amp;gt; 3.3.3.3, active, passive&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Addresses bound to peer LDP Ident:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.3.3.3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.13.2&lt;/i&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2016/03/eompls-is-point-to-point-l2-vpn.html</link><author>noreply@blogger.com (j)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://4.bp.blogspot.com/-Dt6XowwqaR8/Vt5febC2tII/AAAAAAAAA1M/ft9MPc8KUFw/s72-c/EoMPLS.JPG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-4481893397154328560</guid><pubDate>Tue, 08 Mar 2016 03:58:00 +0000</pubDate><atom:updated>2016-03-10T22:11:39.146+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">cisco</category><category domain="http://www.blogger.com/atom/ns#">GNS3</category><category domain="http://www.blogger.com/atom/ns#">MPLS</category><title>Configuring a Basic MPLS VPN</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
It&#39;s been a long time I&#39;m away from blogging due to some R&amp;amp;D on the network with Juniper boxes. On this tutorial I&#39;m going to configure very basic MPLS VPN configuration in GNS3. After that we go for EoMPLS configuration.&lt;br /&gt;
&lt;br /&gt;
This is the logical topology for this tutorial. &lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://4.bp.blogspot.com/-d5Bjj1eojEc/Vt5DPjqQiUI/AAAAAAAAA08/DIudpqxONrA/s1600/mpls-basic.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;326&quot; src=&quot;https://4.bp.blogspot.com/-d5Bjj1eojEc/Vt5DPjqQiUI/AAAAAAAAA08/DIudpqxONrA/s400/mpls-basic.JPG&quot; width=&quot;400&quot; /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Here I only post the configuration file from PE other router configuration is almost same. Here is the points should be remember.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
1. Make sure IGP with MPLS is configure on PE,P, it shouldn&#39;t be configure on customer facing interface.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
2. Make sure all loopback interface is reachable.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
3. Configure VRF with RD and RT, then applied it on right interface.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
4. Configure MP-BGP on PE and peer it.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
5. Make sure to redistribute the CE IGP protocol into the BGP and vice versa.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Below command can be copy paste into your router. Before that make sure you had make change necessary things. &lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;u&gt;Config from PE1&lt;/u&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;i&gt;PE1#sh run&lt;br /&gt;Building configuration...&lt;br /&gt;&lt;br /&gt;Current configuration : 2126 bytes&lt;br /&gt;!&lt;br /&gt;version 12.4&lt;br /&gt;service timestamps debug datetime msec&lt;br /&gt;service timestamps log datetime msec&lt;br /&gt;no service password-encryption&lt;br /&gt;!&lt;br /&gt;hostname PE1&lt;br /&gt;!&lt;br /&gt;ip cef&lt;br /&gt;ip tcp synwait-time 5&lt;br /&gt;!&lt;br /&gt;!&lt;br /&gt;!&lt;br /&gt;!&lt;br /&gt;ip vrf CustA&lt;br /&gt;&amp;nbsp;rd 100:1&lt;br /&gt;&amp;nbsp;route-target export 1:100&lt;br /&gt;&amp;nbsp;route-target import 1:100&lt;br /&gt;!&lt;br /&gt;no ip domain lookup&lt;br /&gt;!&lt;br /&gt;interface Loopback0&lt;br /&gt;&amp;nbsp;ip address 2.2.2.2 255.255.255.255&lt;br /&gt;&amp;nbsp;ip ospf network point-to-point&lt;br /&gt;&amp;nbsp;ip ospf 1 area 0&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/0&lt;br /&gt;&amp;nbsp;ip address 192.168.11.2 255.255.255.252&lt;br /&gt;&amp;nbsp;ip ospf 1 area 0&lt;br /&gt;&amp;nbsp;duplex auto&lt;br /&gt;&amp;nbsp;speed auto&lt;br /&gt;&amp;nbsp;mpls ip&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/1&lt;br /&gt;&amp;nbsp;ip vrf forwarding CustA&lt;br /&gt;&amp;nbsp;ip address 192.168.13.1 255.255.255.252&lt;br /&gt;&amp;nbsp;duplex auto&lt;br /&gt;&amp;nbsp;speed auto&lt;br /&gt;!&lt;br /&gt;!&lt;br /&gt;router eigrp 1&lt;br /&gt;&amp;nbsp;auto-summary&lt;br /&gt;&amp;nbsp;!&lt;br /&gt;&amp;nbsp;address-family ipv4 vrf CustA&lt;br /&gt;&amp;nbsp;redistribute bgp 1 metric 1500 2000 200 100 15000&lt;br /&gt;&amp;nbsp;network 192.168.13.0&lt;br /&gt;&amp;nbsp;no auto-summary&lt;br /&gt;&amp;nbsp;autonomous-system 100&lt;br /&gt;&amp;nbsp;exit-address-family&lt;br /&gt;!&lt;br /&gt;router ospf 1&lt;br /&gt;&amp;nbsp;log-adjacency-changes&lt;br /&gt;!&lt;br /&gt;router bgp 1&lt;br /&gt;&amp;nbsp;no synchronization&lt;br /&gt;&amp;nbsp;bgp log-neighbor-changes&lt;br /&gt;&amp;nbsp;neighbor 3.3.3.3 remote-as 1&lt;br /&gt;&amp;nbsp;neighbor 3.3.3.3 update-source Loopback0&lt;br /&gt;&amp;nbsp;no auto-summary&lt;br /&gt;&amp;nbsp;!&lt;br /&gt;&amp;nbsp;address-family vpnv4&lt;br /&gt;&amp;nbsp;neighbor 3.3.3.3 activate&lt;br /&gt;&amp;nbsp;neighbor 3.3.3.3 send-community both&lt;br /&gt;&amp;nbsp;exit-address-family&lt;br /&gt;&amp;nbsp;!&lt;br /&gt;&amp;nbsp;address-family ipv4 vrf CustA&lt;br /&gt;&amp;nbsp;redistribute eigrp 100&lt;br /&gt;&amp;nbsp;no auto-summary&lt;br /&gt;&amp;nbsp;no synchronization&lt;br /&gt;&amp;nbsp;exit-address-family&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp;=============&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;i&gt;CE1#ping 192.168.24.2&lt;br /&gt;&lt;br /&gt;Type escape sequence to abort.&lt;br /&gt;Sending 5, 100-byte ICMP Echos to 192.168.24.2, timeout is 2 seconds:&lt;br /&gt;!!!!!&lt;br /&gt;Success rate is 100 percent (5/5), round-trip min/avg/max = 36/70/92 ms&lt;br /&gt;&lt;br /&gt;CE1#sh ip route&lt;br /&gt;Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E1 - OSPF external type 1, E2 - OSPF external type 2&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ia - IS-IS inter area, * - candidate default, U - per-user static route&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o - ODR, P - periodic downloaded static route&lt;br /&gt;&lt;br /&gt;Gateway of last resort is not set&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.13.0/30 is subnetted, 1 subnets&lt;br /&gt;C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.13.0 is directly connected, FastEthernet0/1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.24.0/30 is subnetted, 1 subnets&lt;br /&gt;D&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.24.0 [90/307200] via 192.168.13.1, 00:50:22, FastEthernet0/1&lt;/i&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2016/03/configuring-basic-mpls-vpn.html</link><author>noreply@blogger.com (j)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://4.bp.blogspot.com/-d5Bjj1eojEc/Vt5DPjqQiUI/AAAAAAAAA08/DIudpqxONrA/s72-c/mpls-basic.JPG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-7712576938230931532</guid><pubDate>Tue, 01 Sep 2015 12:17:00 +0000</pubDate><atom:updated>2015-09-15T17:09:11.193+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">GNS3</category><category domain="http://www.blogger.com/atom/ns#">Juniper</category><category domain="http://www.blogger.com/atom/ns#">network</category><title>Juniper DHCP Server Configuration</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
We already configure our &lt;a href=&quot;http://www.jpudasaini.com.np/2015/09/vsrx-gns3-qemu.html&quot; target=&quot;_blank&quot;&gt;QEMU&lt;/a&gt; in GNS3 and run our vSRX Router. Now its time to configure DHCP server in our vSRX router. Lets began.&lt;br /&gt;
Logical Diagram for this tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://1.bp.blogspot.com/-798kTWhNlV8/VffulXnCS8I/AAAAAAAAAzw/Z_pgTj8wvgI/s1600/dhcp0.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;302&quot; src=&quot;http://1.bp.blogspot.com/-798kTWhNlV8/VffulXnCS8I/AAAAAAAAAzw/Z_pgTj8wvgI/s400/dhcp0.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
To configure DHCP server&lt;br /&gt;
&lt;br /&gt;
Assign Lowest and highest IP range&lt;br /&gt;
root# set system services dhcp pool 192.168.1.0/24 address-range low 192.168.1.50 high 192.168.1.200&lt;br /&gt;
&lt;br /&gt;
Assign DNS server (in my case I had used Router interface IP)&lt;br /&gt;
root# set system services dhcp pool 192.168.1.0/24 name-server 192.168.1.1&lt;br /&gt;
&lt;br /&gt;
Assign IP address of the router&lt;br /&gt;
root# set system services dhcp pool 192.168.1.0/24 router 192.168.1.1&lt;br /&gt;
&lt;br /&gt;
Assign the lease time&lt;br /&gt;
root# set system services dhcp pool 192.168.1.0/24 default-lease-time 3600&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://4.bp.blogspot.com/-10Z2b7lPhMM/VeWZFgXkdAI/AAAAAAAAAzM/PDqlvwrU2DI/s1600/dhcp2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;108&quot; src=&quot;http://4.bp.blogspot.com/-10Z2b7lPhMM/VeWZFgXkdAI/AAAAAAAAAzM/PDqlvwrU2DI/s400/dhcp2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Assign DHCP as an allowed inbound service for the interface which we are going to enable DHCP.&lt;br /&gt;
&lt;br /&gt;
root# set security zones security-zone untrust interfaces ge-0/0/1 host-inbound-traffic system-services dhcp&lt;br /&gt;
&lt;br /&gt;
Assign IP address to the client faced interface.&lt;br /&gt;
root# set interfaces ge-0/0/1 unit 0 family inet address 192.168.1.1/24&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://1.bp.blogspot.com/-fBIRa1MoU6E/VeWY_GZZ4YI/AAAAAAAAAzE/qIbzJLn9emw/s1600/dhcp3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;23&quot; src=&quot;http://1.bp.blogspot.com/-fBIRa1MoU6E/VeWY_GZZ4YI/AAAAAAAAAzE/qIbzJLn9emw/s400/dhcp3.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Check our client get the IP Address from the server.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://2.bp.blogspot.com/-0F3uLTjn13U/VeWXEalsxjI/AAAAAAAAAy4/e322HSEM9yc/s1600/dhcp1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;348&quot; src=&quot;http://2.bp.blogspot.com/-0F3uLTjn13U/VeWXEalsxjI/AAAAAAAAAy4/e322HSEM9yc/s400/dhcp1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
How to statically assign IP with fixed MAC address&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
root#set system service dhcp static-binding 00:50:79:66:68:00 fixed-address 192.168.1.100&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
PC1&amp;gt;show ip&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://4.bp.blogspot.com/--S1mYw8-ioA/Vff_D03t4XI/AAAAAAAAA0A/EQGtMvjAM1U/s1600/static-dhcp.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;306&quot; src=&quot;http://4.bp.blogspot.com/--S1mYw8-ioA/Vff_D03t4XI/AAAAAAAAA0A/EQGtMvjAM1U/s400/static-dhcp.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Request DHCP IP&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
PC1&amp;gt;dhcp -d&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://4.bp.blogspot.com/-ljXAZmKawas/Vff_jkzvUzI/AAAAAAAAA0I/Yz-Xm1oNv-g/s1600/request-dhcp.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;213&quot; src=&quot;http://4.bp.blogspot.com/-ljXAZmKawas/Vff_jkzvUzI/AAAAAAAAA0I/Yz-Xm1oNv-g/s400/request-dhcp.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Enjoy&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2015/09/juniper-dhcp-server-configuration.html</link><author>noreply@blogger.com (j)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-798kTWhNlV8/VffulXnCS8I/AAAAAAAAAzw/Z_pgTj8wvgI/s72-c/dhcp0.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-7933947571935496905</guid><pubDate>Tue, 01 Sep 2015 12:06:00 +0000</pubDate><atom:updated>2016-01-26T13:00:00.882+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">GNS3</category><category domain="http://www.blogger.com/atom/ns#">Juniper</category><title>vSRX GNS3 QEMU</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In this tutorial I&#39;m going to run vSRX JunOS in QEMU and configure it as DHCP Server. Lets began with installing vSRX into QEMU.&lt;br /&gt;
&lt;br /&gt;
I have try vSRX to run into Vbox but never succeeded. So I better to choose QEMU otherwise waste of time.&lt;br /&gt;
&lt;br /&gt;
In my case I had used&amp;nbsp;junos-vsrx-12.1X46-D10.2-domestic to mount into QEMU. Search for it.&lt;br /&gt;
Now we have to convert our .vdi file into .image, for that use following command&lt;br /&gt;
&lt;br /&gt;
cd d:\junos\&lt;br /&gt;
c:\Program Files\GNS3\qemu\&amp;gt;qemu-img.exe convert -O qcow2 d:\junos\junos-vsrx-12.1X46-D10.2-domestic-disk1.vdi d:\junos\junos-vsrx-12.1X46-D10.2-domestic.img&lt;br /&gt;
&lt;br /&gt;
We just made our image ready to run into QEMU. Go the GNS3&lt;br /&gt;
&lt;br /&gt;
Note: Strongly recommended to use QEMU in linux and enable KVM otherwise it eats up all your CPU and RAM.&lt;br /&gt;
&lt;br /&gt;
-nographic -smp 2 -enable-kvm&lt;br /&gt;
&lt;br /&gt;
&amp;gt;edit&amp;gt;preference&amp;gt;choose &quot;QEMU VMs&quot;&lt;br /&gt;
Click on &quot;New&quot; Choose &quot;Default &quot; Gave Name &quot;vSRX&quot; (in my case).&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://2.bp.blogspot.com/-RaA2TEEqkW4/VeWR2jaQy1I/AAAAAAAAAyE/KJYmdutZ0Ug/s1600/vSRX1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;356&quot; src=&quot;http://2.bp.blogspot.com/-RaA2TEEqkW4/VeWR2jaQy1I/AAAAAAAAAyE/KJYmdutZ0Ug/s400/vSRX1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://1.bp.blogspot.com/-1oW-I437NII/VeWR6l-PcyI/AAAAAAAAAyM/QurMdJ9APmg/s1600/vSRX2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;355&quot; src=&quot;http://1.bp.blogspot.com/-1oW-I437NII/VeWR6l-PcyI/AAAAAAAAAyM/QurMdJ9APmg/s400/vSRX2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://3.bp.blogspot.com/-bUK3TbFGuo0/VeWR_UM0nkI/AAAAAAAAAyU/ZUPtZKo0hO0/s1600/vSRX3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;355&quot; src=&quot;http://3.bp.blogspot.com/-bUK3TbFGuo0/VeWR_UM0nkI/AAAAAAAAAyU/ZUPtZKo0hO0/s400/vSRX3.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://2.bp.blogspot.com/-SZ_Quzbg5TY/VqccwvsAX0I/AAAAAAAAA0k/-9pAy5SJFnw/s1600/kvm.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;311&quot; src=&quot;http://2.bp.blogspot.com/-SZ_Quzbg5TY/VqccwvsAX0I/AAAAAAAAA0k/-9pAy5SJFnw/s400/kvm.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
I&#39;ll use following topology to configure DHCP server for the tutorial.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://3.bp.blogspot.com/-yhTk7zZ7lvU/VeWSc7vgLBI/AAAAAAAAAyk/aBjhMtrxMx4/s1600/vSRX5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;303&quot; src=&quot;http://3.bp.blogspot.com/-yhTk7zZ7lvU/VeWSc7vgLBI/AAAAAAAAAyk/aBjhMtrxMx4/s400/vSRX5.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://3.bp.blogspot.com/-8me4UFc7P9k/VeWS1u1w3pI/AAAAAAAAAys/2Apzjrs8X_U/s1600/vSRX6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;251&quot; src=&quot;http://3.bp.blogspot.com/-8me4UFc7P9k/VeWS1u1w3pI/AAAAAAAAAys/2Apzjrs8X_U/s400/vSRX6.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Now we ready to move on the next step. Configuration &lt;a href=&quot;http://www.jpudasaini.com.np/2015/09/juniper-dhcp-server-configuration.html&quot; target=&quot;_blank&quot;&gt;DHCP&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2015/09/vsrx-gns3-qemu.html</link><author>noreply@blogger.com (j)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-RaA2TEEqkW4/VeWR2jaQy1I/AAAAAAAAAyE/KJYmdutZ0Ug/s72-c/vSRX1.png" height="72" width="72"/><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-3650760543388142</guid><pubDate>Tue, 01 Sep 2015 08:50:00 +0000</pubDate><atom:updated>2015-09-01T14:55:45.424+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">GNS3</category><category domain="http://www.blogger.com/atom/ns#">Juniper</category><category domain="http://www.blogger.com/atom/ns#">network</category><title>Juniper Message from syslogd</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
While doing some lab test, this weird syslogd message appear every seconds on the console terminal, so it was very difficult to complete the lab.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://1.bp.blogspot.com/-LmO4Y04TEkk/VeVlls1sevI/AAAAAAAAAxs/ha3f2MzPMzs/s1600/junOS-Weird-message.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;276&quot; src=&quot;http://1.bp.blogspot.com/-LmO4Y04TEkk/VeVlls1sevI/AAAAAAAAAxs/ha3f2MzPMzs/s400/junOS-Weird-message.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
This messages are due the following syslog configuration .&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://3.bp.blogspot.com/-iuRHLNh4-10/VeVmGFS64jI/AAAAAAAAAx0/TpGNRS9paWs/s1600/syslog-config.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;290&quot; src=&quot;http://3.bp.blogspot.com/-iuRHLNh4-10/VeVmGFS64jI/AAAAAAAAAx0/TpGNRS9paWs/s400/syslog-config.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
So for now we are going to de-activate it to generating the message&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
#deactivate system syslog user *&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
#commit&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2015/09/juniper-message-from-syslogd.html</link><author>noreply@blogger.com (j)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-LmO4Y04TEkk/VeVlls1sevI/AAAAAAAAAxs/ha3f2MzPMzs/s72-c/junOS-Weird-message.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-1921929738592184538</guid><pubDate>Thu, 09 Jul 2015 16:10:00 +0000</pubDate><atom:updated>2015-07-09T21:56:20.312+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">linux</category><title>The-requested-url-nagioscgi-binstatusmap-cgi-was-not-found-on-this-server</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Everything goes well while installing the Nagios 4.0.8 into Ubuntu 10.04 LTS. However Nagios Map section doesn&#39;t plotted the maps of the device. Displayed error like this way&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://1.bp.blogspot.com/-W7D21eT2itY/VZ6Xnd1C0WI/AAAAAAAAAxM/iBCcPOQB1lo/s1600/nagios-issue.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;276&quot; src=&quot;http://1.bp.blogspot.com/-W7D21eT2itY/VZ6Xnd1C0WI/AAAAAAAAAxM/iBCcPOQB1lo/s400/nagios-issue.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
G for god and G for google, found the solution like &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Install the package&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
apt-get install libgd2-xpm install libgd2-xpm-dev&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
cd /home/jpudasaini/nagios-4.0.8/&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
Configure the package for installation&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
./configure -with-gd-lib=/usr/local/lib/&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
make cgis&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
Then copy it into the sbin directory&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
cp /home/jpudasaini/nagios-4.0.8/cgi/*.cgi /usr/local/nagios/sbin/&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
Change the permission for that files.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
chown nagios:nagios /usr/local/nagios/sbin/*.cgi&lt;/div&gt;
&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2015/07/the-requested-url-nagioscgi.html</link><author>noreply@blogger.com (j)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-W7D21eT2itY/VZ6Xnd1C0WI/AAAAAAAAAxM/iBCcPOQB1lo/s72-c/nagios-issue.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-5777333406214409664</guid><pubDate>Wed, 27 May 2015 12:40:00 +0000</pubDate><atom:updated>2015-05-28T12:17:58.446+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">GNS3</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">network</category><category domain="http://www.blogger.com/atom/ns#">VMware</category><title>vSphere Client Displays Empty Inventory</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Suddenly my home datacenter &amp;nbsp;vsphere lab show empty inventory in vSphere client. There was no any host at all. I have three ( Cisco IOU, CentOS 7, Ubuntu server) host configure for lab &amp;nbsp;purpose. So I must recover those host to complete my lab because I almost completed all labs. &amp;nbsp;Thus here is process how to retrieve those lost host from vSphere client in vSphere 6 database.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://1.bp.blogspot.com/-Dxu7ZJXduF0/VWW5WiV7XVI/AAAAAAAAAwI/sW1TxJH3x20/s1600/vsphere-host-disappear1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;182&quot; src=&quot;http://1.bp.blogspot.com/-Dxu7ZJXduF0/VWW5WiV7XVI/AAAAAAAAAwI/sW1TxJH3x20/s400/vsphere-host-disappear1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Step 1:&lt;br /&gt;
Login to the vSphere client choose your database from Configuration Tab &amp;gt; right click database and choose &quot;Browse Dababase&quot;.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://4.bp.blogspot.com/-lsuIxdqVjWQ/VWW31ts7xPI/AAAAAAAAAv8/GDEN2igaihA/s1600/vsphere-host-disappear0.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;237&quot; src=&quot;http://4.bp.blogspot.com/-lsuIxdqVjWQ/VWW31ts7xPI/AAAAAAAAAv8/GDEN2igaihA/s400/vsphere-host-disappear0.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Step 2: Now next window open the database page. From here open your host folder then choose &quot;.vmx&quot; right click and choose &quot;Add to inventory&quot; then follow the onscreen instruction.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://4.bp.blogspot.com/-naBeh3r52O0/VWW5pHiMJXI/AAAAAAAAAwQ/YGknSqA5u2g/s1600/vsphere-host-disappear2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;182&quot; src=&quot;http://4.bp.blogspot.com/-naBeh3r52O0/VWW5pHiMJXI/AAAAAAAAAwQ/YGknSqA5u2g/s400/vsphere-host-disappear2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Next window&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://4.bp.blogspot.com/-6UMfLMCPEgA/VWW54M4VGcI/AAAAAAAAAwc/9atJo7C-2DM/s1600/vsphere-host-disappear3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;227&quot; src=&quot;http://4.bp.blogspot.com/-6UMfLMCPEgA/VWW54M4VGcI/AAAAAAAAAwc/9atJo7C-2DM/s400/vsphere-host-disappear3.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Select the database&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://1.bp.blogspot.com/-E2Q3oI4c3ZA/VWW6EFe166I/AAAAAAAAAwg/EW8K5_cyEVg/s1600/vsphere-host-disappear4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;285&quot; src=&quot;http://1.bp.blogspot.com/-E2Q3oI4c3ZA/VWW6EFe166I/AAAAAAAAAwg/EW8K5_cyEVg/s400/vsphere-host-disappear4.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Next click to finish&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://3.bp.blogspot.com/-E-hbEEI-raY/VWW6O3POa3I/AAAAAAAAAwo/B5NO-5CqLOU/s1600/vsphere-host-disappear5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;285&quot; src=&quot;http://3.bp.blogspot.com/-E-hbEEI-raY/VWW6O3POa3I/AAAAAAAAAwo/B5NO-5CqLOU/s400/vsphere-host-disappear5.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Now your server is in the inventory list, you can run the server. In my case its my CentOS 7 server, it will run smoothly.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://1.bp.blogspot.com/-jv_iQPM5m0g/VWW6dOp9D3I/AAAAAAAAAww/RBUmsdY4D_k/s1600/vsphere-host-disappear6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;262&quot; src=&quot;http://1.bp.blogspot.com/-jv_iQPM5m0g/VWW6dOp9D3I/AAAAAAAAAww/RBUmsdY4D_k/s400/vsphere-host-disappear6.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2015/05/vsphere-client-displays-empty-inventory.html</link><author>noreply@blogger.com (j)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-Dxu7ZJXduF0/VWW5WiV7XVI/AAAAAAAAAwI/sW1TxJH3x20/s72-c/vsphere-host-disappear1.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-2654073155347511789</guid><pubDate>Wed, 27 May 2015 07:34:00 +0000</pubDate><atom:updated>2015-05-27T13:24:10.761+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">linux</category><title>Table Already Exists SQL Server</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Somehow I have created or you can say I have imported database into SQL and try to continue installation, but error &quot;table already exists sql server&quot; occur then installation has been interrupted. Meanwhile, another error &quot;SQL=Duplicate entry &#39;add_user&#39; for key &#39;PRIMARY&#39;:&quot; also appear. In this case I had deleted those tables and modified dbsetup file.&lt;/div&gt;
&lt;br /&gt;
CREATE TABLE logs (&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; id bigint unsigned NOT NULL AUTO_INCREMENT,&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
CREATE TABLE logs (&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; id bigint(20) unsigned NOT NULL AUTO_INCREMENT,&lt;br /&gt;
&lt;br /&gt;
On sql I have used this command to delete tables&lt;br /&gt;
&lt;br /&gt;
MariaDB [(none)]&amp;gt; use syslog&lt;br /&gt;
Reading table information for completion of table and column names&lt;br /&gt;
You can turn off this feature to get a quicker startup with -A&lt;br /&gt;
&lt;br /&gt;
Database changed&lt;br /&gt;
MariaDB [syslog]&amp;gt; drop table {YourTableName};&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2015/05/table-already-exists-sql-server.html</link><author>noreply@blogger.com (j)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-2785705076459976359</guid><pubDate>Mon, 25 May 2015 15:19:00 +0000</pubDate><atom:updated>2015-05-25T21:04:22.581+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">Huawei</category><category domain="http://www.blogger.com/atom/ns#">network</category><title>Huawei Switch Show Commands</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Here are basic show commands used in Huawei switch. For configuration of Huawei switch click &lt;a href=&quot;http://www.jpudasaini.com.np/2015/05/huawei-switch-configuration-commands.html&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
1. Show VLANs&lt;br /&gt;
&amp;lt;sw1&amp;gt;display vlan&lt;br /&gt;
&lt;br /&gt;
8. Show port base VLAN&lt;br /&gt;
&amp;lt;sw1&amp;gt;display port vlan &amp;nbsp; &lt;br /&gt;
Port &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Link Type &amp;nbsp; &amp;nbsp;PVID &amp;nbsp;Trunk VLAN List&lt;br /&gt;
-------------------------------------------------------------------------------&lt;br /&gt;
Eth-Trunk0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;hybrid &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; - &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
GigabitEthernet0/0/1 &amp;nbsp; &amp;nbsp;trunk &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; 1&lt;br /&gt;
GigabitEthernet0/0/2 &amp;nbsp; &amp;nbsp;hybrid &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; - &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
GigabitEthernet0/0/3 &amp;nbsp; &amp;nbsp;access &amp;nbsp; &amp;nbsp; &amp;nbsp; 301 &amp;nbsp; - &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
GigabitEthernet0/0/4 &amp;nbsp; &amp;nbsp;access &amp;nbsp; &amp;nbsp; &amp;nbsp; 302 &amp;nbsp; - &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
GigabitEthernet0/0/5 &amp;nbsp; &amp;nbsp;hybrid &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; - &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
GigabitEthernet0/0/6 &amp;nbsp; &amp;nbsp;hybrid &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; - &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
GigabitEthernet0/0/7 &amp;nbsp; &amp;nbsp;hybrid &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; - &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
GigabitEthernet0/0/8 &amp;nbsp; &amp;nbsp;hybrid &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; -&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. View Configuration&lt;br /&gt;
[sw1]display current-configuration configuration&lt;br /&gt;
!Software Version V200R003C00SPC300&lt;br /&gt;
#&lt;br /&gt;
sysname sw1&lt;br /&gt;
#&lt;br /&gt;
vlan batch 301 to 302&lt;br /&gt;
#&lt;br /&gt;
stp region-configuration&lt;br /&gt;
&amp;nbsp;region-name JR&lt;br /&gt;
&amp;nbsp;instance 1 vlan 20 to 30&lt;br /&gt;
&amp;nbsp;active region-configuration&lt;br /&gt;
#&lt;br /&gt;
vlan 30&lt;br /&gt;
&amp;nbsp;description fiber&lt;br /&gt;
vlan 20&lt;br /&gt;
&amp;nbsp;description Wireless&lt;br /&gt;
[sw1-mst-region]active region-configuration&lt;br /&gt;
&lt;br /&gt;
[sw1]display stp instance 0 interface GigabitEthernet 0/0/1 brief&lt;br /&gt;
&amp;nbsp;MSTID &amp;nbsp; Port &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Role &amp;nbsp;STP State &amp;nbsp; &amp;nbsp; Protection&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;GigabitEthernet0/0/1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DESI &amp;nbsp;FORWARDING &amp;nbsp; &amp;nbsp; &amp;nbsp;NONE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
interface Eth-Trunk 1&lt;br /&gt;
port link-type trunk&lt;br /&gt;
port trunk allow-pass vlan 20 30&lt;br /&gt;
mode lacp&lt;br /&gt;
&lt;br /&gt;
int gi0/0/5&lt;br /&gt;
eth-trunk1&lt;br /&gt;
undo negotiation auto&lt;br /&gt;
&lt;br /&gt;
int gi0/0/6&lt;br /&gt;
eht-trunk1&lt;br /&gt;
undo negotiation auto&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Show interface configuration&lt;br /&gt;
[sw1]display interface Eth-Trunk 1&lt;br /&gt;
Eth-Trunk1 current state : UP&lt;br /&gt;
Line protocol current state : UP&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. LACP port status&lt;br /&gt;
&lt;br /&gt;
[sw1]display eth-trunk 1&lt;br /&gt;
Eth-Trunk1&#39;s state information is:&lt;br /&gt;
Local:&lt;br /&gt;
LAG ID: 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WorkingMode: LACP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
Preempt Delay: Disabled &amp;nbsp; &amp;nbsp; Hash arithmetic: According to SIP-XOR-DIP &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
System Priority: 32768 &amp;nbsp; &amp;nbsp; &amp;nbsp;System ID: 30d1-7eea-c824 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
Least Active-linknumber: 1 &amp;nbsp;Max Active-linknumber: 8 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
Operate status: up &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Number Of Up Port In Trunk: 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
ActorPortName &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status &amp;nbsp; PortType PortPri PortNo PortKey PortState Weight&lt;br /&gt;
GigabitEthernet0/0/5 &amp;nbsp; Selected 1GE &amp;nbsp; &amp;nbsp; &amp;nbsp;32768 &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp;305 &amp;nbsp; &amp;nbsp; 10111100 &amp;nbsp;1 &amp;nbsp; &lt;br /&gt;
GigabitEthernet0/0/6 &amp;nbsp; Selected 1GE &amp;nbsp; &amp;nbsp; &amp;nbsp;32768 &amp;nbsp; 2 &amp;nbsp; &amp;nbsp; &amp;nbsp;305 &amp;nbsp; &amp;nbsp; 10111100 &amp;nbsp;1 &amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Partner:&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
ActorPortName &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SysPri &amp;nbsp; SystemID &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PortPri PortNo PortKey PortState&lt;br /&gt;
GigabitEthernet0/0/5 &amp;nbsp; 32768 &amp;nbsp; &amp;nbsp;001b-0c17-b780 &amp;nbsp;32768 &amp;nbsp; 515 &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; 10111100&lt;br /&gt;
GigabitEthernet0/0/6 &amp;nbsp; 32768 &amp;nbsp; &amp;nbsp;001b-0c17-b780 &amp;nbsp;32768 &amp;nbsp; 514 &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; 10111100&lt;br /&gt;
VID &amp;nbsp;Status &amp;nbsp;Property &amp;nbsp; &amp;nbsp; &amp;nbsp;MAC-LRN Statistics Description &amp;nbsp; &lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
1 &amp;nbsp; &amp;nbsp;enable &amp;nbsp;default &amp;nbsp; &amp;nbsp; &amp;nbsp; enable &amp;nbsp;disable &amp;nbsp; &amp;nbsp;VLAN 0001 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
301 &amp;nbsp;enable &amp;nbsp;default &amp;nbsp; &amp;nbsp; &amp;nbsp; enable &amp;nbsp;disable &amp;nbsp; &amp;nbsp;fiber &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
302 &amp;nbsp;enable &amp;nbsp;default &amp;nbsp; &amp;nbsp; &amp;nbsp; enable &amp;nbsp;disable &amp;nbsp; &amp;nbsp;Wireless&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Show interface vlan&lt;br /&gt;
&lt;br /&gt;
[sw1]display int Vlanif 25&lt;br /&gt;
Vlanif25 current state : UP&lt;br /&gt;
Line protocol current state : UP&lt;br /&gt;
Last line protocol up time : 2014-07-21 18:57:40 UTC-05:13&lt;br /&gt;
Description:&lt;br /&gt;
Route Port,The Maximum Transmit Unit is 1500&lt;br /&gt;
Internet Address is 10.10.10.11/24&lt;br /&gt;
IP Sending Frames&#39; Format is PKTFMT_ETHNT_2, Hardware address is 30d1-7eea-c824&lt;br /&gt;
Current system time: 2014-07-21 19:01:47-05:13&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Input bandwidth utilization &amp;nbsp;: --&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Output bandwidth utilization : --&lt;br /&gt;
&lt;br /&gt;
6. &amp;nbsp;[sw1]ping 10.10.10.10 &amp;nbsp; &lt;br /&gt;
&amp;nbsp; PING 10.10.10.10: 56 &amp;nbsp;data bytes, press CTRL_C to break&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Reply from 10.10.10.10: bytes=56 Sequence=1 ttl=255 time=4 ms&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Reply from 10.10.10.10: bytes=56 Sequence=2 ttl=255 time=5 ms&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Reply from 10.10.10.10: bytes=56 Sequence=3 ttl=255 time=5 ms&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Reply from 10.10.10.10: bytes=56 Sequence=4 ttl=255 time=7 ms&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Reply from 10.10.10.10: bytes=56 Sequence=5 ttl=255 time=5 ms&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; --- 10.10.10.10 ping statistics ---&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 5 packet(s) transmitted&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 5 packet(s) received&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 0.00% packet loss&lt;br /&gt;
&amp;nbsp; &amp;nbsp; round-trip min/avg/max = 4/5/7 ms&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2015/05/huawei-switch-show-commands.html</link><author>noreply@blogger.com (j)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-2402617684990694623</guid><pubDate>Mon, 25 May 2015 14:59:00 +0000</pubDate><atom:updated>2015-05-25T21:04:36.690+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">Huawei</category><category domain="http://www.blogger.com/atom/ns#">network</category><title>Huawei Switch Configuration Commands</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Here are some Huawei switch configuration command and verification command is here.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Enter int to the privilege mode &lt;br /&gt;
&amp;lt;sw1&amp;gt;system view&lt;br /&gt;
&lt;br /&gt;
2. Create the VLAN&lt;br /&gt;
[sw1]vlan 30&lt;br /&gt;
[sw1]des fiber&lt;br /&gt;
&lt;br /&gt;
3. Configure interface trunk&lt;br /&gt;
[sw1]interface GigabitEthernet 0/0/1&lt;br /&gt;
[sw1-GigabitEthernet0/0/1]port link-type trunk&lt;br /&gt;
&lt;br /&gt;
4. Configure interface access&lt;br /&gt;
[sw1-GigabitEthernet0/0/3]port link-type access&lt;br /&gt;
[sw1-GigabitEthernet0/0/4]port link-type access&lt;br /&gt;
&lt;br /&gt;
5. Assign vlan to that port&lt;br /&gt;
[sw1]vlan 30&lt;br /&gt;
[sw1-vlan30]port GigabitEthernet 0/0/3&lt;br /&gt;
[sw1]vlan 30&lt;br /&gt;
[sw1-vlan30]port GigabitEthernet 0/0/4&lt;br /&gt;
&lt;br /&gt;
6. Change port speed and duplex&lt;br /&gt;
[sw1]interface GigabitEthernet 0/0/3&lt;br /&gt;
[sw1-GigabitEthernet0/0/3]undo negotiation auto&lt;br /&gt;
[sw1-GigabitEthernet0/0/3]speed ?&lt;br /&gt;
&amp;nbsp; 10 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10M port speed mode&lt;br /&gt;
&amp;nbsp; 100 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 100M port speed mode&lt;br /&gt;
&amp;nbsp; 1000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1000M port speed mode&lt;br /&gt;
&amp;nbsp; auto-negotiation &amp;nbsp;Auto negotiation&lt;br /&gt;
[sw1-GigabitEthernet0/0/3]speed 100&lt;br /&gt;
[sw1]int gi0/0/4&lt;br /&gt;
[sw1-GigabitEthernet0/0/4]undo negotiation auto&lt;br /&gt;
[sw1-GigabitEthernet0/0/4]speed 100&lt;br /&gt;
&lt;br /&gt;
[sw1-GigabitEthernet0/0/4]duplex ?&lt;br /&gt;
&amp;nbsp; full &amp;nbsp;Full-Duplex mode&lt;br /&gt;
&amp;nbsp; half &amp;nbsp;Half-Duplex mode&lt;br /&gt;
[sw1-GigabitEthernet0/0/4]duplex full&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Configure VLAN and add VLAN in trunk port&lt;br /&gt;
[sw1-GigabitEthernet0/0/1]port trunk allow-pass vlan 301 302&lt;br /&gt;
Info: This operation may take a few seconds. Please wait for a moment...done.&lt;br /&gt;
&lt;br /&gt;
8. MST Configuration&lt;br /&gt;
&lt;br /&gt;
[sw1]stp region-configuration&lt;br /&gt;
Info: Please activate the stp region-configuration after it is modified.&lt;br /&gt;
[sw1-mst-region]region-name JP&lt;br /&gt;
[sw1-mst-region]instance 1 vlan instance 1 vlan 10 20 30 to 50 600 to 616&lt;br /&gt;
[sw1-mst-region]instance 0 vlan 302&lt;br /&gt;
&lt;br /&gt;
9. Create management interface&lt;br /&gt;
[sw1]interface Vlanif 25&lt;br /&gt;
Error: Can not create this interface because the interface number of this type has reached its maximum.&lt;br /&gt;
[sw1]undo interface Vlanif 1&lt;br /&gt;
[sw1-Vlanif25]ip add 10.10.10.11 255.255.255.0&lt;br /&gt;
[sw1-Vlanif25]ip route-static 0.0.0.0 0.0.0.0 129.102.0.2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Configure SSH&lt;br /&gt;
&lt;br /&gt;
[sw1]rsa local-key-pair create&lt;br /&gt;
The key name will be: sw1_Host&lt;br /&gt;
The range of public key size is (512 ~ 2048).&lt;br /&gt;
NOTES: If the key modulus is greater than 512,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;it will take a few minutes.&lt;br /&gt;
Input the bits in the modulus[default = 2048]:1024&lt;br /&gt;
Generating keys...&lt;br /&gt;
.....++++++&lt;br /&gt;
..........++++++&lt;br /&gt;
.................+++++&lt;br /&gt;
...+++++&lt;br /&gt;
&lt;br /&gt;
11. Create local user&lt;br /&gt;
[sw1]aaa&lt;br /&gt;
[sw1-aaa]local-user jpudasaini password ?&lt;br /&gt;
&amp;nbsp; cipher &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; User password with cipher text&lt;br /&gt;
&amp;nbsp; irreversible-cipher &amp;nbsp;User password with irreversible-cipher text&lt;br /&gt;
&amp;nbsp; &amp;lt;cr&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[sw1-aaa]local-user jpudasaini password&lt;br /&gt;
Please configure the login password (8-16)&lt;br /&gt;
It is recommended that the password consist of at least 2 types of characters, including lowercase letters, uppercase letters, numerals and special characters.&lt;br /&gt;
Please enter password:&lt;br /&gt;
Please confirm password:&lt;br /&gt;
Info: Add a new user.&lt;br /&gt;
&lt;br /&gt;
[sw1-aaa]local-user jpudasaini service-type ssh telnet&lt;br /&gt;
&lt;br /&gt;
12. Configure telnet session&lt;br /&gt;
[sw1]stelnet server enable&lt;br /&gt;
[sw1]ssh authentication-type default password&lt;br /&gt;
[sw1]ssh user jpudasaini&lt;br /&gt;
[sw1]ssh user jpudasaini authentication-type password&lt;br /&gt;
[sw1]ssh user jpudasaini service-type stelnet&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[sw1]user-interface vty 0 4&lt;br /&gt;
[sw1-ui-vty0-4]authentication-mode aaa&lt;br /&gt;
[sw1-ui-vty0-4]protocol inbound ssh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[sw1-aaa]local-user jpudasaini privilege level 15&lt;br /&gt;
[sw1-aaa]local-user jpudasaini service-type ssh&lt;br /&gt;
[sw1]ssh authentication-type default password&lt;br /&gt;
&lt;br /&gt;
13. DHCP Snooping enable&lt;br /&gt;
[huawei-sw1]dhcp enable&lt;br /&gt;
[huawei-sw1]dhcp snooping enable ipv4&lt;br /&gt;
[huawei-sw1]dhcp server detect&lt;br /&gt;
&lt;br /&gt;
[huawei-sw1]dhcp snooping check dhcp-rate enable&lt;br /&gt;
&amp;lt;huawei-sw1&amp;gt;display dhcp snooping&lt;br /&gt;
[huawei-sw1]dhcp snooping check dhcp-rate 50&lt;br /&gt;
&lt;br /&gt;
14. Apply to VLAN&lt;br /&gt;
[huawei-sw1]vlan 301&lt;br /&gt;
[huawei-sw1-vlan301]dhcp snooping enable&lt;br /&gt;
&lt;br /&gt;
15. Apply to Interface&lt;br /&gt;
[huawei-sw1-GigabitEthernet0/0/3]dhcp snooping enable&lt;br /&gt;
[huawei-sw1-GigabitEthernet0/0/3]dhcp snooping check dhcp-rate enable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
16. Apply to Trunk port&lt;br /&gt;
[huawei-sw1-GigabitEthernet0/0/4]dhcp snooping trusted&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
17. Verify Command&lt;br /&gt;
[huawei-sw1]display dhcp snooping configuration &amp;nbsp; &amp;nbsp; &lt;br /&gt;
#&lt;br /&gt;
dhcp snooping enable&lt;br /&gt;
dhcp snooping check dhcp-rate enable&lt;br /&gt;
dhcp snooping check dhcp-rate 50&lt;br /&gt;
dhcp server detect&lt;br /&gt;
#&lt;br /&gt;
vlan 301&lt;br /&gt;
&amp;nbsp;dhcp snooping enable&lt;br /&gt;
#&lt;br /&gt;
interface GigabitEthernet0/0/3&lt;br /&gt;
&amp;nbsp;dhcp snooping enable&lt;br /&gt;
&amp;nbsp;dhcp snooping check dhcp-rate enable&lt;br /&gt;
#&lt;br /&gt;
interface GigabitEthernet0/0/4&lt;br /&gt;
&amp;nbsp;dhcp snooping trusted&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2015/05/huawei-switch-configuration-commands.html</link><author>noreply@blogger.com (j)</author><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-3813928437078925460</guid><pubDate>Fri, 24 Apr 2015 18:12:00 +0000</pubDate><atom:updated>2015-04-24T23:57:41.931+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">linux</category><title>PERL can&#39;t locate module in @ INC</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hi, recently when I&#39;m trying to install some linux daemon in CentOS 7 I have encountered a PERL issue, indicating that some module are missing e.g.&lt;br /&gt;
&lt;br /&gt;
Can&#39;t locate sys/syslog.pm in @INC&lt;br /&gt;
&lt;br /&gt;
It means it can&#39;t find the pear-sys-syslog. So I have to install this daemon to continue my installation. In my case its syslog.pm but you may encounter different than this. I mean the module name is different, but the error code is same. You need to search that package and install it. In my case I have just used this module&lt;br /&gt;
&lt;br /&gt;
root@localhost#yum install -y perl-sys-syslog&lt;br /&gt;
&lt;br /&gt;
Now the installation has been working.&amp;nbsp;&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2015/04/perl-cant-locate-module-in-inc_24.html</link><author>noreply@blogger.com (j)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-1131867136093472722</guid><pubDate>Tue, 21 Apr 2015 17:06:00 +0000</pubDate><atom:updated>2015-04-21T22:51:29.130+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">Juniper</category><title>show command juniper switch</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;Here are some useful command in day to day life while troubleshooting the juniper switch.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;1. show mac add of specific vlan&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;&amp;nbsp; root@jpudasaini#show ethernet-switching table vlan 608&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;color: #333333; font-family: monospace; font-size: 13px;&quot; /&gt;
&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;2. compare configure before commit&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;root@jpudasaini&lt;/span&gt;&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;#show | compare&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;color: #333333; font-family: monospace; font-size: 13px;&quot; /&gt;
&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;3. check mac add&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;root@jpudasaini&lt;/span&gt;&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;#show ethernet-switching table brief&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;color: #333333; font-family: monospace; font-size: 13px;&quot; /&gt;
&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;4. show perticular Mac in Juniper&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;root@jpudasaini&lt;/span&gt;&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;#show ethernet-switching table | match d4ca.6dea.d420&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;5. show port description/status&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;root@jpudasaini&lt;/span&gt;&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;#show interfaces descriptions statistics&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;color: #333333; font-family: monospace; font-size: 13px;&quot; /&gt;
&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;6. Show configuration in configuration mode&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;root@jpudasaini&lt;/span&gt;&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;#show configuration | display set&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace;&quot;&gt;7. show&amp;nbsp;correctness&amp;nbsp;of the command before commit&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: monospace;&quot;&gt;&lt;span style=&quot;background-color: #fdfdfd;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;root@jpudasaini&lt;/span&gt;&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace;&quot;&gt;#commit check&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: monospace;&quot;&gt;&lt;span style=&quot;background-color: #fdfdfd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #333333; font-family: monospace;&quot;&gt;&lt;span style=&quot;background-color: #fdfdfd;&quot;&gt;8. Show Link Layer detection Protocol&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: monospace;&quot;&gt;&lt;span style=&quot;background-color: #fdfdfd;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;&quot;&gt;root@jpudasaini&lt;/span&gt;&lt;span style=&quot;background-color: #fdfdfd; color: #333333; font-family: monospace;&quot;&gt;#&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: monospace;&quot;&gt;show protocols lldp&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: monospace;&quot;&gt;9. Show vlan in configuration mode&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: monospace;&quot;&gt;root@jpudasaini#show vlans | display set&lt;/span&gt;&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2015/04/show-command-juniper-switch.html</link><author>noreply@blogger.com (j)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-2164104017416080586</guid><pubDate>Tue, 21 Apr 2015 15:10:00 +0000</pubDate><atom:updated>2015-04-21T22:42:40.377+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">linux</category><title>PEAR Succeeded but it is not a valid package archive</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Recently I encounter following problem while installing PEAR in Ubuntu 14.04 server, after long search I found that, it is a bug already reported a long before. Solution at bottom of the page.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
root@dns:~# pear install DB&lt;br /&gt;
WARNING: &quot;pear/DB&quot; is deprecated in favor of &quot;pear/MDB2&quot;&lt;br /&gt;
WARNING: &quot;pear/Console_Getopt&quot; is deprecated in favor of &quot;pear/Console_GetoptPlus&quot;&lt;br /&gt;
downloading DB-1.8.2.tgz ...&lt;br /&gt;
Starting to download DB-1.8.2.tgz (131,693 bytes)&lt;br /&gt;
.............................done: 131,693 bytes&lt;br /&gt;
could not extract the package.xml file from &quot;/build/buildd/php5-5.5.9+dfsg/pear-build-download/DB-1.8.2.tgz&quot;&lt;br /&gt;
Download of &quot;pear/DB&quot; succeeded, but it is not a valid package archive&lt;br /&gt;
Error: cannot download &quot;pear/DB&quot;&lt;br /&gt;
downloading PEAR-1.9.5.tgz ...&lt;br /&gt;
Starting to download PEAR-1.9.5.tgz (290,006 bytes)&lt;br /&gt;
...done: 290,006 bytes&lt;br /&gt;
could not extract the package.xml file from &quot;/build/buildd/php5-5.5.9+dfsg/pear-build-download/PEAR-1.9.5.tgz&quot;&lt;br /&gt;
Download of &quot;pear/PEAR&quot; succeeded, but it is not a valid package archive&lt;br /&gt;
Error: cannot download &quot;pear/PEAR&quot;&lt;br /&gt;
downloading Archive_Tar-1.3.16.tgz ...&lt;br /&gt;
Starting to download Archive_Tar-1.3.16.tgz (20,024 bytes)&lt;br /&gt;
...done: 20,024 bytes&lt;br /&gt;
could not extract the package.xml file from &quot;/build/buildd/php5-5.5.9+dfsg/pear-build-download/Archive_Tar-1.3.16.tgz&quot;&lt;br /&gt;
Download of &quot;pear/Archive_Tar&quot; succeeded, but it is not a valid package archive&lt;br /&gt;
Error: cannot download &quot;pear/Archive_Tar&quot;&lt;br /&gt;
downloading Console_Getopt-1.4.0.tgz ...&lt;br /&gt;
Starting to download Console_Getopt-1.4.0.tgz (4,534 bytes)&lt;br /&gt;
...done: 4,534 bytes&lt;br /&gt;
could not extract the package.xml file from &quot;/build/buildd/php5-5.5.9+dfsg/pear-build-download/Console_Getopt-1.4.0.tgz&quot;&lt;br /&gt;
Download of &quot;pear/Console_Getopt&quot; succeeded, but it is not a valid package archive&lt;br /&gt;
Error: cannot download &quot;pear/Console_Getopt&quot;&lt;br /&gt;
downloading XML_Util-1.2.3.tgz ...&lt;br /&gt;
Starting to download XML_Util-1.2.3.tgz (17,134 bytes)&lt;br /&gt;
...done: 17,134 bytes&lt;br /&gt;
could not extract the package.xml file from &quot;/build/buildd/php5-5.5.9+dfsg/pear-build-download/XML_Util-1.2.3.tgz&quot;&lt;br /&gt;
Download of &quot;pear/XML_Util&quot; succeeded, but it is not a valid package archive&lt;br /&gt;
Error: cannot download &quot;pear/XML_Util&quot;&lt;br /&gt;
Download failed&lt;br /&gt;
install failed&lt;/blockquote&gt;
&lt;br /&gt;
&lt;b&gt;Solution:&lt;/b&gt; Edit /usr/share/php/Archive/Tar.php find and replace the following &#39;gzopen&#39; with gzopen64&#39; and &#39;gzseek&#39; with gzseek64&#39;&amp;nbsp;&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2015/04/pear-succeeded-but-it-is-not-valid.html</link><author>noreply@blogger.com (j)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-432906256609336649</guid><pubDate>Wed, 31 Dec 2014 06:13:00 +0000</pubDate><atom:updated>2015-05-25T21:04:49.776+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">Juniper</category><category domain="http://www.blogger.com/atom/ns#">network</category><title>Juniper switch Basic Configuration Commands</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hello fellow blog reader, after long gap I&#39;m going to write this thread regarding the basic Juniper command and configuration. I try to include as much as troubleshooting/configuration command during day to day work.&lt;br /&gt;
I would like to thank to Srijan pointing the error on LACP command.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1. Set username for login&lt;/b&gt;&lt;br /&gt;
root@jpudasaini#set system root-authentication encrypted-password&lt;br /&gt;
New password:&lt;br /&gt;
Retype new password:&lt;br /&gt;
&lt;br /&gt;
root@jpudasaini#set system login user jay full-name jaypudasaini uid 400 class super-user authentication encrypted-password&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2. Hostname configuration.&lt;/b&gt;&lt;br /&gt;
root@switch#set system host-name jpudasaini&lt;br /&gt;
root@jpudasaini#&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3. Set Tacplus authentication for juniper switch.&lt;/b&gt;&lt;br /&gt;
root@jpudasaini# set system authentication-order tacplus&lt;br /&gt;
root@jpudasaini# set system authentication-order password&lt;br /&gt;
root@jpudasaini# set system root-authentication encrypted-password &quot;you password here&quot;&lt;br /&gt;
root@jpudasaini# set system tacplus-server 10.10.10.10(your tacplus server IP) secret &quot;your server password here&quot;&lt;br /&gt;
root@jpudasaini#set system tacplus-options service-name test&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;4. Configuration VLAN(Group)&lt;/b&gt;&lt;br /&gt;
root@jpudasaini#set vlans Cust-Fiber vlan-id 500-550&lt;br /&gt;
root@jpudasaini#set vlans Cust-Wireless vlan-id 551-575&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; single vlan&lt;/b&gt;&lt;br /&gt;
root@jpudasaini#set vlans Cust-A vland-id 25&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;5. Trunk Port Configuration&lt;/b&gt;&lt;br /&gt;
root@jpudasaini#set interfaces ge-0/0/9 description connect-to-sw2&lt;br /&gt;
root@jpudasaini#set interfaces ge-0/0/9 unit 0 family ethernet-switching port-mode trunk&lt;br /&gt;
root@jpudasaini#set interfaces ge-0/0/9 unit 0 family ethernet-switching vlan members Cust-Fiber&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;6. Access Port Configuration&lt;/b&gt;&lt;br /&gt;
root@jpudasaini#set interfaces ge-0/0/0 description Link-to-sw3&lt;br /&gt;
root@jpudasaini#set interfaces ge-0/0/0 unit 0 family ethernet-switching port-mode access&lt;br /&gt;
root@jpudasaini#set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members 25&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;7. Port Channel Configuration&lt;/b&gt;&lt;br /&gt;
root@jpudasaini#set chassis aggregated-devices ethernet device-count 10&lt;br /&gt;
root@jpudasaini#set interfaces ae0 description TR-2-Jpudasaini-Sw2&lt;br /&gt;
root@jpudasaini#set interfaces ae0 aggregated-ether-options lacp active&lt;br /&gt;
root@jpudasaini#set interfaces ae0 unit 0 family ethernet-switching port-mode trunk&lt;br /&gt;
root@jpudasaini#set interfaces ae0 unit 0 family ethernet-switching vlan members Cust-Fiber&lt;br /&gt;
root@jpudasaini#set interfaces ae0 unit 0 family ethernet-switching vlan members Cust-Wireless&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;8. Port Channel Assign to the Physical Port&lt;/b&gt;&lt;br /&gt;
root@jpudasaini#set interfaces ge-0/0/16 description test-sw1&lt;br /&gt;
root@jpudasaini#set interfaces ge-0/0/16 ether-options 802.3ad ae0&lt;br /&gt;
root@jpudasaini#set interfaces ge-0/0/17 description test-sw1&lt;br /&gt;
root@jpudasaini#set interfaces ge-0/0/17 ether-options 802.3ad ae0&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;9. Configuration management IP for switch.&lt;/b&gt;&lt;br /&gt;
root@jpudasaini#set interfaces vlan unit 20 family inet address 10.10.10.11/24&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;10. Configuration snmp.&lt;/b&gt;&lt;br /&gt;
root@jpudasaini#set snmp name Test-SNMP&lt;br /&gt;
root@jpudasaini#set snmp description test-sw2&lt;br /&gt;
root@jpudasaini#set snmp location &quot;Jpudasaini-NOC&quot;&lt;br /&gt;
root@jpudasaini#set snmp contact &quot;system@jpudasaini.com.np&quot;&lt;br /&gt;
root@jpudasaini#set snmp client-list list0 10.10.10.0/24&lt;br /&gt;
root@jpudasaini#set snmp community ax3R5vgW authorization read-only&lt;br /&gt;
root@jpudasaini#set snmp community&amp;nbsp;ax3R5vgW&amp;nbsp;client-list-name jpudasaini&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;11. Enable LLDP&lt;/b&gt;&lt;br /&gt;
root@jpudasaini# set protocols lldp interface all&lt;br /&gt;
root@jpudasaini#set protocols lldp-med interface all&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;12. Configure port as L3&lt;/b&gt;&lt;br /&gt;
root@jpudasaini#set interface ge-0/0/23 unit 0 family ethernet-switching port-mode trunk&lt;br /&gt;
root@jpudasaini#set interface ge-0/0/23 unit 0 family ethernet-switching vlan member 25&lt;br /&gt;
root@jpudasaini#set vlan Mgmt vlan-id 25&lt;br /&gt;
root@jpudasaini#set vlan Mgmt l3-interface vlan.25&lt;br /&gt;
root@jpudasaini#set interface vlan.250 family inet address xxx.xxx.xxx.xxx&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;13.Rate Limit&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&lt;b&gt;Configure the policer&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
root@jpudasaini# set firewall policer Policer_2M if-exceeding bandwidth-limit 1M&lt;br /&gt;
root@jpudasaini# set firewall policer Policer_2M if-exceeding burst-size-limit 2k&lt;br /&gt;
root@jpudasaini# set firewall policer Policer_2M then discard&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Configure the firewall filter&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
root@jpudasaini# set firewall family ethernet-switching filter Limit term 1 then accept&lt;br /&gt;
root@jpudasaini# set firewall family ethernet-switching filter Limit term 1 then policer Poicer_2M&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Apply filter on interface (can be any interface as required)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
root@jpudasaini# set interface ge-0/0/24.0 family ethernet-switching filter input Limit&lt;br /&gt;
&lt;br /&gt;
Note: Remember that EX series switches apply rate limit only on ingress.&amp;nbsp;&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2014/12/juniper-switch-basic-configuration.html</link><author>noreply@blogger.com (j)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-5170889149493234351</guid><pubDate>Wed, 29 Oct 2014 16:31:00 +0000</pubDate><atom:updated>2014-10-29T22:26:35.484+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">cisco</category><category domain="http://www.blogger.com/atom/ns#">hack</category><category domain="http://www.blogger.com/atom/ns#">network</category><title>Cisco Protected Port</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
I can see in my network any customer can communicate to any one on the same VLAN. Basically when ever any unknown packets ingress into the switch. Switch found no record in CAM table, so that frame flood every port of the respected VLAN, except the frame received port. Such a communication can very dangerous for the service provider and its customer. Because any one can sniff or send information to other customer in same VLAN.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Broadcast packet also flooded into the network that can bottleneck our network. The way to protect such a bottleneck of the network we can configure switch port as protected port thus no port can directly communicated in a same broadcast domain.&lt;/div&gt;
&lt;br /&gt;
Command:&lt;br /&gt;
interface fa0/2&lt;br /&gt;
switchchport mode access&lt;br /&gt;
switchport access vlan 30&lt;br /&gt;
switchport protected&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
This way we can protect the user in same VLAN. Protected port only be configured in edge port not the trunk port or L3 connected port. Now the protected port prevent any unicast, broadcast or multicast packet entering to the same switch interface. But traffic forwarded to same domain can be communicated through L3 device like router.&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2014/10/cisco-protected-port.html</link><author>noreply@blogger.com (j)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9197971964393665898.post-5590128750169304558</guid><pubDate>Wed, 08 Oct 2014 08:38:00 +0000</pubDate><atom:updated>2014-10-08T14:24:09.507+05:45</atom:updated><category domain="http://www.blogger.com/atom/ns#">cisco</category><category domain="http://www.blogger.com/atom/ns#">network</category><title>How To Configure RSPAN on Cisco Switch</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Sometime I need to analyze network traffic from remote switch. Thus RSPAN is life saver. Go to the site and capturing the packets and analyze the packets is very time consuming. So here a small tutorial which explain how to configure packets with RSPAN.&lt;br /&gt;
&lt;br /&gt;
SW1(This is the remote switch, Which is the source for our packets.)&lt;br /&gt;
&lt;br /&gt;
sw1(config)#vlan 444&lt;br /&gt;
sw1(config-vlan)#remote-span&lt;br /&gt;
sw1(config)#monitor session 1 source interface Fa1/0/1 - 16&lt;br /&gt;
sw1(config)#monitor session 1 destination remote vlan 444&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SW2(The destination switch where you going sniff the packets send my remote switch on case sw1.)&lt;br /&gt;
sw2(config)#vlan 444&lt;br /&gt;
sw2(config-vlan)#name RSPAN_VLAN&lt;br /&gt;
sw2(config-vlan)#remote-span&lt;br /&gt;
&lt;br /&gt;
sw2(config)#monitor session 1 destination interface Gi0/17&lt;br /&gt;
sw2(config)#monitor session 1 source remote vlan 444&lt;br /&gt;
&lt;br /&gt;
Now you can capture remote packets in port 17.&lt;br /&gt;
&lt;br /&gt;
All these tutorial tested on cisco 3750 switch.&lt;/div&gt;
</description><link>http://www.jpudasaini.com.np/2014/10/how-to-configure-rspan-on-cisco-switch.html</link><author>noreply@blogger.com (j)</author><thr:total>0</thr:total></item></channel></rss>