Got it

E-Trunk Security

Latest reply: Jul 2, 2021 05:25:31 279 6 2 0 0

Security Policy

The following security policies are available for E-Trunk:

  • Configure an encrypted password to enhance system security. If the simple option is used, the password is saved in the configuration file in plain text, posing security risks. Therefore, you are advised to use the cipher option to encrypt the password.

  • Configure the E-Trunk authentication and encryption mode to improve system security. enhanced-hmac-sha256 is more secure than hmac-sha256 and hmac-sha1. You are advised to use enhanced-hmac-sha256.

  • UDP port 1025, which is the default port to send and receive E-Trunk packets, may conflict with the UDP port used by another protocol. To ensure the forwarding of E-Trunk packets, change the UDP port number used to send and receive E-Trunk packets.
  • If the master device fails, an attacker can obtain the E-Trunk packets sent by the master device to attack the backup device, causing service interruptions. To resolve this problem, enable the E-Trunk sequence number check function.

The encryption password, authentication and encryption mode, sequence number check function, and UDP port number must be the same on the switches at both ends of an E-Trunk link.

Configuration Method

  • Configure an encrypted password.

    Set the password of E-Trunk 1 to 00E0FC000000 in cipher-text mode.

    <HUAWEI> system-view
    [HUAWEI] e-trunk 1
    [HUAWEI-e-trunk-1] security-key cipher 00E0FC000000
  • Configure the authentication and encryption mode.

    Set the authentication and encryption mode of E-Trunk 1 to enhanced-hmac-sha256.

    <HUAWEI> system-view
    [HUAWEI] e-trunk 1
    [HUAWEI-e-trunk-1] authentication-mode enhanced-hmac-sha25  
  • Configure the E-Trunk port number.

    Configure UDP port 1026 as the port for sending and receiving E-Trunk packets.

    <HUAWEI> system-view
    [HUAWEI] e-trunk port 1026  
    
    download?uuid=68f1bbdf8e944ebf84ee5f500f266cb8

    The port number ranges from 1025 to 65535. UDP port numbers 49152 to 65535 are randomly allocated by the socket. Do not set the UDP port number to a value in this range; otherwise, E-Trunk cannot work properly.

  • Enable the sequence number check function.

    Enable the sequence number check function on E-Trunk 1.

    <HUAWEI> system-view
    [HUAWEI] e-trunk 1
    [HUAWEI-e-trunk-1] sequence enable  

Good and help
View more
  • x
  • convention:

Serges_armel
Serges_armel Created Jul 2, 2021 05:05:41 (0) (0)
 
Good to see
View more
  • x
  • convention:

Thanks for sharing! Very useful
View more
  • x
  • convention:

Very intreresting
View more
  • x
  • convention:

Good and interesting
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.