rip

RIP router configuration.

vrouter running config# vrf <vrf> routing rip

neighbor

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

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

NEIGHBOR

An IPv4 address.

static-route

RIP static routes.

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

STATIC-ROUTE

An IPv4 prefix: address and CIDR mask.

enabled

Enable or disable router.

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

allow-ecmp

Allow equal-cost multi-path.

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

default-information-originate

Control distribution of default route.

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

default-metric

Default metric of redistributed routes.

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

network

Enable RIP on the specified IP network.

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

NETWORK values

Description

<A.B.C.D/M>

An IPv4 prefix: address and CIDR mask.

<X:X::X:X/M>

An IPv6 prefix: address and CIDR mask.

interface

Enable RIP on the specified interface.

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

INTERFACE

An interface name.

passive-interface

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

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

PASSIVE-INTERFACE

An interface name.

administrative-distance

Administrative distance.

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

default

Default administrative distance.

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

source

Custom administrative distance per IP prefix.

vrouter running config# vrf <vrf> routing rip administrative-distance
vrouter 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.

vrouter running config# vrf <vrf> routing rip
vrouter 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).

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.

vrouter running config# vrf <vrf> routing rip
vrouter 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.

vrouter running config# vrf <vrf> routing rip timers

flush-interval

Interval before a route is flushed from the routing table.

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

holddown-interval

Interval before better routes are released.

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

update-interval

Interval at which RIP updates are sent.

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

version

Set routing protocol version.

vrouter running config# vrf <vrf> routing rip version

receive

Advertisement reception - Version control.

vrouter running config# vrf <vrf> routing rip version
vrouter 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.

vrouter running config# vrf <vrf> routing rip version
vrouter 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.

vrouter running config# vrf <vrf> routing rip
vrouter 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.

vrouter running config# vrf <vrf> routing rip
vrouter 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.

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

route-type (state only)

Route type.

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

nexthop (state only)

Nexthop IPv4 address.

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

interface (state only)

The interface that the route uses.

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

metric (state only)

Route metric.

vrouter> 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.

vrouter> 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).

vrouter> 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).

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