Set (router-lan) gateway, Set (router-lan) gateway -157 – Black Box COMPACT T1 MT850A User Manual

Page 241

Advertising
background image

Compact T1 - Release 6.1

5-157

CLI Commands

set

set (router-lan) gateway

Use the set (router-lan) gateway command to specify a default IP gateway for the specified
LAN interface. If there is no static network entry to 0.0.0.0, then this address is used as the
default gateway for packets with no explicit route.

Syntax:

set {rtr_lan-addr} gateway {ip-addr}

Example:

set 3:1 gateway 192.168.201.144

The example will set the local LAN interface on slot 3 to use a default gateway
at IP address 192.168.201.144.

{rtr_lan-addr}

The Router (IP or CMG) address is in the form {slot:port} or {slot "profile-name"}.

{ip-addr}

The IP address of the gateway, in the form of xxx.xxx.xxx.xxx, where xxx is between
0-255.

slot

The slot number (1-6) that contains the Router card.

port

Port number of the Router is 1.

"profile-name"

The profile name for the Router interface. Name must be enclosed
in quotes, with a maximum length of 11 characters.

Advertising