Chapter 13 RIP Commands

Similar documents
Chapter 9 RIP Commands

Chapter 17 BGP4 Commands

Chapter 24 PIM Commands

Chapter 16 OSPF Version 3 Commands

Chapter 20 IPv6 BGP Unicast Address Family Commands

Chapter 32 VSRP Commands

Chapter 15 OSPF Commands

Chapter 10 IP Access Lists: Standard

Appendix B Policies and Filters

Chapter 17 Configuring IPX (9300 Series Only)

Chapter 13 Configuring BGP4

FiberstoreOS IP Routing Configuration Guide

Chapter 4 Software-Based IP Access Control Lists (ACLs)

Chapter 7 Interface Commands

FiberstoreOS IP Routing Configuration Guide

FSOS IP Routing Configuration Guide

Implementing RIP for IPv6

Operation Manual IPv4 Routing H3C S3610&S5510 Series Ethernet Switches. Table of Contents

IPv6 Routing: Route Redistribution

Chapter 6 Global CONFIG Commands

Chapter 12 Configuring IPX

IPv6 Routing: RIP for IPv6

Organization of Product Documentation... xi

Chapter 3 Configuring Enhanced Quality of Service

RIP Configuration. RIP Overview. Operation of RIP. Introduction. RIP routing table. RIP timers

IP Routing Volume Organization

Antonio Cianfrani. Access Control List (ACL) Part I

Chapter 2 Using the Command Line Interface

Implementing RIP for IPv6

EIGRP Support for Route Map Filtering

Chapter 9 Configuring Unicast RPF

RIP Commands. output-delay, page 32 passive-interface (RIP), page 33 poison-reverse, page 35 receive version, page 37 redistribute (RIP), page 39

Defining Route Maps. Information About Route Maps CHAPTER

Chapter 8 Configuring OSPF

Table of Contents 1 Static Routing Configuration RIP Configuration 2-1

FSOS IP Routing Command Line Reference

Chapter 5 Privileged EXEC Commands

HP FlexFabric 5700 Switch Series

TDC 363 Introduction to LANs

Table of Contents. 2 Static Route Configuration Commands 2-1 Static Route Configuration Commands 2-1 delete static-routes all 2-1 ip route-static 2-1

Chapter 3 Command List

FiberstoreOS IP Routing Command Line Reference

BGP Route-Map Continue

IP Routing: RIP Command Reference, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)

Chapter 8 Configuring Basic Software Features

Basic IP Routing. Finding Feature Information. Information About Basic IP Routing. Variable-Length Subnet Masks

Chapter 7 Routing Protocols

Allows IGRP or Enhanced IGRP exterior routes to be advertised in updates.

Configuring Redundant Routing on the VPN 3000 Concentrator

ProCurve Routing Switches

Basic IP Routing. Finding Feature Information. Information About Basic IP Routing. Variable-Length Subnet Masks

Comparative Study of Routing Protocols Convergence using OPNET Chapter Three: Simulation & Configuration

Chapter 6 Global CONFIG Commands

FSOS IPv6 Routing Command Line Reference

Default & Static Routes and Routing Information Protocol. Presented by : Mohammed Hamad

Chapter 4: Manipulating Routing

IP Enhanced IGRP Commands

Configuring IPv6 ACLs

Multiprotocol BGP Extensions for IP Multicast Commands

Command Manual IPv4 Routing H3C S3610&S5510 Series Ethernet Switches. Table of Contents

Configuring RIP. Information About RIP CHAPTER

FiberstoreOS. IP Routing Command Line Reference

Routing Protocol Type Primarily IGP or EGP RIP Distance-Vector IGP EIGRP OSPF IS-IS BGP

FiberstoreOS V3.3 IPv6 Routing Command Line Reference

OSPFv3 Route Filtering Using Distribute-List

FiberstoreOS. IPv6 Routing Command Line Reference

Distance Vector Routing Protocols

BGP Graceful Shutdown

Routing Configuration Commands

Connecting to a Service Provider Using External BGP

BGP Commands: M through N

MPLS VPN Route Target Rewrite

Chapter 4 Lab 4-2, Controlling Routing Updates. Topology. Objectives. CCNPv7 ROUTE

