Enabling and Configuring Ethernet OAM
Enabling Ethernet OAM on an Interface
To enable Ethernet OAM on an interface, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# interface interface-id
Step 3
Switch(config-if)# ethernet oam
Step 4
Switch(config-if)# ethernet oam [max-rate
|
oampdus
min-rate seconds
|
passive}
timeout seconds]
Step 5
Switch(config-if)# end
Step 6
Switch# show ethernet oam status [interface
]
interface-id
Step 7
Switch# copy running-config startup-config
Enter the no ethernet oam interface configuration command to disable Ethernet OAM on the interface.
This example shows how to set basic OAM parameters on the switch:
Switch(config)# int gi1/3
Switch(config-if)# ethernet oam
Switch(config-if)# ethernet oam max-rate 9
Switch(config-if)# ethernet oam mode passive
Switch(config-if)# end
Switch# show ethernet oam status int gi1/2
GigabitEthernet1/2
General
-------
Admin state:
Mode:
PDU max rate:
PDU min rate:
Link timeout:
High threshold action: no action
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
66-36
Purpose
Enters global configuration mode.
Defines an interface to configure as an EOM interface, and
enters interface configuration mode.
Enables Ethernet OAM on the interface.
Configures these optional OAM parameters:
|
|
mode {active
Note
Returns to privileged EXEC mode.
Verifies the configuration.
(Optional) Saves your entries in the configuration file.
enabled
passive
9 packets per second
1 packet per 1 second
5 seconds
Chapter 66
(Optional) Enter max-rate oampdus to configure the
•
maximum number of OAM PDUs sent per second. The
range is from 1 to 10.
•
(Optional) Enter min-rate seconds to configure the
minimum transmission rate in seconds when one OAM
PDU is sent per second. The range is from 1 to 10.
(Optional) Enter mode active to set OAM client mode
•
to active. active is the default.
(Optional) Enter mode passive to set OAM client
•
mode to passive.
When Ethernet OAM mode is enabled on two
interfaces passing traffic, at least one must be in the
active mode.
(Optional) Enter timeout seconds to set a time for
•
OAM client timeout. The range is from 2 to 30.
Configuring Ethernet OAM and CFM
OL-28731-01