Port MAC security interface table

The following table shows the same information as the show port security ethernet slot/port command.

Name, OID, and syntax

Access

Description

snPortMacSecurityIntfContentTable

brcdIp.1.1.3.24.1.1.3

None

The port MAC security interface table that shows the port MAC security statistics for an Ethernet interface.

snPortMacSecurityIntfContentIfIndex

brcdIp.1.1.3.24.1.1.3.1.1

Syntax: InterfaceIndex

None

Shows the ifIndex value of the local interface.

snPortMacSecurityIntfContentSecurity

brcdIp.1.1.3.24.1.1.3.1.2

Syntax: Integer

Read- write

Indicates whether MAC port security is enabled or disabled on this interface:

  • disabled(0)
  • enabled(1)
snPortMacSecurityIntfContentViolationType

brcdIp.1.1.3.24.1.1.3.1.3

Syntax: Integer

Read-write

The port security violation type for this interface:

  • shutdown(0)
  • restrict(1)
  • not supported(2)
snPortMacSecurityIntfContentShutdownTime

brcdIp.1.1.3.24.1.1.3.1.4

Syntax: Unsigned32

Read-write

If snPortMacSecurityIntfContentViolationType is 0 (shutdown), this value indicates the number of seconds the interface shuts down when the violation occurs.

If snPortMacSecurityIntfContentViolationType is 1 (restrict), this value will always be 0.

snPortMacSecurityIntfContentShutdownTimeLeft

brcdIp.1.1.3.24.1.1.3.1.5

Syntax: Unsigned32

Read-only

If snPortMacSecurityIntfContentViolationType is 0 (shutdown), this value indicates the number of seconds before this interface will be re-enabled.

If snPortMacSecurityIntfContentViolationType is 1 (restrict), this value will always be 0.

snPortMacSecurityIntfContentAgeOutTime

brcdIp.1.1.3.24.1.1.3.1.6

Syntax: Unsigned32

Read-write

The amount of time, in minutes, the MAC addresses learned on this interface will remain secure. A value of 0 indicates no aging is in effect.

snPortMacSecurityIntfContentMaxLockedMacAllowed

brcdIp.1.1.3.24.1.1.3.1.7

Syntax: Unsigned32

Read-write

The maximum number of secure MAC addresses that can be locked to this interface.

snPortMacSecurityIntfContentTotalMACs

brcdIp.1.1.3.24.1.1.3.1.8

Syntax: Unsigned32

Read-only

The total number of secure MAC addresses that are locked to this interface.

snPortMacSecurityIntfContentViolationCounts

brcdIp.1.1.3.24.1.1.3.1.9

Syntax: Unsigned32

Read-only

The total number of security violations that occurred on this interface.