ip

Syntax

ip {show | dhcp | disable | addr}

描述

Shows or configures the port with a static IP address (IPv4 only) or enables the DHCP client on the port. An address is set only if a DHCP server is available to provide one.

Command context

Service OS (SVOS>)

Parameters

{show | dhcp | disable | addr}

Selects the options for the OOBM port.

显示

显示了OOBM端口。

dhcp

Configures the port with a DHCP address.

disable

Disables the OOBM port.

addr

Configures the port with a static IP address (IPv4 only). Specify address, netmask, and gateway as A.B.C.D.

权威

Administrators or local user group members with execution rights for this command.

Example

Configuring the port with a DHCP IP address:

SVOS>ip dhcpSVOS>ip show在terface : Link Up IP Address : 10.0.26.17 Subnet Mask: 255.255.252.0 Gateway : 10.0.24.1 SVOS>ip disableSVOS>ip show在terface : Disabled SVOS>