IP Routing: RIP Configuration Guide, Cisco IOS Release 15SY

IP Routing Protocol-Independent Commands

Multihoming with BGP and NAT

Configuring Policy-Based Routing

material. For more information on how to get additional questions, please see a.

RIP Configuration. Page 1 of 11

A Commands. Send comments to

Route Maps. About Route Maps

Chapter 6 Configuring Basic Features

Configuring IP Unicast Routing

BGP Named Community Lists

Multihoming Techniques. bdnog8 May 4 8, 2018 Jashore, Bangladesh.

DE-CIX Academy: BGP Introduction. Notice of Liability. BGP Configuration Examples. Network Diagram for all examples. Links and Examples


Configuring an IP ACL

RIP. Table of Contents. General Information. Summary. Specifications

Chapter 14 Configuring SRP

Chapter 1 Getting Started

Configuring IP Unicast Routing

Interconnecting Cisco Networking Devices Part 1 (ICND1) Course Overview

BGP Commands. Network Protocols Command Reference, Part 1 P1R-355

ROUTING CONSORTIUM TEST SUITE

Configuring Policy-Based Routing

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan

BGP Commands. Network Protocols Command Reference, Part 1 P1R-355

Network Protocols. Routing. TDC375 Autumn 03/04 John Kristoff - DePaul University 1

Configuring VRF-lite CHAPTER

Transcription:

Chapter 13 RIP Commands NOTE: This chapter contains information about IPv4 RIP commands only. For information about IPv6 RIP commands, see IPv6 RIP Commands on page 14-1. default-metric Defines the global default-metric value that will be assigned to all external routes imported into RIP for redistribution. RIP must be active on the Routing Switch for this command to be operational. To assign a default metric of 4 to all routes imported as RIP, enter the following: ProCurveRS(config-rip-router)# def 4 Syntax: default-metric <value> Possible values: 1 15 Default value: 1 deny redistribute Defines the route types upon which you do not want to perform RIP redistribution. RIP must be active on the Routing Switch for this command to be operational. RIP is enabled by default. To deny redistribution on all types of routes to the 207.92.0.0 network, enter the following: ProCurveRS(config-rip-router)# deny redistribute 2 all address 207.92.0.0 255.255.0.0 Syntax: [no] permit deny redistribute <filter-num> all bgp ospf static address <ip-addr> <ip-mask> [match-metric <value> set-metric <value>] The <filter-num> specifies the redistribution filter ID. The software uses the filters in ascending numerical order. Thus, if filter 1 denies a route from being redistributed, the software does not redistribute that route even if a filter with a higher ID permits redistribution of the route. The all parameter applies redistribution to all route types. The bgp parameter applies redistribution to BGP4 routes only. The ospf parameter applies redistribution to OSPF routes only. June 2005 13-1

Command Line Interface Reference for ProCurve 9300/9400 Series Routing Switches The static parameter applies redistribution to IP static routes only. The address <ip-addr> <ip-mask> parameters apply redistribution to the specified network and sub-net address. Use 0 to specify any. For example, 207.92.0.0 255.255.0.0 means any 207.92.x.x sub-net. However, to specify any sub-net (all sub-nets match the filter), enter address 255.255.255.255 255.255.255.255. The match-metric <value> parameter applies the redistribution filter only to those routes with the specified metric value; possible values are from 1 15. The set-metric <value> parameter sets the RIP metric value that will be applied to those routes imported into RIP. end Moves activity to the privileged EXEC level from any level of the CLI except the user EXEC level. To move to the privileged level, enter the following from any level of the CLI. ProCurveRS(config-rip-router)# end ProCurveRS# Syntax: end exit Moves activity up one level from the current level. In this case, activity will be moved to the global level. ProCurveRS(config-rip-router)# exit ProCurveRS(config)# Syntax: exit filter Defines which IP network numbers the Routing Switch will learn from the RIP protocol and store in its IP routing table. Once RIP filters are defined, you can assign these filters to individual interfaces with the filter-group command at the Interface Level of CLI. To define a RIP filter, you must first enable RIP on the Routing Switch using the router rip command to access the RIP Router Level of the CLI. NOTE: A filter defines for inbound routes what routes it will permit to be stored in its IP routing table. For outbound routes, the filter defines what routes are allowed to be advertised through a given interface. You can also specify all routes by using the value, any, instead of specifying a specific route. An IP address and mask define a route. To define filters with respect to network traffic from 192.53.41, 192.53.5.1, 192.53.6.1 and 192.53.7.1, enter the following: ProCurveRS(config-rip-router)# filter 1 permit 192.53.4.1 255.255.255.0 ProCurveRS(config-rip-router)# filter 2 permit 192.53.5.1 255.255.255.0 ProCurveRS(config-rip-router)# filter 3 permit 192.53.6.1 255.255.255.0 ProCurveRS(config-rip-router)# filter 4 deny 192.53.7.1 255.255.255.0 13-2 June 2005

