HP 5500 Ei 5500 Si Switch Series Configuration Guide
Have a look at the manual HP 5500 Ei 5500 Si Switch Series Configuration Guide online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 1114 HP manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.
viii Protocols and standards ··················\ ··················\ ··················\ ··················\ ··················\ ············· ··················\ ············ 248 MVRP configuration task list ··················\ ··················\ ··················\ ··················\ ··················\ ··················\ ··················\ ·········· 248 Configuration prerequisites ··················\ ··················\ ··················\ ··················\ ··················\ ········· ··················\ ··················\ ·· 248 Enabling MVRP ··················\ ··················\ ··················\ ··················\ ··················\ ··················\ ··················\ ···················\ ············ 248 Configuration restrictions and guidelines ··················\ ··················\ ··················\ ··················\ ············· ··················\ ·· 248 Configuration procedure ··················\ ··················\ ··················\ ··················\ ··················\ ············· ··················\ ··········· 249 Configuring the MVRP registration mode ··················\ ··················\ ··················\ ··················\ ················ ··················\ ········ 249 Configuring MRP timers ··················\ ··················\ ··················\ ··················\ ··················\ ··················\ ··················\ ················· 250 Enabling GVRP compatibility ··················\ ··················\ ··················\ ··················\ ··················\ ········· ··················\ ················· 251 Configuration restrictio ns and guidelines ··················\ ··················\ ··················\ ··················\ ············· ··················\ ·· 251 Configuration procedure ··················\ ··················\ ··················\ ··················\ ··················\ ············· ··················\ ··········· 251 Displaying and ma intaining MVRP ··················\ ··················\ ··················\ ··················\ ··················\ ····· ··················\ ··········· 251 Configuration example for MVRP in normal registration mode ··················\ ··················\ ··················\ ·············· ·········· 252 Network requirements ··················\ ··················\ ··················\ ··················\ ··················\ ··················\ ··················\ ··········· 252 Configuration procedure ··················\ ··················\ ··················\ ··················\ ··················\ ············· ··················\ ··········· 253 Index ··················\ ··················\ ··················\ ··················\ ··················\ ··················\ ············· ··················\ ··················\ ··········· 261
1 Configuring Ethernet interfaces Ethernet interface naming conventions The GE and 10-GE interfaces on the switches are named in the format of interface-type A/B/C, where the following definitions apply: • A—Represents the ID of the switch in an IRF fabric. If the switch is not assigned to any IRF fabric, A uses 1. • B— R e p re s e n t s a s l o t n u m b e r o n t h e s w i t c h . I t u s e s 0 for fixed interfaces, 1 for interfaces on interface expansion card 1, and 2 for interfaces on interface expansion card 2. • C—Represents the number of an interface on a slot. NOTE: The GE ports of the GE interface expansion card ar e displayed as 10-GE ports on the switch where the expansion card is installed. For more information about the expansion cards, see H P 55 0 0 E I S w i t c h S e r i e s I n s t a l l a t i o n G u i d e and HP 5500 SI Switch Series Installation Guide . Performing general configurations This section describes the attributes and configurations common to Layer 2 and Layer 3 Ethernet interfaces. • For more information about the attributes and co nfiguration of Layer 2 Ethernet interfaces, see Configuring a Layer 2 Ethernet interface . • For more information about the attributes and co nfiguration of Layer 3 Ethernet interfaces, see Setting the MTU for a Layer 3 Ethernet interface . Configuring a combo interface A combo interface is a logical interface that comprises one optical (fiber) port and one electrical (copper) port. The two ports share one forwarding interface, so they cannot work simultaneously. When you enable one port, the other is automatically disabled. The fiber combo port and cooper combo port are La yer 2 Ethernet interfaces. They have their own separate interface views, in which you can activate the fiber or copper combo port and configure other port attributes such as the in terface rate and duplex mode. Configuration prerequisites Before you configure a combo interface, complete the following tasks: • Use the display port combo command to identif y the combo interfaces on your switch and identify the two physical ports that compose each combo interface. • Use the display interface command to determine, of the two physical ports that compose a combo interface, which is the fiber combo port and which is the copper combo port. If the current port is the copper port, the output will include Media type is twisted pair, Port hardware type is
2 1000_BASE_T. If the current port is the fiber port, the output will not include the information mentioned above. Changing the active port of a combo interface Step Command Remarks 1. Enter system view. system-view N/A 2. Enter Ethernet interface view. interface interface-type interface-number N/A 3. Activate the current interface. undo shutdown Optional. By default, of the two ports that compose a combo interface, the one with a smaller port ID is active. Configuring basic settings of an Ethernet interface You can set an Ethernet interface to operate in one of the following duplex modes: • Full-duplex mode (full)—Interfaces that operate in this mode can send and receive packets simultaneously. • Half-duplex mode (half) —Interfaces that operate in this mo de cannot send and receive packets simultaneously. • Auto-negotiation mode (auto)—Interfaces that operate in this mo de negotiate a duplex mode with their peers. You can set the speed of an Ethernet interface or enable it to automatically negotiate a speed with its peer. For a 100-Mbps or 1000-Mbps Layer 2 Ethernet interface, you can also set speed options for auto negotiation. The two ends can select a speed only from the available options. For more information, see Setting speed options for auto negotiation on an Ethernet interface . To configure an Ethernet interface: Step Command Remarks 1. Enter system view. system-view N/A 2. Enter Ethernet interface view. interface interface-type interface-number N/A 3. Set the interface description. description text Optional. By default, the description of an interface is in the format of interface-name Interface . For example, GigabitEthernet1/0/1 Interface .
3 Step Command Remarks 4. Set the duplex mode of the interface. duplex { auto | full | half } Optional. By default, the duplex mode is auto for Ethernet interfaces. The half keyword is not applicable to Ethernet copper ports that are configured with a 1000-Mbps port speed and fiber ports. 5. Set the port speed. speed { 10 | 100 | 1000 | auto } Optional. By default, an Ethernet interface automatically negotiates a speed with the peer. A Gigabit fiber port does not support the 10 or 100 keyword, A 10-Gigabit fiber port does not support this command 6. Restore the default settings for the interface. default Optional. Shutting down an Ethernet interface CAUTION: Use this feature with caution. After you manually shut down an Ethernet interface, the Ethernet interface cannot forward packets even if it is physically connected. You might need to shut down and then bring up an Ethernet interface to activate some configuration changes, for example, the speed or duplex mode changes. To shut down an Ethernet interface or a group of Ethernet interfaces: Step Command Remarks 1. Enter system view. system-view N/A 2. Enter Ethernet interface view or port group view. • Enter Ethernet interface view: interface interface-type interface-number • Enter port group view: port-group manual port-group-name Use any command. To shut down an Ethernet interface, enter Ethernet interface. To shut down all Ethernet interfaces in a port group, enter port group view. 3. Shut down the Ethernet interface or interfaces. shutdown By default, Ethernet interfaces are up. Configuring flow control on an Ethernet interface To avoid packet drops on a link, you can enable flow control at both ends of the link. When traffic congestion occurs at the receiving end, the receivin g end sends a flow control (Pause) frame to ask the sending end to suspend sending packets
4 • With the flow-control command configured, an interface can both send and receive flow control frames: When congested, the interface sends a flow control frame to its peer. Upon receiving a flow control frame from the peer, the interface suspends sending packets. • With the flow-control receive enable command configured, an interface can receive, but not send flow control frames. When the interface receives a flow control frame from its peer, it suspends sending packets to the peer. When congested, the in ter fac e c annot send fl ow c ontrol frames to the peer. To handle unidirectional traffic congestion on a link, configure the flow-control receive enable command at one end, and the flow-control command at the other. To enable both ends of the l ink to handle traffic congestion, configure the flow-control command at both ends. To enable flow control on an Ethernet interface: Step Command Remarks 1. Enter system view. system-view N/A 2. Enter Ethernet interface view. interface interface-type interface-number N/A 3. Enable flow control. • Enable TxRx flow control: flow-control • Enable Rx flow control: flow-control receive enable Use either command. By default, Rx flow control is disabled on an Ethernet interface. Configuring link state change suppression on an Ethernet interface An Ethernet interface has two physical link states: up and down. Each time the physical link of an interface goes up or comes down, the physical laye r reports the change to the upper layers, and the upper layers handle the change, re sulting in increased overhead. To prevent physical link flapping from affecting system performance, configure link change suppression to delay the reporting of physical link state change s. When the delay expires, the interface reports any detected change. Link change suppression does not suppress administrat ive up or down events. When you shut down or bring up an interface by using the shutdown or undo shutdown command, the interface reports the event to the upper layers immediately. Link-down event suppression enables an interface to suppress link-down events and start a delay timer each time the physical link goes down. During this delay, the interface does not report the link-down event, and the display interface brief or display interface command displays the in terface state as UP. If the physical link is still down when the timer expires, the interface reports the link-down event to the upper layers. Link-up event suppression enables an interface to su ppress link-up events and start a delay timer each time the physical link goes up. Duri ng this delay, the interface does no t report the link-up event, and the display interface brief or display interface command displays the interface state as DOWN. If the physical link is still up when the timer expires, the interface reports the link-up event to the upper layers. Configuring link-down event suppression To enable an Ethernet interface to suppress link-down events:
5 Step Command Remarks 1. Enter system view. system-view N/A 2. Enter Ethernet interface view. interface interface-type interface-number N/A 3. Set a link-down event suppression interval. link-delay delay-time Link-down event suppression is disabled by default. Configuring link-up event suppression To configure link-up event suppression on an Ethernet interface: Step Command Remarks 1. Enter system view. system-view N/A 2. Enter Ethernet interface view. interface interface-type interface-number N/A 3. Set a link-up event suppression interval. link-delay delay-time mode up Link-up event suppression is disabled by default. NOTE: The link-delay mode up command and the link-delay command supersedes each other, and whichever is configured last takes effect. Configuring loopback testing on an Ethernet interface If an Ethernet interface does not work normally, yo u can enable loopback testing on it to identify the problem. Loopback testing has the following types: • Internal loopback testing —Tests all on-chip functions related to Ethernet interfaces. • External loopback testing —Tests hardware of Ethernet interfaces. To perform external loopback testing on an Ethernet interface, connect a loopback plug to the Ethernet interface. The switch sends test packets out of the interface, which are expected to loop over the plug and back to the interface. If the interface fails to receive any test packet, the hardware of the interface is faulty. An Ethernet interface in a loopback test does not forward data traffic. Configuration restrictions and guidelines • On an interface that is physically down, you ca n only perform internal loopback testing. On an interface administratively shut down, you can pe rform neither internal nor external loopback testing. • During loopback testing, the Ethernet interface operates in full duplex mode. When you disable loopback testing, the interface returns to its duplex setting. • Loopback testing is a one-time operation, and is not recorded in the configuration file. Configuration procedure To enable loopback testing on an Ethernet interface: Step Command Remarks 1. Enter system view. system-view N/A
6 Step Command Remarks 2. Enter Ethernet interface view. interface interface-type interface-number N/A 3. Enable loopback testing. loopback { external | internal } Optional. Disabled by default. Configuring the link mode of an Ethernet interface (available only on the 5500 EI) CAUTION: • After you change the link mode of an Ethernet interface, all the settings of the Ethernet interface are restored to their defaults under the new link mode. • The link mode configuration for an Ethernet interfac e in system view and in interface view supersedes each other. An Ethernet interface operates either in Layer 2 (bridge) or Layer 3 (route) mode. To meet networking requirements, you can use a command to set the link mo de of an Ethernet interface to bridge or route. To change the link mode of an Ethernet interface: Step Command Remarks 1. Enter system view. system-view N/A 2. Change the link mode of Ethernet interfaces. • In system view: port link-mode { bridge | route } interface-list • In Ethernet interface view: a. interface interface-type interface-number b. port link-mode { bridge | route } Use either approach. Configuring jumbo frame support An Ethernet interface might receive some frames la rger than the standard Ethernet frame size (called jumbo frames) during high-throughput data exchange s such as file transfers. Usually, an Ethernet interface discards jumbo frames. With jumbo frame support enabled, the interface can process frames larger than the standard Ethernet frame size yet within the specified range. In interface configuration mode (Eth ernet interface view or port group view), you can set the length of jumbo frames that are allowed to pass through the Ethernet interface. • If you execute the command in Ethernet interface view, the configuration takes effect only on the interface. • If you execute the command in port group view, the co nfiguration takes effect on all ports in the port group. To configure jumbo frame support in interface view or port group view:
7 Step Command Remarks 1. Enter system view. system-view N/A 2. Enter Ethernet interface view. interface interface-type interface-number N/A 3. Configure jumbo frame support. jumboframe enable [ value ] By default, the switch allows jumbo frames within 9216 bytes to pass through Ethernet interfaces. If you set the value argument multiple times, the latest configuration takes effect. Enabling the auto power-down function on an Ethernet interface To save power, enable the auto power-down function on Ethernet interfaces. An interface enters the power save mode if it has not received any packet for a certain period of time (this interval depends on the specifications of the chip, and is not configurable ). When a packet arrives later, the interface enters its normal state. To enable auto power-down on an Ethernet interface: Step Command Remarks 1. Enter system view. system-view N/A 2. Enter Ethernet interface view. interface interface-type interface-number N/A 3. Enable auto power-down on an Ethernet interface. port auto-power-down Disabled by default. NOTE: When you connect an interface enabled with auto power-down to a device, if the link cannot go up properly, disable auto power-down on the interface and try again. Configuring a Layer 2 Ethernet interface Layer 2 Ethernet interface configuration task list Task Remarks Configuring a port group Optional Applicable to Layer 2 Ethernet interfaces Configuring a MAC Address for an Ethernet port (available only on the 5500 SI) Optional Applicable to Layer 2 Ethernet interfaces Setting speed options for auto negotiation on an Ethernet interface Optional Applicable to Layer 2 Ethernet interfaces
8 Task Remarks Configuring storm suppression Optional Applicable to Layer 2 Ethernet interfaces Setting the statistics polling interval Optional Applicable to Layer 2 Ethernet interfaces Enabling loopback detection on an Ethernet interface Optional Applicable to Layer 2 Ethernet interfaces Setting the MDI mode of an Ethernet interface Optional Applicable to Layer 2 Ethernet interfaces Enabling bridging on an Ethernet interface Optional Applicable to Layer 2 Ethernet interfaces Testing the cable connection of an Ethernet interface Optional Applicable to Layer 2 Ethernet interfaces Configuring storm control on an Ethernet interface Optional Applicable to Layer 2 Ethernet interfaces Configuring a port group Some interfaces on your switch might use the same se t of settings. To configure these interfaces in bulk rather than one by one, you can assign them to a port group. You create port groups manually. All settings made for a port group apply to all the member ports of the group. Even though the settings are made on the port group, they are saved on each interface basis rather than on a port group basis. You can only view the settings in the view of each interface by using the display current-configuration or display this command. To configure a manual port group: Step Command Remarks 1. Enter system view. system-view N/A 2. Create a manual port group and enter manual port group view. port-group manual port-group-name N/A 3. Assign Ethernet interfaces to the manual port group. group-member interface-list N/A 4. Configure jumbo frame support. jumboframe enable [ value ] By default, the switch allows jumbo frames within 9216 bytes to pass through Ethernet interfaces. If you set the value argument multiple times, the latest configuration takes effect. 5. Enable auto power-down. port auto-power-down Disabled by default.
9 Configuring a MAC Address for an Ethernet port (available only on the 5500 SI) You can use this function to manually configure a MAC address for an Ethernet port. After that, when the switch sends packets of Layer 2 protocols (including cluster, DLDP, HABP, LACP, LLDP, MSTP, NDP, NTDP, and GVRP) out of this port, it can use the MAC address of this port as the source MAC address of these protocol packets. Configuring a MAC address for an Ethernet port does not affect the normal forwarding of service packets. To configure a MAC Address for an Ethernet port: Step Command Remarks 1. Enter system view. system-view N/A 2. Enter Ethernet port view. interface interface-type interface-number N/A 3. Configure a MAC address for the current port. mac-address mac-address The default MAC address of an Ethernet port varies with device models. Setting speed options for auto negotiation on an Ethernet interface Speed auto negotiation enables an Ethernet interface to negotiate with its peer for the highest speed that both ends support by default. You can narrow down the speed option list for negotiation. Figure 1 Speed auto negotiation application scenario As shown in Figure 1, all ports on Switch A are operating in speed auto negotiation mode, with the highest speed of 1000 Mbps. If the transmission rate of each server in the server cluster is 1000 Mbps, their total transmission rate will exceed the capability of port GigabitEthernet 1/0/4, the port providing access to the Internet for the servers. G E 1/0/3