Using an EOAM profile is an efficient way of configuring multiple interfaces with a common EOAM configuration. However, if you want to use a profile but also change the behavior of certain functions for a particular interface, then you can override the profile configuration. To override certain profile settings that are applied to an interface, you can configure that command in interface Ethernet OAM configuration mode to change the behavior for that interface.
In some cases, only certain keyword options are available in interface Ethernet OAM configuration due to the default settings for the command. For example, without any configuration of the action commands, several forms of the command have a default behavior of creating a syslog entry when a profile is created and applied to an interface. Therefore, the log keyword is not available in Ethernet OAM configuration for these commands in the profile because it is the default behavior. However, the log keyword is available in Interface Ethernet OAM configuration if the default is changed in the profile configuration so you can retain the action of creating a syslog entry for a particular interface.
To see all of the default Ethernet OAM configuration settings, see the Verify the CFM configuration section.
Use this procedure to configure Ethernet OAM settings at an interface and override the profile configuration.
Procedure
SUMMARY STEPS
- Enter global configuration mode.
- Enter the interface configuration mode and specify the Ethernet interface name and notation rack/slot/module/port.
- Enable Ethernet OAM and enter interface Ethernet OAM configuration mode.
- Configure a setting for an Ethernet OAM configuration command and override the setting for the profile configuration, where interface-Ethernet-OAM-command is one of the supported commands on the platform in interface Ethernet OAM configuration mode.
- Save the configuration changes to the running configuration file and remains within the configuration session.
- End the configuration session and exit to the EXEC mode.
DETAILED STEPS
|
1. |
Enter global configuration mode.
Example:
Router# configure terminal
|
|
2. |
Enter the interface configuration mode and specify the Ethernet interface name and notation rack/slot/module/port.
Example:
Router(config)# interface TenGigE 0/1/0/0
The example indicates an 8-port 10-Gigabit Ethernet interface in modular services card slot 1.
|
|
3. |
Enable Ethernet OAM and enter interface Ethernet OAM configuration mode.
Example:
Router(config-if)# ethernet oam
|
|
4. |
Configure a setting for an Ethernet OAM configuration command and override the setting for the profile configuration, where interface-Ethernet-OAM-command is one of the supported commands on the platform in interface Ethernet OAM configuration mode.
Example:
Router(config-if-eoam)# action capabilities-conflict error-disable-interface
|
|
5. |
Save the configuration changes to the running configuration file and remains within the configuration session.
Example:
Router(config-if)# commit
|
|
6. |
End the configuration session and exit to the EXEC mode.
Example:
Router(config-if)# end
|