10IP Address Commands

ip address

ip address ip-address {mask prefix-length}

The ip address Interface Configuration (Ethernet, VLAN, port-channel) mode command sets an IP address. To remove an IP address, use the no form of this command.

Syntax

ip address ip-address {mask prefix-length}

no ip address [ip-address]

Parameters

ip-address— Specifies the valid IP address

mask — Specifies the valid network mask of the IP address.

prefix-length— Specifies the number of bits that comprise the IP address prefix. The prefix length must be preceded by a forward slash (/). (Range: 8-30)

Default Configuration

No IP address is defined for interfaces.

Command Mode

Interface Configuration (Ethernet, VLAN, port-channel) mode

User Guidelines

An IP address cannot be configured for a range of interfaces (range context).

This command is only functional if the device is in Switch mode.

Intel® Blade Server Ethernet Switch Modules SBCEGBESW1 and SBCEGBESW10 CLI Guide

121

Page 137
Image 137
Intel SBCEGBESW10 CLI manual IP Address Commands, Ip address ip-address mask prefix-length