![Cisco Small Business 300 1.1 Series Скачать руководство пользователя страница 477](http://html.mh-extra.com/html/cisco/small-business-300-1-1-series/small-business-300-1-1-series_administration-manual_2609294477.webp)
IP Addressing Commands
78-20269-01 Command Line Interface Reference Guide
478
35
35
IP Addressing Commands
35.1
ip address
Use the ip address Interface Configuration (Ethernet, VLAN, Port-channel) mode
command to define an IP address for an interface. Use the no form of this
command
to remove an IP address definition.
Syntax
If the product is a switch router.
ip address
ip-address
{
mask
|
prefix-length
}
no ip address [
ip-address
]
If the product is a switch only.
ip address
ip-address
{
mask
| /
prefix-length
} [default-gateway
ip-address
]
no ip address [
ip-address
]
If the product is switch only and supports a single IP address:
ip address
ip-address
{
mask
| /
prefix-length
} [default-gateway
ip-address
]
no ip address
Parameters
•
ip-address—Specifies the IP address.
•
mask—Specifies the 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-gateway
ip-address
—Specifies the default gateway IP address.
Default Configuration
No IP address is defined for interfaces.
Command Mode
Interface Configuration (Ethernet, VLAN, Port-channel) mode. It cannot be
configured for a range of interfaces (range context).
Содержание Small Business 300 1.1 Series
Страница 1: ...Cisco Small Business 300 1 1 Series Managed Switch Administration Guide CLI GUIDE ...
Страница 527: ...DHCP Relay Commands 78 20269 01 Command Line Interface Reference Guide 528 38 Servers 1 1 1 1 2 2 2 2 ...
Страница 705: ...Revision History 78 20269 01 Command Line Interface Reference Guide 936 4 ...