Network requirements, Configuration procedure – H3C Technologies H3C S10500 Series Switches User Manual

Page 378

Advertising
background image

363

Routing Tables

Routing for Network

Destination Cost Type NextHop AdvRouter Area

192.168.1.0/24 1 Transit 192.168.1.1 192.168.1.1 0.0.0.0

Routing for ASEs

Destination Cost Type Tag NextHop AdvRouter

172.17.1.0/24 100 Type2 1 192.168.1.2 192.168.2.2

172.17.2.0/24 1 Type2 20 192.168.1.2 192.168.2.2

172.17.3.0/24 1 Type2 1 192.168.1.2 192.168.2.2

192.168.2.0/24 1 Type2 1 192.168.1.2 192.168.2.2

Total Nets: 5

Intra Area: 1 Inter Area: 0 ASE: 4 NSSA: 0

Applying a routing policy to IPv6 route redistribution

Network requirements

As shown in

Figure 117

:

Enable RIPng on Switch A and Switch B.

On Switch A, configure three static routes, and apply a routing policy to static route redistribution
to permit routes 20::0/32 and 40::0/32, and deny route 30::0/32.

Display RIPng routing table information on Switch B to verify the configuration.

Figure 117 Network diagram for routing policy application to route redistribution

Configuration procedure

1.

Configure Switch A.

# Configure IPv6 addresses for VLAN-interface 100 and VLAN-interface 200.

<SwitchA> system-view

[SwitchA] ipv6

[SwitchA] interface vlan-interface 100

[SwitchA-Vlan-interface100] ipv6 address 10::1 32

[SwitchA-Vlan-interface100] quit

[SwitchA] interface vlan-interface 200

[SwitchA-Vlan-interface200] ipv6 address 11::1 32

[SwitchA-Vlan-interface200] quit

# Enable RIPng on VLAN-interface 100.

[SwitchA] interface vlan-interface 100

Advertising