HP Mellanox SX1018 Mellanox MLNX-OS User Manual for SX1018HP Ethernet Managed - Page 76
Creating an IP Interface
View all HP Mellanox SX1018 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 76 highlights
Rev 1.6.2 The load balancing function of the ECMP is configured globally on the system. Hash algorithm can be symmetric or asymmetric. In symmetric hash functions bidirectional flows between routes will follow the same path, while in asymmetric hash functions, bidirectional traffic can follow different paths in both directions. The following load balancing types are supported: • Source IP & Port - source IP (SIP) and source UDP/TCP port: If the packet is not UDP/ TCP, only SIP is used for the hash calculation. This is an asymmetric hash function. • Destination IP & Port - destination IP (DIP) and destination UDP/TCP port: If the packet is not UDP/TCP, only DIP is used for the hash calculation. This is an asymmetric hash function. • Source and Destination IP & Port - destination and source IP, as well as destination and source UDP/TCP port: If the packet is not UDP/TCP, only SIP/DIP are used for the hash calculation. This is a symmetric hash function. • Traffic Class: Load balance based on the traffic class assigned to the packet. This is an asymmetric hash function. • All (default): all above fields are part of the hash calculations. This is a symmetric hash function. 6.1.3 Creating an IP Interface Preconditions: • An L3 license must be installed on your system (LIC-XXXX-L3) • A VLAN must be created using the command vlan • There must be at least one interface attached to this VLAN (to do so, run the switchport command in the interface configuration mode) • There must be at least one interface in the operational state "UP" To create an IP interface: Step 1. Create a VLAN interface using the command interface vlan . Step 2. Apply an IP address and a network mask to the interface using the ip address command. switch (config)# vlan 10 switch (config vlan 10)# exit switch (config)# interface ethernet 1/1 switch (config interface ethernet 1/1)#switchport mode access switch (config interface ethernet 1/1)#switchport access vlan 10 switch (config interface ethernet 1/1)#exit switch (config)# show interface etherent status // making sure there is a port in UP state Port ---Eth1/1 ... Operational state Up Speed ----40 Gbps Negotiation ----------No-Negotiation switch (config)#interface vlan 10 switch (config interface vlan)#ip address 10.10.10.10 /24 Mellanox Technologies 76