Configure the Auto-sense Wait Interval for a Port
Perform this task to configure the time, in seconds, for Auto-sense to wait for a Link Layer Discovery Protocol (LLDP) neighbor to be detected in the Auto-sense wait state before transitioning to the Auto-sense onboarding state.
About this task
The per-port wait-interval configuration takes precedence over the globally configured Auto-sense wait-interval. If you change the port configuration and the port is already in the wait state, the wait-interval adjusts automatically.
Procedure
Examples
Configure the Auto-sense wait interval on port 1/1 to 20 seconds:
Switch:1>enable Switch:1#configure terminal Switch:1#interface GigabitEthernet 1/1 Enter configuration commands, one per line. End with CNTL/Z. Switch:1(config)#auto-sense wait-interval 20
Verify the Auto-sense wait-interval information for a range of ports:
Switch:1>enable Switch:1#show interfaces gigabitethernet auto-sense 1/1-1/5 ====================================================================== Port Auto-sense ====================================================================== ---------------------------------------------------------------------- PORT AUTO-SENSE AUTO-SENSE AUTO-SENSE AUTO-SENSE NUM STATUS STATE PORT-DATA-ISID PORT-WAIT-INTERVAL ---------------------------------------------------------------------- 1/1 Enable DOWN -- 20 1/2 Enable DOWN -- 10 1/3 Enable DOWN -- 10 1/4 Enable DOWN -- 10 1/5 Disable OFF -- 10
Variable Definitions
The following table defines parameters for the auto-sense wait-interval command.
Variable |
Value |
---|---|
<10-120> |
Specifies the Auto-sense wait interval, in seconds, for a specific port. The port-specific configuration takes precedence over the global wait-interval configuration. The default value is 35. |