Cisco Systems C819HG4GVK9, C819GUK9 manual Configuring Static Routes

Page 51

Chapter 5 Basic Router Configuration

Configuring Static Routes

Output queue 0/0, 0 drops; input queue 0/75, 0 drops 5 minute input rate 0 bits/sec, 0 packets/sec

5 minute output rate 0 bits/sec, 0 packets/sec

0 packets input, 0 bytes, 0 no buffer

Received 0 broadcasts, 0 runts, 0 giants, 0 throttles

0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 packets output, 0 bytes, 0 underruns

0 output errors, 0 collisions, 0 interface resets

0 output buffer failures, 0 output buffers swapped out

Another way to verify the loopback interface is to ping it:

Router# ping 200.200.100.1 Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 200.200.100.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

Configuring Static Routes

Static routes provide fixed routing paths through the network. They are manually configured on the router. If the network topology changes, the static route must be updated with a new route. Static routes are private routes unless they are redistributed by a routing protocol.

Follow these steps to configure static routes, beginning in global configuration mode.

SUMMARY STEPS

1.ip route prefix mask {ip-address interface-type interface-number [ip-address]}

2.end

DETAILED STEPS

 

Command

 

Purpose

Step 1

 

 

ip route prefix mask {ip-address

Specifies the static route for the IP packets.

 

interface-type interface-number

For details about this command and about

 

[ip-address]}

 

 

 

additional parameters that can be set, see Cisco

 

Example:

 

IOS IP Routing: Protocol-Independent Command

 

Router(config)# ip route 192.168.1.0

Reference.

 

 

 

255.255.0.0

10.10.10.2

 

 

Router(config)#

 

Step 2

 

 

 

end

 

Exits router configuration mode and enters

 

Example:

 

privileged EXEC mode.

 

 

 

 

Router(config)# end

 

 

Router#

 

 

 

 

 

 

For general information on static routing, see the “Floating Static Routes” section on page B-5.

 

 

Cisco 819 Series Integrated Services Router Software Configuration Guide

 

 

 

 

 

 

OL-23590-02

 

 

5-27

 

 

 

 

 

