
Command Manual - Management VLAN
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 Management VLAN Configuration
Commands
Huawei Technologies Proprietary
1-22
detect-group-id
: Detect group number in the range of 1 to 25.
description text
: Specifies a descriptive string for the static route. The
text
argument is
a string comprising 1 to 60 characters.
Description
Use the
ip route-static
command to configure a static route.
Use the
undo ip route-static
command to remove a static route.
By default, the system can obtain the routes to the subnets directly connected to a
router. If you do not specify the preference when configuring a static route, the value
specified by the
ip route-static default-preference
command (which defaults to 60) is
adopted. Note that routes with the same destinations, the same next hops, but different
preferences are different routes. Among these routes, the one with least preference
(which means the highest preference) is chosen to be the current route. A route
configured using the
ip route-static
command is a reachable route if neither of the
reject
and
blackhole
keywords is specified.
Note the following when configuring a static route:
z
The next hop address of a static route cannot be the VLAN interface address of
the local switch.
z
A static route with both its destination IP address and mask both being 0.0.0.0 is
the default route. When no matched entry is found in the routing table, a received
packet is forwarded according to the default route.
Related command:
display ip routing-table
,
ip route-static default-preference
.
Example
# Configure the next hop of the default route to be 129.102.0.2.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] ip route-static 0.0.0.0 0.0.0.0 129.102.0.2
1.1.18 management-vlan
Syntax
management-vlan vlan-id
undo management-vlan
View
System view
Parameter
vlan-id
: ID of a management VLAN, in the range of 1 to 4094. It is 1 by default.