No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - DCN and Server Management

CloudEngine 8800, 7800, 6800, and 5800 V200R003C00

This document describes the configurations of Trill, FCoE, DCB, and NLB Server Cluster Association.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring Basic TRILL Functions

Configuring Basic TRILL Functions

Enabling TRILL Globally

Context

When configuring the TRILL protocol, enable TRILL globally and then configure other TRILL features. To facilitate maintenance and management, you can configure the following additional TRILL functions:
  • Admin VLAN: allows administrators to manage routing bridges (RBs) using remote login.
  • Network entity title (NET) or dynamic host name: TRILL uses the MAC address of each RB as its system ID by default, and the MAC address is difficult to memorize.
  • Nickname: identifies an RB and is automatically generated by default. To prevent nickname conflicts and facilitate check and management, you can manually set a nickname for an RB.
  • Port mode: There are four port types for RBs. Based on the RB roles in the network, you can configure specified types for all RB ports to improve the network service efficiency.
NOTE:

For CE6870EI and CE6875EI switches:

  • After TRILL is enabled globally, the port security and URPF functions configured on the device do not take effect.

  • When a VLAN is created on the ingress or egress node, the transmit node creates the corresponding VLAN and learns the MAC address to ensure normal packet forwarding. You do not need to pay attention to this process.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run trill

    TRILL is enabled globally and the TRILL view is displayed.

  3. Run carrier-vlan carrier-vlanid

    The carrier VLAN ID is specified.

    NOTE:

    A created VLAN cannot be configured as the carrier VLAN.

    When a user network accesses a TRILL network through AFs, you must ensure that AFs can exchange TRILL packets through the user network. You are advised to configure the related devices to allow packets from a DVLAN to pass through. If only one carrier VLAN is configured, the carrier VLAN is the DVLAN by default. If multiple carrier VLANs are configured, the carrier VLAN with the smallest VLAN ID is the DVLAN by default. You can also run the trill designated-vlan command to configure a DVLAN.

  4. (Optional) Run network-entity net

    The NET is configured.

    NOTE:

    The NET must be unique on the network. If the NETs conflict, route flapping may occur. Therefore, the parameter should be planned before you perform the operations.

  5. (Optional) Run nickname nicknamevalue [ priority priorityvalue ] [ root-priority rootpriorityvalue ]

    The nickname, priority, and root priority are configured.

    On the TRILL network, manually changing the nickname of a device will interrupt running services temporarily. Therefore, confirm your action before changing the nickname.

    NOTE:
    The nickname must be unique on the network. If nicknames conflict, the TRILL protocol performs the following operations:
    • If a configured nickname conflicts with a generated nickname, the RB with a lower priority generates a new nickname.
    • If a configured nickname conflicts with another configured nickname, the nickname of the RB with a lower priority is suppressed, and is not advertised to the network.

  6. (Optional) Run port-mode { access | hybrid | p2p | trunk }

    The port mode is configured.

    NOTE:
    By default, the port mode is p2p. The port mode configuration rules are as follows:
    • When a port is located at the edge of a TRILL network to connect to a user VLAN, the port mode is access.
    • When a port is located in the middle of a TRILL network to transmit TRILL packets, the port mode is trunk.
    • On a P2P network, the mode of the port between two RBs is p2p.
    • If you require that a port should connect to a user VLAN and transmit TRILL packets, the port mode is hybrid.

  7. (Optional) If an RB is located at the edge of a TRILL network to connect to a server and the TRILL network, configure a CE VLAN as follows:

    1. Run the quit command to exit from the TRILL view.

    2. Run the vlan vlan-id command to create a VLAN and enter the VLAN view.

    3. Run the quit command to exit from the VLAN view.

    4. Run the trill command to enter the TRILL view.

    5. Run the ce-vlan { vlan-id1 [ to vlan-id2 ] } & <1-10> command to specify a CE VLAN for the TRILL process.

      NOTE:

      The CE VLAN must have been created using the vlan command and must be different from the carrier VLAN.

      For CE6870EI and CE6875EI switches, when the length of the packets sent from the user side is less than 512 bytes, the interfaces on the TRILL network may fail to work at the line speed.

  8. (Optional) Run trill-name symbolic-name

    The TRILL dynamic host name mapping is configured and the host name is set for the local device.

    After this command is executed, the host name symbolic-name is advertised to other devices in the domain in LSP packets. When you check TRILL information using the related display commands on other devices, if the dynamic host name mapping is also configured on these devices, the system ID is replaced with symbolic-name.

  9. (Optional) To facilitate management on the TRILL network, configure the admin VLAN for an RB as follows:

    1. Run the quit command to exit from the TRILL view.

    2. Run the vlan vlan-id command to create a VLAN and enter the VLAN view.

    3. Run the quit command to exit from the VLAN view.

    4. Run the trill command to enter the TRILL view.

    5. Run the admin-vlan vlan-id command to specify the admin VLAN ID for the TRILL process.

      NOTE:

      The admin VLAN must have been created using the vlan command and must be different from the carrier VLAN.

      When a user network accesses a TRILL network through AFs, the admin VLAN must be configured on the TRILL network and an IP address must be configured for the VLANIF interface of the admin VLAN.

    6. Run the quit command to exit from the TRILL view.

    7. Run the interface vlanif vlan-id command to create a VLANIF interface and enter the interface view.

    8. Run the ip address ip-address { mask | mask-length } [ sub ] command to configure an IP address for the VLANIF interface.

      NOTE:

      The IP address of the VLANIF interface must be on the same network segment as the IP address of the network edge device to ensure that the nickname is reachable.

  10. Run commit

    The configuration is committed.