Image 51
Contents Text Part Number OL-23590-02 September 2 Americas HeadquartersPage N T E N T S Data Account Provisioning Configuring a Cellular Interface Specifying a Synchronous Serial Interface Create a Cisco Easy VPN Remote Configuration NAT Getting Help TACACS+ OL-23590-02 General Description Product Overview1shows the Cisco 819HG ISR New Features 3G FeaturesSKU Information Wlan Features Platform FeaturesSecurity Features ScanSafe Wireless Device OverviewTftp support with Ethernet WAN interface LEDsColor Description Rssi Router# show controllers cellular Wireless Local Area Network Wlan FeaturesDual-Radio LEDs CleanAir TechnologyImages Supported Dynamic Frequency SelectionWlan LED OL-23590-02 4G LTE Wireless WAN OL-23590-02 Basic Router Configuration Default Configuration Interface PortsRouter Interface Port Label Information Needed for Configuration OL-23590-02 Line aux console tty vty line-number Password password Login Configuring Command-Line AccessExample Command PurposePrivileged Exec mode Enables password checking at the virtual terminalSession login Exits line configuration mode and returns toConfiguring Global Parameters Configuring WAN Interfaces Configuring a Gigabit Ethernet WAN InterfaceNo shutdown Exit Example Configuring the Cellular Wireless WAN InterfaceRestrictions for Configuring the Cellular Wireless Interface Prerequisites for Configuring the 3G Wireless InterfaceData Account Provisioning Command or Action PurposeDisplays the cellular gps information Shows the radio signal strengthSignal strength, the network security, and so on Details about the command parametersCellular unit cdma activate manual mdn msid msl 2lists the modem data profile parametersActivation and Provisioning Process Carrier Manual ActivationActivating with Over-the-Air Service Provisioning Cellular cdma activate iotaRouter # cellular 0 cdma activate otasp phonenumber Configuring a Cellular Interface Interface cellular Dialer string string Configuring DDREnters the global configuration mode Enters global configuration modeEnables DDR and configures the specified serial Specifies the number of the dialer access group toConfigures this line for GSM Specifies the line configuration mode. It is alwaysSpecifies a default modem chat script Exits line configuration modeThis section provides the following configuration examples Examples for Configuring Cellular Wireless InterfacesFollowing shows how to configure an HSPA+ modem Tunnel over Cellular Interface ConfigurationCommand Syntax Description Configuring Dual SIM for Cellular NetworksLocks or unlocks the SIM Perform the following commands to manually switch the SIMFollowing command forces the modem to connect to SIM1 Cellular GSM SIMOutput When Button Is Not Pushed Example Output When Button Is Pushed ExampleRommon Behavior IOS Behavior Configuring a Loopback Interface Configuring the Fast Ethernet LAN InterfacesPush Button in Wlan AP Router# show interface loopback Verifying ConfigurationAnother way to verify the loopback interface is to ping it Configuring Static RoutesConfiguring Dynamic Routes Verifying ConfigurationExample No auto-summary End Configuring Routing Information ProtocolCommand Task Router rip Version 1Router eigrp as-number Configuring Enhanced Interior Gateway Routing ProtocolNumber identifies the route to other Eigrp routers Enters router configuration mode and enablesBe applied, using the IP address of the network Eigrp on the router. The autonomous-systemOL-23590-02 Configuring Backup Data Lines and Remote Management Configuring Backup Interfaces819 Yes Be configured to back up a serial 0 interface Enters interface configuration mode forInterface for which you want to configure backup Assigns an interface as the secondary or backupDialer watch group group-number Configuring Cellular Dial-on-Demand Routing BackupConfiguring DDR Backup Using Dialer Watch Configure terminalSpecifies the interface Enables dialer watch on the backup interfaceDo not use the access list permit all command to Using the chat script commandConfiguring DDR Backup Using Floating Static Route No aaa new-model Source-interface Dialer2 Line vty 0 4 login Scheduler max-task-time Webvpn cef end Dial Backup and Remote Management Through the Auxiliary Port Ip name-server server-address Ip dhcp pool name Exit Pool configuration mode, see the Example Enters Dhcp pool configuration mode. The nameConfigure the Dhcp address pool. For Sample commands that you can use in DhcpEnters configuration mode for the line interface Enables hardware signal flow control Switches the port from console to auxiliary portExits the configure interface mode Enters configuration mode for the auxiliaryPpp authentication pap callin PC IP address behind CPE OL-23590-02 Router# show environment Environmental and Power ManagementCisco EnergyWise Support Environmental and Power Management Cisco EnergyWise SupportWAN Concentration Configuring the Serial InterfaceConfiguring Serial Interfaces Product Number Cable Type Length Connector TypeLegacy Protocol Transport Information About Configuring Serial Interfaces Cisco Hdlc EncapsulationPPP Encapsulation Multilink PPP Keepalive TimerFrame Relay Encapsulation This section contains the following tasks How to Configure Serial InterfacesConfiguring a Synchronous Serial Interface LMI on Frame Relay InterfacesConfigures synchronous serial encapsulation Specifying a Synchronous Serial InterfaceSpecifying Synchronous Serial Encapsulation Configuring PPP Configures an Sdlc interface for half-duplex modeSignals Nrzi-encoding Configuring Compression of Hdlc DataUsing the Nrzi Line-Coding Format Encapsulation hdlc Compress stacInvert txclock Invert rxclock Inverting the Transmit Clock SignalEnabling the Internal Clock Transmit-clock-internalSetting Transmit Delay Configuring DTR Signal PulsingIgnoring DCD and Monitoring DSR as Line Up/Down Indicator Ignore-dcd Dce-terminal-timing enableConfigures the DCE to use Scte from the DTE Specifying the Serial Network Interface Module TimingDte-invert-txc Specifies timing configuration to invert TXC clockUnderstanding Half-Duplex DTE and DCE State Machines Configuring Low-Speed Serial InterfacesHalf-Duplex DCE State Machines Half-Duplex DCE Transmit State Machine Constant-carrier mode No half-duplex controlled-carrierPlaces a low-speed serial interface Sdlc cts-delay Sdlc rts-timeout Changing Between Synchronous and Asynchronous ModesPhysical-layer sync async No physical-layer Configuration ExamplesInterface Enablement Configuration Examples Returns the interface to its default mode, which isSynchronous or Asynchronous Mode Examples Half-Duplex Timers ExampleLow-Speed Serial Interface Examples Authentication, Authorization, and Accounting Configuring Security FeaturesACL Type Configuring AutoSecureConfiguring Access Lists Configuration CommandsAccess Groups Configuring Cisco IOS FirewallConfiguring Cisco IOS IPS Configuring VPNURL Filtering Remote Access VPN Corporate office network Site-to-Site VPNBranch office containing multiple LANs and VLANs VPN client-Cisco 819 ISRConfiguration Examples Configure a VPN over an IPSec TunnelConfigure the IKE Policy Command or Action Purpose Domain name Exit Configure Group Policy InformationSpecifies a local address pool for the group Apply Mode Configuration to the Crypto MapExits IKE group policy configuration mode For details about this command and additionalEnable Policy Lookup Configure IPSec Transforms and Protocols Configure the IPSec Crypto Method and ParametersCrypto ipsec profile profile-name See Cisco IOS Security Command Reference for Where to Go Next Apply the Crypto Map to the Physical InterfaceCrypto map map-name Exit Create a Cisco Easy VPN Remote Configuration Crypto ipsec client ezvpn nameCrypto ipsec client ezvpn name outside inside Exit Configuration Example Configure a Site-to-Site GRE Tunnel Creates a tunnel interface and enters interface Returns to global configuration mode No cdp run 10-1 Configuring the Ethernet SwitchesSwitch Port Numbering and Naming Restrictions for the FE SwitchInformation About Ethernet Switches Storm Control Switched Port AnalyzerOverview of Snmp MIBs Igmp Snooping10-4 BRIDGE-MIB for Layer 2 Ethernet SwitchingRouterconfig#snmp-server community public RW MIBs MIBs Link10-5 MAC Address Notification10-6 How to Configure Ethernet SwitchesConfiguring VLANs VLANs on the FE PortsComand Purpose Configuring Layer 2 InterfacesSwitchport mode dynamic desirable VLANs on the GE PortConfiguring 802.1x Authentication Configuring Spanning Tree Protocol10-8 10-9 Configuring MAC Table ManipulationConfiguring Cisco Discovery Protocol Port SecurityConfiguring Per-Port Storm Control Configuring the Switched Port AnalyzerConfiguring IP Multicast Layer 3 Switching Configuring Igmp Snooping10-11 Configuring Fallback Bridging10-12 Managing the Switch11-1 Configuring PPP over Ethernet with NAT11-2 Configuration TasksConfigure the Virtual Private Dialup Network Group Number PPPoE11-3 Configure the Fast Ethernet WAN Interfaces11-4 Configure the Dialer Interface11-5 Ip address negotiated Ip mtu bytes11-6 Configure Network Address Translation11-7 Ip nat inside outside No shutdown Exit11-8 11-9 Configuration Example11-10 11-11 Verifying Your Configuration11-12 12-1 Configuring a LAN with Dhcp and VLANsConfigure Dhcp VLANs12-2 12-3 Detailed Steps12-4 Verify Your Dhcp ConfigurationConfigure VLANs Vlan ?12-5 12-6 Assign a Switch Port to a VlanSwitchport access vlan vlan-id End Example12-7 Verify Your Vlan ConfigurationRouter# vlan database 12-812-9 Router# show vlan-switch12-10 13-1 Configuring a VPN Using Easy VPN and an IPSec TunnelVPN server-Easy VPN server Cisco Easy VPNRemote, networked users VPN client-Cisco 819 ISRs13-3 Configure the IKE PolicyLifetime seconds Exit 13-5 Configure Group Policy InformationInternet Naming Service Wins servers For the group by using the wins command13-6 Apply Mode Configuration to the Crypto MapEnable Policy Lookup Login, and specifies the method used13-7 Configure IPSec Transforms and Protocols Configure the IPSec Crypto Method and Parameters13-8 13-9 Create an Easy VPN Remote Configuration Apply the Crypto Map to the Physical Interface13-10 13-11 Mode client network-extension network extension plus ExitVerifying Your Easy VPN Configuration Following example verifies your easy vpn connection13-12 13-13 13-14 Cisco IOS Software Basic Skills Configuring the Router from a PCPC Operating System Terminal Emulation Software Understanding Command ModesAs interface atm To exit to user Exec Use this mode toGlobal Enter the configure User Exec Begin a session withRouter rip-from Configuration mode Routing protocol AppropriateGetting Help Router Enter one of the routerEnable Secret Passwords and Enable Passwords Entering Global Configuration ModeYou can now make changes to your router configuration Command-Line Error Messages Using CommandsAbbreviating Commands Undoing CommandsSaving Configuration Changes Where to Go NextSummary OL-18906-02 Network Protocols ConceptsRouting Protocol Options Protocol Ideal Topology Metric Routing UpdatesEnhanced Igrp PPP Authentication ProtocolsChap EthernetDialer Watch Dial BackupBackup Interface Floating Static RoutesEasy IP Phase QoS PPP Fragmentation and Interleaving IP PrecedenceLow Latency Queuing Access ListsOL-18906-02 Entering the ROM Monitor Configure terminal Enters global configuration modeConfig-reg Resets the configuration register ROM MonitorPrompt increments with each new line ROM Monitor CommandsExits global configuration mode ReloadCommand Descriptions Disaster Recovery with Tftp DownloadCommand Description Tftp Download Command Variables Variable CommandRequired Variables Using the Tftp Download Command Configures how the router displays fileOptional Variables You will see an output similar to the following ExamplesType Embedded AP s Appendix C ROM Monitor Appendix C ROM Monitor Configuration Register Configuration RegisterChanging the Configuration Register Using Prompts Changing the Configuration Register ManuallyConsole Download Command DescriptionDebug Commands Error ReportingContext-Displays processor context for example Appendix C ROM Monitor Exiting the ROM Monitor Exiting the ROM MonitorPort Keyword Description Common Port AssignmentsAuthentication service Any private RJE serviceISO-Transport Service Access Point Procedure Call
Related manuals
Manual 84 pages 8.63 Kb