Policy Route Command Example; Ip Static Route - ZyXEL Communications 1050 Cli Reference Manual

Zld based
Hide thumbs Also See for 1050:
Table of Contents

Advertisement

Chapter 7 Route

7.2.1 Policy Route Command Example

The following commands set a policy that routes the packets (with the source IP address
TW_SUBNET and any destination IP address) through the interface ge1 to the next-hop router
GW_1. This route uses the IP address of the outgoing interface as the matched packets' source
IP address.
Router(config)# policy 1
Router(policy-route)# description example
Router(policy-route)# destination any
Router(policy-route)# interface ge1
Router(policy-route)# next-hop gateway GW_1
Router(policy-route)# snat outgoing-interface
Router(policy-route)# source TW_SUBNET
Router(policy-route)# exit
Router(config)# show policy-route 1
index: 1
active: yes
description: example
user: any
schedule: none
interface: ge1
tunnel: none
source: TW_SUBNET
destination: any
service: any
nexthop type: Gateway
nexthop: GW_1
bandwidth: 0
bandwidth priority: 0
SNAT: outgoing-interface
amount of port trigger: 0
Router(config)#

7.3 IP Static Route

The ZyWALL has no knowledge of the networks beyond the network that is directly
connected to the ZyWALL. For instance, the ZyWALL knows about network N2 in the
following figure through gateway R1. However, the ZyWALL is unable to route a packet to
network N3 because it doesn't know that there is a route through the same gateway R1 (via
gateway R2). The static routes are for you to tell the ZyWALL about the networks beyond the
network connected to the ZyWALL directly.
72
ZyWALL (ZLD) CLI Reference Guide

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zywall usg 1000 cliZywall usg 300 cliZywall

Table of Contents