Introduction; Ip Route - Allied Telesis SwitchBlade x908 Series Software Reference Manual

Switchblade x908/x900 series alliedware plus operating system software reference for version 5.3.1
Hide thumbs Also See for SwitchBlade x908 Series:
Table of Contents

Advertisement

Routing Commands

Introduction

This chapter provides an alphabetized reference for the routing commands that are common
across the routing IP protocols.

ip route

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 form removes the static route from the RIB and FIB.
Syntax
ip route <subnet&mask> {<gateway-ip>|<ifname>} [<1-255>]
no ip route <subnet&mask> {<gateway-ip>|<ifname>} [<1-255>]
Parameter
<subnet&mask>
<gateway-ip>
<ifname>
<1-255>
Global Configuration mode
Mode
To add the destination 192.168.3.0 with the mask 255.255.255.0 as a static route available
Examples
through the device at "10.10.0.2" with an administrative distance of 128, use the command:
To add the destination 10.0.0.0 with a prefix length of 8 as a static route available through vlan4
with an administrative distance of 32, use the command:
show ip route
Related Commands
30.2
Description
The IPv4 address of the destination prefix with 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 in dotted decimal notation.
The IPv4 subnet address in dotted decimal notation followed by a forward
slash, then the prefix length.
The IPv4 address of the gateway device.
The interface that connects your device to the network. Enter the name of
the VLAN or its VID.
The administrative distance for this route. For more information about
setting administrative distances, see
page
29.4.
awplus(config)#
ip route 192.168.3.0 255.255.255.0
10.10.0.2 128
awplus(config)#
ip route 10.0.0.0/8 vlan4 32
Software Reference for SwitchBlade® x908, x900 and x600 Series Switches
TM
AlliedWare Plus
Operating System - Software Version 5.3.1
"Administrative Distance" on
C613-50007-01 REV B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents