Configuring EFM-OAM
The EFM-OAM configuration includes the following procedural steps to enable EFM-OAM
on an interface or multiple interfaces for advanced monitoring and maintenance of
Ethernet network.
- Enter the
configure terminalcommand to enter global configuration mode. - Enter the
link-oamcommand to enable the EFM-OAM protocol and enter EFM-OAM protocol configuration mode. - Enter the
timeoutcommand to configure the time in seconds for which the local Data Terminal Equipment (DTE) waits to receive OAM Protocol Data Units (OAM-PDUs) from the remote entity. - Enter the
pdu-ratecommand to configure the number of PDUs to be transmitted per second by the DTE. - Enter the
ethernetcommand to enable EFM-OAM on an interface.EFM-OAM can be enabled on more than one interface. You can also specify a range of interfaces to enable EFM-OAM on multiple interfaces.You can set the operational mode of EFM-OAM as Active or Passive.- Enter the
ethernetstackid/slot/port active command to set the EFM-OAM operational mode as active on an interface.device(config-link-oam)# ethernet 1/1/3 active device(config-link-oam)# ethernet 1/1/4 active
- Enter the
ethernetstackid/slot/port to stackid/slot/port active command to set the EFM-OAM operational mode as active on a range of interfaces.device(config-link-oam)# ethernet 1/1/5 to 1/1/8 active
- Enter the
ethernetstackid/slot/port passive command to set the EFM-OAM operational mode as passive on an interface.device(config-link-oam)# ethernet 2/1/1 passive
- Enter the
ethernetstackid/slot/port to stackid/slot/port passive command to set the EFM-OAM operational mode as passive on a range of interfaces.device(config-link-oam)# ethernet 2/1/1 to 2/1/8 passive
- Enter the
- (Optional) Enter the
ethernetstackid/slot/port allow-loopback command to enable the interface to respond to a loopback request from the remote device. - (Optional) Enter the
ethernetstackid/slot/port remote-failure command to set the device for the remote-failure action to be taken upon the reception of critical event information on the interface. - (Optional) Enter the
remote-loopbackethernet stackid/slot/port command to start or stop the remote loopback procedure on a remote device.
The following shows an example of EFM-OAM configuration.
device# configure terminal device(config)# link-oam device(config-link-oam)# timeout 5 device(config-link-oam)# pdu-rate 2 device(config-link-oam)# ethernet 1/1/3 active device(config-link-oam)# ethernet 1/1/3 allow-loopback device(config-link-oam)# remote-loopback ethernet 2/1/1 start device(config-link-oam)# ethernet 1/1/3 remote-failure critical-event action block-interface