Add (router-wan) gre network, Add (router-wan) gre network -26 – Carrier Access Network Device Axxius 800 User Manual

Page 126

Advertising
background image

5-26

Axxius 800 - Release 2.2

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-8) that contains the Router 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.

ip-addr

The IP Address of the IP network to tunnel, in the form of xxx.xxx.xxx.xxx,
where xxx is between 0-255.

bits

The subnet mask, specified as the number of ones bits in the mask value.
Range is between 1-32.

Advertising