RIP Commands To enable logging on filter 1 and apply the filter to interface 1/2: ProCurveRS(config-rip-router)# filter 1 deny any any log ProCurveRS(config-rip-router)# int e 1/2 ProCurveRS(config-if-e1000-1/2)# ip rip filter-group in 1 ProCurveRS(config-if-e1000-1/2)# ip rip filter-group out 1 Syntax: filter <filter-num> permit deny <source-ip-addr> any <source-ip-mask> any [log] When the RIP filter causes packets to be denied, the following messages appear in the syslog: 00d00h00m00s:W:rip filter list 1 in V1 denied 0.0.0.0, 1 packets 00d00h00m00s:W:rip filter list 1 out V1 denied 0.0.0.0, 1 packets The format of the syslog message is as follows: <time>:w:rip filter list <list-num> <direction> V1 V2 denied <ip-addr>, <num> packets The <list-num> is the ID of the filter list. The <direction> indicates whether the filter was applied to incoming packets or outgoing packets. The value can be one of the following: in out The V1 or V2 value specifies the RIP version (RIPv1 or RIPv2). The <ip-addr> indicates the network number in the denied updates. The <num> indicates how many packets matching the values above were dropped during the five-minute interval represented by the log entry. Possible values: Filter ID: 1 64 filter-group Assigns a group of defined RIP filters on either a global or interface basis. Assignments to interfaces are done at the interface level of the CLI. ProCurveRS(config-rip-router)# filter-group out 1 3 6 9 Syntax: filter-group in out <1-64> [<1-64] Possible values: 1 64 (filter index value) ipv6 router rip Enables IPv6 RIP globally on an HP device that supports IPv6. To enable IPv6 RIP, you must enable it globally on the HP device and also on individual interfaces. For information about enabling IPv6 RIP on individual interfaces, see ipv6 router rip on page 8-49. After you enter the ipv6 router rip command, the HP device enters the IPv6 RIP configuration level, where you can access several commands that allow you to configure IPv6 RIP. For information about these commands, see IPv6 RIP Commands on page 14-1. NOTE: Enabling IPv6 RIP globally on the HP device does not enable it on individual router interfaces. To disable IPv6 RIP globally, use the no form of this command. ProCurveRS(config-rip-router)#ipv6 router rip June 2005 13-3

Command Line Interface Reference for ProCurve 9300/9400 Series Routing Switches ProCurveRS(config-ripng-router)# Syntax: [no] ipv6 router rip Default value: IPv6 RIP is disabled. learn-default This feature allows a Routing Switch to learn and advertise default RIP routes. This command can be applied on a global or interface basis. This example shows the feature enabled at the global level. ProCurveRS(config-rip-router)# learn-default Syntax: learn-default neighbor Specifies those routers from which a Routing Switch will receive RIP routes. In the example below, no RIP routes will be learned from any neighbor router. By default, RIP routes will be learned from all neighbors. To configure a Routing Switch so that no RIP routes are learned from its neighbor routers, enter the following: ProCurveRS(config-rip-router)# neighbor 1 deny any Syntax: neighbor <number> permit deny <ip-addr> any Possible values: 1 64 no Disables other commands. To disable a command, place the word no before the command. offset-list Configures a RIP offset list. A RIP offset list allows you to add to the metric of specific inbound or outbound routes learned or advertised by RIP. RIP offset lists provide a simple method for adding to the cost of specific routes and therefore biasing the Routing Switch s route selection away from those routes. An offset list consists of the following parameters: An ACL that specifies the routes to which to add the metric. The direction: In applies to routes the Routing Switch learns from RIP neighbors. Out applies to routes the Routing Switch is advertising to its RIP neighbors. The type and number of a specific port to which the offset list applies (optional). The software adds the offset value to the routing metric (cost) of the routes that match the ACL. If a route matches both a global offset list and an interface-based offset list, the interface-based offset list takes precedence. The interface-based offset list s metric is added to the route in this case. You can configure up to 24 global RIP offset lists and up to 24 RIP offset lists on each interface. To configure a global RIP offset list, enter commands such as the following: ProCurveRS(config)# access-list 21 deny 160.1.0.0 0.0.255.255 13-4 June 2005

