3com S7906E Guide De Référence

Page de 2327
 
1-11 
Examples 
# Set the NTK mode of port GigabitEthernet 2/0/1 to ntkonly, allowing the port to forward received 
packets to only devices passing authentication. 
<Sysname> system-view 
[Sysname] interface gigabitethernet 2/0/1 
[Sysname-GigabitEthernet2/0/1] port-security ntk-mode ntkonly 
port-security oui 
Syntax 
port-security oui oui-value index index-value 
undo port-security oui index index-value 
View 
System view 
Default Level 
2: System level 
Parameters 
oui-value: Organizationally unique identifier (OUI) string, a 48-bit MAC address in the H-H-H format. 
The system automatically uses only the 24 high-order bits as the OUI value. 
index-value: OUI index, in the range 1 to 16. 
Description  
Use the port-security oui command to configure an OUI value for user authentication. This value is 
used when the port security mode is UserLoginWithOUI. 
Use the undo port-security oui command to delete an OUI value with the specified OUI index.  
By default, no OUI value is configured.  
Note that an OUI value configured by using the port-security oui command takes effect only when the 
security mode is userLoginWithOUI. 
Related commands: display port-security
Examples 
# Configure an OUI value of 000d2a, setting the index to 4.  
<Sysname> system-view 
[Sysname] port-security oui 000d-2a10-0033 index 4 
port-security port-mode 
Syntax 
port-security port-mode { autolearn  | mac-authentication | mac-else-userlogin-secure | 
mac-else-userlogin-secure-ext  | secure | userlogin |  userlogin-secure  | userlogin-secure-ext | 
userlogin-secure-or-mac userlogin-secure-or-mac-ext | userlogin-withoui } 
undo port-security port-mode