lag hash
 
   
  Configures LAG hashing parameters such
		as where to start picking headers for key generation, the number of headers to be
		considered, and so forth.
 Syntax
			lag hash
				bos
					{
					skip
					|
					start
					}
				
			
			no lag hash
				bos
					{
					skip
					|
					start
					}
				
			
			
			no lag hash
				
					hdr-count
					count
				
			
			lag hash
				hdr-start
					{
					fwd
					|
					term
					}
				
			
			no lag hash
				hdr-start
					{
					fwd
					|
					term
					}
				
			
			
			
			
			
			lag hash
				
					rotate
					rotate-number
				
			
			no
					lag hash
				
					rotate
					rotate-number
				
			
			lag hash
				speculate-mpls
					{
					enable
					|
					inner-eth
					|
					inner-ip-raw
					|
					inner-ip-tag
					|
					inner-ipv6-raw
					|
					inner-ipv6-tag}
				
			
			no
					lag hash
				speculate-mpls
				
			
			
			
 
	 Parameters
 
		
				
					- bos
					
- (DNX devices only)
						Ignore the entire MPLS
						label stack and pick only the BOS label for hashing. 
							
								- skip
								
- Hash from the
									label following the BOS label.
- start
								
- (Default) Start
									from the BOS label.
 
- hdr-count
							count
					
- Specifies the number of headers to be
						considered for LAG hashing. Values range from 1 through 3. The default is
						3.
- hdr-start
					
- Specifies where to start picking headers for the key generation.
							
								- fwd
								
- (Default) Start from the inner header, which is used for
									forwarding the packet.
- term
								
- Start from the outer header, which is the header below the
									forwarding header and is the last terminated header.
									
 
- normalize
					
- (DNX devices only)
						Configures using the
						same hash in both
						directions. The default
						is disabled.
- pwctrlword
					
- (DNX devices only)
						Include the PW control
						word in hashing. The default is
						disabled.
					
- rotate
							rotate-number
					
- (DNX devices only)
						Specify hashing
						randomness. Values range from 0 through 15. The default is 3.
- speculate-mpls
					
- (DNX devices only)
						Enable MPLS speculate
						or Ethernet/IP.
							
								- enable
								
- Enable
									Speculative MPLS.
- inner-eth
								
- Enable inner
									Ethernet header hash for L2VPN.
- inner-ip-raw
								
- Enable inner IPv4
									header hash for L2VPN raw mode.
- inner-ip-tag
								
- Enable inner IPv4
									header hash for L2VPN tag mode
- inner-ipv6-raw
								
- Enable inner IPv6
									header hash for L2VPN raw mode
- inner-ipv6-tag
								
- Enable inner IPv6
									header hash for L2VPN tag mode
 
- srcport
					
- Includes the source port in the hashing configuration. The default is not to
						include it.
Modes
			Global
				configuration mode 
		
 
	 Usage Guidelines
 
		To restore default settings, use the no forms of these commands.
 
	 
		Examples
			
				The following example changes the hdr-count value to
					2.
				device# configure terminal
device(config)# lag hash hdr-count 2
			
			
				The following example changes the hdr-start value to
					term.
				device# configure terminal
device(config)# lag hash hdr-start term