Configuring IP Routing Protocol-Independent Features
IP Routing Protocol-Independent Configuration Examples
IPC-379
Cisco IOS IP Configuration Guide
IP Routing Protocol-Independent Configuration Examples
The following sections provide routing protocol-independent configuration examples:
Variable-Length Subnet Mask Example
Overriding Static Routes with Dynamic Protocols Example
Administrative Distance Examples
Static Routing Redistribution Example
IGRP Redistribution Example
RIP and IGRP Redistribution Example
EIGRP Redistribution Examples
RIP and EIGRP Redistribution Examples
OSPF Routing and Route Redistribution Examples
Default Metric Values Redistribution Example
Policy Routing (Route Map) Examples
Passive Interface Examples
Policy Routing Example
Key Management Examples

Variable-Length Subnet Mask Example

In the following example, a 14-bit subnet mask is used, leaving two bits of address space reserved for
serial line host addresses. There is sufficient host address space for two host endpoints on a
point-to-point serial link.
interface ethernet 0
ip address 172.17.1.1 255.255.255.0
! 8 bits of host address space reserved for ethernets
interface serial 0
ip address 172.17.254.1 255.255.255.252
! 2 bits of address space reserved for serial lines
! Router is configured for OSPF and assigned AS 1
router ospf 1
! Specifies the network directly connected to the router
network 172.17.0.0 0.0.255.255 area 0.0.0.0
Router# show key chain [name-of-chain]Displays authentication key information.
Router# show route-map [map-name]Displays all route maps configured or only the one
specified.
Command Purpose