Ip route, Ip route-mode, Ip route -15 ip route-mode -15 – Carrier Access Adit 3000 Series and Multi-Service Router (MSR) Card none User Manual

Page 259

Advertising
background image

Adit 3000 (Rel. 1.6) and MSR Card (Rel 2.0) CLI

11-15

Configuration - Ethernet Interface Mode

ip route

Use the Ethernet Interface ip route command to configure the static routes on this interface. To delete
a route, see no ip route command on page 11-21.

Syntax:

(config-int-eth-{

n})# ip route dest-ip-addr mask mask gateway

gateway metric metric

Example:

(config-int-eth-1)# ip route 192.168.100.200 mask 255.255.255.0

gateway 192.168.100.254 metric 125

Supported Platforms:

Adit 3104, Adit 3200, Adit 3500, MSR

ip route-mode

Use the Ethernet Interface ip route-mode command to configure the routing mode.

Syntax:

(config-int-eth-{

n})# ip route-mode {napt|route}

Example:

(config-int-eth-1)# ip route-mode napt

Supported Platforms:

Adit 3104, Adit 3200, Adit 3500, MSR

Field

Definition

dest-ip-addr

Enter the destination IP address.

mask

Enter the mask of the above address.

gateway

Enter the gateway IP address.

metric

Metric of IP network on this interface in the Routing Table. Range is
0-255, with a default is 10.

Field

Definition

napt

Set to NAPT mode. Default. NAPT is used if doing private IPs on the
Ethernet side or if you want to hide specific publics on the internal
side.

route

Set to Route mode. Routing is used if public is visible on both sides.

Advertising