RIP Commands ProCurveRS(config)# access-list 21 permit any ProCurveRS(config)# router rip ProCurveRS(config-rip-router)# offset-list 21 out 10 The commands in this example configure a standard ACL. The ACL matches on all IP networks except 160.1.x.x. When the Routing Switch advertises a route that matches ACL 21, the offset list adds 10 to the route s metric. Syntax: [no] <acl-number-or-name> in out offset [ethernet <portnum>] In the following example, the Routing Switch uses ACL 21 to add 10 to the metric of routes received on Ethernet port 2/1. ProCurveRS(config-rip-router)# offset-list 21 in ethernet 2/1 Possible values: See above Default value: None permit redistribute Allows you to define the route types upon which you want to perform RIP redistribution. To allow (permit) redistribution of all routes received from network 192.147.72.0, enter the following: ProCurveRS(config-rip-router)# permit redistribute 1 all address 192.147.72.0 255.255.255.0 Syntax: [no] permit deny redistribute <filter-num> all bgp ospf static address <ip-addr> <ip-mask> [match-metric <value> set-metric <value>] The <filter-num> specifies the redistribution filter ID. The software uses the filters in ascending numerical order. Thus, if filter 1 denies a route from being redistributed, the software does not redistribute that route even if a filter with a higher ID permits redistribution of the route. The all parameter applies redistribution to all route types. The bgp parameter applies redistribution to BGP4 routes only. The ospf parameter applies redistribution to OSPF routes only. The static parameter applies redistribution to IP static routes only. The address <ip-addr> <ip-mask> parameters apply redistribution to the specified network and sub-net address. Use 0 to specify any. For example, 207.92.0.0 255.255.0.0 means any 207.92.x.x sub-net. However, to specify any sub-net (all sub-nets match the filter), enter address 255.255.255.255 255.255.255.255. The match-metric <value> parameter applies the redistribution filter only to those routes with the specified metric value; possible values are from 1 15. The set-metric <value> parameter sets the RIP metric value that will be applied to those routes imported into RIP. poison-local routes The poison-local-routes command prevents routing loops on the ProCurve 9408sl by advertising local RIP routes with a cost of 16 ("infinite" or "unreachable") when these routes go down. ProCurveRS(config-rip-router)# poison-local-routes Syntax: [no]poison-local-routes Default value: disabled June 2005 13-5

Command Line Interface Reference for ProCurve 9300/9400 Series Routing Switches poison-reverse NOTE: This command applies to the ProCurve 9408sl only. Assigns a cost of 16 ( infinite or unreachable ) to a route before advertising it on the same interface as the one on which the router learned the route. ProCurveRS(config)# router rip ProCurveRS(config-rip-router)# poison-reverse Syntax: poison-reverse Default value: Disabled prefix-list Applies an IP prefix list on the ProCurve 9408sl. An IP prefix list specifies a list of networks. When you apply an IP prefix list, the ProCurve 9408sl sends and receives only those routes whose destination is in the IP prefix list. The software interprets the prefix lists in order, beginning with the lowest sequence number. ProCurveRS(config)# ip prefix-list Routesfor20 permit 20.20.0.0/24 ProCurveRS(config)# router rip ProCurveRS(config-rip-router)# prefix-list Routesfor20 out These commands configure an IP prefix list named Routesfor20, which permits routes to network 20.20.0.0/24. The Routing Switch sends routes that go to 20.20.x.x because the IP prefix list explicitly permits these routes to be sent to neighbors. Syntax: prefix-list <name> in out Possible values: The <name> parameter is the prefix list name. Specify in to filter incoming routes, or out to filter outgoing routes. quit Returns you from any level of the CLI to the User EXEC mode. ProCurveRS(config-rip-router)# quit ProCurveRS> Syntax: quit redistribution Enables RIP route redistribution on a Routing Switch. When enabled, RIP will import external routes (OSPF or Static Routes) into the RIP domain. Do this prior to setting up the redistribution table using the permit and deny commands. On the ProCurve 9408sl, you can define the routes to distribute from the IP route table into RIP routes. For example, you can specify the type of routes to redistribute and assign a metric value that will be applied to the routes imported into RIP. 13-6 June 2005

