Alliedware plus command – Allied Telesis AT-S63 User Manual

Page 717

Advertising
background image

AT-S63 Management Software Command Line User’s Guide

Section VII: Internet Protocol Routing

717

AlliedWare Plus

Command

Syntax

To create a static route:

ip route

destination_ip_address/mask

nexthop_ip_address

To create a default route:

ip route 0.0.0.0

nexthop_ip_address

Mode

Configure mode

Description

This command does not allow you to specify metric values or preference
values for static routes. The default values are used instead.

Examples

This command adds a static route to a remote subnet with the IP address
176.14.145.0 and a mask of 255.255.255.0. The IP address of the next
hop is 112.41.12.11:

awplus> enable
awplus# configure terminal
awplus(config)# ip route 176.14.145.0/24 112.41.12.11

This example creates a default route with the next hop as 171,22,125,8:

awplus> enable
awplus# configure terminal
awplus(config)# ip route 0.0.0.0/0 171.22.125.8

Advertising