PLANET XGS3-24040 User Manual

Page 304

Advertising
background image

Chapter 38 OSPFv3

38-9

Configure interface vlan2 IP address and affiliated OSPFv3 area

SwitchA(config)# interface vlan 2

SwitchA(config-if-vlan2)# IPv6 address 2100:1:1::1/64

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

SwitchA (config-if-vlan2)#exit

SwitchA(config)#exit

SwitchA#

Layer 3 SwitchB:

Enable OSPFv3 protocol, configure router ID

SwitchB(config)#router IPv6 ospf

SwitchB (config-router)#router-id 192.168.2.2

Configure interface vlan1 address, VLAN2 IPv6 address and affiliated OSPFv3 area

SwitchB#config

SwitchB(config)# interface vlan 1

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

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

SwitchB(config-if-vlan1)#exit

SwitchB(config)# interface vlan 3

SwitchB(config-if-vlan3)# IPv6 address 2020:1:1::1/64

SwitchB(config-if-vlan3)# IPv6 router ospf area 1

SwitchB(config-if-vlan3)#exit

SwitchB(config)#exit

SwitchB#

Layer 3 SwitchC:

Enable OSPFv3 protocol, configure router ID

SwitchC(config)#router IPv6 ospf

SwitchC(config-router)#router-id 192.168.2.3

Configure interface vlan3 IPv6 address and affiliated OSPFv3 area

SwitchC#config

SwitchC(config)# interface vlan 3

SwitchC(config-if-vlan3)# IPv6 address 2020:1:1::2/64

SwitchC(config-if-vlan3)# IPv6 router ospf area 1

SwitchC(config-if-vlan3)#exit

SwitchC(config)#exit

SwitchC#

Advertising