Command Manual - Management VLAN
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 Management VLAN Configuration
Commands
Huawei Technologies Proprietary
1-21
Description
Use the
ip
host
command to configure a host name and the corresponding IP address
for a switch.
Use the
undo ip
host
command to remove the host name and the corresponding IP
address of a switch.
By default, the host name and the corresponding IP address of a switch are null.
Related command:
display ip host
.
Example
# Configure the host name and the corresponding IP address of a switch to be
Lanswitch2 and 10.110.0.2.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] ip host Lanswitch2 10.110.0.2
1.1.17 ip route-static
Syntax
ip route-static ip-address
mask
{
NULL
null-interface-number
|
next-hop
}
[
preference
preference-value
] [
reject
|
blackhole
] [
detect-group
detect-group-id
]
[
description text
]
undo ip route-static ip-address
mask
[
NULL
null-interface-number
|
next-hop
]
[
preference
preference-value
]
View
System view
Parameter
ip-address
: Destination IP address in dotted decimal notation.
mask
: IP address mask. The mask length is expressed as dotted decimal notation or
integer in the range of 0 to 32.
NULL
null-interface-number
: Specifies a null interface. A null interface is a virtual
interface. Packets destined for a null interface is discarded. Null interface helps to
reduce system load.
next-hop
: IP address of the next hop of this route, in dotted decimal notation.
preference-value
: Preference of this route, in the range of 1 to 255.
reject
: Specifies the route to be an unreachable route.
blackhole
: Specifies the route to be a blackhole route.
detect-group
: Specifies the detect group for the route.