RIP and RIPNG configuration
authentication key-chain
The command specifies a list of passwords for authentication via md5 hash algorithm.
The use of a negative form (no) of the command removes a bind to the password list.
Syntax
authentication key-chain <KEYCHAIN>
no authentication key-chain
Parameters
<KEYCHAIN> – key list identifier, set by the string of up to 16 characters.
Required privilege level
10
Command mode
CONFIG-RIP
Example
esr(config-rip)# authentication key-chain lock
clear ip rip
This command deletes the contents of the RIP route database.
Syntax
clear ip rip
Parameters
The command does not contain parameters.
Required privilege level
10
Command mode
ROOT
Example
esr# clear ip rip
clear ipv6 rip
This command deletes the contents of the RIPNG route database.
Syntax
clear ipv6 rip
Parameters
The command does not contain parameters.
Required privilege level
10
Command mode
ROOT
Example
esr# clear ipv6 rip
ip rip metric
This command sets the metric value on the interface.
The use of a negative form (no) of the command sets the default metric value.
Syntax
ip rip metric <VALUE>
no ip rip metric
Parameters
<VALUE> – metric value, defines in values [1..15].
Default value
5
Required privilege level
10
Command mode
CONFIG-GI
CONFIG-TE
CONFIG-SUBIF
CONFIG-QINQ-IF
CONFIG-PORT-CHANNEL
CONFIG-BRIDGE
CONFIG-GRE
CONFIG-IP4IP4
CONFIG-LT
Example
esr(config-if-gi)# ip rip metric 11
ip rip mode
This command sets the route advertising mode.
The use of a negative form (no) of the command sets the default value.
Syntax
ip rip mode <MODE>
no ip rip mode
Parameters
<MODE> – route advertising mode:
- multicast – routes are advertised in multicast mode;
- broadcast – routes are advertised in broadcast mode;
- unicast – routes are advertised in unicast mode to neighbors configured using the ip rip neighbor <ADDR>
Default value
multicast
Required privilege level
10
Command mode
CONFIG-GI
CONFIG-TE
CONFIG-SUBIF
CONFIG-QINQ-IF
CONFIG-PORT-CHANNEL
CONFIG-BRIDGE
CONFIG-GRE
CONFIG-IP4IP4
CONFIG-LT
Example
esr(config-if-gi)# ip rip mode broadcast
ip rip neighbor
This command statically sets the IP address of the neighbor to establish a relationship in unicast advertising routes mode.
The use of a negative form (no) of the command removes a statically specified neighbor address.
Syntax
[no] ip rip neighbor <ADDR>
Parameters
<ADDR> – IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].
Required privilege level
10
Command mode
CONFIG-GI
CONFIG-TE
CONFIG-SUBIF
CONFIG-QINQ-IF
CONFIG-PORT-CHANNEL
CONFIG-BRIDGE
CONFIG-GRE
CONFIG-IP4IP4
CONFIG-LT
Example
esr(config-if-gi)# ip rip neighbor 10.100.100.5
ip rip summary-address
This command enables subnetting.
The use of a negative form (no) of the command disables subnetting.
Syntax
[no] ip rip summary-address <ADDR/LEN>
Parameters
<ADDR/LEN> – IP subnet, defined as AAA.BBB.CCC.DDD/EE where each part AAA-DDD takes values of [0..255] and EE takes values of [1..32].
Required privilege level
10
Command mode
CONFIG-GI
CONFIG-TE
CONFIG-SUBIF
CONFIG-QINQ-IF
CONFIG-PORT-CHANNEL
CONFIG-BRIDGE
CONFIG-GRE
CONFIG-IP4IP4
CONFIG-LT
Example
esr(config-if-gi)# ip rip summary-address 10.200.200.0/24
ipv6 rip metric
This command sets the metric value on the interface.
The use of a negative form (no) of the command sets the default metric value.
Syntax
ipv6 rip metric <VALUE>
no ipv6 rip metric
Parameters
<VALUE> – metric value, defines in values [1..15].
Default value
5
Required privilege level
10
Command mode
CONFIG-GI
CONFIG-TE
CONFIG-SUBIF
CONFIG-QINQ-IF
CONFIG-PORT-CHANNEL
CONFIG-BRIDGE
CONFIG-GRE
CONFIG-IP4IP4
CONFIG-LT
Example
esr(config-if-gi)# ipv6 rip metric 11
ipv6 rip summary-address
This command enables IPv6 subnetting.
The use of a negative form (no) of the command disables subnetting.
Syntax
[no] ipv6 rip summary-address <ADDR/LEN>
Parameters
<ADDR/LEN> – IP subnet, defined as AAA.BBB.CCC.DDD/EE where each part AAA-DDD takes values of [0..255] and EE takes values of [1..32].
Default value
Disabled.
Required privilege level
10
Command mode
CONFIG-GI
CONFIG-TE
CONFIG-SUBIF
CONFIG-QINQ-IF
CONFIG-PORT-CHANNEL
CONFIG-BRIDGE
CONFIG-GRE
CONFIG-IP4IP4
CONFIG-LT
Example
esr(config-if-gi)# ipv6 rip summary-address fb00::1/20
ipv6 router rip
The command performs the switch to RIPNG process parameters configuration mode.
The use of a negative form (no) of the command sets the default RIPNG process parameters values.
Syntax
[no] ipv6 router rip
Parameters
The command does not contain parameters.
Required privilege level
10
Command mode
CONFIG
Example
esr(config)# ipv6 router rip
esr(config-ripng)#
passive-interface
This command disables route advertising by the interface.
The use of a negative form (no) of the command restores route advertising.
Syntax
[no] passive-interface { <IF> | <TUN> }
Parameters
<IF> – an interface, specified in the form described in Section Types and naming order of router interfaces.
<TUN> – the name of the tunnel is specified as described in section Types and naming order of router tunnels.
Required privilege level
10
Command mode
CONFIG-RIP
Example
esr(config-rip)# passive-interface gigabitethernet 1/0/15
passive-interface
This command disables route advertising by the interface.
The use of a negative form (no) of the command restores route advertising.
Syntax
[no] passive-interface <IF>
Parameters
<IF> – an interface, specified in the form described in Section Types and naming order of router interfaces.
Required privilege level
10
Command mode
CONFIG-RIPNG
Example
esr(config-ripng)# passive-interface gigabitethernet 1/0/15
router rip
The command performs the switch to RIP process parameters configuration mode.
The use of a negative form (no) of the command sets the default RIP process parameters values.
Syntax
[no] router rip
Parameters
The command does not contain parameters.
Default value
Disabled.
Required privilege level
10
Command mode
CONFIG
Example
esr(config)# router rip
esr(config-rip)#
show ip rip
This command displays the RIP routing table.
Syntax
show ip rip
Parameters
The command does not contain parameters.
Required privilege level
1
Command mode
ROOT
Example
esr# show ip rip Sword# sho ip rip
10.10.0.1/32 via 115.0.0.10 on gi1/0/15 [rip 21:31:17] * (100/6)
10.1.90.0/24 via 115.0.0.10 on gi1/0/15 [rip 21:31:17] * (100/6)
192.168.16.0/24 via 115.0.0.10 on gi1/0/15 [rip 21:31:17] * (100/6)
show ipv6 rip
This command displays the RIPNG routing table.
Syntax
show ipv6 rip
Parameters
The command does not contain parameters.
Required privilege level
1
Command mode
ROOT
Example
esr# show ipv6 rip Sword# sho ip rip
10.10.0.1/32 via 115.0.0.10 on gi1/0/15 [rip 21:31:17] * (100/6)
10.1.90.0/24 via 115.0.0.10 on gi1/0/15 [rip 21:31:17] * (100/6)
192.168.16.0/24 via 115.0.0.10 on gi1/0/15 [rip 21:31:17] * (100/6)
timers flush
This command sets the time interval after which the route will be deleted. When setting the value, consider the following rule: «timers invalid + 60».
The use of a negative form (no) of the command sets the default value.
Syntax
timers flush <TIME>
no timers flush
Parameters
<TIME> – time in seconds, takes values of [12..65535].
Default value
240 seconds
Required privilege level
10
Command mode
CONFIG-RIP
CONFIG-RIPNG
Example
esr(config-rip)# timers flush 300
timers invalid
This command defines the time interval of the route entry correctness without updating. Upon expiration, without receiving the update, the route is marked as not available.
The use of a negative form (no) of the command sets the default value.
Syntax
timers invalid <TIME>
no timers invalid
Parameters
<TIME> – time in seconds, takes values of [12..65535].
Default value
180
Required privilege level
10
Command mode
CONFIG-RIP
CONFIG-RIPNG
Example
esr(config-rip)# timers invalid 240
timers update
This command sets the time interval after which the advertising is provided
The use of a negative form (no) of the command sets the default value.
Syntax
timers update <TIME>
no timers update
Parameters
<TIME> – time in seconds, takes values of [12..65535].
Default value
180
Required privilege level
10
Command mode
CONFIG-RIP
CONFIG-RIPNG
Example
esr(config-rip)# timers update 25