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 { milliseconds
window | symbols
window [ thousand | million | billion ]}
RP/0/RP0/CPU0:router(config-eoam-lm)# symbol-period window 60000
|
(Optional) Configures the window size for an Ethernet OAM symbol-period error event.
If specified in milliseconds, the range is 1000 to 60000. If not specified as a multiple of 1 second, the actual window used
will be rounded up to the nearest second, with thresholds scaled accordingly. If specified in symbols, the range is interface
speed dependent (must be between the maximum number of symbols that could be received in 1 second and the maximum number of
symbols that could be received in 1 minute). Again the actual window used is rounded up to the nearest second, with thresholds
scaled accordingly.
The default value is 1000 milliseconds.
|
Step 5 |
symbol-period threshold { ppm [ low
threshold ] [ high
threshold ] | symbols [ low
threshold [ thousand | million | billion ]] [ high
threshold [ thousand | million | billion ]]}
RP/0/RP0/CPU0:router(config-eoam-lm)# symbol-period threshold symbols ppm low 10000000 high 60000000
|
(Optional) Configures the thresholds that trigger an Ethernet OAM symbol-period error event, in symbols or ppm (errors per
million symbols). When using this command at least one of the high and low thresholds must be specified. If the low threshold
is not specified, the default value is used. If the high threshold is not specified, no action is performed in response to
an event. The high threshold must not be smaller than the low threshold.
If specified in ppm, the range (for both thresholds) is 1 to 1000000. If specified in symbols, the range (for both thresholds)
is 1 to the maximum window size in symbols, see symbol-period window.
The default low threshold is 1 symbol.
|
Step 6 |
frame window milliseconds
window
RP/0/RP0/CPU0:router(config-eoam-lm)# frame window milliseconds 60
|
(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. When using this command
at least one of the high and low thresholds must be specified. If the low threshold is not specified, the default value is
used. If the high threshold is not specified, no action is performed in response to an event. The high threshold must not
be smaller than the low threshold.
The range is from 1 to 60000000.
The default low threshold is 1.
|
Step 8 |
frame-period window { milliseconds
window | frames
window [ thousand | million | billion ]}
RP/0/RP0/CPU0:router(config-eoam-lm)# frame-period window milliseconds 60000
|
(Optional) Configures the window size for an Ethernet OAM frame-period error event.
The range is from 100 to 60000, if defined in milliseconds. If the window is defined as say, 200ms, and the interface could
receive at most say 10000 minimum size frames in 200ms, then the actual window size used will be the time taken to receive
10000 frames, rounded up to the nearest second. The thresholds will be scaled accordingly.
If specified in frames, the range is interface speed dependent, but must be between the number of minimum size frames that
could be received in 100ms and the number of minimum size frames that could be received in 1 minute. If the window is defined
as 20000 frames, the actual window size used will be the time taken to receive 20000 frames, rounded up to the nearest second.
The thresholds will be scaled accordingly.
The default value is 1000 milliseconds.
|
Step 9 |
frame-period threshold { ppm [ low
threshold ] [ high
threshold ] | frames [ low
threshold [ thousand | million | billion ]] [ high
threshold [ thousand | million | billion ]]}
RP/0/RP0/CPU0:router(config-eoam-lm)#
frame-period threshold ppm low 100 high 1000000
|
(Optional) Configures the thresholds (either in frames or in ppm - errors per million frames) that trigger an Ethernet OAM
frame-period error event. When using this command at least one of the high and low thresholds must be specified. If the low
threshold is not specified, the default value is used. If the high threshold is not specified, no action is performed in response
to an event. The high threshold must not be smaller than the low threshold.
The range for both thresholds is from 1 to 1000000 if specified in ppm. If specified in frames, the range is from 1 to the
maximum frame-period window size in frames, see frame-period window.
The default low threshold is 1 ppm.
|
Step 10 |
frame-seconds window milliseconds
window
RP/0/RP0/CPU0:router(config-eoam-lm)# frame-seconds window milliseconds 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 6000.
|
Step 11 |
frame-seconds threshold [ low
threshold ] [ high
threshold ]
RP/0/RP0/CPU0:router(config-eoam-lm)# frame-seconds threshold low 3 threshold high 900
|
(Optional) Configures the thresholds (in seconds) that trigger a frame-seconds error event. When using this command at least
one of the high and low thresholds must be specified. If the low threshold is not specified, the default value is used. If
the high threshold is not specified, no action is performed in response to an event. The high threshold must not be smaller
than the low threshold.
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 | log}
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 | log}
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 | log}
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 | log}
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 {disable | 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 | log}
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 | log }
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 | log}
|
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.
Note
|
In Cisco IOS XR Release 4.x, this command replaces the action link-fault command.
|
|
Step 27 |
action wiring-conflict {disable | efd | error-disable-interface | 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.
|