![Cisco Catalyst 2350 Скачать руководство пользователя страница 102](http://html.mh-extra.com/html/cisco/catalyst-2350/catalyst-2350_command-reference-manual_67583102.webp)
2-78
Catalyst 2350 Switch Command Reference
OL-19055-01
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands
ip address
ip address
Use the
ip address
interface configuration command to set an IP address for the switch or an IP address
for each switch virtual interface (SVI) on the 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.
If your switch receives its IP address from a Bootstrap Protocol (BOOTP) or a DHCP server and you
remove the switch IP address by using the
no ip address
command, IP processing is disabled, and the
BOOTP or the DHCP server cannot reassign the address.
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(46)EY
This command was introduced.
Содержание Catalyst 2350
Страница 14: ...Contents xiv Catalyst 2350 Switch Command Reference OL 19055 01 ...
Страница 18: ...xviii Catalyst 2350 Switch Command Reference OL 19055 01 Preface ...
Страница 606: ...B 66 Catalyst 2350 Switch Command Reference OL 19055 01 Appendix B Catalyst 2350 Debug Commands debug vqpc ...
Страница 636: ...D 2 Catalyst 2350 Switch Command Reference OL 19055 01 Appendix D Acknowledgments for Open Source Software ...
Страница 652: ...Index IN 16 Catalyst 2350 Switch Command Reference OL 19055 01 ...