Use this command to set the NetLogin trap setting for ports.
all | Configure all ports in the system. |
port_list | List of ports to configure. |
allowed-users | Number of users allowed per port. Only applicable if the ONEPolicy feature is enabled. |
allowed_users | Number of users allowed per port. |
authentication mode | Port authentication mode. Only applicable if the ONEPolicy feature is enabled. |
optional | Authentication optional. Only applicable if ONEPolicy is enabled. |
required | Authentication required. Only applicable if ONEPolicy is enabled. |
all-traps | Enable sending all trap types. Only applicable if the ONEPolicy feature is enabled. |
no-traps | Disable sending all trap types. Only applicable if the ONEPolicy feature is enabled. |
success | Enable sending success trap. |
fails | Enable sending failed trap. |
terminated | Enable sending terminated trap. |
max-reached | Enable sending max number users reached trap. This is applicable in ONEPolicy mode only. |
By default, all traps are sent in both ONEPolicy mode and non-ONEPolicy mode.
authentication mode [optional | required]
allowed-users allowed_users
all-traps | no-traps | [{success} {failed} {terminated} {max-reached}]
This command appears in show configuration {module-name} {detail} for "policy" and "netlogin."
The no-traps configuration is retained after save and reboot.
# configure netlogin ports 1 trap no-traps # show configuration "policy" **no traps commands appear due to no-traps being configured # configure netlogin ports 1 trap success # show configuration "policy" # Module policy configuration. # configure netlogin ports 1 trap success **success traps command appears # configure netlogin ports 1 trap terminated # show configuration "policy" # Module policy configuration. # configure netlogin ports 1 trap success # configure netlogin ports 1 trap terminated **success and terminated traps commands appear
This example shows how to enable all NetLogin port trap setting:
configure netlogin trap port 1:1 all
This command was first available in ExtremeXOS 16.1.
This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, and X695 series switches.