Ip Route - Allied Telesis x310-26FT Command Reference Manual

X310 series stackable access switches for alliedware plus version 5.4.6-1.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
no ip route <subnet&mask> {<gateway-ip>|<interface>}
[<distance>]
Mode
Global Configuration
Default
The default administrative distance for a static route is 1 for priority over non-static
routes.
Usage
Administrative distance can be modified so static routes do not 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-50103-01 REV A
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. 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-255>. Static routes by default have an administrative distance
of 1.
Command Reference for x310 Series
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
766

Advertisement

Table of Contents
loading

This manual is also suitable for:

X310-26fpX310-50fpX310-50ft

Table of Contents