3 ospfv3 examples, Ospf, Xamples – PLANET XGS3-24040 User Manual

Page 303

Advertising
background image

Chapter 38 OSPFv3

38-8

IPv6 ospf priority <priority>

[instance-id <id>]

no IPv6 ospf priority [instance-id

<id>]

Sets the priority of the interface in “designated

layer3 switch” election; the “no IPv6 ospf

priority [instance-id <id>]” command restores

the default setting.

3. Disable OSPFv3 Protocol

Commands

Explanation

Global Mode

no router IPv6 ospf ospf [<tag>]

Disable OSPFv3 Routing Protocol.

38.3 OSPFv3 Examples

Examples 1: OSPF autonomous system.

This scenario takes an OSPF autonomous system consists of five switch for example, where layer3 SwitchA

and SwitchD make up OSPF area 0, layer3 Switch2 and Switch3 form OSPF area 1 (assume vlan1 interface

of layer3 SwitchA belongs to area 0), layer3 SwitchD forms OSPF area2 (assume vlan2 interface of layer3

SwitchD belongs to area 0). Swtich1 and SwitchD are backbone layer3 switches, Swtich2 and SwitchD are

area edge layer3 switches, and Switch3 is the in-area layer3 switch.

Figure 6-1 Network topology of OSPF autonomous system

The configuration for layer3 SwitchA and SwitchE is shown below:

Layer3 SwitchA:

Enable OSPFv3 protocol, configure router ID

SwitchA(config)#router IPv6 ospf

SwitchA (config-router)#router-id 192.168.2.1

Configure interface vlan1 IPv6 address and affiliated OSPFv3 area

SwitchA#config

SwitchA(config)# interface vlan 1

SwitchA(config-if-vlan1)# IPv6 address 2010:1:1::1/64

SwitchA(config-if-vlan1)# IPv6 router ospf area 0

SwitchA(config-if-vlan1)#exit

Area 1

Area 0

Area 2

SWITCHD

E1/1:2100:1:1::1/64

vlan2

E1/2:2010:1:1::1/64

vlan1

E1/1: 2010:1:1::2/64

vlan1

E1/2: 2020:1:1::1/64

vlan3

E1/1: 2020:1:1::2/64

vlan3

E1/2:2030:1:1::1

vlan3

E1/1:2100:1:1::2/64

vlan2

E1/1: 2030:1:1::2/64

vlan3

SwitchE

SwitchA

SwitchD

SwitchC

SwitchB

Advertising