75-36
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 75 Configuring Ethernet OAM and CFM
Enabling and Configuring Ethernet OAM
Enabling Ethernet OAM on an Interface
To enable Ethernet OAM on an interface, perform this task:
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: enabled
Mode: passive
PDU max rate: 9 packets per second
PDU min rate: 1 packet per 1 second
Link timeout: 5 seconds
High threshold action: no action
Command
Purpose
Step 1
Switch#
configure terminal
Enters global configuration mode.
Step 2
Switch(config)#
interface
interface-id
Defines an interface to configure as an EOM interface, and
enters interface configuration mode.
Step 3
Switch(config-if)#
ethernet oam
Enables Ethernet OAM on the interface.
Step 4
Switch(config-if)#
ethernet oam
[
max-rate
oampdus
|
min-rate
seconds
|
mode
{
active
|
passive
}
|
timeout
seconds
]
Configures these optional OAM parameters:
•
(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.
Note
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.
Step 5
Switch(config-if)#
end
Returns to privileged EXEC mode.
Step 6
Switch#
show ethernet oam status
[
interface
interface-id
]
Verifies the configuration.
Step 7
Switch#
copy running-config startup-config
(Optional) Saves your entries in the configuration file.
Summary of Contents for Catalyst 4500 Series
Page 2: ......
Page 4: ......
Page 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...