Set ip route – Avaya P460 User Manual

Page 91

Advertising
background image

Chapter 2

Avaya P460 CLI Commands

Avaya P460 Reference Guide

81

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>

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

destination

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

netmask

Subnet mask

gateway

IP address of the router

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!

Advertising