3Com MSR 50 Series Configuration Manual page 1002

3com msr 30-16: software guide
Hide thumbs Also See for MSR 50 Series:
Table of Contents

Advertisement

1002
C
60: R
HAPTER
OUTING
P
C
OLICY
ONFIGURATION
[RouterA] display ospf routing
OSPF Process 1 with Router ID 192.168.1.1
Routing for Network
Destination
192.168.1.0/24
Routing for ASEs
Destination
172.17.1.0/24
172.17.2.0/24
172.17.3.0/24
192.168.2.0/24
Total Nets: 5
Intra Area: 1
Inter Area: 0
4 Configure filtering lists on Router B
# Configure an ACL with the number 2002 to allow 172.17.2.0/24 to pass.
[RouterB] acl number 2002
[RouterB-acl-basic-2002] rule permit source 172.17.2.0 0.0.0.255
[RouterB-acl-basic-2002] quit
# Configure an IP prefix list with the name prefix-a to allow 172.17.1.0/24 to pass.
[RouterB] ip ip-prefix prefix-a index 10 permit 172.17.1.0 24
5 Configure a routing policy on Router B
[RouterB] route-policy isis2ospf permit node 10
[RouterB-route-policy] if-match ip-prefix prefix-a
[RouterB-route-policy] apply cost 100
[RouterB-route-policy] quit
[RouterB] route-policy isis2ospf permit node 20
[RouterB-route-policy] if-match acl 2002
[RouterB-route-policy] apply tag 20
[RouterB-route-policy] quit
[RouterB] route-policy isis2ospf permit node 30
[RouterB-route-policy] quit
6 Apply the routing policy when redistributing routes on Router B.
# Configure Router B to apply the routing policy for route redistribution.
[RouterB] ospf
[RouterB-ospf-1] import-route isis 1 route-policy isis2ospf
[RouterB-ospf-1] quit
# Displaying OSPF routing table information on Router A, you can find the route
cost to the destination 172.17.1.0/24 is 100, and the tag of the route
172.17.2.0/24 is 20, other external routes have no change.
[RouterA] display ospf routing
OSPF Process 1 with Router ID 192.168.1.1
Routing for Network
Destination
192.168.1.0/24
Routing Tables
Cost
Type
NextHop
1
Transit
Cost
Type
Tag
1
Type2
1
1
Type2
1
1
Type2
1
1
Type2
1
ASE: 4
NSSA: 0
Routing Tables
Cost
Type
NextHop
1
Transit
AdvRouter
192.168.1.1
192.168.1.1
NextHop
AdvRouter
192.168.1.2
192.168.2.2
192.168.1.2
192.168.2.2
192.168.1.2
192.168.2.2
192.168.1.2
192.168.2.2
AdvRouter
192.168.1.1
192.168.1.1
Area
0.0.0.0
Area
0.0.0.0

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading
Need help?

Need help?

Do you have a question about the MSR 50 Series and is the answer not in the manual?

Questions and answers

Table of Contents