3.20.41 interface ip address
Description
Change the IP-address and the mask of the network interface. If the address
automatic configuration service is running on the interface, for instance,
DHCP-client, (see
), then the manually set address
can be overwritten.
Command with no prefix resets the address to
0.0.0.0
.
Prefix no
Yes
Change settings
Yes
Multiple input
No
Interface type
IP
Synopsis
(config-if)>
ip address
‹
address
› ‹
mask
›
(config-if)>
no ip address
Arguments
Description
Value
Argument
The network interface address.
IP-address
address
The network interface mask. There are two
ways to specify the mask: the canonical
IP-mask
mask
form (for example,
255.255.255.0
) and
the prefix with bit length (for example,
/24
).
Example
The network address, defined by the IP-address and mask, can specified in
either of the two ways: specify a mask in the canonical form, or set the prefix
bit length.
(config)> interface
FastEthernet0/Vlan43
Created interface FastEthernet0/Vlan43.
(config-if)> ip address 172.17.24.9 255.255.255.0
Network address saved.
(config-if)> ip address 172.17.24.9/24
Network address saved.
(config-if)> [Ctrl]+[D]
(config)> show interface FastEthernet0/Vlan43
mac: 00:23:f8:5b:d3:f4
index: 43
type: Vlan
description:
state: up
link: down
address: 172.17.24.9
mask: 255.255.255.0
Command Reference Guide — Keenetic Extra (KN-1710)
110
Chapter 3 Command Reference
Содержание EXTRA KN-1710
Страница 2: ......
Страница 6: ...Command Reference Guide Keenetic Extra KN 1710 6 Contents Overview...
Страница 20: ...Command Reference Guide Keenetic Extra KN 1710 20 Chapter 1 Product Overview...
Страница 26: ...Command Reference Guide Keenetic Extra KN 1710 26 Chapter 2 Introduction to the CLI...
Страница 322: ...Command Reference Guide Keenetic Extra KN 1710 322 Chapter 3 Command Reference...
Страница 332: ...Command Reference Guide Keenetic Extra KN 1710 332 Glossary...
Страница 348: ...Command Reference Guide Keenetic Extra KN 1710 348 Appendix C SNMP MIB...