![Cisco Nexus 3548 series Скачать руководство пользователя страница 164](http://html.mh-extra.com/html/cisco/nexus-3548-series/nexus-3548-series_command-reference-manual_2609162164.webp)
144
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
ip address
ip address
To set a primary or secondary IP address for an interface, use the
ip address
command. To remove an
IP address or disable IP processing, use the
no
form of this command.
ip address
ip-address
mask
[
secondary
]
no ip address
ip-address
mask
[
secondary
]
Syntax Description
Command Default
No IP address is defined for the interface.
Supported User Roles
Interface configuration mode
Subinterface configuration mode
Command History
Usage Guidelines
Note
Before you use this command, make sure that you use the
no switchport
command on the interface to
use the Layer 3 features.
An interface can have one primary IP address and one secondary IP address.
You can disable IP processing on a particular interface by removing its IP address with the
no ip address
command.
The optional
secondary
keyword allows you to specify a secondary IP address. Secondary addresses are
treated like primary addresses, except the system never generates datagrams other than routing updates
with secondary source addresses. IP broadcasts and Address Resolution Protocol (ARP) requests are
handled, as are interface routes in the IP routing table.
Note
When you are routing using the Open Shortest Path First (OSPF) algorithm, ensure that the secondary
address of an interface fall into the same OSPF area as the primary addresses. Make sure that the LAN
Enterprise Services license is installed.
This command does not require a license but if you want to enable Layer 3 interfaces, you must install
the LAN Base Services license.
ip-address
IPv4 address in the format
A
.
B
.
C
.
D
or
A
.
B
.
C
.
D
/
length
.
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
5.0(3)A1(1)
This command was introduced.
Содержание Nexus 3548 series
Страница 14: ...Contents xiv Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 ...
Страница 16: ...xvi Cisco Nexus 3548 NX OS Unicast Routing Command Reference OL 27852 01 Chapter New and Changed Information ...
Страница 20: ...xx Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 ...
Страница 426: ...406 Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands vrrp ...