{"id":1406,"date":"2020-11-20T09:44:59","date_gmt":"2020-11-19T20:44:59","guid":{"rendered":"https:\/\/www.ronella.xyz\/?p=1406"},"modified":"2020-11-20T09:46:55","modified_gmt":"2020-11-19T20:46:55","slug":"assigning-an-ip-to-an-interface-of-a-cisco-router","status":"publish","type":"post","link":"https:\/\/www.ronella.xyz\/?p=1406","title":{"rendered":"Assigning an IP to an Interface of a Cisco Router"},"content":{"rendered":"<h2>Pre-requisite<\/h2>\n<ul>\n<li>Putty application<\/li>\n<\/ul>\n<h2>Displaying the Interfaces<\/h2>\n<p>Use the following command to display the available interfaces and their states:<\/p>\n<pre><code>show ip interface brief<\/code><\/pre>\n<h2>Assigning an IP<\/h2>\n<ol>\n<li>\n<p>Connect to <strong>cisco console<\/strong> using <strong>putty<\/strong>.<\/p>\n<\/li>\n<li>\n<p>Press the <strong>enter key<\/strong> to enter into <strong>user mode<\/strong>.<\/p>\n<\/li>\n<li>\n<p>Execute the following command to enter into <strong>privilege mode<\/strong>:<\/p>\n<pre><code>enable<\/code><\/pre>\n<\/li>\n<li>\n<p><strong>Load the startup-config<\/strong> into the running-config using the following command:<\/p>\n<pre><code>copy startup-config running-config<\/code><\/pre>\n<\/li>\n<li>\n<p>Execute the following command to enter into the <strong>configuration mode<\/strong>:<\/p>\n<pre><code>config terminal<\/code><\/pre>\n<\/li>\n<li>\n<p><strong>Configure an interface<\/strong> using the following syntax:<\/p>\n<pre><code>interface &lt;INTERFACE_NAME&gt; <\/code><\/pre>\n<p><em>Example<\/em><\/p>\n<pre><code>interface GigabitEthernet0\/0<\/code><\/pre>\n<\/li>\n<li>\n<p><strong>Assign an IP address<\/strong> using the following syntax:<\/p>\n<pre><code>ip address &lt;IP_ADDRESS&gt; &lt;SUBNET_MASK&gt;<\/code><\/pre>\n<p><em>Example<\/em><\/p>\n<pre><code>ip address 10.0.0.210 255.255.255.0<\/code><\/pre>\n<\/li>\n<li>\n<p><strong>Turn on the interface<\/strong> using the following command:<\/p>\n<pre><code>no shutdown<\/code><\/pre>\n<\/li>\n<li>\n<p><strong>Exit the interface configuration<\/strong> using the following command:<\/p>\n<pre><code>exit<\/code><\/pre>\n<\/li>\n<li>\n<p><strong>Exit the configuration mode<\/strong>:<\/p>\n<pre><code>exit<\/code><\/pre>\n<blockquote>\n<p>After this you can display the interfaces and see the state of the interface just configured<\/p>\n<\/blockquote>\n<\/li>\n<li>\n<p><strong>Save the update on the running-config<\/strong> to the startup-config file using the following command:<\/p>\n<pre><code>copy running-config startup-config<\/code><\/pre>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Pre-requisite Putty application Displaying the Interfaces Use the following command to display the available interfaces and their states: show ip interface brief Assigning an IP Connect to cisco console using putty. Press the enter key to enter into user mode. Execute the following command to enter into privilege mode: enable Load the startup-config into the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[66,10],"tags":[],"_links":{"self":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/1406"}],"collection":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1406"}],"version-history":[{"count":2,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/1406\/revisions"}],"predecessor-version":[{"id":1408,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/1406\/revisions\/1408"}],"wp:attachment":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}