Allied Telesis AR2050V Command Reference Manual page 794

Secure, for alliedware plus version 5.4.7-1.x
Table of Contents

Advertisement

R
C
OUTING
OMMANDS
IP ROUTE
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 that 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.
Examples
To add the destination 192.168.3.0 with the mask 255.255.255.0 as a static route
available through the device at "10.10.0.2" with the default administrative
distance, use the commands:
awplus#
awplus(config)#
To remove the destination 192.168.3.0 with the mask 255.255.255.0 as a static
route available through the device at "10.10.0.2" with the default administrative
distance, use the commands:
awplus#
awplus(config)#
To specify a null or blackhole route 192.168.4.0/24, so packets forwarded to this
route are dropped, use the commands:
awplus#
awplus(config)#
To add the destination 192.168.3.0 with the mask 255.255.255.0 as a static route
available through the device at "10.10.0.2" with an administrative distance of 128,
use the commands:
awplus#
awplus(config)#
128
Examples
To create a static route from source VRF instance red, to the subnet
(VRF-lite)
192.168.50.0/24 with a next hop of 192.168.20.6, use the following commands for
static intra-VRF routing configuration:
awplus#
awplus(config)#
C613-50186-01 Rev B
Parameter
Description
vrf
Applies the command to the specified VRF instance.
<vrf-name>
The name of the VRF instance to enter IPv4 Address-Family mode
for.
configure terminal
ip route 192.168.3.0 255.255.255.0 10.10.0.2
configure terminal
no ip route 192.168.3.0 255.255.255.0 10.10.0.2
configure terminal
ip route 192.168.4.0/24 null
configure terminal
ip route 192.168.3.0 255.255.255.0 10.10.0.2
configure terminal
ip route vrf red 192.168.50.0/24 192.168.20.6
Command Reference for AR2050V
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
794

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents