Zyxel IES-5106 [813/1156] Port ipbpvc route set command

Zyxel IES-5106 [813/1156] Port ipbpvc route set command
Chapter 31 port Commands
Management Switch Card User’s Guide
813
The following example removes the entry for 123.32.37.0~123.32.37.255 for domain “example2”.
31.22.2 port ipbpvc route set Command
Syntax:
port ipbpvc route set <domain-name> <ip/mask> <nexthop> <metric> [<priority>]
where
This command creates the specified entry in the routing table of the specified domain.
The <ip-address>/<mask> specifies the range of IP addresses to which this entry applies. If the
destination IP address of a packet is in this range, the system forwards the frame to the specified IP
address <nexthop>. If <nexthop> corresponds to an edge router configured using the edge router
commands (see Section 31.20 on page 809), the system uses the associated VLAN ID. In addition,
If the edge router is in the same domain as the entry, the entry is used for upstream traffic.
If the edge router is in a different domain than the entry, the entry is used for downstream
traffic.
If <nexthop> is not set up in the edge router screen, the system uses the entry for downstream
traffic and does not change the VLAN ID.
If the <priority> is not specified, the default value is zero. This is applied to incoming frames
without a <priority> tag.
ras> adsl ipbpvc route show example2
domain name ip/netmask gateway ip metric pri
-------------------- ------------------- --------------- ------ ---
example2 0.0.0.0/0 192.168.1.252 1 0
example2 123.23.37.0/24 192.168.1.250 1 0
example2 192.168.2.0/24 192.168.1.249 1 0
ras> adsl ipbpvc route delete example2 123.23.37.0/24 192.168.1.250
ras> adsl ipbpvc route show example2
domain name ip/netmask gateway ip metric pri
-------------------- ------------------- --------------- ------ ---
example2 0.0.0.0/0 192.168.1.252 1 0
example2 192.168.2.0/24 192.168.1.249 1 0
<domain-name>=
The name of the domain.
<ip/mask>=
IP address, in dotted decimal notation and number of bits <0..32> in the subnet
mask.
<nexthop>=
IP address, in dotted decimal notation.
<metric>=
The metric <1..15> 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. Select the 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.
If two entries have the same metric, the system uses the one with the lower IP
address.
<priority>=
The IEEE 802.1p priority value <0> ~ <7>.

Содержание

Скачать