Hitachi GR2000 Series manual ReplaceTOS Field Rewriting, Example

Models: GR2000 Series

1 500
Download 500 pages 15.25 Kb
Page 162
Image 162

Hitachi Gigabit Router GR2000 Series Enhanced Version Configuration Commands, Vol. 2

Set the IP addresses below.

Class A: 1.0.0.1 to 126.255.255.254

Class B: 128.1.0.1 to 191.254.255.254

Class C: 192.0.1.1 to 233.255.254.254

IP address (127.0.0.0 to 127.255.255.255), and IP address of class D (224.0.0.0 to 239.255.255.255)

A broadcast address (in which net ID or host ID is all "1" or all "0" in binary) cannot be set.

-policyDescription:routing_groupSpecifies<policypolicy-Groupgroup-Name>name defined by policy-group information. When relaying packet that matches the filter condition, sends the packet to the most priority path in the output destination registered in policy group specified by this option. Policy group as the filter condition of receiving side by specifying -in (Inbound) when setting filter interface information. (See Subsection 1.1.13 filter interface for details.)

Default:

Undefined (Invalidates policy routing function.)

Range of value: Policy group name specified by policy-group information.

-replaceDescription:tos<NewTos>Enables the TOS rewriting function and Diff-serv DS field rewriting function by specifying a new TOS in decimal. In the latter case, the high-order 6 bits of the new TOS are used and the low-order two bits are ignored. Table 1-64 summarizes how this option works. See Subsection 1.2.7 for further information.

Default:

No TOS rewriting (TOS-QoS conversion table is retrieved with

 

the TOS of the received packet.)

Range of value:

0–255

Table 1-64 Replace_TOS Field Rewriting

Set Content

IP Header TOS Field Rewriting

TOS-QoS Conversion

Table Retrieval*

 

 

 

 

 

Replace_tos<New Tos>

Rewrite packet TOS with specified TOS

Retrieve TOS after rewriting

 

 

 

Example

1.Set the condition to permit (relay) FTP from the transmit source in filter list number 1 to the destination with these options:

Operation type: - forward (relay)

Upper rank protocol number: 6 (TCP)

Transmit source IP address: 123.123.1.1-123.123.1.123

￿Destination IP address: 123.123.2.1

Transmit source high-rank protocol port number: 20-21(ftp_data,ftp)

Method of checking synchronization of IP address and upper rank protocol port number: -pair_synchronized(switch check done at same time)

1-120

GR2K-GA-0014

 

Ver. 07-02

Page 162
Image 162
Hitachi GR2000 Series manual ReplaceTOS Field Rewriting, Example