C613-50631-01 Rev A Command Reference for IE340 Series 1003
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
ROUTING COMMANDS
IP
ROUTE
Versions of AlliedWare Plus earlier than 5.5.1-2.1 do not support descriptions on
static routes, so a start-up configuration that contains descriptions will be rejected
by these older versions. If you add descriptions, be careful if you downgrade to an
older AlliedWare Plus version.
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# configure terminal
awplus(config)# ip route 192.168.3.0 255.255.255.0 10.10.0.2
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# configure terminal
awplus(config)# no ip route 192.168.3.0 255.255.255.0 10.10.0.2
To specify a null or blackhole route 192.168.4.0/24, so packets forwarded to this
route are dropped, use the commands:
awplus# configure terminal
awplus(config)# ip route 192.168.4.0/24 null
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# configure terminal
awplus(config)# ip route 192.168.3.0 255.255.255.0 10.10.0.2
128
To give a route a description of ‘test’ when creating it, use the commands:
awplus# configure terminal
awplus(config)# ip route 192.168.3.0/24 10.10.0.2 description
test
To remove the description from a route, re-enter the route without specifying the
description parameter:
awplus# configure terminal
awplus(config)# ip route 192.168.3.0/24 10.10.0.2
Related
commands
show ip route
show ip route database