Monday 16 May 2011

Configuring IP address on Physical interface


Lab Objectives
   Configure the Primary IP Address of 10.234.51.254/24 on interface FastEthernet0/0
   Configure a Secondary IP Address of 172.27.48.254/24 on Interface FastEthernet0/0
   Activate Interface FastEthernet0/0
   Verify your configuration changes in the running-configuration.
Lab Instruction
Configuring an IP address on a Cisco router and/or switch is a very common task and you’re required know how to do it without referencing any documentation as a CCNA.

To get started, navigate your way into Global configuration mode as shown below;
Router con0 is now available

Press RETURN to get started.

Router>enable
Password:
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#
The first objective of this lab is to configure the IP address 10.234.51.254 on interface FastEthernet0/0. In order to to this configuration you’ll need to place yourself into FastEthernet0/0 interface configuration mode as shown below;

NOTE: To view the available interfaces for configuration execute the interface ? from global configuration mode.
Router(config)#interface FastEthernet 0/0
Router(config-if)#
Once in interface configuration mode you use the command syntax ip address n.n.n.h s.s.s.m; to complete the first lab objective we’ll need to execute the ip address 10.234.51.254 255.255.255.0 from the FastEthernet0/0 interface configuration mode as shown below;
Router(config-if)#ip address 10.234.51.254 255.255.255.0
Router(config-if)#
The second objective of this lab is to configure a secondary address.
As noted in the beginning of the lab, secondary IP addresses are commonly used during network re-ip migrations. Using secondary IP Addresses in production as a architectural design is not recommended by Cisco. To complete the second objective of this lab you’ll need to issue the ip adddress command again with the correct address and just add the word secondary to the end of the command syntax.
Router(config-if)#ip address 172.27.48.254 255.255.255.0 secondary
Router(config-if)#
Now for the last configuration ojective of this lab, you need to enable this interface because by default, all interfaces on a Cisco router are placed in “Administratively Down”. To bring an interface up, issue the no shutdown command.
Router(config-if)#no shutdown
Router(config-if)#
%LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#
To verify your configuration changes, exit the interface configuration mode to privileged mode by pressing CTRL + Z and executing the command show run interface FastEthernet 0/0
Router(config-if)#^Z
%SYS-5-CONFIG_I: Configured from console by console
Router#show run interface FastEthernet 0/0
Building configuration...

Current configuration : 148 bytes
!
interface FastEthernet0/0
 ip address 172.27.48.254 255.255.255.0 secondary
 ip address 10.234.51.254 255.255.255.0
 duplex auto
 speed auto
end

Router#

1 comment:

  1. Casino - Drmcd
    We have been in a very busy game development and we have also 영천 출장안마 added 속초 출장샵 a couple of new features. Our new video slot machine is 대구광역 출장샵 more advanced than 포천 출장샵 ever,  Rating: 4 · ‎Review by 군포 출장안마 Dr

    ReplyDelete