
ES-2724 User’s Guide
Chapter 41 Configuration Mode Commands
283
Syntax:
ip route <ip> <mask> <next-hop-ip>
ip route <ip> <mask> <next-hop-ip> [metric <metric>][name <name>]
--> [inactive]
where
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.
41.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>
<ip>
=
Specifies the network IP address of the final destination.
<mask>
=
Specifies the subnet mask of this destination.
<next-hop-ip>
=
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.
[metric <metric>]
=
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.
[name <name>]
=
Specifies a descriptive name (up to 32 printable ASCII
characters) for identification purposes.
[inactive]
=
Deactivates a 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
Содержание ZyXEL Dimension ES-2724
Страница 1: ...ES 2724 Intelligent Layer 3 Switch User s Guide Version 3 70 9 2006...
Страница 2: ......
Страница 7: ...ES 2724 User s Guide Safety Warnings 5 This product is recyclable Dispose of it properly...
Страница 22: ...ES 2724 User s Guide 20 Table of Contents...
Страница 30: ...ES 2724 User s Guide 28 List of Tables...
Страница 36: ...ES 2724 User s Guide 34 Chapter 1 Getting to Know Your Switch...
Страница 40: ...ES 2724 User s Guide 38 Chapter 2 Hardware Installation and Connection...
Страница 48: ...ES 2724 User s Guide 46 Chapter 3 Hardware Overview...
Страница 58: ...ES 2724 User s Guide 56 Chapter 4 The Web Configurator...
Страница 64: ...ES 2724 User s Guide 62 Chapter 5 Initial Setup Example...
Страница 70: ...ES 2724 User s Guide 68 Chapter 6 System Status and Port Statistics...
Страница 82: ...ES 2724 User s Guide 80 Chapter 7 Basic Setting...
Страница 95: ...ES 2724 User s Guide Chapter 8 VLAN 93 Figure 39 Port Based VLAN Setup All Connected...
Страница 96: ...ES 2724 User s Guide 94 Chapter 8 VLAN Figure 40 Port Based VLAN Setup Port Isolation...
Страница 98: ...ES 2724 User s Guide 96 Chapter 8 VLAN...
Страница 107: ...ES 2724 User s Guide Chapter 11 Spanning Tree Protocol 105 Figure 45 RSTP Configuration...
Страница 114: ...ES 2724 User s Guide 112 Chapter 11 Spanning Tree Protocol...
Страница 126: ...ES 2724 User s Guide 124 Chapter 15 Link Aggregation...
Страница 132: ...ES 2724 User s Guide 130 Chapter 16 Port Authentication...
Страница 136: ...ES 2724 User s Guide 134 Chapter 17 Port Security...
Страница 142: ...ES 2724 User s Guide 140 Chapter 18 Classifier Figure 61 Classifier Example...
Страница 148: ...ES 2724 User s Guide 146 Chapter 19 Policy Rule Figure 64 Policy Example...
Страница 151: ...ES 2724 User s Guide Chapter 20 Queuing Method 149 Figure 65 Queuing Method...
Страница 158: ...ES 2724 User s Guide 156 Chapter 21 VLAN Stacking...
Страница 189: ...ES 2724 User s Guide Chapter 28 DHCP 187 Figure 93 DHCP Relay Configuration Example...
Страница 190: ...ES 2724 User s Guide 188 Chapter 28 DHCP...
Страница 210: ...ES 2724 User s Guide 208 Chapter 30 Access Control...
Страница 212: ...ES 2724 User s Guide 210 Chapter 31 Diagnostic...
Страница 216: ...ES 2724 User s Guide 214 Chapter 32 Syslog...
Страница 224: ...ES 2724 User s Guide 222 Chapter 33 Cluster Management...
Страница 232: ...ES 2724 User s Guide 230 Chapter 37 Routing Table...
Страница 268: ...ES 2724 User s Guide 266 Chapter 39 Introducing Commands...
Страница 276: ...ES 2724 User s Guide 274 Chapter 40 User and Enable Mode Commands...
Страница 290: ...ES 2724 User s Guide 288 Chapter 41 Configuration Mode Commands...
Страница 306: ...ES 2724 User s Guide 304 Chapter 43 IEEE 802 1Q Tagged VLAN Commands...
Страница 310: ...ES 2724 User s Guide 308 Chapter 45 Routing Domain Command Examples...
Страница 320: ...ES 2724 User s Guide 318 Chapter 46 Troubleshooting...
Страница 326: ...ES 2724 User s Guide 324 Appendix A Product Specifications...