ip ospf authentication-key
SecureStack C2 Configuration Guide 20-19
Parameters
Defaults
None.
Mode
Interfaceconfiguration:C2(su)‐>router(Config‐if(Vlan1))#
Example
Thisexampleshowshowtosetthedeadintervalto20fortheVLAN1interface:
C2(su)->router(Config)#interface vlan 1
C2(su)->router(Config-if(Vlan 1))#ip ospf dead-interval 20
ip ospf authentication-key
UsethiscommandtoassignapasswordtobeusedbyneighboringroutersusingOSPF’ssimple
passwordauthentication.ThenoformofthiscommandremovesanOSPFauthentication
passwordonaninterface.
Syntax
ip ospf authentication-key password
no ip ospf authentication-key
Parameters
Defaults
None.
Mode
Interfaceconfiguration:C2(su)‐>router(Config‐if(Vlan1))#
Usage
Thispasswordisusedasa“key”thatisinserteddirectlyintotheOSPFheaderinroutingprotocol
packets.AseparatepasswordcanbeassignedtoeachOSPFnetworkonaper‐interfacebasis.
Allneighboringroutersonthesamenetworkmusthavethesamepasswordconfiguredtobeable
to
exchangeOSPFinformation.
seconds Specifiesthenumberofsecondsthataroutermustwaittoreceivea hello
packetbeforedeclaringtheneighboras“dead”andremovingitfromthe
OSPFneighborlist.Deadintervalmustbethesameonneighboringrouters
(onaspecificsubnet),butcanvarybetweensubnets.
Thisparameterisan
unsignedintegerrangingfrom1to65535.Defaultvalueis40seconds.
password SpecifiesanOSPFauthenticationpassword.Validvaluesarealphanumeric
stringsupto8charactersinlength.