Accton Technology ES4626 User Manual

Page 471

Advertising
background image

471

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

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

SwitchB(config-If-Vlan2)#exit

Configure IP address and area number for interface vlan1.

SwitchB(config)# interface vlan 1

SwitchB(config-If-Vlan1)#ip address 20.1.2.1 255.255.255.0

SwitchB(config-If-Vlan1)#exit

SwitchB(config)#router ospf

SwitchB(config-router)#network 20.1.2.0/24 area 1

SwitchB(config-router)#exit

SwitchB(config)#exit
3)SwitchC:

Configure IP address for interface vlan2

SwitchC#config

SwitchC(config)# interface vlan 2

SwitchC(config-If-Vlan2)# ip address 10.1.1.3 255.255.255.0

SwitchC(config-If-Vlan2)#exit

Enable OSPF protocol, configure the area number for interface vlan2

SwitchC(config)#router ospf

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

SwitchC(config-router)#exit

Configure simple key authentication

SwitchC(config)#interface vlan 2

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

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

SwitchC(config-If-Vlan2)#exit

Configure IP address and area number for interface vlan3

SwitchC(config)# interface vlan 3

SwitchC(config-If-Vlan3)#ip address 20.1.3.1 255.255.255.0

SwitchC(config-If-Vlan3)#exit

SwitchC(config)#router ospf

SwitchC(config-router)#network 20.1.3.0/24 area 1

SwitchC(config-router)#exit

Configure IP address and area number for interface vlan 1

SwitchC(config)# interface vlan 1

SwitchC(config-If-Vlan1)#ip address 10.1.5.1 255.255.255.0

SwitchC(config-If-Vlan1)#exit

SwitchC(config)#router ospf

Advertising
This manual is related to the following products: