Chapter 2 Avaya P460 CLI Commands

set ip route

User level: read-write, admin.

Use the set ip route command to adds a route to the IP routing table. You can configure from 1 to 10 default static gateways for a P460 switch.

The syntax for this command is:

set ip route <destination> <netmask> <gateway>

destination

IP address of the network, or specific host to be added

netmask

Subnet mask

gateway

IP address of the router

Example:

This example shows how to add a default route to the IP routing table:

P460-1#set ip route 0.0.0.0 24 192.168.1.1

destination = 0.0.0.0 mask = 255.255.255.0 gateway = 192.168.1.1 done!

Avaya P460 Reference Guide

81

Page 91
Image 91
Cambridge SoundWorks manual Set ip route, P460-1#set ip route 0.0.0.0 24