beautypg.com

Set gateway show gateways – Perle Systems DS1 User Manual

Page 103

background image

Command Line Interface 103

Network Commands

Set Gateway

Description Configures the gateway.
User Level Admin
Syntax

Options

<config_gateway_host>

You can view the configured gateways that can be deleted by typing

delete gateway ?

.

default|host|network

<dest_ip_addr>

<subnet_bits>

Show Gateways

Description Shows configured gateways.
User Level Normal, Admin
Syntax

set gateway <config_gateway_host> default

set gateway <config_gateway_host> host <destination_ip>

set gateway <config_gateway_host>

network <dest_ipv4_addr>|<dest_ipv6_address>
[<subnet_bits_0-32>|<subnet_bits_0-128>]

Specify the type of gateway:

z

Default—A gateway which provides general access beyond your local network.

z

Host—A gateway reserved for accessing a specific host external to your local

network.

z

Network—A gateway reserved for accessing a specific network external to your

local network.

When the gateway is a

Host

or

Network

gateway, you must specify the IP address of

the target host machine/network.

When the gateway is a

Network

gateway, you must specify the subnet/prefix bits for

that network. If the IP address is IPv4, then the Subnet/Prefix Bits range is 0-32. If the

IP address is IPv6, then the Subnet/Prefix Bits range is 0-128.

show gateways