Static Route Commands - ZyXEL Communications Ethernet Switch Cli Reference Manual

Table of Contents

Advertisement

C
HA P T E R
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.
71.1 Command Summary
The following section lists the commands for this feature.
Table 153 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 Enables a specified static route.
no ip route <ip> <mask> <next-
hop-ip> inactive
Ethernet Switch CLI Reference Guide

Static Route Commands

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.
71
M
P
E
3
E
3
C
13
C
13
C
13
C
13
C
13
275

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gs3700 series

Table of Contents