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

dest-ip-addr &gt, < mask-bits

Page 69 highlights

IP Routing Features Configuring Static IP Routes Syntax: [no] ip route < dest-ip-addr >/< mask-length > [ distance ] Allows the addition and deletion of static routing table entries. A route entry is identified by a destination (IP address/Mask Length) and next-hop pair. The next-hop can be either a gateway IP address, a VLAN, or the keyword "reject" or "black­ hole". A gateway IP address does not have to be directly reachable on one of the local subnets. If the gateway address is not directly reachable, the route is added to the routing table as soon as a route to the gateway address is learned. dest-ip-addr >/ < mask-bits The route destination and network mask length for the destination IP address. Alternatively, you can enter the mask itself. For example, you can enter either 10.0.0.0/24 or 10.0.0.0 255.255.255.0 for a route destination of 10.0.0.0 255.255.255.0. next-hop-ipaddr This IP address is the gateway for reaching the destination. The next-hop IP address is not required to be directly reachable on a local subnet. (If the next-hop IP address is not directly reachable, the route will be added to the routing table as soon as a route to this address is learned.) reject Specifies a null route where IP traffic for the specified destination is discarded and an ICMP error notification is returned to the sender. blackhole Specifies a null route where IP traffic for the specified destination is discarded and no ICMP error notification is returned to the sender. distance Specifies the administrative distance to asso­ ciate with a static route. If not specified, this value is set to a default of 1. For more on this topic, refer to "Administrative Distance" on page 3-7. (Range: 1 - 255) The no form of the command deletes the specified route for the specified 3-23

  • 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 Static IP Routes
Syntax:
[no] ip route <
dest-ip-addr
>/<
mask-length
>
<next-hop-ip-addr
| vlan <vlan-id> | reject | blackhole >
[ distance<1-255> ]
Allows the addition and deletion of static routing table entries.
A route entry is identified by a destination (IP address/Mask
Length) and next-hop pair. The next-hop can be either a
gateway IP address, a VLAN, or the keyword “reject” or “black-
hole”.
A gateway IP address does not have to be directly reachable
on one of the local subnets. If the gateway address is not
directly reachable, the route is added to the routing table as
soon as a route to the gateway address is learned.
dest-ip-addr >
/
The route destination and network mask
< mask-bits
length for the destination IP address.
Alternatively, you can enter the mask itself.
For example, you can enter either
10.0.0.0/24
or
10.0.0.0 255.255.255.0
for a route destination of
10.0.0.0 255.255.255.0.
next-hop-ip-
This IP address is the gateway for reaching the
addr
destination. The next-hop IP address is not
required to be directly reachable on a local
subnet. (If the next-hop IP address is not
directly reachable, the route will be added to
the routing table as soon as a route to this
address is learned.)
reject
Specifies a null route where IP traffic for the
specified destination is discarded and an
ICMP error notification is returned to the
sender.
blackhole
Specifies a null route where IP traffic for the
specified destination is discarded and no
ICMP error notification is returned to the
sender.
distance
Specifies the administrative distance to asso-
ciate with a static route. If not specified, this
value is set to a default of 1. For more on this
topic, refer to “Administrative Distance” on
page 3-7. (Range: 1 - 255)
The
no
form of the command deletes the specified route for the specified
3-23