H3C S5600 Series Operation Manual page 398

Hide thumbs Also See for S5600 Series:
Table of Contents

Advertisement

[SwitchA-rip] network 3.0.0.0
2)
Configure Switch B.
# Create VLANs and configure IP addresses for the VLAN interfaces. The configuration procedure is
omitted.
# Configure RIP.
<SwitchB> system-view
[SwitchB] rip
[SwitchB-rip] network 1.0.0.0
[SwitchB-rip] network 3.0.0.0
[SwitchB-rip] network 6.0.0.0
3)
Configure Switch C.
# Create VLANs and configure IP addresses for the VLAN interfaces. The configuration procedure is
omitted.
# Define IP-prefix 1 containing the IP address prefix 1.0.0.0/8, and IP-prefix 2 containing the IP address
prefix 3.0.0.0/8.
<SwitchC> system-view
[SwitchC] ip ip-prefix 1 index 10 permit 1.0.0.0 8
[SwitchC] ip ip-prefix 2 index 10 permit 3.0.0.0 8
# Create a routing policy named in and node 10 with the matching mode being permit. Define if-match
clauses. Apply the cost 5 to routes matching the outgoing interface VLAN-interface 2 and prefix list 1.
[SwitchC] route-policy in permit node 10
[SwitchC-route-policy] if-match interface Vlan-interface2
[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.
6-11

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents