HP 3600 v2 series Configuration Manual page 384

Hide thumbs Also See for 3600 v2 series:
Table of Contents

Advertisement

Total Nets: 5
Intra Area: 1
Inter Area: 0
Configure filtering lists.
4.
# Configure ACL 2002 to permit route 172.17.2.0/24.
[SwitchB] acl number 2002
[SwitchB-acl-basic-2002] rule permit source 172.17.2.0 0.0.0.255
[SwitchB-acl-basic-2002] quit
# Configure IP prefix list prefix-a to permit route 172.17.1.0/24.
[SwitchB] ip ip-prefix prefix-a index 10 permit 172.17.1.0 24
Configure a routing policy.
5.
[SwitchB] route-policy isis2ospf permit node 10
[SwitchB-route-policy] if-match ip-prefix prefix-a
[SwitchB-route-policy] apply cost 100
[SwitchB-route-policy] quit
[SwitchB] route-policy isis2ospf permit node 20
[SwitchB-route-policy] if-match acl 2002
[SwitchB-route-policy] apply tag 20
[SwitchB-route-policy] quit
[SwitchB] route-policy isis2ospf permit node 30
[SwitchB-route-policy] quit
Apply the routing policy to route redistribution.
6.
# On Switch B, apply the routing policy when redistributing routes.
[SwitchB] ospf
[SwitchB-ospf-1] import-route isis 1 route-policy isis2ospf
[SwitchB-ospf-1] quit
# Display the OSPF routing table on Switch A. The cost of route 172.17.1.0/24 is 100, the tag of route
172.17.1.0/24 is 20.
[SwitchA] 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
ASE: 4
Routing Tables
Cost
Type
NextHop
1
Transit
Cost
Type
Tag
100
Type2
1
1
Type2
20
1
Type2
1
1
Type2
1
ASE: 4
372
NSSA: 0
AdvRouter
192.168.1.1
192.168.1.1
NextHop
192.168.1.2
192.168.1.2
192.168.1.2
192.168.1.2
NSSA: 0
Area
0.0.0.0
AdvRouter
192.168.2.2
192.168.2.2
192.168.2.2
192.168.2.2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents