Configuring ospf authentication, Adding the interface mtu into dd packets – H3C Technologies H3C SR8800 User Manual

Page 112

Advertising
background image

96

Step Command

Remarks

2.

Enter OSPF view.

ospf [ process-id | router-id router-id |
vpn-instance vpn-instance-name ] *

N/A

3.

Configure the router as a
stub router.

stub-router

Not configured by default

NOTE:

A stub router has nothing to do with a stub area.

Configuring OSPF authentication

You can configure OSPF packet authentication to ensure the security of packet exchange.
After authentication is configured, OSPF only receives packets that pass authentication. Failed packets

cannot establish neighboring relationships.
To configure OSPF authentication, you must configure the same area authentication mode on all the

routers in the area. In addition, the authentication mode and password for all interfaces attached to the
same area must be identical.
To configure OSPF authentication:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter OSPF view.

ospf [ process-id | router-id router-id |
vpn-instance vpn-instance-name ] *

N/A

3.

Enter area view.

area area-id N/A

4.

Configure the authentication
mode.

authentication-mode { md5 | simple }

Not configured by
default.

5.

Return to OSPF view.

quit

N/A

6.

Return to system view.

quit

N/A

7.

Enter interface view.

interface interface-type interface-number N/A

8.

Configure OSPF
authentication.

Configure the authentication mode

(simple authentication) for the interface:
ospf authentication-mode simple [ cipher

| plain ] password

Configure the authentication mode (MD5

authentication) for the interface:

ospf authentication-mode { hmac-md5 |

md5 } key-id [ cipher | plain ] password

Use either approach.
Not configured by
default.

Adding the interface MTU into DD packets

By default, an interface adds 0 into the interface MTU field of a DD packet to be sent rather than the

interface MTU. You can enable an interface to add its MTU into DD packets.
To add the interface MTU into DD packets:

Advertising