configure netlogin ports

configure netlogin ports [all | port_list] [allowed-users allowed_users | authentication mode [optional | required] | trap [all-traps | no-traps | [{success} {failed} {terminated} {max-reached}]]]

Description

Use this command to set the NetLogin trap setting for system, module, and ports.

Syntax Description

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. Range 0-65535.
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.

Default

By default, all traps are sent in both ONEPolicy mode and non-ONEPolicy mode.

Usage Guidelines

The following command options are only applicable if ONEPolicy is enabled. They have no effect without ONEPolicy being enabled:
  • 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.

Trap configurations after applying no-traps are appended until no-traps is configured again (for example: no-traps configuration followed by success, and thenterminated traps, sends success and terminated traps:
# 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

Example

This example shows how to enable all NetLogin port trap setting:

configure netlogin trap port 1:1 all

History

This command was first available in ExtremeXOS 16.1.

Platform Availability

This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X870, X690 series switches.