H3C S5600 Series Operation Manual page 445

Hide thumbs Also See for H3C S5600 Series:
Table of Contents

Advertisement

Operation Manual – Routing Protocol
H3C S5600 Series Ethernet Switches
[SwitchC-route-policy] if-match ip-prefix 1
[SwitchC-route-policy] apply cost 5
[SwitchC-route-policy] quit
# Create node 20 with the matching mode being permit in the routing policy. Define
if-match clauses. Apply the cost 6 to routes matching the outgoing interface
VLAN-interface 2 and prefix list 2.
[SwitchC] route-policy in permit node 20
[SwitchC-route-policy] if-match interface Vlan-interface2
[SwitchC-route-policy] if-match ip-prefix 2
[SwitchC-route-policy] apply cost 6
[SwitchC-route-policy] quit
# Create node 30 with the matching mode being permit in the routing policy. Define
if-match clauses. Apply the cost 6 to routes matching the outgoing interface
VLAN-interface 6 and prefix list 1.
[SwitchC] route-policy in permit node 30
[SwitchC-route-policy] if-match interface Vlan-interface6
[SwitchC-route-policy] if-match ip-prefix 1
[SwitchC-route-policy] apply cost 6
[SwitchC-route-policy] quit
# Create node 40 with the matching mode being permit in the routing policy. Define
if-match clauses. Apply the cost 5 to routes matching the outgoing interface
VLAN-interface 6 and prefix list 2.
[SwitchC] route-policy in permit node 40
[SwitchC-route-policy] if-match interface Vlan-interface6
[SwitchC-route-policy] if-match ip-prefix 2
[SwitchC-route-policy] apply cost 5
[SwitchC-route-policy] quit
# Create node 50 with the matching mode being permit, to allow all routing
information to pass.
[SwitchC] route-policy in permit node 50
[SwitchC-route-policy] quit
# Configure RIP and apply the routing policy in to the incoming routing information.
[SwitchC] rip
[SwitchC-rip] network 1.0.0.0
[SwitchC-rip] network 3.0.0.0
[SwitchC-rip] network 6.0.0.0
[SwitchC-rip] filter-policy route-policy in import
Chapter 6 IP Routing Policy Configuration
6-14

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5600-26cS5600-26c-pwrS5600-26fS5600-50cS5600-50c-pwr

Table of Contents