beautypg.com

2 configuration examples of ospf vpn – Accton Technology ES4626 User Manual

Page 472

background image

472

SwitchC(config-router)#network 10.1.5.0/24 area 0

SwitchC(config-router)#exit

Configure MD5 key authentication.

SwitchC(config)#interface vlan 1

SwitchC (config-If-Vlan1)#ip ospf authentication message-digest

SwitchC (config-If-Vlan1)#ip ospf authentication-key DCS

SwitchC (config-If-Vlan1)#exit

SwitchC(config)#exit

SwitchC#
4)SwitchD:

Configure IP address for interface vlan2

SwitchD#config

SwitchD(config)# interface vlan 2

SwitchD(config-If-Vlan2)# ip address 10.1.1.4 255.255.255.0

SwitchD(config-If-Vlan2)#exit

Enable OSPF protocol, configure the area number for interface vlan2.

SwitchD(config)#router ospf

SwitchD(config-router)#network 10.1.1.0/24 area 1

SwitchD(config-router)#exit

Configure simple key authentication.

SwitchD(config)#interface vlan 2

SwitchD(config-If-Vlan2)#ip ospf authentication

SwitchD(config-If-Vlan2)#ip ospf authentication-key DCS

SwitchD(config-If-Vlan2)#exit

Configure the IP address and the area number for the interface vlan 1

SwitchD(config)# interface vlan 1

SwitchD(config-If-Vlan1)# ip address 10.1.6.1 255.255.255.0

SwitchD(config-If-Vlan1)exit

SwitchD(config)#router ospf

SwitchD(config-router)#network 10.1.6.0/24 area 0

SwitchD(config-router)#exit

Configure MD5 key authentication

SwitchD(config)#interface vlan 1

SwitchD(config-If-Vlan1)#ip ospf authentication message-digest

SwitchD(config-If-Vlan1)#ip ospf authentication-key DCS

SwitchD(config-If-Vlan1)exit

SwitchD(config)#exit

13.6.4.2 Configuration Examples of OSPF VPN

This manual is related to the following products: