EasyManuals Logo

Ruijie RG-S29 Series User Manual

Ruijie RG-S29 Series
1510 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #896 background imageLoading...
Page #896 background image
Command Reference Protocol-independent Configuration Commands
A route-map policy may contain multiple set operations.
Examples
The following example enables policy-based routing on serial 1/0. When the interface receives the
packets from 10.0.0.0/8, they will be sent to 192.168.100.1; when the interface receives the packets
from 172.16.0.0/16, they will be sent to 172.16.100.1; all other packets will be discarded.
Ruijie(config)#interface serial 1/0
Ruijie(config-if)#ip policy route-map load-balance
Ruijie(config)#access-list 10 permit 10.0.0.0 0.255.255.255
Ruijie(config)#access-list 20 permit 172.16.0.0 0.0.255.255
Ruijie(config)#route-map load-balance permit 10
Ruijie(config-route-map)#match ip address 10
Ruijie(config-route-map)#set ip next-hop 192.168.100.1
Ruijie(config)#route-map load-balance permit 20
Ruijie(config-route-map)#match ip address 20
Ruijie(config-route-map)#set ip next-hop 172.16.100.1
Ruijie(config)#route-map load-balance permit 30
Ruijie(config-route-map)#set interface Null 0
Related
commands
Command
Description
route-map
Define the route map.
match ip address
Match the IP address.
set default interface
Set the default outgoing interface.
set interface
Set the outgoing interface.
set ip default next-hop
Set the default next hop.
set ip precedence
Set the priority of the packets.
6.31 set ip precedence
Use this command to set the precedence of the IP head of the packet matching the rule in the route
map configuration mode. Use the no form of this command to remove the configured precedence
setting.
set ip precedence {<0-7> | critical | flash | flash-override | immediate | internet | network | priority |
routine }
no set ip precedence
Parameter
Description
Parameter
Description
number
Indicates the priority of the IP header with a number, ranging from 0
to 7.
7: critical
6: flash
5: flash-override
4: immediate

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Ruijie RG-S29 Series and is the answer not in the manual?

Ruijie RG-S29 Series Specifications

General IconGeneral
BrandRuijie
ModelRG-S29 Series
CategorySwitch
LanguageEnglish

Related product manuals