Gigabyte 7014 User Manual

Page of 152
 Rev.  051208 
 
        
page 115 of 152
 
Get Lock State  
Command Name 
port get lockstate  
Description  
Gets the lock state for a given port. 
Syntax 
port get lockstate <port-no
Parameters  
port-no 
port number (1 ~ 14). 
Examples 
N-TRON/Admin#[1]> port get lockstate 6 
LockState  : [enable] 
N-TRON/Admin#[2]> port get lockstate 14 
LockState  : [disable]
 
NOTES 
Check whether port-no is in the valid range. (1 ~ 14) 
 
Get Auto-negotiation State   
Command Name 
port get autonego 
Description  
Gets the auto negotiation mode for a given port. 
Syntax 
port get autonego<port-no> 
Parameters  
port-no 
Port number (1 ~ 14). 
Examples 
N-TRON/Admin#[1]> port get autonego 6 
Auto negotiation mode is : [enabled] 
N-TRON/Admin#[2]> port get autonego 12 
Auto negotiation mode is : [disabled]
 
NOTES 
Check whether port-no is in the valid range. (1 ~ 14) 
 
Set Auto-negotiation State 
Command Name 
port set autonego  
Description  
Sets the auto negotiation mode of a given port to either enable or disable. If 
the port auto negotiation mode is  enabled, the switch can automatically 
adjusts it speed and duplex mode to the incoming speed and duplexmode. 
Syntax 
port set autonego <port-no><enable | disable> 
Parameters  
port-no 
port number (1 ~ 12) 
enable | disable 
       Auto negotiation  enable or disable 
Examples 
N-TRON/Admin#[1]> port set  autonego 6 enable 
Auto negotiation mode of port[6] is : [enabled] 
N-TRON/Admin#[2]> port set  autonego 7 disable 
Auto negotiation mode of port[7] is : [disabled]
 
NOTES 
Check whether port-no is in the valid range. (1 ~ 12) 
 
Set Priority State 
Command Name 
port set prioritystate 
Description  
Enables or Disables the Priority State on a per port basis. 
Syntax 
port set prioritystate <enable | disable><port-no> 
Parameters  
port-no 
port number (1 ~ 14) 
enable | disable 
       Priority State enable or disable 
Examples 
N-TRON/Admin#[1]> port set prioritystate enable 6 
NOTES 
Check whether port-no is in the valid range. (1 ~ 14)