Static Route Commands; Enabling Mac Filtering - ZyXEL Communications ZyXEL Dimension ES-4124 User Manual

Intelligent layer 3+ switch
Hide thumbs Also See for ZyXEL Dimension ES-4124:
Table of Contents

Advertisement

Chapter 47 Configuration Mode Commands

47.6 Static Route Commands

You can create and configure static routes on the Switch by using the
Syntax:
ip route <ip> <mask> <next-hop-ip>
ip route <ip> <mask> <next-hop-ip> [metric <metric>][name <name>]
--> [inactive]
where
<ip>
<mask>
<next-hop-ip>
[metric <metric>]
[name <name>]
[inactive]
An example is shown next.
• Create a static route with the destination IP address of 172.21.1.104, subnet mask of
255.255.0.0 and the gateway IP address of 192.168.1.2.
• Assigns a metric value of 2 to the static route.
• Assigns the name "route1" to the static route.
sysname(config)# ip route 172.21.1.104 255.255.0.0 192.168.1.2
sysname(config)# ip route 172.21.1.104 255.255.0.0 192.168.1.2 metric 2
sysname(config)# ip route 172.21.1.104 255.255.0.0 192.168.1.2 name route1

47.7 Enabling MAC Filtering

You can create a filter to drop packets based on the MAC address of the source or the
destination.
Syntax:
mac-filter name <name> mac <mac-addr> vlan <vlan-id> drop <src/dst/both>
398
=
Specifies the network IP address of the final destination.
=
Specifies the subnet mask of this destination.
=
Specifies the IP address of the gateway. The gateway is an
immediate neighbor of your Switch that will forward the
packet to the destination. The gateway must be a router on
the same segment as your Switch.
=
The metric represents the "cost" of transmission for routing
purposes. IP routing uses hop count as the measurement of
cost, with a minimum of 1 for directly connected networks.
Enter a number that approximates the cost for this link. The
number need not be precise, but it must be between 1 and
15. In practice, 2 or 3 is usually a good number.
=
Specifies a descriptive name (up to 32 printable ASCII
characters) for identification purposes.
=
Deactivates a static route
command.
ip route
ES-4124 User's Guide

Advertisement

Table of Contents
loading

Table of Contents