Home >

LunaSH Command Reference Guide > LunaSH Commands > ntls > ntls bind

ntls bind

Binds the network trust link service (NTLS) to a network device (eth 0 or eth1) or to a hostname or IP address. You must bind to either a network device or a hostname/IP address.

The new setting takes effect only after NTLS is restarted.

If you wish, client traffic restriction could complement SSH traffic restriction using the command "sysconf ssh ip" or "sysconf ssh device", which restrict administrative traffic (over SSH) to a specific IP address or device name on your Luna SA.

Syntax

ntls bind [<netdevice>] [-bind <hostname_or_ipaddress>] [-force]

Parameter              Shortcut       Description
-bind -b

Bind the NTLS service to a hostname or IP address, if no ethernet device was specified.

-force -f Force the action without prompting.
<netdevice>  

Bind the NTLS service to this ethernet device. Can be left blank if you are binding to a hostname or ip address, otherwise must be the loopback device or an ethernet device.

Valid values:

lo: Bind to the loopback device.

eth0: Bind to the eth0 device.

eth1: Bind to eth1 device.

all: Bind to all devices.

Default: lo

Example

For a device
lunash:>ntls bind eth0

Success: NTLS binding network device eth0 set.
NOTICE: The NTLS service must be restarted for new settings to take effect.
If you are sure that you wish to restart NTLS, then type 'proceed', otherwise type 'quit'
> proceed

Proceeding...
Restarting NTLS service...
Stopping ntls:                           [ OK  ]
Starting ntls:                           [ OK  ]
Command Result : 0 (Success)
For an IP address
[myluna] lunash:>ntls bind none -bind 192.20.10.96

Success: NTLS binding hostname or IP Address 192.20.10.96 set.
NOTICE: The NTLS service must be restarted for new settings to take effect.
If you are sure that you wish to restart NTLS, then type 'proceed', otherwise type 'quit'
> proceed

Proceeding...
Restarting NTLS service...
Stopping ntls:                           [ OK  ]
Starting ntls:                           [ OK  ]
Command Result : 0 (Success)

lunash:>ntls show

NTLS bound to network device: none  IP Address: "192.20.10.96" (eth0)
Command Result : 0 (Success)