![SMC Networks 7724M/VSW - annexe 1 Скачать руководство пользователя страница 53](http://html1.mh-extra.com/html/smc-networks/7724m-vsw-annexe-1/7724m-vsw-annexe-1_manual_1299754053.webp)
CLI
Management Guide
TigerAccess™ EE
52
SMC7824M/VSW
To display if an interface is enabled, use the
show running-config
command.
4.3.2 Assigning
IP
Address to Network Interface
After enabling an interface, assign an IP address. To assign an IP address to a network
interface, use the following command.
Command Mode
Description
ip address
A.B.C.D/M
Assigns an IP address to an interface.
ip address
A.B.C.D/M
secondary
Assigns a secondary IP address to an interface.
ip address dhcp
Assigns an IP address from a DHCP server.
no ip address
A.B.C.D/M
Clears an IP address assigned to an interface.
no ip address
A.B.C.D/M
secon-
dary
Clears a secondary IP address assigned to an inter-
face.
no ip address dhcp
Interface
Stops assigning an IP address from a DHCP server.
The
ip address dhcp
command is for configuring an interface as a DHCP client. For the
detail of configuring a DHCP client, see Section
8.6.9
.
To display an assigned IP address, use the following command.
Command Mode
Description
show ip
Interface
Shows an IP address assigned to an interface.
4.3.3
Static Route and Default Gateway
The static route is a predefined route to a specific network and/or device such as a host.
Unlike a dynamic routing protocol, static routes are not automatically updated and must
be manually reconfigured if the network topology changes. Static route includes destina-
tion address, neighbor address, and etc. To configure a static route, use the following
command.
To configure a static route, use the following command.
Command Mode
Description
ip route
A.B.C.D SUBNET-MASK
{
GATEWAY
|
null
} [<1-255>]
ip route
A.B.C.D/M
{
GATEWAY
|
null
} [<1-255> |
src
A.B.C.D
]
Global
Configures a static route.
A.B.C.D: destination IP prefix
A.B.C.D/M: destination IP prefix with mask
GATEWAY: gateway address
1-255: distance value
src: binding source IP address
i
i
Содержание 7724M/VSW - annexe 1
Страница 1: ......
Страница 385: ...CLI Management Guide TigerAccess EE 384 SMC7824M VSW ...
Страница 387: ......