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+.
50 CAUTION: • To prevent traffic interruption, enable link-a ggregation traffic redirection on devices at both ends of the aggregate link. • To prevent packet loss that might occur at a reboot, disable both MSTP and link-aggregation traffic redirection. Displaying and maintaining Ethernet link aggregation Task Command Remarks Display information about an aggregate interface or multiple aggregate interfaces. display interface [ bridge-aggregation | route-aggregation ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ] display interface { bridge-aggregation | route-aggregation } interface-number [ brief ] [ | { begin | exclude | include } regular-expression ] Available in any view Display the local system ID. display lacp system-id [ | { begin | exclude | include } regular-expression ] Available in any view Display the global or group-specific link-aggregation load-sharing criteria. display link-aggregation load-sharing mode [ interface [ { bridge-aggregation | route-aggregation } interface-number ] ] [ | { begin | exclude | include } regular-expression ] Available in any view Display detailed link aggregation information for link aggregation member ports. display link-aggregation member-port [ interface-list ] [ | { begin | exclude | include } regular-expression ] Available in any view Display summary information about all aggregation groups. display link-aggregation summary [ | { begin | exclude | include } regular-expression ] Available in any view Display detailed information about a specific or all aggregation groups. display link-aggregation verbose [ { bridge-aggregation | route-aggregation } [ interface-number ] ] [ | { begin | exclude | include } regular-expression ] Available in any view Clear LACP statistics for a specific or all link aggregation member ports. reset lacp statistics [ interface interface-list ] Available in user view Clear statistics for a specific or all aggregate interfaces. reset counters interface [ { bridge-aggregation | route-aggregation } [ interface-number ] ] Available in user view Ethernet link aggregation configuration examples In an aggregation group, only ports that have the sa me port attributes and class-two configurations (see Configuration classes ) a s the reference port (see Reference port) can ope rate as Selected ports. Make sure that all member ports have the same po rt attributes and class-two configurations as the reference port. The other settings only need to be configured on the aggregate interface, not on the member ports.
51 Layer 2 static aggregation configuration example Network requirements As shown in Figure 12: • D evice A and Device B are connected through their respective Layer 2 Ethernet interfaces GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3. • Configure a Layer 2 static aggregation group on both Device A and Device B. Enable VLAN 10 at one end of the aggregate link to communicate with VLAN 10 at the other end, and VLAN 20 at one end to communicate with VLAN 20 at the other end. • Enable traffic to be load-shared across aggregat ion group member ports based on the source and destination MAC addresses. Figure 12 Network diagram Configuration procedure 1. Configure Device A: # Create VLAN 10, and assign port GigabitEthernet 1/0/4 to VLAN 10. system-view [DeviceA] vlan 10 [DeviceA-vlan10] port gigabitethernet 1/0/4 [DeviceA-vlan10] quit # Create VLAN 20, and assign port GigabitEthernet 1/0/5 to VLAN 20. [DeviceA] vlan 20 [DeviceA-vlan20] port gigabitethernet 1/0/5 [DeviceA-vlan20] quit # Create Layer 2 aggregate interface Bridge-Aggregation 1. [DeviceA] interface bridge-aggregation 1 [DeviceA-Bridge-Aggregation1] quit # Assign ports GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3 to link aggregation group 1. [DeviceA] interface gigabitethernet 1/0/1 [DeviceA-GigabitEthernet1/0/1] port link-aggregation group 1 [DeviceA-GigabitEthernet1/0/1] quit [DeviceA] interface gigabitethernet 1/0/2
52 [DeviceA-GigabitEthernet1/0/2] port link-aggregation group 1 [DeviceA-GigabitEthernet1/0/2] quit [DeviceA] interface gigabitethernet 1/0/3 [DeviceA-GigabitEthernet1/0/3] port link-aggregation group 1 [DeviceA-GigabitEthernet1/0/3] quit # Configure Layer 2 aggregate interface Bridge-Aggregation 1 as a trunk port and assign it to VLANs 10 and 20. [DeviceA] interface bridge-aggregation 1 [DeviceA-Bridge-Aggregation1] port link-type trunk [DeviceA-Bridge-Aggregation1] port trunk permit vlan 10 20 Please wait... Done. Configuring GigabitEthernet1/0/1... Done. Configuring GigabitEthernet1/0/2... Done. Configuring GigabitEthernet1/0/3... Done. [DeviceA-Bridge-Aggregation1] quit # Configure Device A to use the source and dest ination MAC addresses of packets as the global link-aggregation load-sharing criteria. [DeviceA] link-aggregation load-sharing mode source-mac destination-mac \ 2. Configure Device B. Configure Device B using the same instructions that you used to configure Device A. 3. Verify the configurations: # Display summary information about a ll aggregation groups on Device A. [DeviceA] display link-aggregation summary Aggregation Interface Type: BAGG -- Bridge-Aggregation, RAGG -- Route-Aggregation Aggregation Mode: S -- Static, D -- Dynamic Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing Actor System ID: 0x8000, 000f-e2ff-0001 AGG AGG Partner ID Select Unselect Share Interface Mode Ports Ports Type ------------------------------------------------------------------------\ ------- BAGG1 S none 3 0 Shar The output shows that link aggregation group 1 is a load-shared Layer 2 static aggregation group and it contains three Selected ports. # Display the global link-aggregation load-sharing criteria on Device A. [DeviceA] display link-aggregation load-sharing mode Link-Aggregation Load-Sharing Mode: destination-mac address, source-mac address The output shows that all link aggregation grou ps created on the device perform load sharing based on source and destination MAC addresses.
53 Layer 2 dynamic aggregation configuration example Network requirements As shown in Figure 13: • D evice A and Device B are connected through their respective Layer 2 Ethernet interfaces GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3. • Configure a Layer 2 dynamic aggregation group on both Device A and Device B, enable VLAN 10 at one end of the aggregate link to communicate with VLAN 10 at the other end, and VLAN 20 at one end to communicate with VLAN 20 at the other end. • Enable traffic to be load-shared across aggreg ation group member ports based on source and destination MAC addresses. Figure 13 Network diagram Configuration procedure 1. Configure Device A: # Create VLAN 10, and assign the port GigabitEthernet 1/0/4 to VLAN 10. system-view [DeviceA] vlan 10 [DeviceA-vlan10] port gigabitethernet 1/0/4 [DeviceA-vlan10] quit # Create VLAN 20, and assign the port GigabitEthernet 1/0/5 to VLAN 20. [DeviceA] vlan 20 [DeviceA-vlan20] port gigabitethernet 1/0/5 [DeviceA-vlan20] quit # Create Layer 2 aggregate interface Bridge-Aggregation 1, and configure the link aggregation mode as dynamic. [DeviceA] interface bridge-aggregation 1 [DeviceA-Bridge-Aggregation1] link-aggregation mode dynamic # Assign ports GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3 to link aggregation group 1 one at a time. [DeviceA] interface gigabitethernet 1/0/1 [DeviceA-GigabitEthernet1/0/1] port link-aggregation group 1 [DeviceA-GigabitEthernet1/0/1] quit
54 [DeviceA] interface gigabitethernet 1/0/2 [DeviceA-GigabitEthernet1/0/2] port link-aggregation group 1 [DeviceA-GigabitEthernet1/0/2] quit [DeviceA] interface gigabitethernet 1/0/3 [DeviceA-GigabitEthernet1/0/3] port link-aggregation group 1 [DeviceA-GigabitEthernet1/0/3] quit # Configure Layer 2 aggregate interface Bridge-Aggregation 1 as a trunk port and assign it to VLANs 10 and 20. [DeviceA] interface bridge-aggregation 1 [DeviceA-Bridge-Aggregation1] port link-type trunk [DeviceA-Bridge-Aggregation1] port trunk permit vlan 10 20 Please wait... Done. Configuring GigabitEthernet1/0/1... Done. Configuring GigabitEthernet1/0/2... Done. Configuring GigabitEthernet1/0/3... Done. [DeviceA-Bridge-Aggregation1] quit # Configure the device to use the source and de stination MAC addresses of packets as the global link-aggregation load-sharing criteria. [DeviceA] link-aggregation load-sharing mode source-mac destination-mac \ 2. Configure Device B. Configure Device B using the same instructions that you used to configure Device A. 3. Verify the configurations: # Display summary information about a ll aggregation groups on Device A. [DeviceA] display link-aggregation summary Aggregation Interface Type: BAGG -- Bridge-Aggregation, RAGG -- Route-Aggregation Aggregation Mode: S -- Static, D -- Dynamic Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing Actor System ID: 0x8000, 000f-e2ff-0001 AGG AGG Partner ID Select Unselect Share Interface Mode Ports Ports Type ------------------------------------------------------------------------\ ------- BAGG1 D 0x8000, 000f-e2ff-0002 3 0 Shar The output shows that link aggregation group 1 is a load-shared Layer 2 dynamic aggregation group and it contains three Selected ports. # Display the global link-aggregation load-sharing criteria on Device A. [DeviceA] display link-aggregation load-sharing mode Link-Aggregation Load-Sharing Mode: destination-mac address, source-mac address The output shows that all link aggregation grou ps created on the device perform load sharing based on source and destination MAC addresses.
55 Layer 3 static aggregation configuration example Network requirements As shown in Figure 14: • De vice A and Device B are connected by their Layer 3 Ethernet interfaces GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3. • Configure a Layer 3 static aggregation group on both Device A and Device B. Configure IP addresses and subnet masks for the corres ponding Layer 3 aggregate interfaces. • Enable traffic to be load-shared across aggreg ation group member ports based on source and destination IP addresses. Figure 14 Network diagram Configuration procedure 1. Configure Device A: # Create Layer 3 aggregate interface Route-Aggregation 1, and configure an IP address and subnet mask for the aggregate interface. system-view [DeviceA] interface route-aggregation 1 [DeviceA-Route-Aggregation1] ip address 192.168.1.1 24 [DeviceA-Route-Aggregation1] quit # Assign Layer 3 Ethernet interfaces GigabitE thernet 1/0/1 through GigabitEthernet 1/0/3 to aggregation group 1. [DeviceA] interface gigabitethernet 1/0/1 [DeviceA-GigabitEthernet1/0/1] port link-aggregation group 1 [DeviceA-GigabitEthernet1/0/1] quit [DeviceA] interface gigabitethernet 1/0/2 [DeviceA-GigabitEthernet1/0/2] port link-aggregation group 1 [DeviceA-GigabitEthernet1/0/2] quit [DeviceA] interface gigabitethernet 1/0/3 [DeviceA-GigabitEthernet1/0/3] port link-aggregation group 1 [DeviceA-GigabitEthernet1/0/3] quit # Configure the global link-aggregation load-sharing criteria as the source and destination IP addresses of packets. [DeviceA] link-aggregation load-sharing mode source-ip destination-ip 2. Configure Device B. Configure Device B using the same instructions that you used to configure Device A. 3. Verify the configurations: # Display summary information about a ll aggregation groups on Device A. [DeviceA] display link-aggregation summary Aggregation Interface Type:
56 BAGG -- Bridge-Aggregation, RAGG -- Route-Aggregation Aggregation Mode: S -- Static, D -- Dynamic Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing Actor System ID: 0x8000, 000f-e2ff-0001 AGG AGG Partner ID Select Unselect Share Interface Mode Ports Ports Type ------------------------------------------------------------------------\ ------- RAGG1 S none 3 0 Shar The output shows that link aggregation group 1 is a load-sharing-capable Layer 3 static aggregation group that contains three Selected ports. # Display the global link-aggregation load-sharing criteria on Device A. [DeviceA] display link-aggregation load-sharing mode Link-Aggregation Load-Sharing Mode: destination-ip address, source-ip address The output shows that the global link-aggrega tion load-sharing criteria are the source and destination IP addresses of packets. Layer 3 dynamic aggregation configuration example Network requirements As shown in Figure 15: • De vice A and Device B are connected by their Layer 3 Ethernet interfaces GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3. • Configure a Layer 3 dynamic aggregation group on both Device A and Device B and configure IP addresses and subnet masks for the corres ponding Layer 3 aggregate interfaces. • Enable traffic to be load-shared across aggreg ation group member ports based on source and destination IP addresses. Figure 15 Network diagram Configuration procedure 1. Configure Device A: # Create Layer 3 aggregate interface Route-Aggreg ation 1, configure the link aggregation mode as dynamic, and configure an IP address and subnet mask for the aggregate interface. system-view [DeviceA] interface route-aggregation 1 [DeviceA-Route-Aggregation1] link-aggregation mode dynamic [DeviceA-Route-Aggregation1] ip address 192.168.1.1 24 [DeviceA-Route-Aggregation1] quit
57 # Assign Layer 3 Ethernet interfaces GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3 to aggregation group 1. [DeviceA] interface gigabitethernet 1/0/1 [DeviceA-GigabitEthernet1/0/1] port link-aggregation group 1 [DeviceA-GigabitEthernet1/0/1] quit [DeviceA] interface gigabitethernet 1/0/2 [DeviceA-GigabitEthernet1/0/2] port link-aggregation group 1 [DeviceA-GigabitEthernet1/0/2] quit [DeviceA] interface gigabitethernet 1/0/3 [DeviceA-GigabitEthernet1/0/3] port link-aggregation group 1 [DeviceA-GigabitEthernet1/0/3] quit # Configure Device A to use the source and dest ination IP addresses of packets as the global link-aggregation load-sharing criteria. [DeviceA] link-aggregation load-sharing mode source-ip destination-ip 2. Configure Device B. Configure Device B using the same instructions that you used to configure Device A. 3. Verify the configurations: # Display summary information about a ll aggregation groups on Device A. [DeviceA] display link-aggregation summary Aggregation Interface Type: BAGG -- Bridge-Aggregation, RAGG -- Route-Aggregation Aggregation Mode: S -- Static, D -- Dynamic Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing Actor System ID: 0x8000, 000f-e2ff-0001 AGG AGG Partner ID Select Unselect Share Interface Mode Ports Ports Type ------------------------------------------------------------------------\ ------- RAGG1 D 0x8000, 000f-e2ff-0002 3 0 Shar The output shows that link aggregation group 1 is a load-shared Layer 3 dynamic aggregation group and it contains three Selected ports. # Display the global link-aggregation load-sharing criteria on Device A. [DeviceA] display link-aggregation load-sharing mode Link-Aggregation Load-Sharing Mode: destination-ip address, source-ip address The output shows that the global link-aggrega tion load-sharing criteria are the source and destination IP addresses of packets.
58 Configuring port isolation Port isolation enables isolating Layer 2 traffic for data privacy and security without using VLANs. You can also use this feature to isolate the hosts in a VLAN from one another. To use the feature, assign ports to a port isolation group. Ports in an isolation group are called isolated ports. One isolated port cannot forward Layer 2 traf fic to any other isolated port on the same switch, even if they are in the same VLAN. An isolated port can communicate with any port outside the isolation group if they are in the same VLAN. The switch series supports only one isolation group isolation group 1. The isolation group is automatically created and cannot be deleted. Ther e is no limit on the number of member ports. Assigning a port to the isolation group Step Command Remarks 1. Enter system view. system-view N/A 2. Enter interface view or port group view. • Enter Ethernet interface view: interface interface-type interface-number • Enter Layer 2 aggregate interface view: interface bridge-aggregation interface-number • Enter port group view: port-group manual port-group-name Use one of the commands. • In Ethernet interface view, the subsequent configurations apply to the current port. • In Layer 2 aggregate interface view, the subsequent configurations apply to the Layer 2 aggregate interface and all its member ports. • In port group view, the subsequent configurations apply to all ports in the port group. 3. Assign the port or ports to the isolation group as an isolated port or ports. port-isolate enable No ports are added to the isolation group by default. Displaying and maintaining the isolation group Task Command Remarks Display isolation group information. display port-isolate group [ | { begin | exclude | include } regular-expression ] Available in any view
59 Port isolation configuration example Network requirements As shown in Figure 16, Host A, Host B, and Host C are connected to GigabitEthernet 1/0/1, GigabitEthernet 1/0/2, and GigabitEthernet 1/0/3 of Device, and Device is connected to the Internet through GigabitEthernet 1/0/4. All these ports are in the same VLAN. Configure Device to provide Internet access for all the hosts and isolate them from one another. Figure 16 Networking diagram Configuration procedure # Add ports GigabitEthernet 1/0/1, GigabitEthernet 1/0/2, and GigabitEthernet 1/0/3 to the isolation group. system-view [Device] interface gigabitethernet 1/0/1 [Device-GigabitEthernet1/0/1] port-isolate enable [Device-GigabitEthernet1/0/1] quit [Device] interface gigabitethernet 1/0/2 [Device-GigabitEthernet1/0/2] port-isolate enable [Device-GigabitEthernet1/0/2] quit [Device] interface gigabitethernet 1/0/3 [Device-GigabitEthernet1/0/3] port-isolate enable # Display information about the isolation group. display port-isolate group Port-isolate group information: Uplink port support: NO Group ID: 1 Group members: GigabitEthernet 1/0/1 GigabitEthernet 1/0/2 GigabitEthernet \ 1/0/3