Chapter 2 Avaya P460 CLI Commands

ip default-gateway

User level: read-write, admin.

You can only access this command in configure mode.

Type configure at the command prompt to enter configure mode.

Use the ip default-gatewaycommand to define a default gateway (router).

Use the no ip default gateway command to remove the default gateway.

The syntax for this command is:

[no] ip default-gateway<ip-address>[<cost>][<preference>]

ip-address

The IP address of the router.

cost

The path cost. The default is 1

preference

Preference, either High or Low. Default is Low.

Example:

To define the router at address 192.168.37.1 as the default gateway:

Router-1(configure)#ip default-gateway 192.168.37.1

ip directed-broadcast

User level: read-write, admin.

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode.

Use the ip directed-broadcastcommand to enable net-directed broadcast forwarding.

Use the no ip directed-broadcastcommand to disables net-directed broadcasts on an interface.

The syntax for this command is:

[no] ip directed-broadcast

Example:

Router-1(config-if:marketing)# ip directed broadcast

Avaya P460 Reference Guide

39

Page 49
Image 49
Cambridge SoundWorks P460 manual Ip default-gateway, Router-1configure#ip default-gateway, Ip directed-broadcast