#Create node 40 with the matching mode being permit in the route policy. Define if-match clauses. Apply the cost 5 to routes matching the outgoing interface VLAN-interface 6 and ACL 2001.

[SwitchC] route-policy in permit node 40 [SwitchC-route-policy] if-match interface Vlan-interface6

[SwitchC-route-policy] if-match acl 2001

[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 route 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

Configuration verification

1)Display data forwarding paths when the main link of the OA server between Switch A and Switch C

works normally.

<SwitchC> display ip routing-table

 

 

 

Routing Table: public net

 

 

 

 

Destination/Mask

Protocol

Pre

Cost

Nexthop

Interface

1.0.0.0/8

RIP

100

5

2.2.2.1

Vlan-interface2

2.0.0.0/8

DIRECT

0

0

2.2.2.2

Vlan-interface2

2.2.2.2/32

DIRECT

0

0

127.0.0.1

InLoopBack0

3.0.0.0/8

RIP

100

5

6.6.6.5

Vlan-interface6

6.0.0.0/8

DIRECT

0

0

6.6.6.6

Vlan-interface6

6.6.6.6/32

DIRECT

0

0

127.0.0.1

InLoopBack0

127.0.0.0/8

DIRECT

0

0

127.0.0.1

InLoopBack0

127.0.0.1/32

DIRECT

0

0

127.0.0.1

InLoopBack0

192.168.0.0/24

DIRECT

0

0

192.168.0.39

Vlan-interface1

192.168.0.39/32

DIRECT

0

0

127.0.0.1

InLoopBack0

2)Display data forwarding paths when the main link of the OA server between Switch A and Switch C

is down.

<SwitchC> display ip routing-table

 

 

 

Routing Table: public net

 

 

 

 

Destination/Mask

Protocol

Pre

Cost

Nexthop

Interface

1.0.0.0/8

RIP

100

6

6.6.6.5

Vlan-interface2

3.0.0.0/8

RIP

100

5

6.6.6.5

Vlan-interface6

6.0.0.0/8

DIRECT

0

0

6.6.6.6

Vlan-interface6

6.6.6.6/32

DIRECT

0

0

127.0.0.1

InLoopBack0

127.0.0.0/8

DIRECT

0

0

127.0.0.1

InLoopBack0

127.0.0.1/32

DIRECT

0

0

127.0.0.1

InLoopBack0

192.168.0.0/24

DIRECT

0

0

192.168.0.39

Vlan-interface1

192.168.0.39/32

DIRECT

0

0

127.0.0.1

InLoopBack0

4-7

Page 707
Image 707
3Com WX3000 operation manual Configuration verification