HP 6120XG HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 76

Modify Default Metric for Redistribution, Enable RIP Route Redistribution, Example

Page 76 highlights

IP Routing Features Configuring RIP Note Note Example: To configure the switch to filter out redistribution of static or connected routes on network 10.0.0.0, enter the following commands: ProCurve(config)# router rip ProCurve(rip)# restrict 10.0.0.0 255.0.0.0 ProCurve(rip)# write memory The default configuration permits redistribution for all default connected routes only. Syntax: restrict < ip-addr > < ip-mask > | < ip-addr /< prefix length > This command prevents any routes with a destination address that is included in the range specified by the address/mask pair from being redistributed by RIP. Modify Default Metric for Redistribution The default metric is a global parameter that specifies the cost applied to all RIP routes by default. The default value is 1. You can assign a cost from 1 - 15. Example: To assign a default metric of 4 to all routes imported into RIP, enter the following commands: ProCurve(config)# router rip ProCurve(rip)# default-metric 4 Syntax: default-metric < value > The < value > can be from 1 - 15. The default is 1. Enable RIP Route Redistribution Do not enable redistribution until you have configured the redistribution filters. Otherwise, the network might get overloaded with routes that you did not intend to redistribute. To enable redistribution of connected and static IP routes into RIP, enter the following commands. ProCurve(config)# router rip ProCurve(rip)# redistribute connected 3-30

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122

IP Routing Features
Configuring RIP
Example:
To configure the switch to filter out redistribution of static or
connected routes on network 10.0.0.0, enter the following commands:
ProCurve(config)# router rip
ProCurve(rip)# restrict 10.0.0.0 255.0.0.0
ProCurve(rip)# write memory
Note
The default configuration permits redistribution for all default connected
routes only.
Syntax:
restrict <
ip-addr
> <
ip-mask
> | <
ip-addr
/<
prefix length
>
This command prevents any routes with a destination address that is included
in the range specified by the address/mask pair from being redistributed by
RIP.
Modify Default Metric for Redistribution
The default metric is a global parameter that specifies the cost applied to all
RIP routes by default. The default value is 1. You can assign a cost from 1 – 15.
Example:
To assign a default metric of 4 to all routes imported into RIP, enter
the following commands:
ProCurve(config)# router rip
ProCurve(rip)# default-metric 4
Syntax:
default-metric <
value
>
The
<
value
>
can be from 1 – 15. The default is 1.
Enable RIP Route Redistribution
Note
Do not enable redistribution until you have configured the redistribution
filters. Otherwise, the network might get overloaded with routes that you did
not intend to redistribute.
To enable redistribution of connected and static IP routes into RIP, enter the
following commands.
ProCurve(config)# router rip
ProCurve(rip)# redistribute connected
3-30