Step 1
|
configure
RP/0/RP0/CPU0:router# configure terminal
|
Enters global configuration mode.
|
Step 2
|
ethernet oam profile
profile-name
RP/0/RP0/CPU0:router(config)# ethernet oam profile Profile_1
|
Creates a new Ethernet Operations, Administration and
Maintenance (OAM) profile and enters Ethernet OAM configuration mode.
|
Step 3
|
link-monitor
RP/0/RP0/CPU0:router(config-eoam)# link-monitor
|
Enters the Ethernet OAM link monitor
configuration mode.
|
Step 4
|
symbol-period window
window
RP/0/RP0/CPU0:router(config-eoam-lm)# symbol-period window 60000
|
(Optional) Configures the window size (in milliseconds) for an Ethernet OAM symbol-period error event. The IEEE 802.3 standard
defines the window size as a number of symbols rather than a time duration. These two formats can be converted either way
by using a knowledge of the interface speed and encoding.
The range is 1000 to 60000.
The default value is 1000.
|
Step 5
|
symbol-period threshold low
threshold high
threshold
RP/0/RP0/CPU0:router(config-eoam-lm)# symbol-period threshold ppm low 1 high 1000000
|
(Optional) Configures the thresholds (in symbols) that trigger an Ethernet OAM symbol-period error event. The high threshold
is optional and is configurable only in conjunction with the low threshold.
The range is 0 to 60000000.
The default low threshold is 1.
|
Step 6
|
frame window
window
RP/0/RP0/CPU0:router(config-eoam-lm)# frame window 6000
|
(Optional) Configures the frame window size (in milliseconds) of an OAM frame error event.
The range is from 1000 to 60000.
The default value is 1000.
|
Step 7
|
frame threshold low
threshold high
threshold
RP/0/RP0/CPU0:router(config-eoam-lm)# frame threshold low 10000000 high 60000000
|
(Optional) Configures the thresholds (in symbols) that triggers an Ethernet OAM frame error event. The high threshold is optional
and is configurable only in conjunction with the low threshold.
The range is from 0 to 60000000.
The default low threshold is 1.
|
Step 8
|
frame-period window
window
RP/0/RP0/CPU0:router(config-eoam-lm)# frame-period window 60000
RP/0/RP0/CPU0:router(config-eoam-lm)# frame-period window milliseconds 60000
|
(Optional) Configures the window size (in milliseconds) for an Ethernet OAM frame-period error event. The IEEE 802.3 standard
defines the window size as number of frames rather than a time duration. These two formats can be converted either way by
using a knowledge of the interface speed. Note that the conversion assumes that all frames are of the minimum size.
The range is from 1000 to 60000.
The default value is 1000.
Note
|
The only accepted values are multiples of the line cardinterface module-specific polling interval, that is, 1000 milliseconds for most line cardsinterface modules.
|
|
Step 9
|
frame-period threshold
lowthreshold high
threshold
RP/0/RP0/CPU0:router(config-eoam-lm)#
frame-period threshold ppm low 100 high 1000000
|
(Optional) Configures the thresholds (in errors per million frames ) that trigger an Ethernet OAM frame-period error event.
The frame period window is defined in the IEEE specification as a number of received frames, in our implementation it is x
milliseconds. The high threshold is optional and is configurable only in conjunction with the low threshold.
The range is from 1 to 1000000.
The default low threshold is 1.
To obtain the number of frames, the configured time interval is converted to a window size in frames using the interface speed.
For example, for a 1Gbps interface, the IEEE defines minimum frame size as 512 bits. So, we get a maximum of approximately
1.5 million frames per second. If the window size is configured to be 8 seconds (8000ms) then this would give us a Window
of 12 million frames in the specification's definition of Errored Frame Window.
The thresholds for frame-period are measured in errors per million frames. Hence, if you configure a window of 8000ms (that
is a window of 12 million frames) and a high threshold of 100, then the threshold would be crossed if there are 1200 errored
frames in that period (that is, 100 per million for 12 million).
|
Step 10
|
frame-seconds window
window
RP/0/RP0/CPU0:router(config-eoam-lm)# frame-seconds window 900000
|
(Optional) Configures the window size (in milliseconds) for the OAM frame-seconds error event.
The range is 10000 to 900000.
The default value is 60000.
Note
|
The only accepted values are multiples of the line cardinterface module-specific polling interval, that is, 1000 milliseconds for most line cardsinterface modules.
|
|
Step 11
|
frame-seconds threshold low
threshold high
threshold
RP/0/RP0/CPU0:router(config-eoam-lm)# frame-seconds threshold low 3 high 900
|
(Optional) Configures the thresholds (in seconds) that trigger a frame-seconds error event. The high threshold value can be
configured only in conjunction with the low threshold value.
The range is 1 to 900
The default value is 1.
|
Step 12
|
exit
RP/0/RP0/CPU0:router(config-eoam-lm)# exit
|
Exits back to Ethernet OAM mode.
|
Step 13
|
mib-retrieval
RP/0/RP0/CPU0:router(config-eoam)# mib-retrieval
|
Enables MIB retrieval in an Ethernet OAM profile or on an
Ethernet OAM interface.
|
Step 14
|
connection timeout
<timeout>
RP/0/RP0/CPU0:router(config-eoam)# connection timeout 30
|
Configures the connection timeout period for an Ethernet OAM
session. as a multiple of the hello interval.
The range is 2 to 30.
The default value is 5.
|
Step 15
|
hello-interval {100ms|1s}
RP/0/RP0/CPU0:router(config-eoam)# hello-interval 100ms
|
Configures the time interval between hello packets for an
Ethernet OAM session. The default is 1 second (1s ).
|
Step 16
|
mode {active|passive}
RP/0/RP0/CPU0:router(config-eoam)# mode passive
|
Configures the Ethernet OAM mode. The default is active.
|
Step 17
|
require-remote mode
{active|passive}
RP/0/RP0/CPU0:router(config-eoam)# require-remote mode active
|
Requires that active mode or passive mode is configured on the
remote end before the OAM session becomes active.
|
Step 18
|
require-remote
mib-retrieval
RP/0/RP0/CPU0:router(config-eoam)# require-remote mib-retrieval
|
Requires that MIB-retrieval is configured on the remote end
before the OAM session becomes active.
|
Step 19
|
action capabilities-conflict {disable | efd | error-disable-interface}
RP/0/RP0/CPU0:router(config-eoam)# action capabilities-conflict efd
|
Specifies the action that is taken on an interface when a capabilities-conflict event occurs. The default action is to create
a syslog entry.
|
Step 20
|
action critical-event {disable | error-disable-interface}
RP/0/RP0/CPU0:router(config-eoam)# action critical-event error-disable-interface
|
Specifies the action that is taken on an interface when a critical-event notification is received from the remote Ethernet
OAM peer. The default action is to create a syslog entry.
|
Step 21
|
action discovery-timeout {disable | efd | error-disable-interface}
RP/0/RP0/CPU0:router(config-eoam)# action discovery-timeout efd
|
Specifies the action that is taken on an interface when a connection timeout occurs. The default action is to create a syslog
entry.
|
Step 22
|
action dying-gasp {disable | error-disable-interface}
RP/0/RP0/CPU0:router(config-eoam)# action dying-gasp error-disable-interface
|
Specifies the action that is taken on an interface when a dying-gasp notification is received from the remote Ethernet OAM
peer. The default action is to create a syslog entry.
|
Step 23
|
action high-threshold {error-disable-interface | log}
RP/0/RP0/CPU0:router(config-eoam)# action high-threshold error-disable-interface
|
Specifies the action that is taken on an interface when a high threshold is exceeded. The default is to take no action when
a high threshold is exceeded.
|
Step 24
|
action session-down {disable | efd | error-disable-interface}
RP/0/RP0/CPU0:router(config-eoam)# action session-down efd
|
Specifies the action that is taken on an interface when an Ethernet OAM session goes down.
|
Step 25
|
action session-up disable
RP/0/RP0/CPU0:router(config-eoam)# action session-up disable
|
Specifies that no action is taken on an interface when an Ethernet OAM session is established. The default action is to create
a syslog entry.
|
Step 26
|
action uni-directional link-fault {disable | efd | error-disable-interface}
|
Specifies the action that is taken on an interface when a link-fault notification is received from the remote Ethernet OAM
peer. The default action is to create a syslog entry.
|
Step 27
|
action wiring-conflict {disable | efd | log}
RP/0/RP0/CPU0:router(config-eoam)# action session-down efd
|
Specifies the action that is taken on an interface when a wiring-conflict event occurs. The default is to put the interface
into error-disable state.
|
Step 28
|
uni-directional link-fault detection
RP/0/RP0/CPU0:router(config-eoam)# uni-directional link-fault detection
|
Enables detection of a local, unidirectional
link fault and sends notification of that fault to an Ethernet OAM peer.
|
Step 29
|
commit
RP/0/RP0/CPU0:router(config-if)# commit
|
Saves the configuration changes to the running configuration
file and remains within the configuration session.
|
Step 30
|
end
RP/0/RP0/CPU0:router(config-if)# end
|
Ends the configuration session and exits to the EXEC mode.
|