RIP Commands To enable RIP redistribution on the Routing Switch, enter the following within the Router RIP Level. ProCurveRS(config-rip-router)# redistribution To redistribute OSPF routes on the ProCurve 9408sl, and restrict the redistribution to those routes that are in the specified route-map, enter the following command: ProCurveRS(config-rip-router)# redistribution ospf route-map test Syntax: redistribution bgp connected ospf static metric <value> route-map <name> NOTE: The following options apply to the ProCurve 9408sl only. bgp applies redistribution to BGP4 routes. connected applies redistribution to directly-connected routes. ospf applies redistribution to OSPF routes. static applies redistribution to static routes. metric <value> is the metric value. The default is 1. route-map <name> is a valid route-map name. Possible values: see above Default value: disabled show Displays a variety of configuration and statistical information about the device. See Show Commands on page 40-1. timers Sets the time interval for four RIP timers on the ProCurve 9408sl (see Applicable Values). RIP must be enabled and active on the Routing Switch for this command to be operational. NOTE: To set the time interval on devices other than the ProCurve 9408sl, use the update-time command. ProCurveRS(config-rip-router)# timers 20 80 80 60 These commands set the update timer to 20, the timeout timer to 80, the holddown timer to 80, and the garbagecollect timer to 60. Syntax: timers <update timer value> <timeout timer value> <holddown timer value> <garbage-collect timer value> Possible values: <update timer value> is the time interval that will exist between the transmission of regular RIP response packets. The value can be between 3 65535 seconds. The default is 30 seconds. <timeout timer value> is the time interval that the HP device waits for a route update. If the device does not receive an update within the timeout timer value, the given route is marked "down" and the metric is set to infinity. The value can be between 9 65535 seconds. The default is 180 seconds. <holddown timer value> is the time interval that the HP device waits before updating the down route with a route learned from another peer. The value can be between 0 65535 seconds. The default is 180 seconds. <garbage-collect timer> is the time interval after which a down route is deleted from the RIP route table. The value can be between 0 65535 seconds. The default is 120 seconds. Default value: See above June 2005 13-7

Command Line Interface Reference for ProCurve 9300/9400 Series Routing Switches update-time Sets the time interval that will exist between the transmission of regular RIP response packets. This parameter is set to 30 seconds by default. RIP must be enabled and active on the Routing Switch for this command to be operational. NOTE: To set the time interval on the ProCurve 9408sl, use the timers command. To modify the default update time value to 120 seconds, enter the following: ProCurveRS(config-rip-router)# update 120 Syntax: update-time <value> Possible values: 1 1,000 seconds Default value: 30 seconds use-vrrp-path Prevents Backup VRRP routers or VSRP switches from advertising route information for the backed up interface, by enabling suppression of the advertisements. To suppress RIP advertisements for a backed up interface, enter the following command on the VRRP or VSRP Backup: ProCurveRS(config-rip-router)# use-vrrp-path Syntax: use-vrrp-path write memory Saves the running configuration into the startup-config file. ProCurveRS(config-rip-router)# wr mem Syntax: write memory write terminal Displays the running configuration of the HP device on the terminal screen. NOTE: This command is equivalent to the show running-config command. ProCurveRS(config-rip-router)# wr term Syntax: write terminal 13-8 June 2005