Add (router-wan) gre network, Add (router-wan) gre network -23 – Black Box COMPACT T1 MT850A User Manual

Page 107

Advertising
background image

Compact T1 - Release 6.1

5-23

CLI Commands

add

add (router-wan) gre network

Use the add (router-wan) gre network command to add a "by network" Generic Route
Encapsulation (GRE) tunnel to a WAN.

Syntax:

add {rtr_card-addr} {"wan-name"} gre network

{ip-addr mask|ip-addr/bits} {metric}

{remote-ip-addr} {"tunnel-name"}

Example:

add 3 "LosAngeles" gre network 10.0.0.0/8 3 2.2.2.2

"LATunnel"

The example will set the WAN interface named "LosAngeles" in slot 3 to pass
all packets destined for a host on subnet 10.0.0.0 through a GRE tunnel to
2.2.2.2.

Note: A set 3 "LosAngeles" gre ip by network command is required before
this command.

{rtr_card-addr}

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

{"wan-name"}

The WAN interface to modify. The name must be enclosed in quotes.

{ip-addr mask|ip-addr/bits}

{metric}

Enter a numeric value indicating the distance from your local network to the destination
network. Valid entries range from 1 to 15.

{remote-ip-addr}

The IP address of the far end of this tunnel, in the form of xxx.xxx.xxx.xxx, where xxx is
between 0-255.

{"tunnel-name"}

A symbolic name for this tunnel. Maximum of 12 characters and must be enclosed in
quotes.

ip-addr
mask

The IP address and the subnet mask of the IP network to tunnel, each in the
form of xxx.xxx.xxx.xxx, where xxx is between 0-255.

bits

Use this field to identify the number of bits, from left to right that will be
used to match the IP Address field within the data packet. Range is between
1-32.

Advertising