Static Route Commands - ZyXEL Communications XS3800-28 Cli Reference Manual

Hide thumbs Also See for XS3800-28:
Table of Contents

Advertisement

Static Route Commands

Use these commands to tell the Switch how to forward IP traffic. IP static routes are used by layer-2
Switches to ensure they can respond to management stations not reachable via the default gateway
and to proactively send traffic, for example when sending SNMP traps or conducting IP connectivity
tests using ping.
Layer-3 Switches use static routes to forward traffic via gateways other than those defined as the default
gateway.
85.1 Command Summary
The following section lists the commands for this feature.
Table 198 ip route Command Summary
COMMAND
show ip route
show ip route static
ip route <ip> <mask> <next-hop-
ip> [metric <metric>] [name
<name>] [inactive]
no ip route <ip> <mask>
no ip route <ip> <mask> <next-
hop-ip>
no ip route <ip> <mask> inactive
no ip route <ip> <mask> <next-
hop-ip> inactive
DESCRIPTION
Displays the IP routing table.
Displays the static routes.
Creates a static route. If the <ip> <mask> already exists,
the Switch deletes the existing route first. Optionally, also
sets the metric, sets the name, and/or deactivates the
static route.
metric: 1-15
name: 1-10 English keyboard characters
Note: If the <next-hop-ip> is not directly
connected to the Switch, you must make the
static route inactive.
Removes a specified static route.
Removes a specified static route.
Enables a specified static route.
Enables a specified static route.
Ethernet Switch CLI Reference Guide
315
C
H A P T E R
85
M
P
E
3
E
3
C
13
C
13
C
13
C
13
C
13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents