3Com 4500 Configuration Manual page 254

26/50-port
Hide thumbs Also See for 4500:
Table of Contents

Advertisement

[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 route 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 route 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 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
1.0.0.0/8
2.0.0.0/8
DIRECT
2.2.2.2/32
DIRECT
3.0.0.0/8
6.0.0.0/8
DIRECT
6.6.6.6/32
127.0.0.0/8
127.0.0.1/32
192.168.0.0/24
192.168.0.39/32
Protocol
Pre
Cost
RIP
100
5
0
0
0
0
RIP
100
5
0
0
DIRECT
0
0
DIRECT
0
0
DIRECT
0
0
DIRECT
0
0
DIRECT
0
0
Nexthop
Interface
2.2.2.1
Vlan-interface2
2.2.2.2
Vlan-interface2
127.0.0.1
InLoopBack0
6.6.6.5
Vlan-interface6
6.6.6.6
Vlan-interface6
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
192.168.0.39
Vlan-interface1
127.0.0.1
InLoopBack0
4-8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 pwr

Table of Contents