How To Set Ip Address In Cisco Packet Tracer
Basic Router Configuration
This module provides basic configuration procedures for the Cisco 800M Series ISR and contains the following sections.
- Configuring Global Parameters
- Configuring Gigabit Ethernet WAN Interfaces
- Configuring a Loopback Interface
- Configuring Control-Line Access
- Configuring Gigabit Ethernet LAN Interfaces
- Configuring Static Routes
- Configuring Dynamic Routes
- Configuring Image and Configuration Recovery Using the Push Button
- Configuring 800M Series ISR using Zero Touch Deployment
Configuring Global Parameters
To configure the global parameters for your router, follow these steps.
SUMMARY STEPS
1. configure final
2. hostname proper name
3. enable clandestine countersign
4. no ip domain-lookup
DETAILED STEPS
| | |
---|---|---|
Step 1 | configure terminal Example: Router> enable Router# configure concluding | Enters global configuration mode, when using the console port. |
Step 2 | hostname name Instance: Router(config)# hostname Router | Specifies the proper name for the router. |
Stride 3 | enable underground password Instance: Router(config)# enable hugger-mugger cr1ny5ho | Specifies an encrypted countersign to prevent unauthorized access to the router. |
Pace four | no ip domain-lookup Instance: Router(config)# no ip domain-lookup | Disables the router from translating unfamiliar words (typos) into IP addresses. |
Configuring Gigabit Ethernet WAN Interfaces
You tin connect WAN interfaces either by using straight polarity connectors or reversed polarity connectors.
- Direct Polarity: If Mag-jack RJ45 connector has a dot or digit marked on forepart housing, it tin can be used with whatsoever type of cables.
- Reversed Polarity: If Mag-jack RJ45 connector has no dots or digit marked on front housing, it can exist used with coupler and short cablevision (Cat5E UTP cable) to connect other devices which doesn't support auto polarity correction.
To configure Gigabit Ethernet (GE) WAN interfaces, follow these steps, beginning in global configuration manner.
SUMMARY STEPS
1. configure terminal
two. interface gigabitethernet slot/port
3. ip address ip-accost mask
4. no shutdown
5. exit
DETAILED STEPS
| | |
---|---|---|
Stride 1 | configure terminal Case: Router# configure terminal | Enters global configuration mode. |
Step 2 | interface gigabitethernet slot/port Example: Router(config)# interface gigabitethernet 0/8 | Enters the configuration mode for a Gigabit Ethernet interface on the router. Note GigabitEthernet WAN Interfaces are 0/8 and 0/ix for Cisco C841M-8X ISR and 0/iv to 0/5 for Cisco C841M-4X |
Step 3 | ip accost ip-address mask Example: Router(config-if)# ip address 192.168.12.2 255.255.255.0 | Sets the IP address and subnet mask for the specified GE interface. |
Stride 4 | no shutdown Case: Router(config-if)# no shutdown | Enables the GE interface, changing its state from administratively downwards to administratively up. |
Step 5 | exit Instance: Router(config-if)# exit | Exits configuration mode for the GE interface and returns to global configuration mode. |
Configuring a Loopback Interface
The loopback interface acts every bit a placeholder for the static IP accost and provides default routing information.
To configure a loopback interface, follow these steps, beginning in global configuration mode.
SUMMARY STEPS
one. configure terminal
ii. interface blazon number
3. ip address ip-accost mask
4. go out
DETAILED STEPS
| | |
---|---|---|
Pace 1 | configure last Example: Router# configure terminal | Enters global configuration manner. |
Step 2 | interface type number Instance: Router(config)# interface Loopback 0 | Enters configuration mode for the loopback interface. |
Pace 3 | ip address ip-accost mask Example: Router(config-if)# ip address ten.108.i.ane 255.255.255.0 | Sets the IP address and subnet mask for the loopback interface. |
Pace 4 | exit Instance: Router(config-if)# exit | Exits configuration style for the loopback interface and returns to global configuration mode. |
Case: Configuring the Loopback Interface
The loopback interface in this sample configuration is used to support Network Address Translation (NAT) on the virtual-template interface. This configuration example shows the loopback interface configured on the gigabit ethernet interface with an IP address of 200.200.100.ane/24, which acts as a static IP address. The loopback interface points back to virtual-template1, which has a negotiated IP accost.
Verifying the Loopback Interface Configuration
To verify that y'all take properly configured the loopback interface, enter the show interface loopback command as shown in the following case.
You tin can lso verify the loopback interface by using the ping command as shown in the following instance.
Configuring Command-Line Access
To configure parameters to control access to the router, perform the following steps.
SUMMARY STEPS
1. configure terminal
2. line [ aux | console | tty | vty ] line-number
3. password password
4. login
5. exec-timeout minutes [ seconds ]
6. line [ aux | console | tty | vty ] line-number
7. password password
8. login
ix. end
DETAILED STEPS
| | |
---|---|---|
Stride 1 | configure terminal Case: Router# configure terminal | Enters global configuration manner. |
Footstep 2 | line [ aux | console | tty | vty ] line-number Example: Router(config)# line console 0 | Enters line configuration mode, and specifies the type of line. |
Step 3 | password password Instance: Router(config)# password 5dr4Hepw3 | Specifies a unique password for the panel terminal line. |
Step 4 | login Instance: Router(config-line)# login | Enables countersign verification at the concluding login session. |
Step 5 | exec-timeout minutes [ seconds ] Case: Router(config-line)# exec-timeout 5 xxx | Sets the interval that the EXEC command interpreter waits until user input is detected. The default is ten minutes. You lot can as well optionally add seconds to the interval value. |
Step 6 | line [ aux | console | tty | vty ] line-number Example: Router(config-line)# line vty 0 four | Specifies a virtual last for remote console access. |
Step 7 | countersign countersign Example: Router(config-line)# password aldf2ad1 | Specifies a unique password for the virtual last line. |
Stride eight | login Example: Router(config-line)# login | Enables countersign verifiation at the virtual concluding login session. |
Step 9 | end Example: Router(config-line)# endRouter# | Exits line configuration way, and returns to privileged EXEC mode. |
Configuring Gigabit Ethernet LAN Interfaces
To manually configure Gigabit Ethernet (GE) LAN interfaces, follow these steps, beginning in global configuration mode.
SUMMARY STEPS
one. configure concluding
2. interface gigabitethernet slot/port
3. ip address ip-address mask
four. no shutdown
five. leave
DETAILED STEPS
| | |
---|---|---|
Step ane | configure last Example: Router# configure last | Enters global configuration mode. |
Step 2 | interface gigabitethernet slot/port Example: Router(config)# interface gigabitethernet 0/1 | Enters the configuration mode for a Gigabit Ethernet interface on the router. Note GigabitEthernet LAN Interfaces are 0/0 to 0/seven for Cisco C841M-8X ISR and 0/0 to 0/3 for Cisco C841M-4X ISR. |
Pace iii | ip address ip-address mask Example: Router(config-if)# ip address 192.168.12.ii 255.255.255.0 | Sets the IP accost and subnet mask for the specified GE interface. |
Pace four | no shutdown Example: Router(config-if)# no shutdown | Enables the GE interface, changing its state from administratively downwards to administratively up. |
Stride 5 | exit Example: Router(config-if)# exit | Exits configuration style for the GE interface and returns to global configuration fashion. |
Configuring Static Routes
Static routes provide stock-still routing paths through the network. They are manually configured on the router. If the network topology changes, the static road must be updated with a new route. Static routes are private routes unless they are redistributed by a routing protocol.
To configure static routes, perform these steps in global configuration fashion.
SUMMARY STEPS
one. configure terminal
2. ip route prefix mask { ip-address | interface-type interface-number [ ip-accost ]}
3. end
DETAILED STEPS
| | |
---|---|---|
Step 1 | configure concluding Example: Router# configure final | Enters global configuration manner. |
Stride ii | ip route prefix mask { ip-accost | interface-type interface-number [ ip-accost ]} Example: Router(config)# ip road 192.168.i.0 255.255.0.0 x.x.ten.2 | Specifies the static route for the IP packets. |
Footstep 3 | end Example: Router(config)# end | Exits router configuration style, and enters privileged EXEC manner. |
Example: Configuring Static Routes
In the following configuration example, the static route sends out all IP packets with a destination IP accost of 192.168.one.0 and a subnet mask of 255.255.255.0 on the Gigabit Ethernet interface to another device with an IP address of 10.10.ten.two. Specifically, the packets are sent to the configured PVC.
You lot do not demand to enter the command marked "(default)." This control appears automatically in the configuration file generated when you lot use the bear witness running-config control.
Verifying Configuration
To verify that you have properly configured static routing, enter the evidence ip route control and wait for static routes signified by the "Southward."
You should see verification output similar to the following:
Configuring Dynamic Routes
In dynamic routing, the network protocol adjusts the path automatically, based on network traffic or topology. Changes in dynamic routes are shared with other routers in the network.
The Cisco routers can use IP routing protocols, such as Routing Information Protocol (RIP) or Enhanced Interior Gateway Routing Protocol (EIGRP), to larn routes dynamically. You can configure either of these routing protocols on your router.
- "Configuring Routing Information Protocol" section
- "Configuring Enhanced Interior Gateway Routing Protocol" section
Configuring Routing Information Protocol
To configure the RIP routing protocol on the router, follow these steps, first in global configuration mode.
SUMMARY STEPS
i. configure terminal
ii. router rip
3. version { 1 | ii }
4. network ip-accost
v. no auto-summary
6. end
DETAILED STEPS
| | |
---|---|---|
Step i | configure final Example: Router> configure terminal | Enters global configuration manner. |
Footstep ii | router rip Instance: Router(config)# router rip | Enters router configuration mode, and enables RIP on the router. |
Stride 3 | version { 1 | 2 } Example: Router(config-router)# version two | Specifies use of RIP version one or 2. |
Step 4 | network ip-address Case: Router(config-router)# network 192.168.1.i | Specifies a list of networks on which RIP is to be applied, using the address of the network of each directly continued network. |
Step 5 | no auto-summary Example: Router(config-router)# no motorcar-summary | Disables automated summarization of subnet routes into network-level routes. This allows subprefix routing information to pass beyond classful network boundaries. |
Pace 6 | finish Example: Router(config-router)# end | Exits router configuration fashion, and enters privileged EXEC mode. |
Instance: RIP Configuration
The following configuration case shows RIP version 2 enabled in IP network 10.0.0.0 and 192.168.one.0.
To see this configuration, use the show running-config control from privileged EXEC mode.
Verifying RIP Configuration
To verify that you have properly configured RIP, enter the show ip route command and wait for RIP routes signified by "R" as shown in this example.
Configuring Enhanced Interior Gateway Routing Protocol
To configure Enhanced Interior Gateway Routing Protocol (EGRP), perform these steps.
SUMMARY STEPS
1. configure last
2. router eigrp equally-number
3. network ip-address
four. end
DETAILED STEPS
| | |
---|---|---|
Pace 1 | configure terminal Example: Router> configure terminal | Enters global configuration manner. |
Step 2 | router eigrp as-number Example: Router(config)# router eigrp 109 | Enters router configuration fashion, and enables EIGRP on the router. The autonomous-system number identifies the route to other EIGRP routers and is used to tag the EIGRP data. |
Step 3 | network ip-address Example: Router(config)# network 192.145.1.0 | Specifies a list of networks on which EIGRP is to be applied, using the IP address of the network of directly connected networks. |
Step iv | end Instance: Router(config-router)# end Router# | Exits router configuration style, and enters privileged EXEC way. |
Instance: Configuring EIGRP
This configuration example shows the EIGRP routing protocol enabled in IP networks 192.145.1.0 and x.10.12.115. The EIGRP autonomous arrangement number is 109.
To see this configuration use the testify running-config control, showtime in privileged EXEC fashion.
Verifying EIGRP Configuration
To verify that yous have properly configured EIGRP, enter the show ip road command, and look for EIGRP routes indicated by "D " equally shown in the post-obit example:
Configuring Image and Configuration Recovery Using the Push
A push or reset button is bachelor on the rear side of the Cisco 800M Series ISR and it is designed to provide a disaster recovery method for the router.
Button can be useful for recovery during i of the 2 scenarios:
- During ROMMON initialization
- For loading a specific configuration file without accessing the router IOS prompt subsequently IOS is upwards and running.
Button Behavior During ROMMON Initialization
Tabular array ii-1 shows the high level functionality when the push button button is pressed during ROMMON initialization.
Table 2-1 Push Button Functionality During ROMMON Initialization
| |
---|---|
| If the configuration named *.cfg is bachelor in NVRAM storage or flash storage, IOS will perform a backup of the original configuration and boots up using this configuration. |
Push Button Behavior When IOS is up and Running
If yous press the push button button for more than than three seconds then release the button afterwards IOS is up and running, IOS detects this event and looks for configuration files in the order of priority.If the IOS finds the configuration file, it copies the configuration file to the startup configuration file. Then the router reloads itself and the new configuration takes effect. If the configuration files cannot be found, pressing reset button has no effect.
The order of priority in which the router looks for configuration file is given as follows:
1. usbflash0:customer-config. SN
2. usbflash0:customer-config
3. flash:client-config. SN
4. wink:client-config
Note SN is the hardware serial number.
Configuring 800M Series ISR using Zero Touch Deployment
The Nada Impact Deployment (ZTD) through USB characteristic in Cisco 800M Serial ISRs is an ease-of-employ feature that loads a customized configuration from a USB wink drive. This characteristic requires that the router has no startup configuration in its nonvolatile RAM (NVRAM). The characteristic also requires that a valid configuration file, with the filename extension.cfg, is stored in the USB wink drive. A valid configuration file can be created by saving the running configuration of a router to wink, USB flash, or to a TFTP Server.
When a router with no startup configuration boots up, it checks for a valid configuration file inside the USB flash drive. The pre-requisites for deployment using the Cipher Touch Deployment through USB feature are:
- Boot up router with no startup-configuration.
- Cisco USB flash drive inserted in the first bachelor USB slot.
- A valid configuration file in ASCII text with the filename extension.cfg
If the USB wink drive has multiple.cfg files, the router chooses the 1 with the highest index number in the USB Flash drive. To avoid loading an wrong.cfg file, ensure that there is only one.cfg file in the USB wink drive.
The Cisco 800M Series ISR uses 2d core and it is actively used in detecting USB flash drive if 3G Wireless WAN module is present on the router. If 3G Wireless WAN module is not nowadays, USB wink drive is detected past the IOS. When 3G Wireless WAN module is present, USB detection is a fleck delayed for the Cisco 800M series ISR due to the delay in second cadre initialization. While system startup is in progress and button is pressed, a timer is started to check the completion of second core initialization. For some reason if second core takes more than time, system reports an error message and continues the normal start upwards. After second core initialization router waits up to x seconds for USB detection and so complete the configuration. In example the USB wink drive does not contain a deployment configuration, router enters the configuration mode.
Source: https://www.cisco.com/c/en/us/td/docs/routers/access/800M/software/800MSCG/routconf.html
0 Response to "How To Set Ip Address In Cisco Packet Tracer"
Post a Comment