- Table of Contents
-
- H3C Fixed Port Campus Switches Configuration Examples-6W104
- 00-Applicable hardware and software versions
- 01-Login Management Configuration Examples
- 02-RBAC Configuration Examples
- 03-Software Upgrade Examples
- 04-ISSU Configuration Examples
- 05-Software Patching Examples
- 06-Ethernet Link Aggregation Configuration Examples
- 07-Port Isolation Configuration Examples
- 08-Spanning Tree Configuration Examples
- 09-VLAN Configuration Examples
- 10-VLAN Tagging Configuration Examples
- 11-DHCP Snooping Configuration Examples
- 12-Cross-Subnet Dynamic IP Address Allocation Configuration Examples
- 13-IPv6 over IPv4 Tunneling with OSPFv3 Configuration Examples
- 14-IPv6 over IPv4 GRE Tunnel Configuration Examples
- 15-GRE with OSPF Configuration Examples
- 16-OSPF Configuration Examples
- 17-IS-IS Configuration Examples
- 18-BGP Configuration Examples
- 19-Policy-Based Routing Configuration Examples
- 20-OSPFv3 Configuration Examples
- 21-IPv6 IS-IS Configuration Examples
- 22-Routing Policy Configuration Examples
- 23-IGMP Snooping Configuration Examples
- 24-IGMP Configuration Examples
- 25-MLD Snooping Configuration Examples
- 26-IPv6 Multicast VLAN Configuration Examples
- 27-ACL Configuration Examples
- 28-Traffic Policing Configuration Examples
- 29-GTS and Rate Limiting Configuration Examples
- 30-Traffic Filtering Configuration Examples
- 31-AAA Configuration Examples
- 32-Port Security Configuration Examples
- 33-Portal Configuration Examples
- 34-SSH Configuration Examples
- 35-IP Source Guard Configuration Examples
- 36-Ethernet OAM Configuration Examples
- 37-CFD Configuration Examples
- 38-DLDP Configuration Examples
- 39-VRRP Configuration Examples
- 40-BFD Configuration Examples
- 41-NTP Configuration Examples
- 42-SNMP Configuration Examples
- 43-NQA Configuration Examples
- 44-Mirroring Configuration Examples
- 45-sFlow Configuration Examples
- 46-OpenFlow Configuration Examples
- 47-MAC Address Table Configuration Examples
- 48-Static Multicast MAC Address Entry Configuration Examples
- 49-IP Unnumbered Configuration Examples
- 50-MVRP Configuration Examples
- 51-MCE Configuration Examples
- 52-Attack Protection Configuration Examples
- 53-Smart Link Configuration Examples
- 54-RRPP Configuration Examples
- 55-BGP Route Selection Configuration Examples
- 56-IS-IS Route Summarization Configuration Examples
- 57-VXLAN Configuration Examples
- 58-DRNI Configuration Examples
- 59-IRF 3.1 Configuration Examples
- 60-PTP Configuration Examples
- 61-S-MLAG Configuration Examples
- 62-Puppet Configuration Examples
- 63-802.1X Configuration Examples
- 64-MAC Authentication Configuration Examples
- 65-ISATAP Tunnel and 6to4 Tunnel Configuration Examples
- 66-BIDIR-PIM Configuration Examples
- 67-Congestion Avoidance and Queue Scheduling Configuration Examples
- 68-Basic MPLS Configuration Examples
- 69-MPLS L3VPN Configuration Examples
- 70-MPLS OAM Configuration Examples
- 71-EVPN-DCI over an MPLS L3VPN Network Configuration Examples
- 72-DRNI and EVPN Configuration Examples
- 73-Multicast VPN Configuration Examples
- 74-MPLS TE Configuration Examples
- 75-Control Plane-Based QoS Policy Configuration Examples
- 76-Priority Mapping and Queue Scheduling Configuration Examples
- 77-ARP Attack Protection Configuration Examples
- 78-IRF Software Upgrade Configuration Examples
- 79-IRF Member Replacement Configuration Examples
- 80-Layer 3 Multicast on Multicast Source-Side DR System Configuration Examples
- 81-EVPN Multicast Configuration Examples
- Related Documents
-
Title | Size | Download |
---|---|---|
20-OSPFv3 Configuration Examples | 98.53 KB |
Contents
Example: Configuring OSPFv3 route filtering
Applicable hardware and software versions
Configuring route redistribution
Configuring OSPFv3 route filtering
Introduction
This document provides OSPFv3 route filtering configuration examples.
Prerequisites
This document is not restricted to specific software or hardware versions.
The configuration examples in this document were created and verified in a lab environment, and all the devices were started with the factory default configuration. When you are working on a live network, make sure you understand the potential impact of every command on your network.
This document assumes that you have basic knowledge of OSPFv3 route filtering.
Example: Configuring OSPFv3 route filtering
Network configuration
As shown in Figure 1, the devices of an enterprise reside in OSPFv3 and RIPng domains.
Configure route redistribution between OSPFv3 and RIPng to interconnect the devices.
Configure route filtering on Device E, Device C, and Device D to meet the following requirements:
· The route destined for R&D department 2 is not redistributed to OSPFv3.
· Marketing department 1 cannot reach R&D department 1.
· R&D department 1 and the After-sale service department cannot reach Marketing department 2.
Table 1 Interface and IP address assignment
Device |
Interface |
IP address |
Device |
Interface |
IP address |
Device A |
Vlan-int100 |
1::1/64 |
Device B |
Vlan-int100 |
1::2/64 |
|
Vlan-int200 |
2::1/64 |
|
Vlan-int300 |
3::1/64 |
|
Vlan-int400 |
4::1/64 |
|
|
|
Device C |
Vlan-int200 |
2::2/64 |
Device D |
Vlan-int300 |
3::2/64 |
|
Loop0 |
13::1/64 |
|
Loop0 |
11::1/64 |
|
|
|
|
Loop1 |
12::1/64 |
Device E |
Vlan-int400 |
4::2/64 |
Device F |
Vlan-int500 |
5::2/64 |
|
Vlan-int500 |
5::1/64 |
|
Loop0 |
14::1/64 |
|
|
|
|
Loop1 |
15::1/64 |
Applicable hardware and software versions
The following matrix shows the hardware and software versions to which this configuration example is applicable:
Hardware |
Software version |
S6813 switch series |
Release 6615Pxx, Release 6628Pxx |
S6550XE-HI switch series |
Release 6008 and later, Release 8106Pxx |
S6525XE-HI switch series |
Release 6008 and later, Release 8106Pxx |
S5850 switch series |
Release 8005 and later |
S5570S-EI switch series |
Release 11xx |
S5560X-EI switch series |
Release 63xx, Release 65xx, Release 6615Pxx, Release 6628Pxx |
S5560X-HI switch series |
Release 63xx, Release 65xx, Release 6615Pxx, Release 6628Pxx |
S5500V2-EI switch series |
Release 63xx, Release 65xx, Release 6615Pxx, Release 6628Pxx |
MS4520V2-30F switch |
Release 63xx, Release 65xx, Release 6615Pxx, Release 6628Pxx |
MS4520V2-30C switch MS4520V2-54C switch |
Release 65xx, Release 6615Pxx, Release 6628Pxx |
MS4520V2-28S switch MS4520V2-24TP switch |
Release 63xx |
S6520X-HI switch series S6520X-EI switch series |
Release 63xx and Release 65xx |
S6520X-SI switch series S6520-SI switch series |
Release 63xx, Release 65xx, Release 6615Pxx, Release 6628Pxx |
S5000-EI switch series |
Release 63xx, Release 65xx, Release 6615Pxx, Release 6628Pxx |
MS4600 switch series |
Release 63xx, Release 65xx, Release 6615Pxx, Release 6628Pxx |
ES5500 switch series |
Release 63xx, Release 65xx, Release 6615Pxx, Release 6628Pxx |
S5560S-EI switch series S5560S-SI switch series |
Release 63xx |
S5500V3-24P-SI S5500V3-48P-SI |
Release 63xx |
S5500V3-SI switch series (except S5500V3-24P-SI and S5500V3-48P-SI) |
Release 11xx |
S5170-EI switch series |
Release 11xx |
S5130S-HI switch series S5130S-EI switch series S5130S-SI switch series S5130S-LI switch series |
Release 63xx |
S5120V2-SI switch series S5120V2-LI switch series |
Release 63xx |
S5120V3-EI switch series |
Release 11xx |
S5120V3-36F-SI S5120V3-28P-HPWR-SI S5120V3-54P-PWR-SI |
Release 11xx |
S5120V3-SI switch series (except S5120V3-36F-SI, S5120V3-28P-HPWR-SI, and S5120V3-54P-PWR-SI) |
Release 63xx |
S5120V3-LI switch series |
Release 63xx |
S3600V3-EI switch series |
Release 11xx |
S3600V3-SI switch series |
Not supported |
S3100V3-EI switch series S3100V3-SI switch series |
Release 63xx |
S5110V2 switch series |
Release 63xx |
S5110V2-SI switch series |
Not supported |
S5000V3-EI switch series S5000V5-EI switch series |
Not supported |
S5000E-X switch series S5000X-EI switch series |
Release 63xx |
E128C switch E152C switch E500C switch series E500D switch series |
Release 63xx |
MS4320V2 switch series MS4320V3 switch series MS4300V2 switch series MS4320 switch series MS4200 switch series |
Release 63xx |
WS5850-WiNet switch series |
Release 63xx |
WS5820-WiNet switch series WS5810-WiNet switch series |
Release 63xx |
WAS6000 switch series |
Release 63xx |
IE4300-12P-AC switch IE4300-12P-PWR switch IE4300-M switch series IE4320 switch series |
Release 63xx |
Restrictions and guidelines
When you configure OSPFv3 route filtering, follow these restrictions and guidelines:
· The filter-policy export command that filters redistributed routes takes effect only on an ASBR.
· OSPFv3 filters routes calculated using received LSAs. It does not filter LSAs.
· IP communication is bidirectional. If a router filters out a route destined for Network A, the subnets attached to the router cannot reach Network A, and Network A cannot reach the subnets.
· When you configure route filtering by referencing an ACL, configure the rule permit source any item following multiple rule deny source items to allow unmatched routes to pass.
· Specify a Router ID when you configure OSPFv3.
Procedures
Configuring IPv6 addresses
# Configure an IPv6 address for VLAN-interface 100.
<DeviceA> system-view
[DeviceA] interface vlan-interface 100
[DeviceA-Vlan-interface100] ipv6 address 1::1 64
# Configure IPv6 addresses for other interfaces in the same way VLAN-interface 100 is configured. (Details not shown.)
Configuring OSPFv3
# Enable OSPFv3 on Device A.
<DeviceA> system-view
[DeviceA] ospfv3
[DeviceA-ospfv3-1] router-id 6.6.6.6
[DeviceA-ospfv3-1] quit
[DeviceA] interface vlan-interface 100
[DeviceA-Vlan-interface100] ospfv3 1 area 0
[DeviceA-Vlan-interface100] quit
[DeviceA] interface vlan-interface 200
[DeviceA-Vlan-interface200] ospfv3 1 area 2
[DeviceA-Vlan-interface200] quit
[DeviceA] interface vlan-interface 400
[DeviceA-Vlan-interface400] ospfv3 1 area 1
[DeviceA-Vlan-interface400] quit
# Enable OSPFv3 on Device B.
<DeviceB> system-view
[DeviceB] ospfv3
[DeviceB-ospfv3-1] router-id 5.5.5.5
[DeviceB-ospfv3-1] quit
[DeviceB] interface vlan-interface 100
[DeviceB-Vlan-interface100] ospfv3 1 area 0
[DeviceB-Vlan-interface100] quit
[DeviceB] interface vlan-interface 300
[DeviceB-Vlan-interface300] ospfv3 1 area 3
[DeviceB-Vlan-interface300] quit
# Enable OSPFv3 on Device C.
<DeviceC> system-view
[DeviceC] ospfv3
[DeviceC-ospfv3-1] router-id 4.4.4.4
[DeviceC-ospfv3-1] quit
[DeviceC] interface vlan-interface 200
[DeviceC-Vlan-interface200] ospfv3 1 area 2
[DeviceC-Vlan-interface200] quit
[DeviceC] interface loopback 0
[DeviceC-LoopBack0] ospfv3 1 area 2
[DeviceC-LoopBack0] quit
# Enable OSPFv3 on Device D.
<DeviceD> system-view
[DeviceD] ospfv3
[DeviceD-ospfv3-1] router-id 3.3.3.3
[DeviceD-ospfv3-1] quit
[DeviceD] interface vlan-interface 300
[DeviceD-Vlan-interface300] ospfv3 1 area 3
[DeviceD-Vlan-interface300] quit
[DeviceD] interface loopback 0
[DeviceD-LoopBack0] ospfv3 1 area 3
[DeviceD-LoopBack0] quit
[DeviceD] interface loopback 1
[DeviceD-LoopBack1] ospfv3 1 area 3
[DeviceD-LoopBack1] quit
# Enable OSPFv3 on Device E.
<DeviceE> system-view
[DeviceE] ospfv3
[DeviceE-ospfv3-1] router-id 2.2.2.2
[DeviceE-ospfv3-1] quit
[DeviceE] interface vlan-interface 400
[DeviceE-Vlan-interface400] ospfv3 1 area 1
[DeviceE-Vlan-interface400] quit
Configure RIPng
# Enable RIPng on Device E.
<DeviceE> system-view
[DeviceE] ripng
[DeviceE-ripng-1] quit
[DeviceE] interface vlan-interface 500
[DeviceE-Vlan-interface500] ripng 1 enable
[DeviceE-Vlan-interface500] quit
# Enable RIPng on Device F.
<DeviceF> system-view
[DeviceF] ripng
[DeviceF-ripng-1] quit
[DeviceF] interface vlan-interface 500
[DeviceF-Vlan-interface500] ripng 1 enable
[DeviceF-Vlan-interface500] quit
[DeviceF] interface loopback 0
[DeviceF-LoopBack0] ripng 1 enable
[DeviceF-LoopBack0] quit
[DeviceF] interface loopback 1
[DeviceF-LoopBack0] ripng 1 enable
[DeviceF-LoopBack0] quit
Configuring route redistribution
# Configure Device E to redistribute OSPFv3 and direct routes to RIPng.
<DeviceE> system-view
[DeviceE] ripng
[DeviceE-ripng-1] import-route direct
[DeviceE-ripng-1] import-route ospfv3
[DeviceE-ripng-1] quit
# Configure Device E to redistribute RIPng and direct routes to OSPFv3.
[DeviceE] ospfv3
[DeviceE-ospfv3-1] import-route direct
[DeviceE-ospfv3-1] import-route ripng
[DeviceE-ospfv3-1] quit
# Verify that Device E has routes to all networks.
[DeviceE] display ipv6 routing-table
Destinations : 15 Routes : 15
Destination: ::1/128 Protocol : Direct
NextHop : ::1 Preference: 0
Interface : InLoop0 Cost : 0
Destination: 1::/64 Protocol : OSPFv3
NextHop : FE80::2E0:FCFF:FE58:124D Preference: 10
Interface : Vlan400 Cost : 2
Destination: 2::/64 Protocol : OSPFv3
NextHop : FE80::2E0:FCFF:FE58:124D Preference: 10
Interface : Vlan400 Cost : 2
Destination: 3::/64 Protocol : OSPFv3
NextHop : FE80::2E0:FCFF:FE58:124D Preference: 10
Interface : Vlan400 Cost : 3
Destination: 4::/64 Protocol : Direct
NextHop : :: Preference: 0
Interface : Vlan400 Cost : 0
Destination: 4::2/128 Protocol : Direct
NextHop : ::1 Preference: 0
Interface : InLoop0 Cost : 0
Destination: 5::/64 Protocol : Direct
NextHop : :: Preference: 0
Interface : Vlan500 Cost : 0
Destination: 5::1/128 Protocol : Direct
NextHop : ::1 Preference: 0
Interface : InLoop0 Cost : 0
Destination: 11::1/128 Protocol : OSPFv3
NextHop : FE80::2E0:FCFF:FE58:124D Preference: 10
Interface : Vlan400 Cost : 3
Destination: 12::1/128 Protocol : OSPFv3
NextHop : FE80::2E0:FCFF:FE58:124D Preference: 10
Interface : Vlan400 Cost : 3
Destination: 13::1/128 Protocol : OSPFv3
NextHop : FE80::2E0:FCFF:FE58:124D Preference: 10
Interface : Vlan400 Cost : 2
Destination: 14::/64 Protocol : RIPng
NextHop : FE80::2E0:FCFF:FE11:19B5 Preference: 100
Interface : Vlan500 Cost : 1
Destination: 15::/64 Protocol : RIPng
NextHop : FE80::2E0:FCFF:FE11:19B5 Preference: 100
Interface : Vlan500 Cost : 1
Destination: FE80::/10 Protocol : Direct
NextHop : :: Preference: 0
Interface : InLoop0 Cost : 0
Destination: FF00::/8 Protocol : Direct
NextHop : :: Preference: 0
Interface : NULL0 Cost : 0
# Verify that other devices have routes to all networks. (Details not shown.)
Configuring OSPFv3 route filtering
# On Device C, configure IPv6 basic ACL 2000 to permit any subnet except 12::1/64.
<DeviceC> system-view
[DeviceC] acl ipv6 basic 2000
[DeviceC-acl-ipv6-basic-2000] rule 0 deny source 12::1 64
[DeviceC-acl-ipv6-basic-2000] rule permit source any
[DeviceC-acl-ipv6-basic-2000] quit
# On Device C, use ACL 2000 to filter received routes.
[DeviceC] ospfv3
[DeviceC-ospfv3-1] filter-policy 2000 import
[DeviceC-ospfv3-1] quit
# On Device D, configure IPv6 basic ACL 2000 to permit any subnet except 15::1/64.
<DeviceD> system-view
[DeviceD] acl ipv6 basic 2000
[DeviceD-acl-ipv6-basic-2000] rule 0 deny source 15::1 64
[DeviceD-acl-ipv6-basic-2000] rule permit source any
[DeviceD-acl-ipv6-basic-2000] quit
# On Device D, use ACL 2000 to filter received routes.
[DeviceD] ospfv3
[DeviceD-ospfv3-1] filter-policy 2000 import
[DeviceD-ospfv3-1] quit
# On Device E, configure IPv6 basic ACL 2000 to permit any subnet except 14::1/64.
<DeviceE> system-view
[DeviceE] acl ipv6 basic 2000
[DeviceE-acl-ipv6-basic-2000] rule 0 deny source 14::1 64
[DeviceE-acl-ipv6-basic-2000] rule permit source any
[DeviceE-acl-ipv6-basic-2000] quit
# On Device E, use ACL 2000 to filter routes redistributed from RIPng.
[DeviceE] ospfv3
[DeviceE-ospfv3-1] filter-policy 2000 export ripng 1
[DeviceE-ospfv3-1] quit
Verifying the configuration
# Verify that Device C does not have a route to 12::/64.
[DeviceC] display ipv6 routing-table
Destinations : 13 Routes : 13
Destination: ::1/128 Protocol : Direct
NextHop : ::1 Preference: 0
Interface : InLoop0 Cost : 0
Destination: 1::/64 Protocol : OSPFv3
NextHop : FE80::2E0:FCFF:FE58:1245 Preference: 10
Interface : Vlan200 Cost : 2
Destination: 2::/64 Protocol : Direct
NextHop : :: Preference: 0
Interface : Vlan200 Cost : 0
Destination: 2::2/128 Protocol : Direct
NextHop : ::1 Preference: 0
Interface : InLoop0 Cost : 0
Destination: 3::/64 Protocol : OSPFv3
NextHop : FE80::2E0:FCFF:FE58:1245 Preference: 10
Interface : Vlan200 Cost : 3
Destination: 4::/64 Protocol : OSPFv3
NextHop : FE80::2E0:FCFF:FE58:1245 Preference: 10
Interface : Vlan200 Cost : 2
Destination: 5::/64 Protocol : OSPFv3
NextHop : FE80::2E0:FCFF:FE58:1245 Preference: 150
Interface : Vlan200 Cost : 1
Destination: 11::1/128 Protocol : OSPFv3
NextHop : FE80::2E0:FCFF:FE58:1245 Preference: 10
Interface : Vlan200 Cost : 3
Destination: 13::/64 Protocol : Direct
NextHop : :: Preference: 0
Interface : Loop0 Cost : 0
Destination: 13::1/128 Protocol : Direct
NextHop : ::1 Preference: 0
Interface : InLoop0 Cost : 0
Destination: 15::/64 Protocol : OSPFv3
NextHop : FE80::2E0:FCFF:FE58:1245 Preference: 150
Interface : Vlan200 Cost : 1
Destination: FE80::/10 Protocol : Direct
NextHop : :: Preference: 0
Interface : InLoop0 Cost : 0
Destination: FF00::/8 Protocol : Direct
NextHop : :: Preference: 0
Interface : NULL0 Cost : 0
# Verify that Marketing department 1 cannot reach R&D department 1.
[DeviceC] ping ipv6 -a 13::1 12::1
Ping6(56 data bytes) 13::1 --> 12::1, press CTRL+C to break
Request time out
Request time out
Request time out
Request time out
Request time out
--- Ping6 statistics for 12::1 ---
5 packet(s) transmitted, 0 packet(s) received, 100.0% packet loss
# Verify that Device D does not have a route to 15::/64.
[DeviceD] display ipv6 routing-table
Destinations : 14 Routes : 14
Destination: ::1/128 Protocol : Direct
NextHop : ::1 Preference: 0
Interface : InLoop0 Cost : 0
Destination: 1::/64 Protocol : OSPFv3
NextHop : FE80::2A0:FCFF:FE00:5815 Preference: 10
Interface : Vlan300 Cost : 2
Destination: 2::/64 Protocol : OSPFv3
NextHop : FE80::2A0:FCFF:FE00:5815 Preference: 10
Interface : Vlan300 Cost : 3
Destination: 3::/64 Protocol : Direct
NextHop : :: Preference: 0
Interface : Vlan300 Cost : 0
Destination: 3::2/128 Protocol : Direct
NextHop : ::1 Preference: 0
Interface : InLoop0 Cost : 0
Destination: 4::/64 Protocol : OSPFv3
NextHop : FE80::2A0:FCFF:FE00:5815 Preference: 10
Interface : Vlan300 Cost : 3
Destination: 5::/64 Protocol : OSPFv3
NextHop : FE80::2A0:FCFF:FE00:5815 Preference: 150
Interface : Vlan300 Cost : 1
Destination: 11::/64 Protocol : Direct
NextHop : :: Preference: 0
Interface : Loop0 Cost : 0
Destination: 11::1/128 Protocol : Direct
NextHop : ::1 Preference: 0
Interface : InLoop0 Cost : 0
Destination: 12::/64 Protocol : Direct
NextHop : :: Preference: 0
Interface : Loop1 Cost : 0
Destination: 12::1/128 Protocol : Direct
NextHop : ::1 Preference: 0
Interface : InLoop0 Cost : 0
Destination: 13::1/128 Protocol : OSPFv3
NextHop : FE80::2A0:FCFF:FE00:5815 Preference: 10
Interface : Vlan300 Cost : 3
Destination: FE80::/10 Protocol : Direct
NextHop : :: Preference: 0
Interface : NULL0 Cost : 0
Destination: FF00::/8 Protocol : Direct
NextHop : :: Preference: 0
Interface : NULL0 Cost : 0
# Verify that the After-sale service department cannot reach Marketing department 2.
[DeviceD] ping ipv6 -a 11::1 15::1
Ping6(56 data bytes) 11::1 --> 15::1, press CTRL+C to break
Request time out
Request time out
Request time out
Request time out
Request time out
--- Ping6 statistics for 15::1 ---
5 packet(s) transmitted, 0 packet(s) received, 100.0% packet loss
# Verify that R&D department 1 cannot reach Marketing department 2.
[DeviceD] ping ipv6 -a 12::1 15::1
Ping6(56 data bytes) 12::1 --> 15::1, press CTRL+C to break
Request time out
Request time out
Request time out
Request time out
Request time out
--- Ping6 statistics for 15::1 ---
5 packet(s) transmitted, 0 packet(s) received, 100.0% packet loss
The output on Device C and Device D shows that Device E has filtered out the route destined for R&D development 2.
Configuration files
· Device A:
#
ospfv3 1
router-id 6.6.6.6
area 0.0.0.0
area 0.0.0.1
area 0.0.0.2
#
vlan 100
#
vlan 200
#
vlan 400
#
interface Vlan-interface100
ospfv3 1 area 0.0.0.0
ipv6 address 1::1/64
#
interface Vlan-interface200
ospfv3 1 area 0.0.0.2
ipv6 address 2::1/64
#
interface Vlan-interface400
ospfv3 1 area 0.0.0.1
ipv6 address 4::1/64
#
· Device B:
#
ospfv3 1
router-id 5.5.5.5
area 0.0.0.0
area 0.0.0.3
#
vlan 100
#
vlan 300
#
interface Vlan-interface100
ospfv3 1 area 0.0.0.0
ipv6 address 1::2/64
#
interface Vlan-interface300
ospfv3 1 area 0.0.0.3
ipv6 address 3::1/64
#
· Device C:
#
ospfv3 1
router-id 4.4.4.4
filter-policy 2000 import
area 0.0.0.2
#
vlan 200
#
interface LoopBack0
ospfv3 1 area 0.0.0.2
ipv6 address 13::1/64
#
interface Vlan-interface200
ospfv3 1 area 0.0.0.2
ipv6 address 2::2/64
#
acl ipv6 basic 2000
rule 0 deny source 12::/64
rule 5 permit
#
· Device D:
#
ospfv3 1
router-id 3.3.3.3
filter-policy 2000 import
area 0.0.0.3
#
vlan 300
#
interface LoopBack0
ospfv3 1 area 0.0.0.3
ipv6 address 11::1/64
#
interface LoopBack1
ospfv3 1 area 0.0.0.3
ipv6 address 12::1/64
#
interface Vlan-interface300
ospfv3 1 area 0.0.0.3
ipv6 address 3::2/64
#
acl ipv6 basic 2000
rule 0 deny source 15::/64
rule 5 permit
#
· Device E:
#
ospfv3 1
router-id 2.2.2.2
import-route direct
import-route ripng 1
filter-policy 2000 export ripng 1
area 0.0.0.1
#
ripng 1
import-route direct
import-route ospfv3 1
#
vlan 400
#
vlan 500
#
interface Vlan-interface400
ospfv3 1 area 0.0.0.1
ipv6 address 4::2/64
#
interface Vlan-interface500
ipv6 address 5::1/64
ripng 1 enable
#
acl ipv6 basic 2000
rule 0 deny source 14::/64
rule 5 permit
#
· Device F:
#
ripng 1
#
vlan 500
#
interface LoopBack0
ipv6 address 14::1/64
ripng 1 enable
#
interface LoopBack1
ipv6 address 15::1/64
ripng 1 enable
#
interface Vlan-interface500
ipv6 address 5::2/64
ripng 1 enable
#