EasyManuals Logo

Cisco Catalyst 3120 Command Reference Guide

Cisco Catalyst 3120
982 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 #172 background imageLoading...
Page #172 background image
2-144
Cisco Catalyst Blade Switch 3120 for HP Command Reference
OL-12248-01
Chapter 2 Cisco Catalyst Blade Switch 3120 for HP Cisco IOS Commands
ip address
ip address
Use the ip address interface configuration command on the switch stack or on a standalone switch to set
an IP address for the Layer 2 switch or an IP address for each switch virtual interface (SVI) or routed
port on the Layer 3 switch. Use the no form of this command to remove an IP address or to disable IP
processing.
ip address ip-address subnet-mask [secondary]
no ip address [ip-address subnet-mask] [secondary]
Syntax Description
Defaults No IP address is defined.
Command Modes Interface configuration
Command History
Usage Guidelines If you remove the switch IP address through a Telnet session, your connection to the switch will be lost.
Hosts can find subnet masks using the Internet Control Message Protocol (ICMP) Mask Request
message. Routers respond to this request with an ICMP Mask Reply message.
You can disable IP processing on a particular interface by removing its IP address with the no ip address
command. If the switch detects another host using one of its IP addresses, it will send an error message
to the console.
You can use the optional keyword secondary to specify an unlimited number of secondary addresses.
Secondary addresses are treated like primary addresses, except the system never generates datagrams
other than routing updates with secondary source addresses. IP broadcasts and ARP requests are handled
properly, as are interface routes in the IP routing table.
Note If any router on a network segment uses a secondary address, all other devices on that same segment
must also use a secondary address from the same network or subnet. Inconsistent use of secondary
addresses on a network segment can very quickly cause routing loops.
When you are routing Open Shortest Path First (OSPF), ensure that all secondary addresses of an
interface fall into the same OSPF area as the primary addresses.
ip-address IP address.
subnet-mask Mask for the associated IP subnet.
secondary (Optional) Specifies that the configured address is a secondary IP address. If
this keyword is omitted, the configured address is the primary IP address.
Release Modification
12.2(40)EX This command was introduced.

Table of Contents

Other manuals for Cisco Catalyst 3120

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco Catalyst 3120 and is the answer not in the manual?

Cisco Catalyst 3120 Specifications

General IconGeneral
BrandCisco
ModelCatalyst 3120
CategorySwitch
LanguageEnglish

Related product manuals