Ip Route - Allied Telesis IE220 Series Manual

Industrial ethernet layer 2+ switches, command reference for alliedware plus version 5.5.3-0.x
Table of Contents

Advertisement

R
C
OUTING
OMMANDS

IP ROUTE

ip route
Overview
This command adds a static route to the Routing Information Base (RIB). If this
route is the best route for the destination, then your device adds it to the
Forwarding Information Base (FIB). Your device uses the FIB to advertise routes to
neighbors and forward packets.
The no variant of this command removes the static route from the RIB and FIB.
ip route <subnet&mask> {<gateway-ip>|<interface>} [<distance>]
Syntax
[description <description>]
no ip route <subnet&mask> {<gateway-ip>|<interface>}
[<distance>]
Mode
Global Configuration
Default
The default administrative distance for a static route is 1.
Usage notes
You can use administrative distance to determine which routes take priority over
other routes.
Specify a 'Null' interface to add a null or blackhole route to the switch. A null or
blackhole route is a routing table entry that does not forward packets, so any
packets sent to it are dropped.
C613-50644-01 Rev B
Parameter
Description
<subnet&mask> The IPv4 address of the destination subnet defined using either a
prefix length or a separate mask specified in one of the following
formats:
• The IPv4 subnet address in dotted decimal notation followed by
the subnet mask, also in dotted decimal notation.
• The IPv4 subnet address in dotted decimal notation, followed
by a forward slash, then the prefix length.
<gateway-ip>
The IPv4 address of the gateway device.
<interface>
The interface that connects your device to the network. For a
VLAN, enter the name of the VLAN or its VID.
You can also enter 'null' as an interface. Specify a 'null' interface to
add a null or blackhole route to the device.
The gateway IP address or the interface is required.
<distance>
The administrative distance for the static route in the range 1 to
255. Static routes by default have an administrative distance of 1,
which gives them the highest priority possible.
description
A description to record the route's purpose. It can be up to 80
<description>
printable ASCII characters long, including spaces. The description
does not affect routing or forwarding decisions made by the
device. To see the description, use the command show
running-configuration.
Command Reference for IE220 Series
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
945

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ie220-6ghxIe220-10ghx

Table of Contents