EasyManuals Logo
Home>Cisco>Switch>300 Series

Cisco 300 Series User Manual

Cisco 300 Series
1117 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #451 background imageLoading...
Page #451 background image
IP Addressing Commands
451 OL-32830-01 Command Line Interface Reference Guide
22
•
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.
The route is gotten a metric of 1.
Default Configuration
No IP address is defined for interfaces.
Command Mode
Interface Configuration mode
User Guidelines
Use the ip address command to define a static IP address on an interface.
In router mode.
Multiple IP addresses are supported. A new defined IP address is added on the
interface.
Defining a static IP address on an interface stops a DHCP client running on the
interface and removes the IP address assigned by the DHCP client.
If a configured IP address overlaps another configured one a warning message is
displayed. To change an existed IP address, delete the existed one and add the
new one.
In switch mode.
One IP address is supported. A new defined IP address overrides the previously
defined IP address.
Defining a static IP address stops a running DHCP client and deletes the IP
address assigned by the DHCP client.
While no IP address is assigned either by DHCP client or manually the default IP
address 192.168.1.254 is assigned on the Default VLAN.
Examples
Example 1. The following example configures VLAN 1 with IP address
131.108.1.27 and subnet mask 255.255.255.0.

Table of Contents

Other manuals for Cisco 300 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco 300 Series and is the answer not in the manual?

Cisco 300 Series Specifications

General IconGeneral
BrandCisco
Model300 Series
CategorySwitch
LanguageEnglish

Related product manuals