Ip Route - Dell Networking 2024 Reference Manual

Hide thumbs Also See for Networking 2024:
Table of Contents

Advertisement

Default Configuration
No route maps are configured by default.
Command Mode
Interface Configuration (VLAN) mode
User Guidelines
Policy-based routing must be configured on the VLAN interface that receives
the packets, not on the VLAN interface from which the packets are sent.
Packets matching a deny route map are routed using the routing table. Policy
maps with no set clause are ignored.
Example
Considering equal-access as a route-map configured earlier, the following
sequence is an example of how a route map is applied to a VLAN.
console(config)#interface vlan 10
console(config-if-vlan10)#ip policy route-map equal-access

ip route

Use the ip route command in Global Configuration mode to configure a
static route. Use the no form of the command to delete the static route. The
IP route command sets a value for the route preference. Among routes to the
same destination, the route with the lowest preference value is the route
entered into the forwarding database. Specifying the preference of a static
route controls whether a static route is more or less preferred than routes from
dynamic routing protocols. The preference also controls whether a static
route is more or less preferred than other static routes to the same
destination.
Syntax
networkaddr
ip route
networkaddr
no ip route
preference
[
]
networkaddr
subnetmask — Subnet mask of destination interface.
1050
IP Routing Commands
subnetmask
{
subnetmask
{
— IP address of destination interface.
prefix-length
|
}
prefix-length
|
nexthopip
preference
[
nexthopip
}
]

Advertisement

Table of Contents
loading

Table of Contents