Layer 1 CLI Guard Relaxation
EOS supports relaxing Layer 1 CLI guards to configure the handling ofunsupported Layer 1 configurations such as incorrect speed and error correction. EOS rejects the unsupported configurations with error messages or prompts for confirmation using warning messages.
Configuring Layer 1 CLI Guard Relaxation
Configure EOS to handle unsupported Layer 1 configurations with the command,
system l1 unsupported. The command supports the
following options:
- speed - Specify the action for unsupported speed configurations.
- error-correction - Specify the action for unsupported error-correction configurations.
- error - Configure the switch to reject unsupported configurations with error messages.
- warn - Configure the switch to warn and prompt for confirmation for unsupported configurations.
Examples
- Use the following command to reject an unsupported speed
configuration:
switch(config)# system l1 switch(config-system-l1)# unsupported speed action error - When configured with an unsupported speed, the switch returns the following
error
message:
switch(config-if-ET1/2)# speed 200g-4 % Speed and duplex settings are not compatible with transceiver for interface Ethernet1/2. - Use the following commands to warn and prompt for unsupported speed
configuration:
switch(config)# system l1 switch(config-system-l1)# unsupported speed action warn - When configured with an unsupported speed, the switch returns the following
warning
message:
switch(config-if-ET1/2)# speed 200g-4 ! Speed and duplex settings are not compatible with transceiver for interface EthernetX/Y. Do you wish to proceed with this command? [y/N]Suppress the prompt asking confirmation with the terminal dont-ask command. Add this configuration for systems using automation for configuration.
Displaying L1 CLI Guard Relaxation Information
To display the current configured actions for unsupported configurations, use the
show running-config
command:
switch# show running-config
system l1
unsupported speed action error
unsupported error-correction action error