Command Line Interface Protocol Configuration Guide Cajun™ P550/P220 Switch Version 4.
Lucent Technologies Command Line Interface Protocol Configuration Guide, Volume 1 © Copyright LUCENT TECHNOLOGIES 1999 ALL RIGHTS RESERVED Produced in USA, November 1999 The products, specifications, and other technical information regarding the products contained in this document are subject to change without notice.
In This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1 OSPF Basic Configuration Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2 Restrictions using Stub and Not-So-Stubby Areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-3 Configuring OSPF using the CLI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
This chapter describes how to configure the Open Shortest Path First (OSPF) protocol using the CLI and GUI.
Configuring OSPF Set the OSPF router ID. For this to take effect, OSPF must be disabled. C o m m a n d : no router ospf ip ospf router-id router-id Mode: Global Configuration Enable OSPF and enter Router:OSPF mode. C o m m a n d : router ospf Mode: Global Configuration Define the OSPF area(s). C o m m a n d : area area-id Mode: Router:OSPF Modify the OSPF area parameters C o m m a n d : area area-id command with various parameters.
Configuring OSPF Because stub and not-so-stubby areas do not carry external routes, an area can be defined as a stub or not-so-stubby area only when: ❒ All OSPF routers inside the stub area are configured as stub routers. These routers become neighbors. ❒ The area is not needed as a transit link for virtual links. ❒ No Autonomous System Boundary Router (ASBR) is internal to the stub area. ❒ The area is not the backbone area (area 0.0.0.0).
Configuring OSPF 4. Define the OSPF area(s). area area-id area-id - a number in four-part, dotted-decimal notation that identifies the area. For example, 0.0.0.1 indicates area 1. When using OSPF in a single area, use 0.0.0.0. Cajun (configure router:ospf)# area 0.0.0.1 5. Specify the interface(s) on which OSPF runs and the area ID for each interface. network ip-address wildcard-mask area area-id ip-address - the IP address of the interface.
Configuring OSPF Table 1-1. Area Virtual Link Command area area-id virtual-link router-id [authentication-key key] [dead-interval seconds] [hello-interval seconds] [message-digest-key key-id md5 key] [retransmit-interval seconds] [transit-delay seconds] area area-id - area ID assigned to the transit area for the virtual link (decimal or dotted-decimal format). virtual-link router-id - the router ID of the virtual link neighbor.
Configuring OSPF 8. Define or modify the OSPF interface parameters. ip ospf authentication-key password The password neighboring OSPF routers on a network segment use for OSPF’s simple password authentication. Up to 8 bytes of any continuous string of characters is allowed. All neighboring routers on the same network must have the same password to route OSPF traffic. ip ospf cost cost The cost to send a packet on an OSPF interface.
Configuring OSPF ip ospf network {broadcast| non-broadcast| point-to-multipoint [non-broadcast]} Configure broadcast networks as nonbroadcast, multiaccess networks when, for example, there are routers in the network that do not support multicast addressing. broadcast - sets the network type for the interface to broadcast. Ethernet is a broadcast network. non-broadcast - sets the network type for the interface to nonbroadcast, multiaccess (Frame Relay, X.25).
Configuring OSPF Table 1-2. Tasks and Commands to Configure Additional OSPF Parameters area area-id stub area-id - identifier for the stub/NSSA. This is a decimal value or an IP address. Router:OSPF Mode Define an OSPF area to be a stub area or a NSSA. Add the command to all routers within the area. The no form of a command removes a stub area or NSSA.
Configuring OSPF Specify a router as an Autonomous System Boundary Router (ASBR). An ASBR has at least one interface into an external internetwork (another autonomous system), such as a non-OSPF network. The ASBR redistributes non-OSPF network information to the OSPF network, and vice versa. ip ospf as-boundary-router None no ip ospf as-boundary-router The no form disables ASBR status. Enable the automatic creation of virtual links. By default, this is disabled.
Configuring OSPF This example enables OSPF and redistributes RIP into OSPF and OSPF into RIP. Cajun (configure)# router ospf Cajun (configure router:ospf)# network 120.1.2.2 0.0.255.255 area 0.0.0.0 Cajun (configure router:ospf)# exit Cajun (configure)# router rip Cajun (configure router:rip)# network 120.2.2.2 This example enables OSPF routing, defines three OSPF areas (0.0.0.1, 0.0.0.2, and 0.0.0.3), masks specific address ranges within areas 0.0.0.1 and 0.0.0.
Configuring OSPF ! " In this example, area 0.0.0.3 does not have a direct physical connection to the backbone (area 0.0.0.0). To establish a backbone connection, a virtual link is configured between Router_1 and Router_2. Area 0.0.0.1 is the transit area and Router_1 is the entry point into area 0.0.0.0. Router_2 has a logical connection to the backbone through the transit area. Router ID 15.5.6.3 Router ID 15.15.22.0 Router_2 Router_1 Area 0.0.0.0 ospf2.vsd Area 0.0.0.
Configuring OSPF In this example, area 0.0.0.2 is the stub area. No external routes from the external autonomous system are forwarded into the stub. 192.168.20.1 External AS E0 Area 0.0.0.0 Router_2 Router_3 Stub Area 0.0.0.2 ospf3.vsd 192.168.21.1 S0 192.168.21.2 S0 !Configuration on Router_2 Cajun (configure)# router ospf Cajun (configure router:ospf)# network 192.168.20.0 0.0.0.255 area 0.0.0.0 Cajun (configure router:ospf)# network 192.168.21.0 0.0.0.255 area 0.0.0.
Configuring OSPF Cajun (configure router:ospf)# ! area 0.0.0.2 nssa !Configuration on Router_3 Cajun (configure)# router ospf Cajun (configure router:ospf)# network 192.168.21.0 0.0.0.255 area 0.0.0.2 Cajun (configure router:ospf)# area 0.0.0.2 nssa Cajun (configure router:ospf)# exit ! !This saves the configuration. Cajun (configure)# copy running-config startup-config ! To verify OSPF operation and display statistics, use these show commands in any command mode.
This chapter describes how to configure the Routing Information Protocol (RIP) using the CLI and GUI.
Configuring RIP Enable RIP and enter Router:RIP mode. C o m m a n d : router rip Mode: Global Configuration Specify a list of networks for the RIP routing process. C o m m a n d : network ip-address [ wildcard-mask ] Mode: Router:RIP Define the neighboring peer router(s) with which to exchange routing information. C o m m a n d : neighbor ip-address Mode: Router:RIP Specify the interface on which you are configuring RIP. This enters Interface Configuration mode.
Configuring RIP This section describes how to configure RIP using the CLI. It also includes a configuration example. % To create a basic RIP configuration: 1. Go to Global Configuration mode. 2. Enable RIP and enter Router:RIP mode. Cajun (configure)# router rip Cajun (configure router:rip)# 3. Specify a list of networks for the RIP routing process. This sends RIP updates to the interfaces in these networks.
Configuring RIP Table 2-1. Optional RIP Tasks and Commands Task Command Parameter neighbor ip-address ip-address - IP address of a peer router with which to exchange routing information. output-delay milliseconds milliseconds - the delay between packets in a multiple-packet RIP update. The range is 8 to 50 milliseconds. triggered updates None Router:RIP Mode Define the neighboring peer router(s) with which to exchange routing information.
Configuring RIP Task Command Parameter ip rip default-route-mode {talk-only | listen-only | talk-listen | none} talk-only - the default route is advertised in RIP updates but ignored on incoming neighbor updates. Interface Configuration Mode Set the RIP default route characteristics. There is no default. listen-only - the default route is suppressed from RIP updates but accepted on incoming neighbor updates. talk-listen - the default route is advertised and accepted.
Configuring RIP % &' This example shows a basic RIP configuration. Cajun (configure)# router rip Cajun (configure router:rip)# network 108.121.0.0 Cajun (configure router:rip)# network 125.34.5.0 Cajun (configure router:rip)# neighbor 108.130.0.
configuring using the CLI, 1-3 not-so-stubby area configuration, 1-12 not-so-stubby areas restrictions, 1-3 OSPF, 1-3 basic configuration diagram, 1-2 configuration examples, 1-9 configuration tasks (optional) , 1-8 OSPF configuration creating, 1-3 OSPF operation verifying, 1-13 RIP configuration diagram, 2-2 configuration example, 2-6 configuration tasks (optional) , 2-3 RIP configuration creating, 2-3 RIP statistics displaying, 2-6 router summarization configuration, 1-10 stub area conf