rip

Note

requires a Product License.

RIP router configuration.

vsr running config# vrf <vrf> routing rip

neighbor

Specifies the RIP neighbors. Useful for a non-broadcast multiple access (NBMA) network.

vsr running config# vrf <vrf> routing rip
vsr running rip# neighbor NEIGHBOR

NEIGHBOR

An IPv4 address.

static-route

RIP static routes.

vsr running config# vrf <vrf> routing rip
vsr running rip# static-route STATIC-ROUTE

STATIC-ROUTE

An IPv4 prefix: address and CIDR mask.

enabled (pushed)

Enable or disable router.

vsr running config# vrf <vrf> routing rip
vsr running rip# enabled true|false
Default value
true

allow-ecmp

Allow equal-cost multi-path.

vsr running config# vrf <vrf> routing rip
vsr running rip# allow-ecmp true|false
Default value
false

default-information-originate

Control distribution of default route.

vsr running config# vrf <vrf> routing rip
vsr running rip# default-information-originate true|false
Default value
false

default-metric

Default metric of redistributed routes.

vsr running config# vrf <vrf> routing rip
vsr running rip# default-metric <uint8>
Default value
1

network

Enable RIP on the specified IP network.

vsr running config# vrf <vrf> routing rip
vsr running rip# network NETWORK

NETWORK

An IPv4 or IPv6 prefix: address and CIDR mask.

interface

Enable RIP on the specified interface.

vsr running config# vrf <vrf> routing rip
vsr running rip# interface INTERFACE

INTERFACE

An interface name.

passive-interface

A list of interfaces where the sending of RIP packets is disabled.

vsr running config# vrf <vrf> routing rip
vsr running rip# passive-interface PASSIVE-INTERFACE

PASSIVE-INTERFACE

An interface name.

administrative-distance

Administrative distance.

vsr running config# vrf <vrf> routing rip administrative-distance

default

Default administrative distance.

vsr running config# vrf <vrf> routing rip administrative-distance
vsr running administrative-distance# default <uint8>

source

Custom administrative distance per IP prefix.

vsr running config# vrf <vrf> routing rip administrative-distance
vsr running administrative-distance# source <source> distance <uint8> access-list ACCESS-LIST

<source>

An IPv4 prefix: address and CIDR mask.

distance (mandatory)

Administrative distance.

distance <uint8>

access-list

Access-list name.

access-list ACCESS-LIST

ACCESS-LIST

Access list name.

redistribute

Redistributes routes learned from other routing protocols.

vsr running config# vrf <vrf> routing rip
vsr running rip# redistribute <redistribute> metric <uint8> route-map ROUTE-MAP

<redistribute> values

Description

connected

Connected routes (directly attached subnet or host).

kernel

Kernel routes (not installed via the zebra RIB).

isis

Intermediate system to intermediate system (ISIS).

ospf

Open Shortest Path First (OSPFv2).

bgp

Border Gateway Protocol (BGP).

static

Statically configured routes.

metric

Metric used for the redistributed route. If a metric is not specified, the metric configured with the default-metric attribute in RIP router configuration is used. If the default-metric attribute has not been configured, the default metric for redistributed routes is 0.

metric <uint8>

route-map

Applies the conditions of the specified route-map to routes that are redistributed into the RIP routing instance.

route-map ROUTE-MAP

ROUTE-MAP

Route map name.

route-map

Apply route map to this neighbor.

vsr running config# vrf <vrf> routing rip
vsr running rip# route-map <interface> <route-direction> route-map-name ROUTE-MAP-NAME

<interface>

An interface name.

<route-direction> values

Description

in

Apply map to incoming routes.

out

Apply map to outbound routes.

route-map-name (mandatory)

Route-map name.

route-map-name ROUTE-MAP-NAME

ROUTE-MAP-NAME

Route map name.

timers

Settings of basic timers.

vsr running config# vrf <vrf> routing rip timers

flush-interval

Interval before a route is flushed from the routing table.

vsr running config# vrf <vrf> routing rip timers
vsr running timers# flush-interval <uint32>
Default value
120

holddown-interval

Interval before better routes are released.

vsr running config# vrf <vrf> routing rip timers
vsr running timers# holddown-interval <uint32>
Default value
180

update-interval

Interval at which RIP updates are sent.

vsr running config# vrf <vrf> routing rip timers
vsr running timers# update-interval <uint32>
Default value
30

version

Set routing protocol version.

vsr running config# vrf <vrf> routing rip version

receive

Advertisement reception - Version control.

vsr running config# vrf <vrf> routing rip version
vsr running version# receive RECEIVE

RECEIVE values

Description

1

Accept RIPv1 updates only.

2

Accept RIPv2 updates only.

1-2

Accept both RIPv1 and RIPv2 updates.

Default value
1-2

send

Advertisement transmission - Version control.

vsr running config# vrf <vrf> routing rip version
vsr running version# send SEND

SEND values

Description

1

Send RIPv1 updates only.

2

Send RIPv2 updates only.

Default value
2

distribute-list

Filter networks in routing updates.

vsr running config# vrf <vrf> routing rip
vsr running rip# distribute-list <interface> <update-direction> access-list ACCESS-LIST \
... prefix-list PREFIX-LIST

<interface> values

Description

<ifname>

An interface name.

all

Match all interfaces.

<update-direction> values

Description

in

Incoming updates.

out

Outgoing updates.

access-list

Access-list name.

access-list ACCESS-LIST

ACCESS-LIST

Access list name.

prefix-list

Prefix-list name.

prefix-list PREFIX-LIST

PREFIX-LIST

Prefix list name.

offset-list

Offset-list to modify route metric.

vsr running config# vrf <vrf> routing rip
vsr running rip# offset-list <interface> <update-direction> metric <uint8> \
... access-list ACCESS-LIST

<interface> values

Description

<ifname>

An interface name.

all

Match all interfaces.

<update-direction> values

Description

in

Incoming updates.

out

Outgoing updates.

metric (mandatory)

Route metric.

metric <uint8>

access-list (mandatory)

Access-list name.

access-list ACCESS-LIST

ACCESS-LIST

Access list name.

state (state only)

Operational RIP state data.

route (state only)

RIP IPv4 route state.

protocol (state only)

Route protocol.

vsr> show state vrf <vrf> routing rip state route <route> protocol

route-type (state only)

Route type.

vsr> show state vrf <vrf> routing rip state route <route> route-type

nexthop (state only)

Nexthop IPv4 address.

vsr> show state vrf <vrf> routing rip state route <route> nexthop

interface (state only)

The interface that the route uses.

vsr> show state vrf <vrf> routing rip state route <route> interface

metric (state only)

Route metric.

vsr> show state vrf <vrf> routing rip state route <route> metric

neighbor (state only)

RIP neighbor state.

last-update (state only)

The time when the most recent RIP update was received from this neighbor.

vsr> show state vrf <vrf> routing rip state neighbor <neighbor> last-update

bad-packets-received (state only)

The number of RIP invalid packets received from this neighbor which were subsequently discarded for any reason (e.g. a version 0 packet, or an unknown command type).

vsr> show state vrf <vrf> routing rip state neighbor <neighbor> bad-packets-received

bad-routes-received (state only)

The number of routes received from this neighbor, in valid RIP packets, which were ignored for any reason (e.g. unknown address family, or invalid metric).

vsr> show state vrf <vrf> routing rip state neighbor <neighbor> bad-routes-received