Ip default-gateway, Ip directed-broadcast, Ip default-gateway ip directed-broadcast – Avaya P460 User Manual

Page 49

Advertising
background image

Chapter 2

Avaya P460 CLI Commands

Avaya P460 Reference Guide

39

ip default-gateway

User level: read-write, admin.
L You can only access this command in configure mode.

Type configure at the command prompt to enter configure mode.

Use the ip default-gateway command 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>]

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

ip directed-broadcast

User level: read-write, admin.
L You can only access this command in interface mode.

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

Use the ip directed-broadcast command to enable net-directed broadcast
forwarding.
Use the no ip directed-broadcast command to disables net-directed
broadcasts on an interface.

The syntax for this command is:

[no] ip directed-broadcast

Example:

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.

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

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

Advertising