// API callback
showrecentpostswiththumbs({"version":"1.0","encoding":"UTF-8","feed":{"xmlns":"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","id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898"},"updated":{"$t":"2023-09-17T03:58:48.138+05:45"},"category":[{"term":"network"},{"term":"linux"},{"term":"cisco"},{"term":"mikrotik"},{"term":"hack"},{"term":"windows"},{"term":"GNS3"},{"term":"Juniper"},{"term":"Huawei"},{"term":"MPLS"},{"term":"VMware"},{"term":"About me"},{"term":"Contact"},{"term":"Disclaimer"},{"term":"EoMPLS"},{"term":"Privacy-Policy"},{"term":"threat"}],"title":{"type":"text","$t":"jpudasaini"},"subtitle":{"type":"html","$t":""},"link":[{"rel":"http://schemas.google.com/g/2005#feed","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/posts\/default"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default?alt=json-in-script\u0026orderby=published"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/"},{"rel":"hub","href":"http://pubsubhubbub.appspot.com/"},{"rel":"next","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default?alt=json-in-script\u0026start-index=26\u0026max-results=25\u0026orderby=published"}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"generator":{"version":"7.00","uri":"http://www.blogger.com","$t":"Blogger"},"openSearch$totalResults":{"$t":"82"},"openSearch$startIndex":{"$t":"1"},"openSearch$itemsPerPage":{"$t":"25"},"entry":[{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-1873657696176990251"},"published":{"$t":"2019-01-12T17:56:00.002+05:45"},"updated":{"$t":"2019-01-12T17:56:40.899+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"threat"}],"title":{"type":"text","$t":"Sextortion Spam. "},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\nIf you received such a mail means bad guys already harvest your email. Don't worry this is only a bait. Below is the sample of mail.\u0026nbsp; 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.\u003Cbr \/\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cpre style=\"background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 11px; outline: 0px; padding: 0px; vertical-align: baseline;\"\u003E\u003Ci\u003E\u003Cu\u003E\u003Cspan style=\"color: #333333;\"\u003EX-BESS-REASON: bbl\nX-BESS-REASON-EXTRA: 175.117.27.170\nReceived: 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\nMessage-ID: \u0026lt;003e\u0026gt;\nFrom: \u0026lt;cust\u0026gt;\nTo: \u0026lt;cust\u0026gt;\n\u003C\/span\u003E\u003Cspan style=\"color: red;\"\u003E\u003Cb\u003ESubject: Your account has been hacked! You need to unlock.\u003C\/b\u003E\u003C\/span\u003E\u003Cspan style=\"color: #333333;\"\u003E\u003Cspan style=\"color: #333333;\"\u003E\nDate: 10 Jan 2019 11:03:17 +0800\nMIME-Version: 1.0\nContent-Type: text\/plain;\n charset=\"ibm852\"\nContent-Transfer-Encoding: 8bit\nX-Priority: 3\nX-MSMail-Priority: Normal\nX-BESS-ID: 1547058684-889006-11704-54424-1\nX-BESS-VER: 2018.16_20190108.1920\nX-BESS-Apparent-Source-IP: \u003C\/span\u003E\u003Cb\u003E\u003Cspan style=\"color: #cc0000;\"\u003E175.117.27.170\u003C\/span\u003E\u003C\/b\u003E\u003Cspan style=\"color: #333333;\"\u003E\n\nHi, stranger!\n\nI hacked your device, because I sent you this message from your account.\nIf you have already changed your password, my malware will be intercepts it every time.\n\nYou may not know me, and you are most likely wondering why you are receiving this email, right?\nIn fact, I posted a malicious program on adults (pornography) of some websites, and you know that you visited these websites to enjoy \n(you know what I mean).\n\nWhile you were watching video clips,\nmy trojan started working as a RDP (remote desktop) with a keylogger that gave me access to your screen as well as a webcam.\n\nImmediately after this, my program gathered all your contacts from messenger, social networks, and also by e-mail.\n\nWhat I've done?\nI made a double screen video.\nThe first part shows the video you watched (you have good taste, yes ... but strange for me and other normal people),\nand the second part shows the recording of your webcam.\n\nWhat should you do?\n\nWell, I think $645 (USD dollars) is a fair price for our little secret.\nYou will make a bitcoin payment (if you don't know, look for \"how to buy bitcoins\" on Google).\n\n\u003C\/span\u003E\u003C\/span\u003E\u003Cb\u003E\u003Cspan style=\"color: red;\"\u003EBTC Address: 1GjZSJnpU4AfTS8vmre6rx7eQgeMUq8VYr\u003C\/span\u003E\u003C\/b\u003E\u003Cspan style=\"color: #333333;\"\u003E\n(This is CASE sensitive, please copy and paste it)\n\nRemarks:\nYou have 2 days (48 hours) to pay. (I have a special code, and at the moment I know that you have read this email).\n\nIf I don't get bitcoins, I will send your video to all your contacts, including family members, colleagues, etc.\nHowever, if I am paid, I will immediately destroy the video, and my trojan will be destruct someself.\n\nIf you want to get proof, answer \"Yes!\" and resend this letter to youself. \nAnd I will definitely send your video to your any 17 contacts.\n\nThis is a non-negotiable offer, so please do not waste my personal and other people's time by replying to this email.\n\nBye!\u003C\/span\u003E\u003C\/u\u003E\u003C\/i\u003E\u003Cspan style=\"color: #333333;\"\u003E\n\u003C\/span\u003E\u003C\/pre\u003E\n\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/1873657696176990251\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2019\/01\/sextortion-spam.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/1873657696176990251"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/1873657696176990251"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2019\/01\/sextortion-spam.html","title":"Sextortion Spam. "}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-3469725911004473956"},"published":{"$t":"2018-12-28T18:59:00.001+05:45"},"updated":{"$t":"2018-12-28T19:01:42.710+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"linux"}],"title":{"type":"text","$t":"MongoDB Failed to start lsb an object\/document-oriented database"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\n\u003Cdiv\u003E\nAfter long gap I'm going to post new blog. Due to the work load and research I have little time.\u0026nbsp;\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\nMongoDB could not started after installation of 3.6 version, However downgrade to the 3.4, still the Mongodb couldn't start and show below error message.\u003Cbr \/\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"https:\/\/1.bp.blogspot.com\/-XkSunU9RQs0\/XCYfXNZD_AI\/AAAAAAAAA7Y\/mKTFfqgfoxouco55qEUgBKcR7nxUX0z6ACLcBGAs\/s1600\/MongoDB_Start_FAil.PNG\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" data-original-height=\"381\" data-original-width=\"872\" height=\"278\" src=\"https:\/\/1.bp.blogspot.com\/-XkSunU9RQs0\/XCYfXNZD_AI\/AAAAAAAAA7Y\/mKTFfqgfoxouco55qEUgBKcR7nxUX0z6ACLcBGAs\/s640\/MongoDB_Start_FAil.PNG\" width=\"640\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\nSearch don'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.\u0026nbsp;\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cdiv\u003E\ncd \/var\/lib\u003C\/div\u003E\n\u003Cdiv\u003E\nsudo rm -rf .\/mongodb\u003C\/div\u003E\n\u003Cdiv\u003E\nsudo mkdir mongodb\u003C\/div\u003E\n\u003Cdiv\u003E\nsudo chown -R mongodb mongodb\/\u003C\/div\u003E\n\u003Cdiv\u003E\nsudo serivce mongodb restart\u003C\/div\u003E\n\u003C\/div\u003E\n\u003C\/div\u003E\n\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/3469725911004473956\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2018\/12\/mongodb-failed-to-start-lsb.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/3469725911004473956"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/3469725911004473956"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2018\/12\/mongodb-failed-to-start-lsb.html","title":"MongoDB Failed to start lsb an object\/document-oriented database"}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"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":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-2024923330449311007"},"published":{"$t":"2017-02-05T19:22:00.001+05:45"},"updated":{"$t":"2021-06-12T18:38:23.971+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"linux"}],"title":{"type":"text","$t":"UBUNTU Files not Opening"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\nSuddenly My Ubuntu 16.04 LTS giving me a issue, I can't open files manger as well as screenshots app. \u0026nbsp;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.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003EStep 1\u003C\/b\u003E:\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n@jpudasaini:~$ nautilus -q\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n(nautilus:6210): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_-\u0026gt;priv-\u0026gt;connections != NULL' failed\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n(nautilus:6210): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_-\u0026gt;priv-\u0026gt;connections != NULL' failed\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n(nautilus:6210): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n(nautilus:6210): GLib-GObject-WARNING **: invalid (NULL) pointer instance\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n(nautilus:6210): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003EStep 2\u003C\/b\u003E:\u003Cbr \/\u003E\n\u003Cbr \/\u003E\njpudasaini@jpudasaini:~$ nautilus\u003Cbr \/\u003E\nNautilus-Share-Message: Called \"net usershare info\" but it failed: Failed to execute child process \"net\" (No such file or directory)\u003Cbr \/\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"https:\/\/3.bp.blogspot.com\/-SYv8uCy4Mgo\/WJcmI80UZnI\/AAAAAAAAA4w\/Q1vh9A2KGrMaQsidJHxCmUDDYjFggAN3ACLcB\/s1600\/File_Manager-ubuntu.png\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"126\" src=\"https:\/\/3.bp.blogspot.com\/-SYv8uCy4Mgo\/WJcmI80UZnI\/AAAAAAAAA4w\/Q1vh9A2KGrMaQsidJHxCmUDDYjFggAN3ACLcB\/s640\/File_Manager-ubuntu.png\" width=\"640\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\nNew your file manager is ready to used.\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\nHTH\u003C\/div\u003E\n\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/2024923330449311007\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2017\/02\/ubuntu-files-not-opening.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/2024923330449311007"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/2024923330449311007"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2017\/02\/ubuntu-files-not-opening.html","title":"UBUNTU Files not Opening"}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"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":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-1772333721466130359"},"published":{"$t":"2017-01-23T21:42:00.002+05:45"},"updated":{"$t":"2017-01-23T21:45:12.924+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"cisco"},{"scheme":"http://www.blogger.com/atom/ns#","term":"GNS3"},{"scheme":"http://www.blogger.com/atom/ns#","term":"network"}],"title":{"type":"text","$t":"Cisco ASA in GNS3"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\nHere is another tutorial running Cisco ASAv on GNS3 using Qemu.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nFor Configure GNS3\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nIn My case I have used ASAv952-204.qcow2\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cspan style=\"background-color: white; color: #444444; font-family: \u0026quot;merriweather\u0026quot; , serif; font-size: 16px;\"\u003EGo\u0026nbsp;\u003C\/span\u003E\u003Cspan style=\"background-color: white; color: #444444; font-family: \u0026quot;merriweather\u0026quot; , serif; font-size: 16px;\"\u003Eto the GNS3\u0026gt;Edit\u0026gt;Preferences\u0026gt;QEMU\u0026gt;Qemu VMs\u0026gt;New\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"background-color: white; color: #444444; font-family: \u0026quot;merriweather\u0026quot; , serif; font-size: 16px;\"\u003EFollow on screen procedure.\u0026nbsp;\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"background-color: white; color: #444444; font-family: \u0026quot;merriweather\u0026quot; , serif; font-size: 16px;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\n\u003Cspan style=\"color: #444444; font-family: merriweather, serif;\"\u003E\u003Cspan style=\"background-color: white;\"\u003EDon't forget to enable kvm and memory allocation.\u0026nbsp;\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"background-color: white; color: #444444; font-family: \u0026quot;merriweather\u0026quot; , serif; font-size: 16px;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"https:\/\/1.bp.blogspot.com\/-rjguXz3fqh8\/WIYmJu1-J8I\/AAAAAAAAA4c\/J0vfGTygsckglOZcEUJWJLzhHSGKbb_zACEw\/s1600\/ASAv-GNS3-Qemu.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"292\" src=\"https:\/\/1.bp.blogspot.com\/-rjguXz3fqh8\/WIYmJu1-J8I\/AAAAAAAAA4c\/J0vfGTygsckglOZcEUJWJLzhHSGKbb_zACEw\/s400\/ASAv-GNS3-Qemu.png\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cbr \/\u003E\n\u003Cspan style=\"color: #444444; font-family: \u0026quot;merriweather\u0026quot; , serif;\"\u003E\u003Cspan style=\"background-color: white;\"\u003ENow you can see I can run ASAv 9.5.2\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: #444444; font-family: \u0026quot;merriweather\u0026quot; , serif;\"\u003E\u003Cspan style=\"background-color: white;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003C\/span\u003E\n\u003Cspan style=\"color: #444444; font-family: \u0026quot;merriweather\u0026quot; , serif;\"\u003E\u003Cspan style=\"background-color: white;\"\u003EBlank Password.\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: #444444; font-family: \u0026quot;merriweather\u0026quot; , serif;\"\u003E\u003Cspan style=\"background-color: white;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003C\/span\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"https:\/\/4.bp.blogspot.com\/-scMKDaOHqbI\/WIYmKPChOXI\/AAAAAAAAA4g\/-NIgUkwgUfQWCb_9sGKtv0NavXqTgGDDACEw\/s1600\/ASAv-GNS3.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"400\" src=\"https:\/\/4.bp.blogspot.com\/-scMKDaOHqbI\/WIYmKPChOXI\/AAAAAAAAA4g\/-NIgUkwgUfQWCb_9sGKtv0NavXqTgGDDACEw\/s400\/ASAv-GNS3.png\" width=\"392\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cspan style=\"color: #444444; font-family: \u0026quot;merriweather\u0026quot; , serif;\"\u003E\u003Cspan style=\"background-color: white;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/1772333721466130359\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2017\/01\/cisco-asa-in-gns3.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/1772333721466130359"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/1772333721466130359"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2017\/01\/cisco-asa-in-gns3.html","title":"Cisco ASA in GNS3"}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"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":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-7511315379854170236"},"published":{"$t":"2016-12-05T20:43:00.001+05:45"},"updated":{"$t":"2017-01-01T20:34:42.656+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"cisco"},{"scheme":"http://www.blogger.com/atom/ns#","term":"linux"},{"scheme":"http://www.blogger.com/atom/ns#","term":"network"}],"title":{"type":"text","$t":"IOS XR GNS3 QEMU"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\nThis time lets have tutorial on Cisco XR 9k series router image running on the GNS3. Please don't ask for the XR image. Your are smart enough to get it.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nMy system configuration:\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nUbuntu 16.04\u003Cbr \/\u003E\nGNS3 1.4\u003Cbr \/\u003E\nRAM 8Gig\u003Cbr \/\u003E\ni7 processor\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nUsed XR Image\u003Cbr \/\u003E\niosxrv-k9-demo-6.0.1.qcow2\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThis image is VIRL extracted image.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nYou need to convert this image into QEMU image, follow this \u003Ca href=\"http:\/\/www.jpudasaini.com.np\/2015\/09\/vsrx-gns3-qemu.html\" target=\"_blank\"\u003Elink\u003C\/a\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nI strongly recommend you to run it on the Linux system.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nNow you have converted image, then go to the GNS3\u0026gt;Edit\u0026gt;Preferences\u0026gt;QEMU\u0026gt;Qemu VMs\u0026gt;New\u003Cbr \/\u003E\nthen follow the onscreen procedure.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nSetting for QEMU XR Image.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003E\u003Cspan style=\"color: red;\"\u003ERAM:- 4Gig\u003C\/span\u003E\u003C\/b\u003E\u003Cbr \/\u003E\n\u003Cb\u003E\u003Cspan style=\"color: red;\"\u003ECPU:- 1\u003C\/span\u003E\u003C\/b\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"https:\/\/3.bp.blogspot.com\/-qWsbsKyq4uk\/WEV8_kPuLEI\/AAAAAAAAA3I\/8TimcFGUYJsM5jOcwxDKsDURr79ycf_rACLcB\/s1600\/XR-CPU-RAM.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"640\" src=\"https:\/\/3.bp.blogspot.com\/-qWsbsKyq4uk\/WEV8_kPuLEI\/AAAAAAAAA3I\/8TimcFGUYJsM5jOcwxDKsDURr79ycf_rACLcB\/s640\/XR-CPU-RAM.png\" width=\"625\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cspan style=\"color: red;\"\u003E\u003Cb\u003EAdapters at lest 4.\u0026nbsp;\u003C\/b\u003E\u003C\/span\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"https:\/\/1.bp.blogspot.com\/-yB1sbsYG4gw\/WEV8_DvmZgI\/AAAAAAAAA28\/e891EP7dGA0yRxZF_a6yI0ZGD7C3QfBagCEw\/s1600\/QEMU-XR-Ethernet.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"640\" src=\"https:\/\/1.bp.blogspot.com\/-yB1sbsYG4gw\/WEV8_DvmZgI\/AAAAAAAAA28\/e891EP7dGA0yRxZF_a6yI0ZGD7C3QfBagCEw\/s640\/QEMU-XR-Ethernet.png\" width=\"627\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cspan style=\"color: red;\"\u003E\u003Cb\u003E-enable-kvm\u003C\/b\u003E\u003C\/span\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"https:\/\/2.bp.blogspot.com\/-dSrv3dnJAZQ\/WEV8_FnNYuI\/AAAAAAAAA3A\/PmxzkSQCypg8tn-OL4vU4-Pxrh4IzaxOQCEw\/s1600\/QEMU-XR-CLI.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"640\" src=\"https:\/\/2.bp.blogspot.com\/-dSrv3dnJAZQ\/WEV8_FnNYuI\/AAAAAAAAA3A\/PmxzkSQCypg8tn-OL4vU4-Pxrh4IzaxOQCEw\/s640\/QEMU-XR-CLI.png\" width=\"618\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\nHere you can see I can run the XR on my system. Interface is up and system is already booted.\u0026nbsp;\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"https:\/\/1.bp.blogspot.com\/-S2O0FocgbNc\/WEV8_LwPorI\/AAAAAAAAA3E\/ZtlK48zciAMxHm2blVUSTmu3MO09Sny1wCEw\/s1600\/Cisco-XR-GNS3.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"566\" src=\"https:\/\/1.bp.blogspot.com\/-S2O0FocgbNc\/WEV8_LwPorI\/AAAAAAAAA3E\/ZtlK48zciAMxHm2blVUSTmu3MO09Sny1wCEw\/s640\/Cisco-XR-GNS3.png\" width=\"640\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nI have run 3 XR router \u0026nbsp;here is my system RAM CPU usages.\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"https:\/\/1.bp.blogspot.com\/-hOuIuJ80XeM\/WEV_LJqCiKI\/AAAAAAAAA3U\/lp8ejKfNH1wuoKuCCZOCp0vJRSIjF5HWQCEw\/s1600\/System-CPU-RAM.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"122\" src=\"https:\/\/1.bp.blogspot.com\/-hOuIuJ80XeM\/WEV_LJqCiKI\/AAAAAAAAA3U\/lp8ejKfNH1wuoKuCCZOCp0vJRSIjF5HWQCEw\/s640\/System-CPU-RAM.png\" width=\"640\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nRP\/0\/0\/CPU0:XR3(config)#int gi0\/0\/0\/0\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nRP\/0\/0\/CPU0:XR3(config-if)#ip add 192.168.13.2 255.255.255.252\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nRP\/0\/0\/CPU0:XR3(config-if)#commit\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nRP\/0\/0\/CPU0:XR3#ping 192.168.13.1\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nMon Dec \u0026nbsp;5 14:28:29.088 UTC\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nType escape sequence to abort.\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nSending 5, 100-byte ICMP Echos to 192.168.13.1, timeout is 2 seconds:\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n!!!!!\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nSuccess rate is 100 percent (5\/5), round-trip min\/avg\/max = 1\/4\/19 ms\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nNote: Assign IP on gi0\/0\/0\/0 interface but connect on e1 to e\/1 on your router otherwise it will not ping.\u0026nbsp;\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nEnjoy.\u0026nbsp;\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/7511315379854170236\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2016\/12\/ios-xr-gns3-qemu.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/7511315379854170236"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/7511315379854170236"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2016\/12\/ios-xr-gns3-qemu.html","title":"IOS XR GNS3 QEMU"}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"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":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-5701542861118084934"},"published":{"$t":"2016-12-01T12:37:00.003+05:45"},"updated":{"$t":"2016-12-01T12:38:51.293+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"cisco"},{"scheme":"http://www.blogger.com/atom/ns#","term":"linux"},{"scheme":"http://www.blogger.com/atom/ns#","term":"network"}],"title":{"type":"text","$t":"Unit vpnagentd service not loaded."},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\nSomebody ask me to run Cisco EPIC VPN lab test provide by the Cisco. I just try it done but Anyconnect client doesn't seems to work on ubuntu system. The error message was\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"https:\/\/1.bp.blogspot.com\/-kg_GRPZRPko\/WD_GpULUbII\/AAAAAAAAA2g\/ueYmYQ_oWFANmbdsMCSJS2920jgnLganwCLcB\/s1600\/AnyConnect.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"100\" src=\"https:\/\/1.bp.blogspot.com\/-kg_GRPZRPko\/WD_GpULUbII\/AAAAAAAAA2g\/ueYmYQ_oWFANmbdsMCSJS2920jgnLganwCLcB\/s640\/AnyConnect.png\" width=\"640\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cbr \/\u003E\n\u003Cdiv\u003E\nHow to resolved the issue??\u0026nbsp;\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\nFirst of all install the following packages.\u003C\/div\u003E\n\u003Cblockquote class=\"tr_bq\"\u003E\n\u003Cbr \/\u003E\nsudo apt-get install lib32z1 lib32ncurses5\u003C\/blockquote\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\nThen try to install the AnyConnect client, if its still show the same error message. Used below command....\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cblockquote class=\"tr_bq\"\u003E\nsudo apt-get install network-manager-openconnect\u003C\/blockquote\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\nReload the changes using this command....\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cblockquote class=\"tr_bq\"\u003E\nsudo systemctl daemon-reload\u003C\/blockquote\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\nNow AnyConnect should be installed.\u0026nbsp;\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"https:\/\/4.bp.blogspot.com\/-4L79oQHLits\/WD_IBV2-MwI\/AAAAAAAAA2o\/jlE61ZUYC68A48eSeT2VOrwgtCesNgC2QCLcB\/s1600\/anyconnect-install.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"124\" src=\"https:\/\/4.bp.blogspot.com\/-4L79oQHLits\/WD_IBV2-MwI\/AAAAAAAAA2o\/jlE61ZUYC68A48eSeT2VOrwgtCesNgC2QCLcB\/s640\/anyconnect-install.png\" width=\"640\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/5701542861118084934\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2016\/12\/unit-vpnagentd-service-not-loaded.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/5701542861118084934"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/5701542861118084934"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2016\/12\/unit-vpnagentd-service-not-loaded.html","title":"Unit vpnagentd service not loaded."}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"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":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-349219835218781849"},"published":{"$t":"2016-09-04T17:31:00.003+05:45"},"updated":{"$t":"2016-09-15T21:12:36.596+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"linux"},{"scheme":"http://www.blogger.com/atom/ns#","term":"network"}],"title":{"type":"text","$t":"Perl Can't Locate in @inc"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\nRecently I try to install \u0026nbsp;SmokePing (tar ball) on Centos 7, for my company to check Network latency, but \u0026nbsp;\u003Ca href=\"http:\/\/www.jpudasaini.com.np\/2015\/04\/perl-cant-locate-module-in-inc_24.html\" target=\"_blank\"\u003Esame \u003C\/a\u003Eerror re-occur.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003EMultiple Errors:\u003C\/b\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"https:\/\/1.bp.blogspot.com\/-zhawYwgc5m0\/V8wI7M8kP-I\/AAAAAAAAA2E\/mjU7Ojuqp4MR2iNU1p1kcH899GB4Ddh5ACLcB\/s1600\/perl.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"424\" src=\"https:\/\/1.bp.blogspot.com\/-zhawYwgc5m0\/V8wI7M8kP-I\/AAAAAAAAA2E\/mjU7Ojuqp4MR2iNU1p1kcH899GB4Ddh5ACLcB\/s640\/perl.png\" width=\"640\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\nThen I search a lot, try to install the packages but the problem still appear, then after I found \u0026nbsp;a simple solution.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003ESolution:\u003C\/b\u003E\u003Cbr \/\u003E\n\u003Cb\u003E\u003Cbr \/\u003E\u003C\/b\u003E\n# perl -MCPAN -eshell\u003Cbr \/\u003E\nTerminal does not support AddHistory.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\ncpan shell -- CPAN exploration and modules installation (v1.9800)\u003Cbr \/\u003E\nEnter 'h' for help.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\ncpan[1]\u0026gt; install Net::OpenSSH\u003Cbr \/\u003E\nReading '\/root\/.cpan\/Metadata'\u003Cbr \/\u003E\n\u0026nbsp; Database was generated on Sat, 03 Sep 2016 21:53:30 GMT\u003Cbr \/\u003E\nRunning install for module 'Net::OpenSSH'\u003Cbr \/\u003E\nRunning make for S\/SA\/SALVA\/Net-OpenSSH-0.73.tar.gz\u003Cbr \/\u003E\nFetching with LWP:\u003Cbr \/\u003E\nhttp:\/\/cpan.communilink.net\/authors\/id\/S\/SA\/SALVA\/Net-OpenSSH-0.73.tar.gz\u003Cbr \/\u003E\nFetching with LWP:\u003Cbr \/\u003E\nhttp:\/\/cpan.communilink.net\/authors\/id\/S\/SA\/SALVA\/CHECKSUMS\u003Cbr \/\u003E\nChecksum for \/root\/.cpan\/sources\/authors\/id\/S\/SA\/SALVA\/Net-OpenSSH-0.73.tar.gz ok\u003Cbr \/\u003E\nScanning cache \/root\/.cpan\/build for sizes\u003Cbr \/\u003E\n............................................................................DONE\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026nbsp; CPAN.pm: Building S\/SA\/SALVA\/Net-OpenSSH-0.73.tar.gz\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nChecking if your kit is complete...\u003Cbr \/\u003E\nLooks good\u003Cbr \/\u003E\nWriting Makefile for Net::OpenSSH\u003Cbr \/\u003E\nCould not read metadata file. Falling back to other methods to determine prerequisites\u003Cbr \/\u003E\ncp lib\/Net\/OpenSSH\/ConnectionCache.pm blib\/lib\/Net\/OpenSSH\/ConnectionCache.pm\u003Cbr \/\u003E\ncp lib\/Net\/OpenSSH\/ShellQuoter\/fish.pm blib\/lib\/Net\/OpenSSH\/ShellQuoter\/fish.pm\u003Cbr \/\u003E\ncp lib\/Net\/OpenSSH\/ShellQuoter.pm blib\/lib\/Net\/OpenSSH\/ShellQuoter.pm\u003Cbr \/\u003E\ncp lib\/Net\/OpenSSH\/ShellQuoter\/POSIX.pm blib\/lib\/Net\/OpenSSH\/ShellQuoter\/POSIX.pm\u003Cbr \/\u003E\ncp lib\/Net\/OpenSSH\/ModuleLoader.pm blib\/lib\/Net\/OpenSSH\/ModuleLoader.pm\u003Cbr \/\u003E\ncp lib\/Net\/OpenSSH\/ShellQuoter\/Chain.pm blib\/lib\/Net\/OpenSSH\/ShellQuoter\/Chain.pm\u003Cbr \/\u003E\ncp lib\/Net\/OpenSSH\/SSH.pm blib\/lib\/Net\/OpenSSH\/SSH.pm\u003Cbr \/\u003E\ncp lib\/Net\/OpenSSH\/Constants.pm blib\/lib\/Net\/OpenSSH\/Constants.pm\u003Cbr \/\u003E\ncp lib\/Net\/OpenSSH\/ShellQuoter\/MSWin.pm blib\/lib\/Net\/OpenSSH\/ShellQuoter\/MSWin.pm\u003Cbr \/\u003E\ncp lib\/Net\/OpenSSH\/OSTracer.pm blib\/lib\/Net\/OpenSSH\/OSTracer.pm\u003Cbr \/\u003E\ncp lib\/Net\/OpenSSH.pm blib\/lib\/Net\/OpenSSH.pm\u003Cbr \/\u003E\ncp lib\/Net\/OpenSSH\/ShellQuoter\/MSCmd.pm blib\/lib\/Net\/OpenSSH\/ShellQuoter\/MSCmd.pm\u003Cbr \/\u003E\ncp lib\/Net\/OpenSSH\/ShellQuoter\/csh.pm blib\/lib\/Net\/OpenSSH\/ShellQuoter\/csh.pm\u003Cbr \/\u003E\ncp lib\/Net\/OpenSSH\/ObjectRemote.pm blib\/lib\/Net\/OpenSSH\/ObjectRemote.pm\u003Cbr \/\u003E\nManifying blib\/man3\/Net::OpenSSH::SSH.3pm\u003Cbr \/\u003E\nManifying blib\/man3\/Net::OpenSSH::Constants.3pm\u003Cbr \/\u003E\nManifying blib\/man3\/Net::OpenSSH::ShellQuoter::MSWin.3pm\u003Cbr \/\u003E\nManifying blib\/man3\/Net::OpenSSH::ConnectionCache.3pm\u003Cbr \/\u003E\nManifying blib\/man3\/Net::OpenSSH::ShellQuoter::MSCmd.3pm\u003Cbr \/\u003E\nManifying blib\/man3\/Net::OpenSSH.3pm\u003Cbr \/\u003E\nManifying blib\/man3\/Net::OpenSSH::OSTracer.3pm\u003Cbr \/\u003E\n\u0026nbsp; SALVA\/Net-OpenSSH-0.73.tar.gz\u003Cbr \/\u003E\n\u0026nbsp; \/usr\/bin\/make -- OK\u003Cbr \/\u003E\n'YAML' not installed, will not store persistent state\u003Cbr \/\u003E\nRunning make test\u003Cbr \/\u003E\nPERL_DL_NONLAZY=1 \/usr\/bin\/perl \"-MExtUtils::Command::MM\" \"-e\" \"test_harness(0, 'blib\/lib', 'blib\/arch')\" t\/*.t\u003Cbr \/\u003E\nt\/1_run.t .... #\u003Cbr \/\u003E\n# SSH client found: OpenSSH_6.6.1p1, OpenSSL 1.0.1e-fips 11 Feb 2013.\u003Cbr \/\u003E\n# Trying to connect to localhost, timeout is 15s.\u003Cbr \/\u003E\nWarning: Permanently added 'localhost' (ECDSA) to the list of known hosts.\u003Cbr \/\u003E\nroot@localhost's password:\u003Cbr \/\u003E\nt\/1_run.t .... ok \u0026nbsp; \u003Cbr \/\u003E\nt\/quoting.t .. # unable to exec csh -c echo good\u003Cbr \/\u003E\n# unable to exec tcsh -c echo good\u003Cbr \/\u003E\n# unable to exec ksh -c echo good\u003Cbr \/\u003E\n# unable to exec dash -c echo good\u003Cbr \/\u003E\n# unable to exec ash -c echo good\u003Cbr \/\u003E\n# unable to exec pdksh -c echo good\u003Cbr \/\u003E\n# unable to exec mksh -c echo good\u003Cbr \/\u003E\n# unable to exec zsh -c echo good\u003Cbr \/\u003E\n# unable to exec fish -c echo good\u003Cbr \/\u003E\n# running tests for shells sh bash\u003Cbr \/\u003E\nt\/quoting.t .. ok \u0026nbsp; \u0026nbsp; \u003Cbr \/\u003E\nt\/uri.t ...... ok \u0026nbsp; \u003Cbr \/\u003E\nAll tests successful.\u003Cbr \/\u003E\nFiles=3, Tests=471, 16 wallclock secs ( 0.17 usr \u0026nbsp;0.01 sys + \u0026nbsp;1.63 cusr \u0026nbsp;1.06 csys = \u0026nbsp;2.87 CPU)\u003Cbr \/\u003E\nResult: PASS\u003Cbr \/\u003E\n\u0026nbsp; SALVA\/Net-OpenSSH-0.73.tar.gz\u003Cbr \/\u003E\n\u0026nbsp; \/usr\/bin\/make test -- OK\u003Cbr \/\u003E\nRunning make install\u003Cbr \/\u003E\nInstalling \/usr\/local\/share\/perl5\/Net\/OpenSSH.pm\u003Cbr \/\u003E\nInstalling \/usr\/local\/share\/perl5\/Net\/OpenSSH\/ConnectionCache.pm\u003Cbr \/\u003E\nInstalling \/usr\/local\/share\/perl5\/Net\/OpenSSH\/ShellQuoter.pm\u003Cbr \/\u003E\nInstalling \/usr\/local\/share\/perl5\/Net\/OpenSSH\/ModuleLoader.pm\u003Cbr \/\u003E\nInstalling \/usr\/local\/share\/perl5\/Net\/OpenSSH\/SSH.pm\u003Cbr \/\u003E\nInstalling \/usr\/local\/share\/perl5\/Net\/OpenSSH\/Constants.pm\u003Cbr \/\u003E\nInstalling \/usr\/local\/share\/perl5\/Net\/OpenSSH\/OSTracer.pm\u003Cbr \/\u003E\nInstalling \/usr\/local\/share\/perl5\/Net\/OpenSSH\/ObjectRemote.pm\u003Cbr \/\u003E\nInstalling \/usr\/local\/share\/perl5\/Net\/OpenSSH\/ShellQuoter\/fish.pm\u003Cbr \/\u003E\nInstalling \/usr\/local\/share\/perl5\/Net\/OpenSSH\/ShellQuoter\/POSIX.pm\u003Cbr \/\u003E\nInstalling \/usr\/local\/share\/perl5\/Net\/OpenSSH\/ShellQuoter\/Chain.pm\u003Cbr \/\u003E\nInstalling \/usr\/local\/share\/perl5\/Net\/OpenSSH\/ShellQuoter\/MSWin.pm\u003Cbr \/\u003E\nInstalling \/usr\/local\/share\/perl5\/Net\/OpenSSH\/ShellQuoter\/MSCmd.pm\u003Cbr \/\u003E\nInstalling \/usr\/local\/share\/perl5\/Net\/OpenSSH\/ShellQuoter\/csh.pm\u003Cbr \/\u003E\nInstalling \/usr\/local\/share\/man\/man3\/Net::OpenSSH::SSH.3pm\u003Cbr \/\u003E\nInstalling \/usr\/local\/share\/man\/man3\/Net::OpenSSH::Constants.3pm\u003Cbr \/\u003E\nInstalling \/usr\/local\/share\/man\/man3\/Net::OpenSSH::ShellQuoter::MSWin.3pm\u003Cbr \/\u003E\nInstalling \/usr\/local\/share\/man\/man3\/Net::OpenSSH::ConnectionCache.3pm\u003Cbr \/\u003E\nInstalling \/usr\/local\/share\/man\/man3\/Net::OpenSSH::ShellQuoter::MSCmd.3pm\u003Cbr \/\u003E\nInstalling \/usr\/local\/share\/man\/man3\/Net::OpenSSH.3pm\u003Cbr \/\u003E\nInstalling \/usr\/local\/share\/man\/man3\/Net::OpenSSH::OSTracer.3pm\u003Cbr \/\u003E\nAppending installation info to \/usr\/lib64\/perl5\/perllocal.pod\u003Cbr \/\u003E\n\u0026nbsp; SALVA\/Net-OpenSSH-0.73.tar.gz\u003Cbr \/\u003E\n\u0026nbsp; \/usr\/bin\/make install \u0026nbsp;-- OK\u003Cbr \/\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/349219835218781849\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2016\/09\/perl-cant-locate-in-inc.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/349219835218781849"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/349219835218781849"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2016\/09\/perl-cant-locate-in-inc.html","title":"Perl Can't Locate in @inc"}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"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":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-4687700024435106423"},"published":{"$t":"2016-05-26T12:49:00.001+05:45"},"updated":{"$t":"2016-05-26T12:51:43.999+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"linux"}],"title":{"type":"text","$t":"No Matching Host Key Type Found. Their Offer: ssh-rsa"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\nAfter upgrading the Laptop OS when I try to login to my old machine I got this error message....\u003Cbr \/\u003E\n\u003Cbr \/\u003E\njay@jay:~$ ssh -p 2222 jay@jpudasaini.com.np\u003Cbr \/\u003E\nUnable to negotiate with 192.168.156.101 port 2222: no matching host key type found. Their offer: ssh-dss\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nI can't access the system, here is the solution\u003Cbr \/\u003E\n\u003Cbr \/\u003E\njay@jay:~$ ssh -oHostKeyAlgorithms=+ssh-dss -p 2222 jay@jpudasaini.com.npThe authenticity of host '[jpudasaini.com.np]:2222 ([192.168.156.101]:2222)' can't be established.\u003Cbr \/\u003E\nDSA key fingerprint is SHA256:J#$\/zFpzr05gdfrshufHHOQvss6NQcEpPMgKlibTc.\u003Cbr \/\u003E\nAre you sure you want to continue connecting (yes\/no)? yes\u003Cbr \/\u003E\nWarning: Permanently added '[jpudasaini.com.np]:2222,[192.168.156.101]:2222' (DSA) to the list of known hosts.\u003Cbr \/\u003E\nPassword:\u003Cbr \/\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\nNow Just type the password\u0026nbsp;\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/4687700024435106423\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2016\/05\/no-matching-host-key-type-found-their.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/4687700024435106423"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/4687700024435106423"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2016\/05\/no-matching-host-key-type-found-their.html","title":"No Matching Host Key Type Found. Their Offer: ssh-rsa"}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-309122959894142921"},"published":{"$t":"2016-03-21T12:24:00.000+05:45"},"updated":{"$t":"2016-03-21T12:34:36.915+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"linux"},{"scheme":"http://www.blogger.com/atom/ns#","term":"network"},{"scheme":"http://www.blogger.com/atom/ns#","term":"windows"}],"title":{"type":"text","$t":"nslookup Command"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\nA Network Administrator command\u0026nbsp; which help diagnosis DNS related issue. However to understand this,\u0026nbsp; you should better to know how DNS works.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nHow to troubleshoot DNS related issue.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n1. \u003Cb\u003ENSLOOKUP example display \"A Record\" (IP Adress) of the domain\u003C\/b\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003C\/div\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"https:\/\/3.bp.blogspot.com\/-CBv9y7SMD8g\/Vu-Yw1BpytI\/AAAAAAAAA1o\/gA27hoP6Hn09Fj1pOMHRojIFZ_MLxD8Iw\/s1600\/mx-record.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"126\" src=\"https:\/\/3.bp.blogspot.com\/-CBv9y7SMD8g\/Vu-Yw1BpytI\/AAAAAAAAA1o\/gA27hoP6Hn09Fj1pOMHRojIFZ_MLxD8Iw\/s400\/mx-record.png\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nC:\\Users\\jpudasaini\u0026gt;nslookup \u003Ca href=\"http:\/\/jpudasaini.com.np\/\" rel=\"noreferrer\" target=\"_blank\"\u003Ejpudasaini.com.np\u003C\/a\u003E 8.8.8.8\u003Cbr \/\u003E\nServer:\u0026nbsp; google-public-dns-a.google.com\u003Cbr \/\u003E\nAddress:\u0026nbsp; 8.8.8.8\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nNon-authoritative answer:\u003Cbr \/\u003E\nName:\u0026nbsp; \u0026nbsp; \u003Ca href=\"http:\/\/jpudasaini.com.np\/\" rel=\"noreferrer\" target=\"_blank\"\u003Ejpudasaini.com.np\u003C\/a\u003E\u003Cbr \/\u003E\nAddress:\u0026nbsp; 216.239.32.21\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nA Non-Authoritative Answer is a response from Cache. A DNS server is\u003Cbr \/\u003E\nauthoritative for zones actually holds it.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThe above output shows \"A Records\" (IP Adress) of the domain\u003Cbr \/\u003E\n\"\u003Ca href=\"http:\/\/jpudasaini.com.np\/\" rel=\"noreferrer\" target=\"_blank\"\u003Ejpudasaini.com.np\u003C\/a\u003E\". Which is actually query to the public Google DNS. If\u003Cbr \/\u003E\nyou don't put DNS after the domain, it will used your default DNS, in my\u003Cbr \/\u003E\ncase I have used public DNS.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n2. \u003Cb\u003EMX Record using -query=mx\u003C\/b\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nMX (Mail Exchange) record maps for the specific domain name to verify mail\u003Cbr \/\u003E\nexchaing servers on that domain.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nC:\\Users\\jpudasaini\u0026gt;nslookup -query=mx gmail.com 8.8.8.8\u003Cbr \/\u003E\nServer:\u0026nbsp; google-public-dns-a.google.com\u003Cbr \/\u003E\nAddress:\u0026nbsp; 8.8.8.8\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nNon-authoritative answer:\u003Cbr \/\u003E\ngmail.com\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;MX preference = 40, mail exchanger =alt4.gmail-smtp-in.l.google\u003Cbr \/\u003E\n.com\u003Cbr \/\u003E\ngmail.com\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;MX preference = 20, mail exchanger =alt2.gmail-smtp-in.l.google\u003Cbr \/\u003E\n.com\u003Cbr \/\u003E\ngmail.com\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;MX preference = 10, mail exchanger =alt1.gmail-smtp-in.l.google\u003Cbr \/\u003E\n.com\u003Cbr \/\u003E\ngmail.com\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;MX preference = 30, mail exchanger =alt3.gmail-smtp-in.l.google\u003Cbr \/\u003E\n.com\u003Cbr \/\u003E\ngmail.com\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;MX preference = 5, mail exchanger =gmail-smtp-in.l.google.com\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nFrom the above example we can say that\u0026nbsp; 4 MX records used for gmail\u003Cbr \/\u003E\ndomain, the number associat with mx reference the preference of mail\u003Cbr \/\u003E\nserver. Lower the number, higher the preference. So\u003Cbr \/\u003E\ngmail-smtp-in.l.google.com is the first server which received the mail at\u003Cbr \/\u003E\nfirst.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003E\n3. NS Record using -query=ns\u003C\/b\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nNS (Name Server) records maps a domain to a list of DNS servers\u003Cbr \/\u003E\nauthoritative for that domain. Here is example of name server which are\u003Cbr \/\u003E\nassociated with \u003Ca href=\"http:\/\/jpudasaini.com.np\/\" rel=\"noreferrer\" target=\"_blank\"\u003Ejpudasaini.com.np\u003C\/a\u003E doamain.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nC:\\Users\\jpudasaini\u0026gt;nslookup -query=ns \u003Ca href=\"http:\/\/jpudasaini.com.np\/\" rel=\"noreferrer\" target=\"_blank\"\u003Ejpudasaini.com.np\u003C\/a\u003E 8.8.8.8\u003Cbr \/\u003E\nServer:\u0026nbsp; google-public-dns-a.google.com\u003Cbr \/\u003E\nAddress:\u0026nbsp; 8.8.8.8\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nNon-authoritative answer:\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/jpudasaini.com.np\/\" rel=\"noreferrer\" target=\"_blank\"\u003Ejpudasaini.com.np\u003C\/a\u003E\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;nameserver = ns4.afraid.org\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/jpudasaini.com.np\/\" rel=\"noreferrer\" target=\"_blank\"\u003Ejpudasaini.com.np\u003C\/a\u003E\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;nameserver = ns2.afraid.org\u003Cbr \/\u003E\n\u003Ca href=\"http:\/\/jpudasaini.com.np\/\" rel=\"noreferrer\" target=\"_blank\"\u003Ejpudasaini.com.np\u003C\/a\u003E\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;nameserver = ns1.afraid.org\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003E4. SOA Record using -query=soa\u003C\/b\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003E\u0026nbsp;\u003C\/b\u003EC:\\Users\\jpudasaini\u0026gt;nslookup -query=soa jpudasaini.com.np 8.8.8.8\u003Cbr \/\u003E\nServer:\u0026nbsp; google-public-dns-a.google.com\u003Cbr \/\u003E\nAddress:\u0026nbsp; 8.8.8.8\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nNon-authoritative answer:\u003Cbr \/\u003E\njpudasaini.com.np\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; primary name server = ns1.afraid.org\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; responsible mail addr = dnsadmin.afraid.org\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; serial\u0026nbsp; = 1511030001\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; refresh = 86400 (1 day)\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; retry\u0026nbsp;\u0026nbsp; = 7200 (2 hours)\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; expire\u0026nbsp; = 2419200 (28 days)\u003Cbr \/\u003E\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; default TTL = 3600 (1 hour)\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nSOA record (start of authority) which provides the authoritative\u003Cbr \/\u003E\ninformation, as well as e-mail address, serial no of the respective\u003Cbr \/\u003E\ndomain.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003E5. Reserve DNS lookup\u003C\/b\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThe reverse DNS look-up using IP Adress as argument to nslookup\u003Cbr \/\u003E\nC:\\Users\\jpudasaini\u0026gt;nslookup 216.239.32.21 8.8.8.8\u003Cbr \/\u003E\nServer:\u0026nbsp; google-public-dns-a.google.com\u003Cbr \/\u003E\nAddress:\u0026nbsp; 8.8.8.8\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nName:\u0026nbsp; \u0026nbsp; any-in-2015.1e100.net\u003Cbr \/\u003E\nAddress:\u0026nbsp; 216.239.32.21\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003E6. Using Specific DNS Server\u003C\/b\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nMake query using particular name server instead of using default DNS server.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nC:\\Users\\jpudasaini\u0026gt;nslookup \u003Ca href=\"http:\/\/jpudasaini.com.np\/\" rel=\"noreferrer\" target=\"_blank\"\u003Ejpudasaini.com.np\u003C\/a\u003E ns1.afraid.org\u003Cbr \/\u003E\nServer:\u0026nbsp; UnKnown\u003Cbr \/\u003E\nAddress:\u0026nbsp; 50.23.197.95\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nName:\u0026nbsp; \u0026nbsp; \u003Ca href=\"http:\/\/jpudasaini.com.np\/\" rel=\"noreferrer\" target=\"_blank\"\u003Ejpudasaini.com.np\u003C\/a\u003E\u003Cbr \/\u003E\nAddress:\u0026nbsp; 216.239.32.21\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/309122959894142921\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2016\/03\/nslookup-command.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/309122959894142921"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/309122959894142921"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2016\/03\/nslookup-command.html","title":"nslookup Command"}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"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":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-8751842935882788052"},"published":{"$t":"2016-03-08T11:09:00.002+05:45"},"updated":{"$t":"2017-01-08T00:30:50.202+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"cisco"},{"scheme":"http://www.blogger.com/atom/ns#","term":"EoMPLS"},{"scheme":"http://www.blogger.com/atom/ns#","term":"GNS3"},{"scheme":"http://www.blogger.com/atom/ns#","term":"MPLS"},{"scheme":"http://www.blogger.com/atom/ns#","term":"network"}],"title":{"type":"text","$t":"EoMPLS Configuration"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\nEoMPLS is point to point L2 VPN services which is used to transport all Ethernet frame received on particular Ethernet or VLAN,\u0026nbsp; its also called Any Transport over MPLS(ATOM) means this technology can connect like Frame-Relay, PPP, Ethernet,ATM etc.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nIOS used\u003Cbr \/\u003E\nc7200-adventerprisek9-mz.151-4.M\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nLogical Topology\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"https:\/\/4.bp.blogspot.com\/-Dt6XowwqaR8\/Vt5febC2tII\/AAAAAAAAA1M\/ft9MPc8KUFw\/s1600\/EoMPLS.JPG\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"400\" src=\"https:\/\/4.bp.blogspot.com\/-Dt6XowwqaR8\/Vt5febC2tII\/AAAAAAAAA1M\/ft9MPc8KUFw\/s400\/EoMPLS.JPG\" width=\"315\" \/\u003E\u0026nbsp;\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nMake sure MPLS with IGP\u0026nbsp; is confugure as shown in a diagram. I'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. \u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nConfig of PE1\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Ci\u003EPE1#sh run\u003Cbr \/\u003EBuilding configuration...\u003Cbr \/\u003E\u003Cbr \/\u003ECurrent configuration : 1337 bytes\u003Cbr \/\u003E!\u003Cbr \/\u003Eupgrade fpd auto\u003Cbr \/\u003Eversion 15.1\u003Cbr \/\u003Eservice timestamps debug datetime msec\u003Cbr \/\u003Eservice timestamps log datetime msec\u003Cbr \/\u003Eno service password-encryption\u003Cbr \/\u003E!\u003Cbr \/\u003Ehostname PE1\u003Cbr \/\u003E!\u003C\/i\u003E\u003Ci\u003E\u003Cbr \/\u003Eip cef\u003Cbr \/\u003E\u003Cbr \/\u003Einterface Loopback0\u003Cbr \/\u003E\u0026nbsp;ip address 2.2.2.2 255.255.255.255\u003Cbr \/\u003E\u0026nbsp;ip ospf network point-to-point\u003Cbr \/\u003E\u0026nbsp;ip ospf 1 area 0\u003Cbr \/\u003E!\u003Cbr \/\u003Einterface FastEthernet0\/0\u003Cbr \/\u003E\u0026nbsp;ip address 192.168.12.2 255.255.255.252\u003Cbr \/\u003E\u0026nbsp;ip ospf 1 area 0\u003Cbr \/\u003E\u0026nbsp;duplex half\u003Cbr \/\u003E\u0026nbsp;mpls ip\u003Cbr \/\u003E!\u003Cbr \/\u003Einterface FastEthernet1\/0\u003Cbr \/\u003E\u0026nbsp;no ip address\u003Cbr \/\u003E\u0026nbsp;duplex auto\u003Cbr \/\u003E\u0026nbsp;speed auto\u003Cbr \/\u003E\u0026nbsp;xconnect 3.3.3.3 15 encapsulation mpls\u003Cbr \/\u003E!\u003C\/i\u003E\u003Ci\u003E\u003Cbr \/\u003Erouter ospf 1\u003C\/i\u003E\u003Ci\u003E\u003Cbr \/\u003E\u003C\/i\u003E\u003Ci\u003E\u003Cbr \/\u003Empls ldp router-id Loopback0 force\u003C\/i\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Ci\u003E======================================\u003C\/i\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Ci\u003EPE1#sh mpls l2transport vc\u003Cbr \/\u003E\u003Cbr \/\u003ELocal intf\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; Local circuit\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; Dest address\u0026nbsp;\u0026nbsp;\u0026nbsp; VC ID\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; Status\u003Cbr \/\u003E-------------\u0026nbsp; -------------------------- --------------- ---------- ----------\u003Cbr \/\u003EFa1\/0\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; Ethernet\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; 3.3.3.3\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; 15\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; \u003Cspan style=\"color: red;\"\u003EDOWN\u003C\/span\u003E\u003Cbr \/\u003EPE1#\u003Cbr \/\u003E\u003Cspan style=\"color: #e06666;\"\u003E*Mar\u0026nbsp; 8 07:49:39.887: %LDP-5-NBRCHG: LDP Neighbor 3.3.3.3:0 (2) is UP\u003C\/span\u003E\u003C\/i\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Ci\u003E\u003Cspan style=\"color: #e06666;\"\u003E\u0026nbsp;\u003C\/span\u003E\u003Cbr \/\u003EPE1#sh mpls l2transport vc\u003Cbr \/\u003E\u003Cbr \/\u003ELocal intf\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; Local circuit\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; Dest address\u0026nbsp;\u0026nbsp;\u0026nbsp; VC ID\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; Status\u003Cbr \/\u003E-------------\u0026nbsp; -------------------------- --------------- ---------- ----------\u003Cbr \/\u003EFa1\/0\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; Ethernet\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; 3.3.3.3\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; 15\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; UP\u003Cbr \/\u003E\u003Cbr \/\u003E\u003Cbr \/\u003E\u003Cbr \/\u003EPE1#sh mpls l2transport vc detail\u003Cbr \/\u003ELocal interface: Fa1\/0 up, line protocol up, Ethernet up\u003Cbr \/\u003E\u0026nbsp; Destination address: 3.3.3.3, VC ID: 15, VC status: up\u003Cbr \/\u003E\u003Cbr \/\u003Epc1\u003Cbr \/\u003E\u003Cbr \/\u003EPC1\u0026gt; ping 10.10.10.11\u003Cbr \/\u003E84 bytes from 10.10.10.11 icmp_seq=1 ttl=64 time=39.002 ms\u003Cbr \/\u003E84 bytes from 10.10.10.11 icmp_seq=2 ttl=64 time=39.002 ms\u003Cbr \/\u003E84 bytes from 10.10.10.11 icmp_seq=3 ttl=64 time=39.002 ms\u003Cbr \/\u003E84 bytes from 10.10.10.11 icmp_seq=4 ttl=64 time=40.002 ms\u003Cbr \/\u003E84 bytes from 10.10.10.11 icmp_seq=5 ttl=64 time=31.001 ms\u003Cbr \/\u003E\u003Cbr \/\u003E\u003Cspan style=\"color: #990000;\"\u003EPC1\u0026gt; sh ip\u003C\/span\u003E\u003Cbr \/\u003E\u003Cbr \/\u003ENAME\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; : PC1[1]\u003Cbr \/\u003EIP\/MASK\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; : 10.10.10.10\/24\u003Cbr \/\u003E===============================================================\u003Cbr \/\u003E\u003Cbr \/\u003Epc2\u003Cbr \/\u003E====\u003Cbr \/\u003EPC2\u0026gt; ping 10.10.10.10\u003Cbr \/\u003E84 bytes from 10.10.10.10 icmp_seq=1 ttl=64 time=40.002 ms\u003Cbr \/\u003E84 bytes from 10.10.10.10 icmp_seq=2 ttl=64 time=40.002 ms\u003Cbr \/\u003E84 bytes from 10.10.10.10 icmp_seq=3 ttl=64 time=41.002 ms\u003Cbr \/\u003E84 bytes from 10.10.10.10 icmp_seq=4 ttl=64 time=59.003 ms\u003Cbr \/\u003E84 bytes from 10.10.10.10 icmp_seq=5 ttl=64 time=41.003 ms\u003Cbr \/\u003E\u003Cbr \/\u003E\u003Cspan style=\"color: #990000;\"\u003EPC2\u0026gt; sh ip\u003C\/span\u003E\u003Cbr \/\u003E\u003Cbr \/\u003ENAME\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; : PC2[1]\u003Cbr \/\u003EIP\/MASK\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; : 10.10.10.11\/24\u003Cbr \/\u003E\u003Cbr \/\u003E=================================================================\u003Cbr \/\u003E\u003Cbr \/\u003EPE1#sh mpls ldp neighbor all\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; Peer LDP Ident: 1.1.1.1:0; Local LDP Ident 2.2.2.2:0\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; TCP connection: 1.1.1.1.646 - 2.2.2.2.47031\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; State: Oper; Msgs sent\/rcvd: 36\/35; Downstream\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; Up time: 00:24:20\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; LDP discovery sources:\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; FastEthernet0\/0, Src IP addr: 192.168.12.1\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; Addresses bound to peer LDP Ident:\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; 192.168.12.1\u0026nbsp;\u0026nbsp;\u0026nbsp; 1.1.1.1\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; 192.168.13.1\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; Peer LDP Ident: 3.3.3.3:0; Local LDP Ident 2.2.2.2:0\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; TCP connection: 3.3.3.3.61604 - 2.2.2.2.646\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; State: Oper; Msgs sent\/rcvd: 21\/22; Downstream\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; Up time: 00:11:25\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; LDP discovery sources:\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; Targeted Hello 2.2.2.2 -\u0026gt; 3.3.3.3, active, passive\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; Addresses bound to peer LDP Ident:\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; 3.3.3.3\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; 192.168.13.2\u003C\/i\u003E\u003C\/div\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/8751842935882788052\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2016\/03\/eompls-is-point-to-point-l2-vpn.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/8751842935882788052"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/8751842935882788052"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2016\/03\/eompls-is-point-to-point-l2-vpn.html","title":"EoMPLS Configuration"}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"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":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-4481893397154328560"},"published":{"$t":"2016-03-08T09:43:00.001+05:45"},"updated":{"$t":"2016-03-10T22:11:39.146+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"cisco"},{"scheme":"http://www.blogger.com/atom/ns#","term":"GNS3"},{"scheme":"http://www.blogger.com/atom/ns#","term":"MPLS"}],"title":{"type":"text","$t":"Configuring a Basic MPLS VPN"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\nIt's been a long time I'm away from blogging due to some R\u0026amp;D on the network with Juniper boxes. On this tutorial I'm going to configure very basic MPLS VPN configuration in GNS3. After that we go for EoMPLS configuration.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThis is the logical topology for this tutorial. \u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"https:\/\/4.bp.blogspot.com\/-d5Bjj1eojEc\/Vt5DPjqQiUI\/AAAAAAAAA08\/DIudpqxONrA\/s1600\/mpls-basic.JPG\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"326\" src=\"https:\/\/4.bp.blogspot.com\/-d5Bjj1eojEc\/Vt5DPjqQiUI\/AAAAAAAAA08\/DIudpqxONrA\/s400\/mpls-basic.JPG\" width=\"400\" \/\u003E\u0026nbsp;\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nHere I only post the configuration file from PE other router configuration is almost same. Here is the points should be remember.\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n1. Make sure IGP with MPLS is configure on PE,P, it shouldn't be configure on customer facing interface.\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n2. Make sure all loopback interface is reachable.\u0026nbsp;\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n3. Configure VRF with RD and RT, then applied it on right interface.\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n4. Configure MP-BGP on PE and peer it.\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n5. Make sure to redistribute the CE IGP protocol into the BGP and vice versa.\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nBelow command can be copy paste into your router. Before that make sure you had make change necessary things. \u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cu\u003EConfig from PE1\u003C\/u\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Ci\u003EPE1#sh run\u003Cbr \/\u003EBuilding configuration...\u003Cbr \/\u003E\u003Cbr \/\u003ECurrent configuration : 2126 bytes\u003Cbr \/\u003E!\u003Cbr \/\u003Eversion 12.4\u003Cbr \/\u003Eservice timestamps debug datetime msec\u003Cbr \/\u003Eservice timestamps log datetime msec\u003Cbr \/\u003Eno service password-encryption\u003Cbr \/\u003E!\u003Cbr \/\u003Ehostname PE1\u003Cbr \/\u003E!\u003Cbr \/\u003Eip cef\u003Cbr \/\u003Eip tcp synwait-time 5\u003Cbr \/\u003E!\u003Cbr \/\u003E!\u003Cbr \/\u003E!\u003Cbr \/\u003E!\u003Cbr \/\u003Eip vrf CustA\u003Cbr \/\u003E\u0026nbsp;rd 100:1\u003Cbr \/\u003E\u0026nbsp;route-target export 1:100\u003Cbr \/\u003E\u0026nbsp;route-target import 1:100\u003Cbr \/\u003E!\u003Cbr \/\u003Eno ip domain lookup\u003Cbr \/\u003E!\u003Cbr \/\u003Einterface Loopback0\u003Cbr \/\u003E\u0026nbsp;ip address 2.2.2.2 255.255.255.255\u003Cbr \/\u003E\u0026nbsp;ip ospf network point-to-point\u003Cbr \/\u003E\u0026nbsp;ip ospf 1 area 0\u003Cbr \/\u003E!\u003Cbr \/\u003Einterface FastEthernet0\/0\u003Cbr \/\u003E\u0026nbsp;ip address 192.168.11.2 255.255.255.252\u003Cbr \/\u003E\u0026nbsp;ip ospf 1 area 0\u003Cbr \/\u003E\u0026nbsp;duplex auto\u003Cbr \/\u003E\u0026nbsp;speed auto\u003Cbr \/\u003E\u0026nbsp;mpls ip\u003Cbr \/\u003E!\u003Cbr \/\u003Einterface FastEthernet0\/1\u003Cbr \/\u003E\u0026nbsp;ip vrf forwarding CustA\u003Cbr \/\u003E\u0026nbsp;ip address 192.168.13.1 255.255.255.252\u003Cbr \/\u003E\u0026nbsp;duplex auto\u003Cbr \/\u003E\u0026nbsp;speed auto\u003Cbr \/\u003E!\u003Cbr \/\u003E!\u003Cbr \/\u003Erouter eigrp 1\u003Cbr \/\u003E\u0026nbsp;auto-summary\u003Cbr \/\u003E\u0026nbsp;!\u003Cbr \/\u003E\u0026nbsp;address-family ipv4 vrf CustA\u003Cbr \/\u003E\u0026nbsp;redistribute bgp 1 metric 1500 2000 200 100 15000\u003Cbr \/\u003E\u0026nbsp;network 192.168.13.0\u003Cbr \/\u003E\u0026nbsp;no auto-summary\u003Cbr \/\u003E\u0026nbsp;autonomous-system 100\u003Cbr \/\u003E\u0026nbsp;exit-address-family\u003Cbr \/\u003E!\u003Cbr \/\u003Erouter ospf 1\u003Cbr \/\u003E\u0026nbsp;log-adjacency-changes\u003Cbr \/\u003E!\u003Cbr \/\u003Erouter bgp 1\u003Cbr \/\u003E\u0026nbsp;no synchronization\u003Cbr \/\u003E\u0026nbsp;bgp log-neighbor-changes\u003Cbr \/\u003E\u0026nbsp;neighbor 3.3.3.3 remote-as 1\u003Cbr \/\u003E\u0026nbsp;neighbor 3.3.3.3 update-source Loopback0\u003Cbr \/\u003E\u0026nbsp;no auto-summary\u003Cbr \/\u003E\u0026nbsp;!\u003Cbr \/\u003E\u0026nbsp;address-family vpnv4\u003Cbr \/\u003E\u0026nbsp;neighbor 3.3.3.3 activate\u003Cbr \/\u003E\u0026nbsp;neighbor 3.3.3.3 send-community both\u003Cbr \/\u003E\u0026nbsp;exit-address-family\u003Cbr \/\u003E\u0026nbsp;!\u003Cbr \/\u003E\u0026nbsp;address-family ipv4 vrf CustA\u003Cbr \/\u003E\u0026nbsp;redistribute eigrp 100\u003Cbr \/\u003E\u0026nbsp;no auto-summary\u003Cbr \/\u003E\u0026nbsp;no synchronization\u003Cbr \/\u003E\u0026nbsp;exit-address-family\u003C\/i\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u0026nbsp;=============\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Ci\u003ECE1#ping 192.168.24.2\u003Cbr \/\u003E\u003Cbr \/\u003EType escape sequence to abort.\u003Cbr \/\u003ESending 5, 100-byte ICMP Echos to 192.168.24.2, timeout is 2 seconds:\u003Cbr \/\u003E!!!!!\u003Cbr \/\u003ESuccess rate is 100 percent (5\/5), round-trip min\/avg\/max = 36\/70\/92 ms\u003Cbr \/\u003E\u003Cbr \/\u003ECE1#sh ip route\u003Cbr \/\u003ECodes: C - connected, S - static, R - RIP, M - mobile, B - BGP\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; E1 - OSPF external type 1, E2 - OSPF external type 2\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; ia - IS-IS inter area, * - candidate default, U - per-user static route\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; o - ODR, P - periodic downloaded static route\u003Cbr \/\u003E\u003Cbr \/\u003EGateway of last resort is not set\u003Cbr \/\u003E\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; 192.168.13.0\/30 is subnetted, 1 subnets\u003Cbr \/\u003EC\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; 192.168.13.0 is directly connected, FastEthernet0\/1\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; 192.168.24.0\/30 is subnetted, 1 subnets\u003Cbr \/\u003ED\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; 192.168.24.0 [90\/307200] via 192.168.13.1, 00:50:22, FastEthernet0\/1\u003C\/i\u003E\u003C\/div\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/4481893397154328560\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2016\/03\/configuring-basic-mpls-vpn.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/4481893397154328560"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/4481893397154328560"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2016\/03\/configuring-basic-mpls-vpn.html","title":"Configuring a Basic MPLS VPN"}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"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":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-7712576938230931532"},"published":{"$t":"2015-09-01T18:02:00.001+05:45"},"updated":{"$t":"2015-09-15T17:09:11.193+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"GNS3"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Juniper"},{"scheme":"http://www.blogger.com/atom/ns#","term":"network"}],"title":{"type":"text","$t":"Juniper DHCP Server Configuration"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\nWe already configure our \u003Ca href=\"http:\/\/www.jpudasaini.com.np\/2015\/09\/vsrx-gns3-qemu.html\" target=\"_blank\"\u003EQEMU\u003C\/a\u003E in GNS3 and run our vSRX Router. Now its time to configure DHCP server in our vSRX router. Lets began.\u003Cbr \/\u003E\nLogical Diagram for this tutorial\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/1.bp.blogspot.com\/-798kTWhNlV8\/VffulXnCS8I\/AAAAAAAAAzw\/Z_pgTj8wvgI\/s1600\/dhcp0.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"302\" src=\"http:\/\/1.bp.blogspot.com\/-798kTWhNlV8\/VffulXnCS8I\/AAAAAAAAAzw\/Z_pgTj8wvgI\/s400\/dhcp0.png\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nTo configure DHCP server\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nAssign Lowest and highest IP range\u003Cbr \/\u003E\nroot# set system services dhcp pool 192.168.1.0\/24 address-range low 192.168.1.50 high 192.168.1.200\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nAssign DNS server (in my case I had used Router interface IP)\u003Cbr \/\u003E\nroot# set system services dhcp pool 192.168.1.0\/24 name-server 192.168.1.1\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nAssign IP address of the router\u003Cbr \/\u003E\nroot# set system services dhcp pool 192.168.1.0\/24 router 192.168.1.1\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nAssign the lease time\u003Cbr \/\u003E\nroot# set system services dhcp pool 192.168.1.0\/24 default-lease-time 3600\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/4.bp.blogspot.com\/-10Z2b7lPhMM\/VeWZFgXkdAI\/AAAAAAAAAzM\/PDqlvwrU2DI\/s1600\/dhcp2.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"108\" src=\"http:\/\/4.bp.blogspot.com\/-10Z2b7lPhMM\/VeWZFgXkdAI\/AAAAAAAAAzM\/PDqlvwrU2DI\/s400\/dhcp2.png\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nAssign DHCP as an allowed inbound service for the interface which we are going to enable DHCP.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nroot# set security zones security-zone untrust interfaces ge-0\/0\/1 host-inbound-traffic system-services dhcp\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nAssign IP address to the client faced interface.\u003Cbr \/\u003E\nroot# set interfaces ge-0\/0\/1 unit 0 family inet address 192.168.1.1\/24\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/1.bp.blogspot.com\/-fBIRa1MoU6E\/VeWY_GZZ4YI\/AAAAAAAAAzE\/qIbzJLn9emw\/s1600\/dhcp3.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"23\" src=\"http:\/\/1.bp.blogspot.com\/-fBIRa1MoU6E\/VeWY_GZZ4YI\/AAAAAAAAAzE\/qIbzJLn9emw\/s400\/dhcp3.png\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nCheck our client get the IP Address from the server.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/2.bp.blogspot.com\/-0F3uLTjn13U\/VeWXEalsxjI\/AAAAAAAAAy4\/e322HSEM9yc\/s1600\/dhcp1.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"348\" src=\"http:\/\/2.bp.blogspot.com\/-0F3uLTjn13U\/VeWXEalsxjI\/AAAAAAAAAy4\/e322HSEM9yc\/s400\/dhcp1.png\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nHow to statically assign IP with fixed MAC address\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nroot#set system service dhcp static-binding 00:50:79:66:68:00 fixed-address 192.168.1.100\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nPC1\u0026gt;show ip\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/4.bp.blogspot.com\/--S1mYw8-ioA\/Vff_D03t4XI\/AAAAAAAAA0A\/EQGtMvjAM1U\/s1600\/static-dhcp.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"306\" src=\"http:\/\/4.bp.blogspot.com\/--S1mYw8-ioA\/Vff_D03t4XI\/AAAAAAAAA0A\/EQGtMvjAM1U\/s400\/static-dhcp.png\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nRequest DHCP IP\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nPC1\u0026gt;dhcp -d\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/4.bp.blogspot.com\/-ljXAZmKawas\/Vff_jkzvUzI\/AAAAAAAAA0I\/Yz-Xm1oNv-g\/s1600\/request-dhcp.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"213\" src=\"http:\/\/4.bp.blogspot.com\/-ljXAZmKawas\/Vff_jkzvUzI\/AAAAAAAAA0I\/Yz-Xm1oNv-g\/s400\/request-dhcp.png\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nEnjoy\u003C\/div\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/7712576938230931532\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2015\/09\/juniper-dhcp-server-configuration.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/7712576938230931532"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/7712576938230931532"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2015\/09\/juniper-dhcp-server-configuration.html","title":"Juniper DHCP Server Configuration"}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"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":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-7933947571935496905"},"published":{"$t":"2015-09-01T17:51:00.001+05:45"},"updated":{"$t":"2016-01-26T13:00:00.882+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"GNS3"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Juniper"}],"title":{"type":"text","$t":"vSRX GNS3 QEMU"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\nIn this tutorial I'm going to run vSRX JunOS in QEMU and configure it as DHCP Server. Lets began with installing vSRX into QEMU.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nI have try vSRX to run into Vbox but never succeeded. So I better to choose QEMU otherwise waste of time.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nIn my case I had used\u0026nbsp;junos-vsrx-12.1X46-D10.2-domestic to mount into QEMU. Search for it.\u003Cbr \/\u003E\nNow we have to convert our .vdi file into .image, for that use following command\u003Cbr \/\u003E\n\u003Cbr \/\u003E\ncd d:\\junos\\\u003Cbr \/\u003E\nc:\\Program Files\\GNS3\\qemu\\\u0026gt;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\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nWe just made our image ready to run into QEMU. Go the GNS3\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nNote: Strongly recommended to use QEMU in linux and enable KVM otherwise it eats up all your CPU and RAM.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n-nographic -smp 2 -enable-kvm\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026gt;edit\u0026gt;preference\u0026gt;choose \"QEMU VMs\"\u003Cbr \/\u003E\nClick on \"New\" Choose \"Default \" Gave Name \"vSRX\" (in my case).\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/2.bp.blogspot.com\/-RaA2TEEqkW4\/VeWR2jaQy1I\/AAAAAAAAAyE\/KJYmdutZ0Ug\/s1600\/vSRX1.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"356\" src=\"http:\/\/2.bp.blogspot.com\/-RaA2TEEqkW4\/VeWR2jaQy1I\/AAAAAAAAAyE\/KJYmdutZ0Ug\/s400\/vSRX1.png\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/1.bp.blogspot.com\/-1oW-I437NII\/VeWR6l-PcyI\/AAAAAAAAAyM\/QurMdJ9APmg\/s1600\/vSRX2.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"355\" src=\"http:\/\/1.bp.blogspot.com\/-1oW-I437NII\/VeWR6l-PcyI\/AAAAAAAAAyM\/QurMdJ9APmg\/s400\/vSRX2.png\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/3.bp.blogspot.com\/-bUK3TbFGuo0\/VeWR_UM0nkI\/AAAAAAAAAyU\/ZUPtZKo0hO0\/s1600\/vSRX3.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"355\" src=\"http:\/\/3.bp.blogspot.com\/-bUK3TbFGuo0\/VeWR_UM0nkI\/AAAAAAAAAyU\/ZUPtZKo0hO0\/s400\/vSRX3.png\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/2.bp.blogspot.com\/-SZ_Quzbg5TY\/VqccwvsAX0I\/AAAAAAAAA0k\/-9pAy5SJFnw\/s1600\/kvm.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"311\" src=\"http:\/\/2.bp.blogspot.com\/-SZ_Quzbg5TY\/VqccwvsAX0I\/AAAAAAAAA0k\/-9pAy5SJFnw\/s400\/kvm.png\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nI'll use following topology to configure DHCP server for the tutorial.\u0026nbsp;\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/3.bp.blogspot.com\/-yhTk7zZ7lvU\/VeWSc7vgLBI\/AAAAAAAAAyk\/aBjhMtrxMx4\/s1600\/vSRX5.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"303\" src=\"http:\/\/3.bp.blogspot.com\/-yhTk7zZ7lvU\/VeWSc7vgLBI\/AAAAAAAAAyk\/aBjhMtrxMx4\/s400\/vSRX5.png\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/3.bp.blogspot.com\/-8me4UFc7P9k\/VeWS1u1w3pI\/AAAAAAAAAys\/2Apzjrs8X_U\/s1600\/vSRX6.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"251\" src=\"http:\/\/3.bp.blogspot.com\/-8me4UFc7P9k\/VeWS1u1w3pI\/AAAAAAAAAys\/2Apzjrs8X_U\/s400\/vSRX6.png\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nNow we ready to move on the next step. Configuration \u003Ca href=\"http:\/\/www.jpudasaini.com.np\/2015\/09\/juniper-dhcp-server-configuration.html\" target=\"_blank\"\u003EDHCP\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/7933947571935496905\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2015\/09\/vsrx-gns3-qemu.html#comment-form","title":"3 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/7933947571935496905"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/7933947571935496905"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2015\/09\/vsrx-gns3-qemu.html","title":"vSRX GNS3 QEMU"}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"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":{"$t":"3"}},{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-3650760543388142"},"published":{"$t":"2015-09-01T14:35:00.000+05:45"},"updated":{"$t":"2015-09-01T14:55:45.424+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"GNS3"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Juniper"},{"scheme":"http://www.blogger.com/atom/ns#","term":"network"}],"title":{"type":"text","$t":"Juniper Message from syslogd"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\nWhile doing some lab test, this weird syslogd message appear every seconds on the console terminal, so it was very difficult to complete the lab.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/1.bp.blogspot.com\/-LmO4Y04TEkk\/VeVlls1sevI\/AAAAAAAAAxs\/ha3f2MzPMzs\/s1600\/junOS-Weird-message.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"276\" src=\"http:\/\/1.bp.blogspot.com\/-LmO4Y04TEkk\/VeVlls1sevI\/AAAAAAAAAxs\/ha3f2MzPMzs\/s400\/junOS-Weird-message.png\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nThis messages are due the following syslog configuration .\u0026nbsp;\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/3.bp.blogspot.com\/-iuRHLNh4-10\/VeVmGFS64jI\/AAAAAAAAAx0\/TpGNRS9paWs\/s1600\/syslog-config.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"290\" src=\"http:\/\/3.bp.blogspot.com\/-iuRHLNh4-10\/VeVmGFS64jI\/AAAAAAAAAx0\/TpGNRS9paWs\/s400\/syslog-config.png\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nSo for now we are going to de-activate it to generating the message\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n#deactivate system syslog user *\u0026nbsp;\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n#commit\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/3650760543388142\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2015\/09\/juniper-message-from-syslogd.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/3650760543388142"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/3650760543388142"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2015\/09\/juniper-message-from-syslogd.html","title":"Juniper Message from syslogd"}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"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":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-1921929738592184538"},"published":{"$t":"2015-07-09T21:55:00.001+05:45"},"updated":{"$t":"2015-07-09T21:56:20.312+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"linux"}],"title":{"type":"text","$t":"The-requested-url-nagioscgi-binstatusmap-cgi-was-not-found-on-this-server"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\nEverything goes well while installing the Nagios 4.0.8 into Ubuntu 10.04 LTS. However Nagios Map section doesn't plotted the maps of the device. Displayed error like this way\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/1.bp.blogspot.com\/-W7D21eT2itY\/VZ6Xnd1C0WI\/AAAAAAAAAxM\/iBCcPOQB1lo\/s1600\/nagios-issue.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"276\" src=\"http:\/\/1.bp.blogspot.com\/-W7D21eT2itY\/VZ6Xnd1C0WI\/AAAAAAAAAxM\/iBCcPOQB1lo\/s400\/nagios-issue.png\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nG for god and G for google, found the solution like \u0026nbsp;\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nInstall the package\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both;\"\u003E\napt-get install libgd2-xpm install libgd2-xpm-dev\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both;\"\u003E\ncd \/home\/jpudasaini\/nagios-4.0.8\/\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both;\"\u003E\nConfigure the package for installation\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both;\"\u003E\n.\/configure -with-gd-lib=\/usr\/local\/lib\/\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both;\"\u003E\nmake cgis\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both;\"\u003E\nThen copy it into the sbin directory\u0026nbsp;\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both;\"\u003E\ncp \/home\/jpudasaini\/nagios-4.0.8\/cgi\/*.cgi \/usr\/local\/nagios\/sbin\/\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both;\"\u003E\nChange the permission for that files.\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both;\"\u003E\nchown nagios:nagios \/usr\/local\/nagios\/sbin\/*.cgi\u003C\/div\u003E\n\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/1921929738592184538\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2015\/07\/the-requested-url-nagioscgi.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/1921929738592184538"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/1921929738592184538"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2015\/07\/the-requested-url-nagioscgi.html","title":"The-requested-url-nagioscgi-binstatusmap-cgi-was-not-found-on-this-server"}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"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":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-5777333406214409664"},"published":{"$t":"2015-05-27T18:25:00.000+05:45"},"updated":{"$t":"2015-05-28T12:17:58.446+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"GNS3"},{"scheme":"http://www.blogger.com/atom/ns#","term":"linux"},{"scheme":"http://www.blogger.com/atom/ns#","term":"network"},{"scheme":"http://www.blogger.com/atom/ns#","term":"VMware"}],"title":{"type":"text","$t":"vSphere Client Displays Empty Inventory"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\nSuddenly my home datacenter \u0026nbsp;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 \u0026nbsp;purpose. So I must recover those host to complete my lab because I almost completed all labs. \u0026nbsp;Thus here is process how to retrieve those lost host from vSphere client in vSphere 6 database.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/1.bp.blogspot.com\/-Dxu7ZJXduF0\/VWW5WiV7XVI\/AAAAAAAAAwI\/sW1TxJH3x20\/s1600\/vsphere-host-disappear1.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"182\" src=\"http:\/\/1.bp.blogspot.com\/-Dxu7ZJXduF0\/VWW5WiV7XVI\/AAAAAAAAAwI\/sW1TxJH3x20\/s400\/vsphere-host-disappear1.png\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cbr \/\u003E\nStep 1:\u003Cbr \/\u003E\nLogin to the vSphere client choose your database from Configuration Tab \u0026gt; right click database and choose \"Browse Dababase\".\u003Cbr \/\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/4.bp.blogspot.com\/-lsuIxdqVjWQ\/VWW31ts7xPI\/AAAAAAAAAv8\/GDEN2igaihA\/s1600\/vsphere-host-disappear0.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"237\" src=\"http:\/\/4.bp.blogspot.com\/-lsuIxdqVjWQ\/VWW31ts7xPI\/AAAAAAAAAv8\/GDEN2igaihA\/s400\/vsphere-host-disappear0.png\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nStep 2: Now next window open the database page. From here open your host folder then choose \".vmx\" right click and choose \"Add to inventory\" then follow the onscreen instruction.\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/4.bp.blogspot.com\/-naBeh3r52O0\/VWW5pHiMJXI\/AAAAAAAAAwQ\/YGknSqA5u2g\/s1600\/vsphere-host-disappear2.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"182\" src=\"http:\/\/4.bp.blogspot.com\/-naBeh3r52O0\/VWW5pHiMJXI\/AAAAAAAAAwQ\/YGknSqA5u2g\/s400\/vsphere-host-disappear2.png\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nNext window\u0026nbsp;\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/4.bp.blogspot.com\/-6UMfLMCPEgA\/VWW54M4VGcI\/AAAAAAAAAwc\/9atJo7C-2DM\/s1600\/vsphere-host-disappear3.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"227\" src=\"http:\/\/4.bp.blogspot.com\/-6UMfLMCPEgA\/VWW54M4VGcI\/AAAAAAAAAwc\/9atJo7C-2DM\/s400\/vsphere-host-disappear3.png\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nSelect the database\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/1.bp.blogspot.com\/-E2Q3oI4c3ZA\/VWW6EFe166I\/AAAAAAAAAwg\/EW8K5_cyEVg\/s1600\/vsphere-host-disappear4.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"285\" src=\"http:\/\/1.bp.blogspot.com\/-E2Q3oI4c3ZA\/VWW6EFe166I\/AAAAAAAAAwg\/EW8K5_cyEVg\/s400\/vsphere-host-disappear4.png\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nNext click to finish\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/3.bp.blogspot.com\/-E-hbEEI-raY\/VWW6O3POa3I\/AAAAAAAAAwo\/B5NO-5CqLOU\/s1600\/vsphere-host-disappear5.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"285\" src=\"http:\/\/3.bp.blogspot.com\/-E-hbEEI-raY\/VWW6O3POa3I\/AAAAAAAAAwo\/B5NO-5CqLOU\/s400\/vsphere-host-disappear5.png\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\nNow your server is in the inventory list, you can run the server. In my case its my CentOS 7 server, it will run smoothly.\u0026nbsp;\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"http:\/\/1.bp.blogspot.com\/-jv_iQPM5m0g\/VWW6dOp9D3I\/AAAAAAAAAww\/RBUmsdY4D_k\/s1600\/vsphere-host-disappear6.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"262\" src=\"http:\/\/1.bp.blogspot.com\/-jv_iQPM5m0g\/VWW6dOp9D3I\/AAAAAAAAAww\/RBUmsdY4D_k\/s400\/vsphere-host-disappear6.png\" width=\"400\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv class=\"separator\" style=\"clear: both; text-align: left;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/5777333406214409664\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2015\/05\/vsphere-client-displays-empty-inventory.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/5777333406214409664"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/5777333406214409664"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2015\/05\/vsphere-client-displays-empty-inventory.html","title":"vSphere Client Displays Empty Inventory"}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"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":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-2654073155347511789"},"published":{"$t":"2015-05-27T13:19:00.004+05:45"},"updated":{"$t":"2015-05-27T13:24:10.761+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"linux"}],"title":{"type":"text","$t":"Table Already Exists SQL Server"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\nSomehow I have created or you can say I have imported database into SQL and try to continue installation, but error \"table already exists sql server\" occur then installation has been interrupted. Meanwhile, another error \"SQL=Duplicate entry 'add_user' for key 'PRIMARY':\" also appear. In this case I had deleted those tables and modified dbsetup file.\u003C\/div\u003E\n\u003Cbr \/\u003E\nCREATE TABLE logs (\u003Cbr \/\u003E\n\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; id bigint unsigned NOT NULL AUTO_INCREMENT,\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nto\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nCREATE TABLE logs (\u003Cbr \/\u003E\n\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; id bigint(20) unsigned NOT NULL AUTO_INCREMENT,\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nOn sql I have used this command to delete tables\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nMariaDB [(none)]\u0026gt; use syslog\u003Cbr \/\u003E\nReading table information for completion of table and column names\u003Cbr \/\u003E\nYou can turn off this feature to get a quicker startup with -A\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nDatabase changed\u003Cbr \/\u003E\nMariaDB [syslog]\u0026gt; drop table {YourTableName};\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/2654073155347511789\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2015\/05\/table-already-exists-sql-server.html#comment-form","title":"2 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/2654073155347511789"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/2654073155347511789"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2015\/05\/table-already-exists-sql-server.html","title":"Table Already Exists SQL Server"}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"thr$total":{"$t":"2"}},{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-2785705076459976359"},"published":{"$t":"2015-05-25T21:04:00.000+05:45"},"updated":{"$t":"2015-05-25T21:04:22.581+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Huawei"},{"scheme":"http://www.blogger.com/atom/ns#","term":"network"}],"title":{"type":"text","$t":"Huawei Switch Show Commands"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\nHere are basic show commands used in Huawei switch. For configuration of Huawei switch click \u003Ca href=\"http:\/\/www.jpudasaini.com.np\/2015\/05\/huawei-switch-configuration-commands.html\" target=\"_blank\"\u003Ehere\u003C\/a\u003E.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n1. Show VLANs\u003Cbr \/\u003E\n\u0026lt;sw1\u0026gt;display vlan\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n8. Show port base VLAN\u003Cbr \/\u003E\n\u0026lt;sw1\u0026gt;display port vlan \u0026nbsp; \u003Cbr \/\u003E\nPort \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;Link Type \u0026nbsp; \u0026nbsp;PVID \u0026nbsp;Trunk VLAN List\u003Cbr \/\u003E\n-------------------------------------------------------------------------------\u003Cbr \/\u003E\nEth-Trunk0 \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;hybrid \u0026nbsp; \u0026nbsp; \u0026nbsp; 1 \u0026nbsp; \u0026nbsp; - \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003Cbr \/\u003E\nGigabitEthernet0\/0\/1 \u0026nbsp; \u0026nbsp;trunk \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;1 \u0026nbsp; \u0026nbsp; 1\u003Cbr \/\u003E\nGigabitEthernet0\/0\/2 \u0026nbsp; \u0026nbsp;hybrid \u0026nbsp; \u0026nbsp; \u0026nbsp; 1 \u0026nbsp; \u0026nbsp; - \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003Cbr \/\u003E\nGigabitEthernet0\/0\/3 \u0026nbsp; \u0026nbsp;access \u0026nbsp; \u0026nbsp; \u0026nbsp; 301 \u0026nbsp; - \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003Cbr \/\u003E\nGigabitEthernet0\/0\/4 \u0026nbsp; \u0026nbsp;access \u0026nbsp; \u0026nbsp; \u0026nbsp; 302 \u0026nbsp; - \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003Cbr \/\u003E\nGigabitEthernet0\/0\/5 \u0026nbsp; \u0026nbsp;hybrid \u0026nbsp; \u0026nbsp; \u0026nbsp; 1 \u0026nbsp; \u0026nbsp; - \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003Cbr \/\u003E\nGigabitEthernet0\/0\/6 \u0026nbsp; \u0026nbsp;hybrid \u0026nbsp; \u0026nbsp; \u0026nbsp; 1 \u0026nbsp; \u0026nbsp; - \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003Cbr \/\u003E\nGigabitEthernet0\/0\/7 \u0026nbsp; \u0026nbsp;hybrid \u0026nbsp; \u0026nbsp; \u0026nbsp; 1 \u0026nbsp; \u0026nbsp; - \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003Cbr \/\u003E\nGigabitEthernet0\/0\/8 \u0026nbsp; \u0026nbsp;hybrid \u0026nbsp; \u0026nbsp; \u0026nbsp; 1 \u0026nbsp; \u0026nbsp; -\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n2. View Configuration\u003Cbr \/\u003E\n[sw1]display current-configuration configuration\u003Cbr \/\u003E\n!Software Version V200R003C00SPC300\u003Cbr \/\u003E\n#\u003Cbr \/\u003E\nsysname sw1\u003Cbr \/\u003E\n#\u003Cbr \/\u003E\nvlan batch 301 to 302\u003Cbr \/\u003E\n#\u003Cbr \/\u003E\nstp region-configuration\u003Cbr \/\u003E\n\u0026nbsp;region-name JR\u003Cbr \/\u003E\n\u0026nbsp;instance 1 vlan 20 to 30\u003Cbr \/\u003E\n\u0026nbsp;active region-configuration\u003Cbr \/\u003E\n#\u003Cbr \/\u003E\nvlan 30\u003Cbr \/\u003E\n\u0026nbsp;description fiber\u003Cbr \/\u003E\nvlan 20\u003Cbr \/\u003E\n\u0026nbsp;description Wireless\u003Cbr \/\u003E\n[sw1-mst-region]active region-configuration\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n[sw1]display stp instance 0 interface GigabitEthernet 0\/0\/1 brief\u003Cbr \/\u003E\n\u0026nbsp;MSTID \u0026nbsp; Port \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;Role \u0026nbsp;STP State \u0026nbsp; \u0026nbsp; Protection\u003Cbr \/\u003E\n\u0026nbsp; \u0026nbsp; 0 \u0026nbsp; \u0026nbsp;GigabitEthernet0\/0\/1 \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;DESI \u0026nbsp;FORWARDING \u0026nbsp; \u0026nbsp; \u0026nbsp;NONE\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\ninterface Eth-Trunk 1\u003Cbr \/\u003E\nport link-type trunk\u003Cbr \/\u003E\nport trunk allow-pass vlan 20 30\u003Cbr \/\u003E\nmode lacp\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nint gi0\/0\/5\u003Cbr \/\u003E\neth-trunk1\u003Cbr \/\u003E\nundo negotiation auto\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nint gi0\/0\/6\u003Cbr \/\u003E\neht-trunk1\u003Cbr \/\u003E\nundo negotiation auto\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n3. Show interface configuration\u003Cbr \/\u003E\n[sw1]display interface Eth-Trunk 1\u003Cbr \/\u003E\nEth-Trunk1 current state : UP\u003Cbr \/\u003E\nLine protocol current state : UP\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n4. LACP port status\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n[sw1]display eth-trunk 1\u003Cbr \/\u003E\nEth-Trunk1's state information is:\u003Cbr \/\u003E\nLocal:\u003Cbr \/\u003E\nLAG ID: 1 \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; WorkingMode: LACP \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003Cbr \/\u003E\nPreempt Delay: Disabled \u0026nbsp; \u0026nbsp; Hash arithmetic: According to SIP-XOR-DIP \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003Cbr \/\u003E\nSystem Priority: 32768 \u0026nbsp; \u0026nbsp; \u0026nbsp;System ID: 30d1-7eea-c824 \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003Cbr \/\u003E\nLeast Active-linknumber: 1 \u0026nbsp;Max Active-linknumber: 8 \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003Cbr \/\u003E\nOperate status: up \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;Number Of Up Port In Trunk: 2 \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003Cbr \/\u003E\n--------------------------------------------------------------------------------\u003Cbr \/\u003E\nActorPortName \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;Status \u0026nbsp; PortType PortPri PortNo PortKey PortState Weight\u003Cbr \/\u003E\nGigabitEthernet0\/0\/5 \u0026nbsp; Selected 1GE \u0026nbsp; \u0026nbsp; \u0026nbsp;32768 \u0026nbsp; 1 \u0026nbsp; \u0026nbsp; \u0026nbsp;305 \u0026nbsp; \u0026nbsp; 10111100 \u0026nbsp;1 \u0026nbsp; \u003Cbr \/\u003E\nGigabitEthernet0\/0\/6 \u0026nbsp; Selected 1GE \u0026nbsp; \u0026nbsp; \u0026nbsp;32768 \u0026nbsp; 2 \u0026nbsp; \u0026nbsp; \u0026nbsp;305 \u0026nbsp; \u0026nbsp; 10111100 \u0026nbsp;1 \u0026nbsp; \u003Cbr \/\u003E\n\u003Cbr \/\u003E\nPartner:\u003Cbr \/\u003E\n--------------------------------------------------------------------------------\u003Cbr \/\u003E\nActorPortName \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;SysPri \u0026nbsp; SystemID \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;PortPri PortNo PortKey PortState\u003Cbr \/\u003E\nGigabitEthernet0\/0\/5 \u0026nbsp; 32768 \u0026nbsp; \u0026nbsp;001b-0c17-b780 \u0026nbsp;32768 \u0026nbsp; 515 \u0026nbsp; \u0026nbsp;1 \u0026nbsp; \u0026nbsp; \u0026nbsp; 10111100\u003Cbr \/\u003E\nGigabitEthernet0\/0\/6 \u0026nbsp; 32768 \u0026nbsp; \u0026nbsp;001b-0c17-b780 \u0026nbsp;32768 \u0026nbsp; 514 \u0026nbsp; \u0026nbsp;1 \u0026nbsp; \u0026nbsp; \u0026nbsp; 10111100\u003Cbr \/\u003E\nVID \u0026nbsp;Status \u0026nbsp;Property \u0026nbsp; \u0026nbsp; \u0026nbsp;MAC-LRN Statistics Description \u0026nbsp; \u003Cbr \/\u003E\n--------------------------------------------------------------------------------\u003Cbr \/\u003E\n1 \u0026nbsp; \u0026nbsp;enable \u0026nbsp;default \u0026nbsp; \u0026nbsp; \u0026nbsp; enable \u0026nbsp;disable \u0026nbsp; \u0026nbsp;VLAN 0001 \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003Cbr \/\u003E\n301 \u0026nbsp;enable \u0026nbsp;default \u0026nbsp; \u0026nbsp; \u0026nbsp; enable \u0026nbsp;disable \u0026nbsp; \u0026nbsp;fiber \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003Cbr \/\u003E\n302 \u0026nbsp;enable \u0026nbsp;default \u0026nbsp; \u0026nbsp; \u0026nbsp; enable \u0026nbsp;disable \u0026nbsp; \u0026nbsp;Wireless\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n5. Show interface vlan\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n[sw1]display int Vlanif 25\u003Cbr \/\u003E\nVlanif25 current state : UP\u003Cbr \/\u003E\nLine protocol current state : UP\u003Cbr \/\u003E\nLast line protocol up time : 2014-07-21 18:57:40 UTC-05:13\u003Cbr \/\u003E\nDescription:\u003Cbr \/\u003E\nRoute Port,The Maximum Transmit Unit is 1500\u003Cbr \/\u003E\nInternet Address is 10.10.10.11\/24\u003Cbr \/\u003E\nIP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 30d1-7eea-c824\u003Cbr \/\u003E\nCurrent system time: 2014-07-21 19:01:47-05:13\u003Cbr \/\u003E\n\u0026nbsp; \u0026nbsp; Input bandwidth utilization \u0026nbsp;: --\u003Cbr \/\u003E\n\u0026nbsp; \u0026nbsp; Output bandwidth utilization : --\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n6. \u0026nbsp;[sw1]ping 10.10.10.10 \u0026nbsp; \u003Cbr \/\u003E\n\u0026nbsp; PING 10.10.10.10: 56 \u0026nbsp;data bytes, press CTRL_C to break\u003Cbr \/\u003E\n\u0026nbsp; \u0026nbsp; Reply from 10.10.10.10: bytes=56 Sequence=1 ttl=255 time=4 ms\u003Cbr \/\u003E\n\u0026nbsp; \u0026nbsp; Reply from 10.10.10.10: bytes=56 Sequence=2 ttl=255 time=5 ms\u003Cbr \/\u003E\n\u0026nbsp; \u0026nbsp; Reply from 10.10.10.10: bytes=56 Sequence=3 ttl=255 time=5 ms\u003Cbr \/\u003E\n\u0026nbsp; \u0026nbsp; Reply from 10.10.10.10: bytes=56 Sequence=4 ttl=255 time=7 ms\u003Cbr \/\u003E\n\u0026nbsp; \u0026nbsp; Reply from 10.10.10.10: bytes=56 Sequence=5 ttl=255 time=5 ms\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u0026nbsp; --- 10.10.10.10 ping statistics ---\u003Cbr \/\u003E\n\u0026nbsp; \u0026nbsp; 5 packet(s) transmitted\u003Cbr \/\u003E\n\u0026nbsp; \u0026nbsp; 5 packet(s) received\u003Cbr \/\u003E\n\u0026nbsp; \u0026nbsp; 0.00% packet loss\u003Cbr \/\u003E\n\u0026nbsp; \u0026nbsp; round-trip min\/avg\/max = 4\/5\/7 ms\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/2785705076459976359\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2015\/05\/huawei-switch-show-commands.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/2785705076459976359"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/2785705076459976359"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2015\/05\/huawei-switch-show-commands.html","title":"Huawei Switch Show Commands"}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-2402617684990694623"},"published":{"$t":"2015-05-25T20:44:00.001+05:45"},"updated":{"$t":"2015-05-25T21:04:36.690+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Huawei"},{"scheme":"http://www.blogger.com/atom/ns#","term":"network"}],"title":{"type":"text","$t":"Huawei Switch Configuration Commands"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\nHere are some Huawei switch configuration command and verification command is here.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n1. Enter int to the privilege mode \u003Cbr \/\u003E\n\u0026lt;sw1\u0026gt;system view\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n2. Create the VLAN\u003Cbr \/\u003E\n[sw1]vlan 30\u003Cbr \/\u003E\n[sw1]des fiber\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n3. Configure interface trunk\u003Cbr \/\u003E\n[sw1]interface GigabitEthernet 0\/0\/1\u003Cbr \/\u003E\n[sw1-GigabitEthernet0\/0\/1]port link-type trunk\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n4. Configure interface access\u003Cbr \/\u003E\n[sw1-GigabitEthernet0\/0\/3]port link-type access\u003Cbr \/\u003E\n[sw1-GigabitEthernet0\/0\/4]port link-type access\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n5. Assign vlan to that port\u003Cbr \/\u003E\n[sw1]vlan 30\u003Cbr \/\u003E\n[sw1-vlan30]port GigabitEthernet 0\/0\/3\u003Cbr \/\u003E\n[sw1]vlan 30\u003Cbr \/\u003E\n[sw1-vlan30]port GigabitEthernet 0\/0\/4\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n6. Change port speed and duplex\u003Cbr \/\u003E\n[sw1]interface GigabitEthernet 0\/0\/3\u003Cbr \/\u003E\n[sw1-GigabitEthernet0\/0\/3]undo negotiation auto\u003Cbr \/\u003E\n[sw1-GigabitEthernet0\/0\/3]speed ?\u003Cbr \/\u003E\n\u0026nbsp; 10 \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;10M port speed mode\u003Cbr \/\u003E\n\u0026nbsp; 100 \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; 100M port speed mode\u003Cbr \/\u003E\n\u0026nbsp; 1000 \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;1000M port speed mode\u003Cbr \/\u003E\n\u0026nbsp; auto-negotiation \u0026nbsp;Auto negotiation\u003Cbr \/\u003E\n[sw1-GigabitEthernet0\/0\/3]speed 100\u003Cbr \/\u003E\n[sw1]int gi0\/0\/4\u003Cbr \/\u003E\n[sw1-GigabitEthernet0\/0\/4]undo negotiation auto\u003Cbr \/\u003E\n[sw1-GigabitEthernet0\/0\/4]speed 100\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n[sw1-GigabitEthernet0\/0\/4]duplex ?\u003Cbr \/\u003E\n\u0026nbsp; full \u0026nbsp;Full-Duplex mode\u003Cbr \/\u003E\n\u0026nbsp; half \u0026nbsp;Half-Duplex mode\u003Cbr \/\u003E\n[sw1-GigabitEthernet0\/0\/4]duplex full\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n7. Configure VLAN and add VLAN in trunk port\u003Cbr \/\u003E\n[sw1-GigabitEthernet0\/0\/1]port trunk allow-pass vlan 301 302\u003Cbr \/\u003E\nInfo: This operation may take a few seconds. Please wait for a moment...done.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n8. MST Configuration\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n[sw1]stp region-configuration\u003Cbr \/\u003E\nInfo: Please activate the stp region-configuration after it is modified.\u003Cbr \/\u003E\n[sw1-mst-region]region-name JP\u003Cbr \/\u003E\n[sw1-mst-region]instance 1 vlan instance 1 vlan 10 20 30 to 50 600 to 616\u003Cbr \/\u003E\n[sw1-mst-region]instance 0 vlan 302\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n9. Create management interface\u003Cbr \/\u003E\n[sw1]interface Vlanif 25\u003Cbr \/\u003E\nError: Can not create this interface because the interface number of this type has reached its maximum.\u003Cbr \/\u003E\n[sw1]undo interface Vlanif 1\u003Cbr \/\u003E\n[sw1-Vlanif25]ip add 10.10.10.11 255.255.255.0\u003Cbr \/\u003E\n[sw1-Vlanif25]ip route-static 0.0.0.0 0.0.0.0 129.102.0.2\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n10. Configure SSH\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n[sw1]rsa local-key-pair create\u003Cbr \/\u003E\nThe key name will be: sw1_Host\u003Cbr \/\u003E\nThe range of public key size is (512 ~ 2048).\u003Cbr \/\u003E\nNOTES: If the key modulus is greater than 512,\u003Cbr \/\u003E\n\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;it will take a few minutes.\u003Cbr \/\u003E\nInput the bits in the modulus[default = 2048]:1024\u003Cbr \/\u003E\nGenerating keys...\u003Cbr \/\u003E\n.....++++++\u003Cbr \/\u003E\n..........++++++\u003Cbr \/\u003E\n.................+++++\u003Cbr \/\u003E\n...+++++\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n11. Create local user\u003Cbr \/\u003E\n[sw1]aaa\u003Cbr \/\u003E\n[sw1-aaa]local-user jpudasaini password ?\u003Cbr \/\u003E\n\u0026nbsp; cipher \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; User password with cipher text\u003Cbr \/\u003E\n\u0026nbsp; irreversible-cipher \u0026nbsp;User password with irreversible-cipher text\u003Cbr \/\u003E\n\u0026nbsp; \u0026lt;cr\u0026gt; \u003Cbr \/\u003E\n\u003Cbr \/\u003E\n[sw1-aaa]local-user jpudasaini password\u003Cbr \/\u003E\nPlease configure the login password (8-16)\u003Cbr \/\u003E\nIt is recommended that the password consist of at least 2 types of characters, including lowercase letters, uppercase letters, numerals and special characters.\u003Cbr \/\u003E\nPlease enter password:\u003Cbr \/\u003E\nPlease confirm password:\u003Cbr \/\u003E\nInfo: Add a new user.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n[sw1-aaa]local-user jpudasaini service-type ssh telnet\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n12. Configure telnet session\u003Cbr \/\u003E\n[sw1]stelnet server enable\u003Cbr \/\u003E\n[sw1]ssh authentication-type default password\u003Cbr \/\u003E\n[sw1]ssh user jpudasaini\u003Cbr \/\u003E\n[sw1]ssh user jpudasaini authentication-type password\u003Cbr \/\u003E\n[sw1]ssh user jpudasaini service-type stelnet\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n[sw1]user-interface vty 0 4\u003Cbr \/\u003E\n[sw1-ui-vty0-4]authentication-mode aaa\u003Cbr \/\u003E\n[sw1-ui-vty0-4]protocol inbound ssh\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n[sw1-aaa]local-user jpudasaini privilege level 15\u003Cbr \/\u003E\n[sw1-aaa]local-user jpudasaini service-type ssh\u003Cbr \/\u003E\n[sw1]ssh authentication-type default password\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n13. DHCP Snooping enable\u003Cbr \/\u003E\n[huawei-sw1]dhcp enable\u003Cbr \/\u003E\n[huawei-sw1]dhcp snooping enable ipv4\u003Cbr \/\u003E\n[huawei-sw1]dhcp server detect\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n[huawei-sw1]dhcp snooping check dhcp-rate enable\u003Cbr \/\u003E\n\u0026lt;huawei-sw1\u0026gt;display dhcp snooping\u003Cbr \/\u003E\n[huawei-sw1]dhcp snooping check dhcp-rate 50\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n14. Apply to VLAN\u003Cbr \/\u003E\n[huawei-sw1]vlan 301\u003Cbr \/\u003E\n[huawei-sw1-vlan301]dhcp snooping enable\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n15. Apply to Interface\u003Cbr \/\u003E\n[huawei-sw1-GigabitEthernet0\/0\/3]dhcp snooping enable\u003Cbr \/\u003E\n[huawei-sw1-GigabitEthernet0\/0\/3]dhcp snooping check dhcp-rate enable\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n16. Apply to Trunk port\u003Cbr \/\u003E\n[huawei-sw1-GigabitEthernet0\/0\/4]dhcp snooping trusted\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n17. Verify Command\u003Cbr \/\u003E\n[huawei-sw1]display dhcp snooping configuration \u0026nbsp; \u0026nbsp; \u003Cbr \/\u003E\n#\u003Cbr \/\u003E\ndhcp snooping enable\u003Cbr \/\u003E\ndhcp snooping check dhcp-rate enable\u003Cbr \/\u003E\ndhcp snooping check dhcp-rate 50\u003Cbr \/\u003E\ndhcp server detect\u003Cbr \/\u003E\n#\u003Cbr \/\u003E\nvlan 301\u003Cbr \/\u003E\n\u0026nbsp;dhcp snooping enable\u003Cbr \/\u003E\n#\u003Cbr \/\u003E\ninterface GigabitEthernet0\/0\/3\u003Cbr \/\u003E\n\u0026nbsp;dhcp snooping enable\u003Cbr \/\u003E\n\u0026nbsp;dhcp snooping check dhcp-rate enable\u003Cbr \/\u003E\n#\u003Cbr \/\u003E\ninterface GigabitEthernet0\/0\/4\u003Cbr \/\u003E\n\u0026nbsp;dhcp snooping trusted\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/2402617684990694623\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2015\/05\/huawei-switch-configuration-commands.html#comment-form","title":"3 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/2402617684990694623"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/2402617684990694623"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2015\/05\/huawei-switch-configuration-commands.html","title":"Huawei Switch Configuration Commands"}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"thr$total":{"$t":"3"}},{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-3813928437078925460"},"published":{"$t":"2015-04-24T23:57:00.001+05:45"},"updated":{"$t":"2015-04-24T23:57:41.931+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"linux"}],"title":{"type":"text","$t":"PERL can't locate module in @ INC"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\nHi, recently when I'm trying to install some linux daemon in CentOS 7 I have encountered a PERL issue, indicating that some module are missing e.g.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nCan't locate sys\/syslog.pm in @INC\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nIt means it can'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\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nroot@localhost#yum install -y perl-sys-syslog\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nNow the installation has been working.\u0026nbsp;\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/3813928437078925460\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2015\/04\/perl-cant-locate-module-in-inc_24.html#comment-form","title":"1 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/3813928437078925460"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/3813928437078925460"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2015\/04\/perl-cant-locate-module-in-inc_24.html","title":"PERL can't locate module in @ INC"}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"thr$total":{"$t":"1"}},{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-1131867136093472722"},"published":{"$t":"2015-04-21T22:51:00.000+05:45"},"updated":{"$t":"2015-04-21T22:51:29.130+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Juniper"}],"title":{"type":"text","$t":"show command juniper switch"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\n\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003EHere are some useful command in day to day life while troubleshooting the juniper switch.\u0026nbsp;\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\n\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003E1. show mac add of specific vlan\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003E\u0026nbsp; root@jpudasaini#show ethernet-switching table vlan 608\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cbr style=\"color: #333333; font-family: monospace; font-size: 13px;\" \/\u003E\n\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003E2. compare configure before commit\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003E\u0026nbsp;\u0026nbsp;\u003C\/span\u003E\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003Eroot@jpudasaini\u003C\/span\u003E\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003E#show | compare\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cbr style=\"color: #333333; font-family: monospace; font-size: 13px;\" \/\u003E\n\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003E3. check mac add\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003E\u0026nbsp;\u0026nbsp;\u003C\/span\u003E\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003Eroot@jpudasaini\u003C\/span\u003E\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003E#show ethernet-switching table brief\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cbr style=\"color: #333333; font-family: monospace; font-size: 13px;\" \/\u003E\n\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003E4. show perticular Mac in Juniper\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003E\u0026nbsp;\u0026nbsp;\u003C\/span\u003E\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003Eroot@jpudasaini\u003C\/span\u003E\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003E#show ethernet-switching table | match d4ca.6dea.d420\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003E5. show port description\/status\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003E\u0026nbsp;\u0026nbsp;\u003C\/span\u003E\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003Eroot@jpudasaini\u003C\/span\u003E\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003E#show interfaces descriptions statistics\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cbr style=\"color: #333333; font-family: monospace; font-size: 13px;\" \/\u003E\n\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003E6. Show configuration in configuration mode\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003E\u0026nbsp;\u0026nbsp;\u003C\/span\u003E\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003Eroot@jpudasaini\u003C\/span\u003E\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003E#show configuration | display set\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\n\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace;\"\u003E7. show\u0026nbsp;correctness\u0026nbsp;of the command before commit\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: #333333; font-family: monospace;\"\u003E\u003Cspan style=\"background-color: #fdfdfd;\"\u003E\u0026nbsp;\u0026nbsp;\u003C\/span\u003E\u003C\/span\u003E\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003Eroot@jpudasaini\u003C\/span\u003E\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace;\"\u003E#commit check\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: #333333; font-family: monospace;\"\u003E\u003Cspan style=\"background-color: #fdfdfd;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003C\/span\u003E\n\u003Cspan style=\"color: #333333; font-family: monospace;\"\u003E\u003Cspan style=\"background-color: #fdfdfd;\"\u003E8. Show Link Layer detection Protocol\u0026nbsp;\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: #333333; font-family: monospace;\"\u003E\u003Cspan style=\"background-color: #fdfdfd;\"\u003E\u0026nbsp;\u0026nbsp;\u003C\/span\u003E\u003C\/span\u003E\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace; font-size: 13px;\"\u003Eroot@jpudasaini\u003C\/span\u003E\u003Cspan style=\"background-color: #fdfdfd; color: #333333; font-family: monospace;\"\u003E#\u003C\/span\u003E\u003Cspan style=\"color: #333333; font-family: monospace;\"\u003Eshow protocols lldp\u0026nbsp;\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cspan style=\"color: #333333; font-family: monospace;\"\u003E9. Show vlan in configuration mode\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: #333333; font-family: monospace;\"\u003Eroot@jpudasaini#show vlans | display set\u003C\/span\u003E\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/1131867136093472722\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2015\/04\/show-command-juniper-switch.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/1131867136093472722"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/1131867136093472722"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2015\/04\/show-command-juniper-switch.html","title":"show command juniper switch"}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-2164104017416080586"},"published":{"$t":"2015-04-21T20:55:00.000+05:45"},"updated":{"$t":"2015-04-21T22:42:40.377+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"linux"}],"title":{"type":"text","$t":"PEAR Succeeded but it is not a valid package archive"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\nRecently 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.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cblockquote class=\"tr_bq\"\u003E\nroot@dns:~# pear install DB\u003Cbr \/\u003E\nWARNING: \"pear\/DB\" is deprecated in favor of \"pear\/MDB2\"\u003Cbr \/\u003E\nWARNING: \"pear\/Console_Getopt\" is deprecated in favor of \"pear\/Console_GetoptPlus\"\u003Cbr \/\u003E\ndownloading DB-1.8.2.tgz ...\u003Cbr \/\u003E\nStarting to download DB-1.8.2.tgz (131,693 bytes)\u003Cbr \/\u003E\n.............................done: 131,693 bytes\u003Cbr \/\u003E\ncould not extract the package.xml file from \"\/build\/buildd\/php5-5.5.9+dfsg\/pear-build-download\/DB-1.8.2.tgz\"\u003Cbr \/\u003E\nDownload of \"pear\/DB\" succeeded, but it is not a valid package archive\u003Cbr \/\u003E\nError: cannot download \"pear\/DB\"\u003Cbr \/\u003E\ndownloading PEAR-1.9.5.tgz ...\u003Cbr \/\u003E\nStarting to download PEAR-1.9.5.tgz (290,006 bytes)\u003Cbr \/\u003E\n...done: 290,006 bytes\u003Cbr \/\u003E\ncould not extract the package.xml file from \"\/build\/buildd\/php5-5.5.9+dfsg\/pear-build-download\/PEAR-1.9.5.tgz\"\u003Cbr \/\u003E\nDownload of \"pear\/PEAR\" succeeded, but it is not a valid package archive\u003Cbr \/\u003E\nError: cannot download \"pear\/PEAR\"\u003Cbr \/\u003E\ndownloading Archive_Tar-1.3.16.tgz ...\u003Cbr \/\u003E\nStarting to download Archive_Tar-1.3.16.tgz (20,024 bytes)\u003Cbr \/\u003E\n...done: 20,024 bytes\u003Cbr \/\u003E\ncould not extract the package.xml file from \"\/build\/buildd\/php5-5.5.9+dfsg\/pear-build-download\/Archive_Tar-1.3.16.tgz\"\u003Cbr \/\u003E\nDownload of \"pear\/Archive_Tar\" succeeded, but it is not a valid package archive\u003Cbr \/\u003E\nError: cannot download \"pear\/Archive_Tar\"\u003Cbr \/\u003E\ndownloading Console_Getopt-1.4.0.tgz ...\u003Cbr \/\u003E\nStarting to download Console_Getopt-1.4.0.tgz (4,534 bytes)\u003Cbr \/\u003E\n...done: 4,534 bytes\u003Cbr \/\u003E\ncould not extract the package.xml file from \"\/build\/buildd\/php5-5.5.9+dfsg\/pear-build-download\/Console_Getopt-1.4.0.tgz\"\u003Cbr \/\u003E\nDownload of \"pear\/Console_Getopt\" succeeded, but it is not a valid package archive\u003Cbr \/\u003E\nError: cannot download \"pear\/Console_Getopt\"\u003Cbr \/\u003E\ndownloading XML_Util-1.2.3.tgz ...\u003Cbr \/\u003E\nStarting to download XML_Util-1.2.3.tgz (17,134 bytes)\u003Cbr \/\u003E\n...done: 17,134 bytes\u003Cbr \/\u003E\ncould not extract the package.xml file from \"\/build\/buildd\/php5-5.5.9+dfsg\/pear-build-download\/XML_Util-1.2.3.tgz\"\u003Cbr \/\u003E\nDownload of \"pear\/XML_Util\" succeeded, but it is not a valid package archive\u003Cbr \/\u003E\nError: cannot download \"pear\/XML_Util\"\u003Cbr \/\u003E\nDownload failed\u003Cbr \/\u003E\ninstall failed\u003C\/blockquote\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003ESolution:\u003C\/b\u003E Edit \/usr\/share\/php\/Archive\/Tar.php find and replace the following 'gzopen' with gzopen64' and 'gzseek' with gzseek64'\u0026nbsp;\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/2164104017416080586\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2015\/04\/pear-succeeded-but-it-is-not-valid.html#comment-form","title":"2 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/2164104017416080586"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/2164104017416080586"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2015\/04\/pear-succeeded-but-it-is-not-valid.html","title":"PEAR Succeeded but it is not a valid package archive"}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"thr$total":{"$t":"2"}},{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-432906256609336649"},"published":{"$t":"2014-12-31T11:58:00.002+05:45"},"updated":{"$t":"2015-05-25T21:04:49.776+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Juniper"},{"scheme":"http://www.blogger.com/atom/ns#","term":"network"}],"title":{"type":"text","$t":"Juniper switch Basic Configuration Commands"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\nHello fellow blog reader, after long gap I'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.\u003Cbr \/\u003E\nI would like to thank to Srijan pointing the error on LACP command.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003E1. Set username for login\u003C\/b\u003E\u003Cbr \/\u003E\nroot@jpudasaini#set system root-authentication encrypted-password\u003Cbr \/\u003E\nNew password:\u003Cbr \/\u003E\nRetype new password:\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nroot@jpudasaini#set system login user jay full-name jaypudasaini uid 400 class super-user authentication encrypted-password\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003E2. Hostname configuration.\u003C\/b\u003E\u003Cbr \/\u003E\nroot@switch#set system host-name jpudasaini\u003Cbr \/\u003E\nroot@jpudasaini#\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003E3. Set Tacplus authentication for juniper switch.\u003C\/b\u003E\u003Cbr \/\u003E\nroot@jpudasaini# set system authentication-order tacplus\u003Cbr \/\u003E\nroot@jpudasaini# set system authentication-order password\u003Cbr \/\u003E\nroot@jpudasaini# set system root-authentication encrypted-password \"you password here\"\u003Cbr \/\u003E\nroot@jpudasaini# set system tacplus-server 10.10.10.10(your tacplus server IP) secret \"your server password here\"\u003Cbr \/\u003E\nroot@jpudasaini#set system tacplus-options service-name test\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003E4. Configuration VLAN(Group)\u003C\/b\u003E\u003Cbr \/\u003E\nroot@jpudasaini#set vlans Cust-Fiber vlan-id 500-550\u003Cbr \/\u003E\nroot@jpudasaini#set vlans Cust-Wireless vlan-id 551-575\u003Cbr \/\u003E\n\u003Cb\u003E\u0026nbsp; \u0026nbsp; single vlan\u003C\/b\u003E\u003Cbr \/\u003E\nroot@jpudasaini#set vlans Cust-A vland-id 25\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003E5. Trunk Port Configuration\u003C\/b\u003E\u003Cbr \/\u003E\nroot@jpudasaini#set interfaces ge-0\/0\/9 description connect-to-sw2\u003Cbr \/\u003E\nroot@jpudasaini#set interfaces ge-0\/0\/9 unit 0 family ethernet-switching port-mode trunk\u003Cbr \/\u003E\nroot@jpudasaini#set interfaces ge-0\/0\/9 unit 0 family ethernet-switching vlan members Cust-Fiber\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003E6. Access Port Configuration\u003C\/b\u003E\u003Cbr \/\u003E\nroot@jpudasaini#set interfaces ge-0\/0\/0 description Link-to-sw3\u003Cbr \/\u003E\nroot@jpudasaini#set interfaces ge-0\/0\/0 unit 0 family ethernet-switching port-mode access\u003Cbr \/\u003E\nroot@jpudasaini#set interfaces ge-0\/0\/0 unit 0 family ethernet-switching vlan members 25\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003E7. Port Channel Configuration\u003C\/b\u003E\u003Cbr \/\u003E\nroot@jpudasaini#set chassis aggregated-devices ethernet device-count 10\u003Cbr \/\u003E\nroot@jpudasaini#set interfaces ae0 description TR-2-Jpudasaini-Sw2\u003Cbr \/\u003E\nroot@jpudasaini#set interfaces ae0 aggregated-ether-options lacp active\u003Cbr \/\u003E\nroot@jpudasaini#set interfaces ae0 unit 0 family ethernet-switching port-mode trunk\u003Cbr \/\u003E\nroot@jpudasaini#set interfaces ae0 unit 0 family ethernet-switching vlan members Cust-Fiber\u003Cbr \/\u003E\nroot@jpudasaini#set interfaces ae0 unit 0 family ethernet-switching vlan members Cust-Wireless\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003E8. Port Channel Assign to the Physical Port\u003C\/b\u003E\u003Cbr \/\u003E\nroot@jpudasaini#set interfaces ge-0\/0\/16 description test-sw1\u003Cbr \/\u003E\nroot@jpudasaini#set interfaces ge-0\/0\/16 ether-options 802.3ad ae0\u003Cbr \/\u003E\nroot@jpudasaini#set interfaces ge-0\/0\/17 description test-sw1\u003Cbr \/\u003E\nroot@jpudasaini#set interfaces ge-0\/0\/17 ether-options 802.3ad ae0\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003E9. Configuration management IP for switch.\u003C\/b\u003E\u003Cbr \/\u003E\nroot@jpudasaini#set interfaces vlan unit 20 family inet address 10.10.10.11\/24\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003E10. Configuration snmp.\u003C\/b\u003E\u003Cbr \/\u003E\nroot@jpudasaini#set snmp name Test-SNMP\u003Cbr \/\u003E\nroot@jpudasaini#set snmp description test-sw2\u003Cbr \/\u003E\nroot@jpudasaini#set snmp location \"Jpudasaini-NOC\"\u003Cbr \/\u003E\nroot@jpudasaini#set snmp contact \"system@jpudasaini.com.np\"\u003Cbr \/\u003E\nroot@jpudasaini#set snmp client-list list0 10.10.10.0\/24\u003Cbr \/\u003E\nroot@jpudasaini#set snmp community ax3R5vgW authorization read-only\u003Cbr \/\u003E\nroot@jpudasaini#set snmp community\u0026nbsp;ax3R5vgW\u0026nbsp;client-list-name jpudasaini\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003E11. Enable LLDP\u003C\/b\u003E\u003Cbr \/\u003E\nroot@jpudasaini# set protocols lldp interface all\u003Cbr \/\u003E\nroot@jpudasaini#set protocols lldp-med interface all\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003E12. Configure port as L3\u003C\/b\u003E\u003Cbr \/\u003E\nroot@jpudasaini#set interface ge-0\/0\/23 unit 0 family ethernet-switching port-mode trunk\u003Cbr \/\u003E\nroot@jpudasaini#set interface ge-0\/0\/23 unit 0 family ethernet-switching vlan member 25\u003Cbr \/\u003E\nroot@jpudasaini#set vlan Mgmt vlan-id 25\u003Cbr \/\u003E\nroot@jpudasaini#set vlan Mgmt l3-interface vlan.25\u003Cbr \/\u003E\nroot@jpudasaini#set interface vlan.250 family inet address xxx.xxx.xxx.xxx\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003E13.Rate Limit\u003C\/b\u003E\u003Cbr \/\u003E\n\u0026nbsp;\u003Cb\u003EConfigure the policer\u003C\/b\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nroot@jpudasaini# set firewall policer Policer_2M if-exceeding bandwidth-limit 1M\u003Cbr \/\u003E\nroot@jpudasaini# set firewall policer Policer_2M if-exceeding burst-size-limit 2k\u003Cbr \/\u003E\nroot@jpudasaini# set firewall policer Policer_2M then discard\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003EConfigure the firewall filter\u003C\/b\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nroot@jpudasaini# set firewall family ethernet-switching filter Limit term 1 then accept\u003Cbr \/\u003E\nroot@jpudasaini# set firewall family ethernet-switching filter Limit term 1 then policer Poicer_2M\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cb\u003EApply filter on interface (can be any interface as required)\u003C\/b\u003E\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nroot@jpudasaini# set interface ge-0\/0\/24.0 family ethernet-switching filter input Limit\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nNote: Remember that EX series switches apply rate limit only on ingress.\u0026nbsp;\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/432906256609336649\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2014\/12\/juniper-switch-basic-configuration.html#comment-form","title":"1 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/432906256609336649"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/432906256609336649"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2014\/12\/juniper-switch-basic-configuration.html","title":"Juniper switch Basic Configuration Commands"}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"thr$total":{"$t":"1"}},{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-5170889149493234351"},"published":{"$t":"2014-10-29T22:16:00.004+05:45"},"updated":{"$t":"2014-10-29T22:26:35.484+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"cisco"},{"scheme":"http://www.blogger.com/atom/ns#","term":"hack"},{"scheme":"http://www.blogger.com/atom/ns#","term":"network"}],"title":{"type":"text","$t":"Cisco Protected Port"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\nI 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.\u0026nbsp;\u003C\/div\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\nBroadcast 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.\u003C\/div\u003E\n\u003Cbr \/\u003E\nCommand:\u003Cbr \/\u003E\ninterface fa0\/2\u003Cbr \/\u003E\nswitchchport mode access\u003Cbr \/\u003E\nswitchport access vlan 30\u003Cbr \/\u003E\nswitchport protected\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cdiv style=\"text-align: justify;\"\u003E\nThis 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.\u0026nbsp;\u003C\/div\u003E\n\u003Cbr \/\u003E\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/5170889149493234351\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2014\/10\/cisco-protected-port.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/5170889149493234351"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/5170889149493234351"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2014\/10\/cisco-protected-port.html","title":"Cisco Protected Port"}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-9197971964393665898.post-5590128750169304558"},"published":{"$t":"2014-10-08T14:23:00.003+05:45"},"updated":{"$t":"2014-10-08T14:24:09.507+05:45"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"cisco"},{"scheme":"http://www.blogger.com/atom/ns#","term":"network"}],"title":{"type":"text","$t":"How To Configure RSPAN on Cisco Switch"},"content":{"type":"html","$t":"\u003Cdiv dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"\u003E\nSometime 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.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nSW1(This is the remote switch, Which is the source for our packets.)\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nsw1(config)#vlan 444\u003Cbr \/\u003E\nsw1(config-vlan)#remote-span\u003Cbr \/\u003E\nsw1(config)#monitor session 1 source interface Fa1\/0\/1 - 16\u003Cbr \/\u003E\nsw1(config)#monitor session 1 destination remote vlan 444\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nSW2(The destination switch where you going sniff the packets send my remote switch on case sw1.)\u003Cbr \/\u003E\nsw2(config)#vlan 444\u003Cbr \/\u003E\nsw2(config-vlan)#name RSPAN_VLAN\u003Cbr \/\u003E\nsw2(config-vlan)#remote-span\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nsw2(config)#monitor session 1 destination interface Gi0\/17\u003Cbr \/\u003E\nsw2(config)#monitor session 1 source remote vlan 444\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nNow you can capture remote packets in port 17.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nAll these tutorial tested on cisco 3750 switch.\u003C\/div\u003E\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/www.jpudasaini.com.np\/feeds\/5590128750169304558\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2014\/10\/how-to-configure-rspan-on-cisco-switch.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/5590128750169304558"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/9197971964393665898\/posts\/default\/5590128750169304558"},{"rel":"alternate","type":"text/html","href":"https:\/\/www.jpudasaini.com.np\/2014\/10\/how-to-configure-rspan-on-cisco-switch.html","title":"How To Configure RSPAN on Cisco Switch"}],"author":[{"name":{"$t":"j"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/05110715433354584886"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"thr$total":{"$t":"0"}}]}});