【CCIE實驗】OSPFv3 Prefix-suppression配置案例

1 案例配置拓撲

2 案例配置需求

1、 按照拓撲完成基礎IPv6配置;

2、 在R1、R2、R3配置OSPFv3,R1和R2直連網段及R1的lo 0口屬於OSPFv3 area 1,R2、R3直連網段及R3的lo 0口屬於OSPFv3 area 0;

3、 在R1、R2配置EIGRP for IPv6,R1和R2直連網段及R1的lo 10口屬於EIGRP;

4、 在R2上將EIGRP for IPv6重分步到OSPFv3;

5、 在R1和R2上開啟OSPFv3 Prefix-suppression,驗證OSPFv3 Prefix-suppression會抑制哪些LSA;

3 案例配置思路

1、 根據拓撲配置IP地址;

2、 在R1、R2、R3上配置OSPFv3

3、 在R1、R2上配置EIGRP for IPv6

4、 在R2上將EIGRP for IPv6 重分步到OSPFv3

5、 在R1、R2上配置OSPFv3 Prefix-suppression

4 案例檢驗結果

1、 驗證OSPFv3鄰居

R2#show ipv6 ospf neighbor

OSPFv3 Router with ID (2.2.2.2) (Process ID 100)

Neighbor ID Pri State Dead Time Interface ID Interface

3.3.3.3 1 FULL/DR 00:00:34 4 Ethernet0/1

1.1.1.1 1 FULL/BDR 00:00:31 3 Ethernet0/0

2、 驗證OSPFv3的Prefix-suppression

R3#show ipv6 route ospf

IPv6 Routing Table - default - 6 entries

Codes: C - Connected, L - Local, S - Static, U - Per-user Static route

B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP

H - NHRP, I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea

IS - ISIS summary, D - EIGRP, EX - EIGRP external, NM - NEMO

ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect

O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2

ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2, ls - LISP site

ld - LISP dyn-EID, a - Application

OI 2001:1::1/128 [110/20]

via FE80::A8BB:CCFF:FE00:210, Ethernet0/1

OE2 2001:10::10/128 [110/20]

via FE80::A8BB:CCFF:FE00:210, Ethernet0/1

l R3隻能學習到R1的loopback 0和loopback 10的IPv6地址。

l 因為默認只抑制3類LSA,對於loopbacks, secondary IP addresses, and passive interfaces 將不被抑制。 所以R3能夠學習到R1的loopback 0網段信息

l 因為R1的loopback 10網段是通過重分步進入OSPFv3,屬於5類LSA,所以也沒有被抑制。

R2#show ipv6 ospf database inter-area prefix

OSPFv3 Router with ID (2.2.2.2) (Process ID 100)

Inter Area Prefix Link States (Area 0)

LS age: 1215

LS Type: Inter Area Prefix Links

Link State ID: 2

Advertising Router: 2.2.2.2

LS Seq Number: 80000001

Checksum: 0xCCAA

Length: 44

Metric: 10

Prefix Address: 2001:1::1

/在R2的OSPFv3 database中,OSPFv3 3類LSA中未包含R1 R2直連網段2001:12::/64/

Prefix Length: 128, Options: None

5 案例配置文件

6 案例總結及其它

1、 該實驗需要在WEB-IOU或者真機實現,實驗所需IOS

路由器IOS 15.3:i86bi_linux-adventerprisek9-ms.153-1.3

2、 The OSPFv3 Prefix Suppression Support feature allows you to hide IPv4 and IPv6 prefixes that are configured on interfaces running OSPFv3.

3、 To prevent Open Shortest Path First (OSPF) from advertising all IP prefixes that belong to a specific interface。

4、 The process of hiding prefixes is simpler in OSPFv3 and suppressed prefixes are simply removed from the intra-area-prefix-LSA(3類LSA). Prefixes are also propagated in OSPFv3 via link LSAs

5、 Prefixes that are associated with loopbacks, secondary IP addresses, and passive interfaces are not suppressed by the router mode or the address-family configuration commands because typical network designs require prefixes to remain reachable.

推薦閱讀:

想往CCIE方向發展, 有哪些好的建議?
CCIE 去網吧做網管怎麼樣?
小公司能不能做出類似思科SDN的那種效果東西?
MPLS環境下的分片為何是1472而不是1476,多出的4bytes有什麼用?
通信工程專業考ccie證書有用嗎?ccie跟通信工程專業關聯性大不大?

TAG:网络工程师 | CCIE | 思科认证 |