Configuring Static Routes - Cisco ONS 15454 Software Feature And Configuration Manual

Sonet / sdh ml-series multilayer ethernet card
Hide thumbs Also See for ONS 15454:
Table of Contents

Advertisement

Configuring IP Routing
Maximum path: 4
Routing for Networks:
Routing Information Sources:
Distance: (default is 115)
Router# show isis database
IS-IS Level-1 Link State Database:
LSPID
Router_A.00-00
Router_A.02-00
Router.00-00
IS-IS Level-2 Link State Database:
LSPID
Router_A.00-00
Router_A.02-00
Router.00-00
Router# show clns neighbors
System Id
Router_A

Configuring Static Routes

Static routes are user-defined routes that cause packets moving between a source and a destination to
take a specified path. Static routes can be important if the router cannot build a route to a particular
destination. They are also useful for specifying a gateway of last resort to which all unroutable packets
are sent.
Beginning in privileged EXEC mode, follow these steps to configure a static route:
Command
Step 1
Router# configure terminal
Step 2
Router(config)# ip route prefix mask {
address | interface } [ distance ]
Step 3
Router(config)# end
Step 4
Router# copy running-config startup-config
The following example shows a static route:
Router(config)# ip route 0.0.0.0 0.0.0.0 192.168.2.1
Use the no ip route prefix mask {address | interface} global configuration command to remove a static
route.
This is an example of output from the show ip route privileged EXEC command with a static route
configured:
Router# show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
Cisco ONS 15454 SONET/SDH ML-Series Multilayer Ethernet Card Software Feature and Configuration Guide, R4.0
10-32
None
FastEthernet0
POS0
Gateway
Distance
192.168.2.1
115
LSP Seq Num
0x00000003
0x00000001
* 0x00000004
LSP Seq Num
0x00000004
0x00000001
* 0x00000004
Interface
PO0
Last Update
00:06:48
LSP Checksum
LSP Holdtime
0xA72F
581
0xA293
581
0x79F9
582
LSP Checksum
LSP Holdtime
0xF0D6
589
0x328C
581
0x6A09
586
SNPA
State
0005.9a39.6790
Up
Purpose
Enters global configuration mode.
Establishes a static route.
Returns to privileged EXEC mode.
(Optional) Saves your entries in the
configuration file.
Chapter 10
Configuring Networking Protocols
ATT/P/OL
0/0/0
0/0/0
0/0/0
ATT/P/OL
0/0/0
0/0/0
0/0/0
Holdtime
Type Protocol
7
L1L2 IS-IS
78-15224-02

Advertisement

Table of Contents
loading

Table of Contents