EasyManua.ls Logo

Dasan V5808 - Static Route and Default Gateway; To Delete a Configured Static Route; To Configure a Default Gateway

Dasan V5808
814 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
UMN:CLI User Manual
V5808
76
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
secondary
Clears a secondary IP address assigned to an
interface.
no ip address dhcp
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.5.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.
Command
Mode
Description
ip route A.B.C.D SUBNET-MASK
{GATEWAY | null | INTERFACE}
[<1-255>]
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
INTERFACE: IP gateway interface name
1-255: distance value for this route
src: binding source IP address
ip route A.B.C.D/M {GATEWAY |
null | INTERFACE} [<1-255> | src
A.B.C.D]
To delete a configured static route, use the following command.
Command
Mode
Description
no ip route A.B.C.D SUBNET-
MASK {GATEWAY | null} [<1-
255>]
Global
Deletes a configured static route.
no ip route A.B.C.D/M
{GATEWAY | null | INTERFACE}
[<1-255>]
To configure a default gateway, use the following command.
Command
Mode
Description

Table of Contents