beautypg.com

Ethaddrset – ADIC SNC 5100 User Manual

Page 129

background image

Commands

121

6-00020-02

SNC 5100

ethAddrSet

The

ethAddrSet

command changes the IP address of the SNC 5100. An IP

address is specified as 4 decimal numbers separated by periods.

SN60023 > ethAddrSet "192.168.1.54"

Host Address set to 192.168.1.54 for Ethernet interface

value = 0 = 0x0

SN60023 >

If a netmask is required, specify it after the IP address in “dotted decimal”
form.

For example:

SN60023 > ethAddrSet "10.0.0.2","255.255.0.0"

Inet Mask set to ffff0000 for Ethernet interface

Write complete

Host Address set to 10.0.0.2 for Ethernet interface

value = 0 = 0x0

SN60023 >

fcConnTypeGet [port]

The

fcConnTypeGet

command is used to display the current setting of a

Fibre Channel port’s connection type. See also the

fcConnTypeSet

command.

The following example shows how the connection type is displayed when Fibre
Channel port 1 is specified and its connection type is loop.

SN600012 > fcConnTypeGet 1

value = 0 = 0x0

SN600012 >

Parameter

Value

Meaning

port

1

The SNC 5100 Connection labeled FC1

2

The SNC 5100 Connection labeled FC2

connection type

0

Loop

1

Point-to-point

2

Loop preferred