Enabling TRILL on an Interface

Context

After TRILL is enabled globally, TRILL neighbor relationships are not established between the RBs, and TRILL must be enabled on interfaces.

TRILL can be enabled only on trunk or hybrid interfaces. An access or dot1q-tunnel interface can only function as a user access interface and cannot run TRILL.

There are four port modes of TRILL, and the default port mode is p2p. Different port modes can be configured for interfaces of different roles based on their network locations, which reduces the number of packets processed by the interfaces and saves system resources.

In a broadcast network, the DRB communicates with each device on the network. Therefore, the DRB must have high performance. You can configure proper DRB priorities for interfaces to enable a high-performance device to be elected as the DRB.

NOTE:

On a switch except CE6870EI and CE6875EI, an interface can establish neighbor relationships with at most one interface.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run port link-type { hybrid | trunk }

    The link type of the interface is set to hybrid or trunk.

  4. Run trill enable [ port-mode { access | hybrid | p2p | trunk } ]

    The TRILL function is enabled and the port mode is configured on the interface.

    NOTE:
    • By default, the port mode is p2p. The port mode configuration rules are as follows:
      • When a port is located at the edge of a TRILL network to connect to a user VLAN, the port mode is access.
      • When a port is located in the middle of a TRILL network to transmit TRILL packets, the port mode is trunk.
      • On a P2P network, the mode of the port between two RBs is p2p.
      • If you require that a port should connect to a user VLAN and transmit TRILL packets, the port mode is hybrid.
    • If the port mode is configured to hybrid in a stack, the interface may fail to forward packets. Therefore, the hybrid mode is not recommended.

    • When the stack and TRILL functions are both enabled on the device, if LAG is configured on the interface at the TRILL network access side, the LAG load balancing module only supports load balancing based on MAC addresses of user packets.

  5. (Optional) Run trill drb-priority priority

    The DRB priority of the interface is configured.

    By default, the DRB priority of an interface is 64. If you want to configure the local RB as a DRB, set the priority of the local RB to a large value.

  6. Run commit

    The configuration is committed.

(Optional) Configuring a Link Cost for a TRILL Interface

Context

Because TRILL uses the Shortest Path First (SPF) algorithm to calculate routing tables, the link cost is crucial to TRILL route selection. Adjusting link costs of TRILL interfaces directly affects route selection. The following link costs take effect on a TRILL interface in ascending order of priority:
  • Automatically calculated link cost: The default calculation formula is as follows: Link cost of a TRILL interface = Bandwidth reference value/Interface bandwidth. You can change the bandwidth reference value to adjust the link cost of an interface.
  • Global link cost: Configure a link cost for all TRILL interfaces on a specified RB.
  • Interface link cost: Configure the link cost for a specified interface.

Procedure

  • Adjusting the automatically calculated link cost
    1. Run system-view

      The system view is displayed.

    2. Run trill

      The TRILL view is displayed.

    3. Run bandwidth-reference value

      The bandwidth reference value is adjusted.

    4. Run commit

      The configuration is committed.

  • Configuring a global link cost
    1. Run system-view

      The system view is displayed.

    2. Run trill

      The TRILL view is displayed.

    3. Run circuit-cost { cost | maximum }

      A global link cost is configured.

    4. Run commit

      The configuration is committed.

  • Configuring an interface link cost
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run trill cost { cost | maximum }

      The link cost for the specified interface is configured.

    4. Run commit

      The configuration is committed.

Verifying the Basic TRILL Configuration

Procedure

  • Run the display trill interface [ verbose ] command to view information about the TRILL-enabled interfaces.
  • Run the display trill lsdb [ verbose ] command to view the LSDB.
  • Run the display trill peer [ verbose ] command to view information about TRILL neighbors.
  • Run the display trill route [ nickname ] [ verbose ] command to view information about TRILL unicast routes.
  • Run the display trill name-table command to view information about TRILL dynamic host names.
  • Run the display trill mroute [ vlan-id ] [ verbose ] command to view information about TRILL multicast routes.
Translation
Download
Updated: 2019-05-08

Document ID: EDOC1100004349

Views: 30639

Downloads: 120

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next