Set (router-wan) ip, Set (router-wan) ip address, Set (router-wan) ip -185 – Black Box COMPACT T1 MT850A User Manual

Page 269: Set (router-wan) ip address -185

Advertising
background image

Compact T1 - Release 6.1

5-185

CLI Commands

set

set (router-wan) ip

Use the set (router-wan) ip command to set the IP traffic handling on the WAN interface.

Syntax:

set {rtr_card-addr} {"wan-name"} ip

{block|bridge|route}

Example:

set 1 "LosAngeles" ip route

Sets the WAN interface named "LosAngeles" on the Router in slot 1 to route IP.

{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.

{block|bridge|route}

set (router-wan) ip address

Use the set (router-wan) ip address command to set the IP address for a WAN interface.

Syntax:

set {rtr_card-addr} {"wan-name"} ip address

{ip-addr} [mask]|unnumbered}

Example:

set 1 "LosAngeles" ip address 100.2.2.2 255.255.255.0

The example will set the WAN interface named "LosAngeles" on the Router in
slot 1 to the IP address 100.2.2.2, with a subnet mask of 255.255.255.0.

{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}

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

[mask]

The subnet mask, in the form of xxx.xxx.xxx.xxx, where xxx is between 0-255.

{unnumbered}

Treat this as an un-numbered interface, as per RFC 1812.

block

Set the WAN to block IP.

bridge

Set the WAN to bridge IP.

route

Set the WAN to route IP.

Advertising