|
|
|
Step 1 |
configure
RP/0/RP0/CPU0:router# configure terminal |
Enters XR 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 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 low 10000000 high 60000000 |
(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 60 |
(Optional) Configures the frame window size (in milliseconds) of an OAM frame error event. The range is 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 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 |
(Optional) Configures the window size (in milliseconds) for an Ethernet OAM frame-period error event. The range is 100 to 60000. The default value is 1000. |
Step 9 |
frame-period threshold low threshold high threshold RP/0/RP0/CPU0:router(config-eoam-lm)# frame-period threshold low 100 high 1000000 |
(Optional) Configures the thresholds (in frames) that trigger an Ethernet OAM frame-period error event. The high threshold is optional and is configurable only in conjunction with the low threshold. The range is 0 to 1000000. The default low threshold is 60000. The IEEE 802.3 standard defines threshold crossing events as number of error frames in a window. To comply with the standards, the low and high threshold for frame-period events is measured in errors per million frames. Hence, the calculation to determine the remote low and high threshold is (configured threshold * frame window in received Bridge Protocol Data Unit (BPDU))/1000000. For example, if the received frame window=300, then high threshold is 20000 * 300 / 1000000 = 6. |
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 6000. |
Step 11 |
frame-seconds threshold low threshold high threshold
RP/0/RP0/CPU0:router(config-eoam-lm)# frame-seconds threshold 3 threshold 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 seconds
RP/0/RP0/CPU0:router(config-eoam)# connection timeout 30 |
Configures the timeout value (in seconds) for an Ethernet OAM session. The range is 2 to 30. The default value is 5. |
Step 15 |
mode { active | passive }
RP/0/RP0/CPU0:router(config-eoam)# mode passive |
Configures the Ethernet OAM mode. The default is active. |
Step 16 |
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 17 |
require-remote link-monitoring
RP/0/RP0/CPU0:router(config-eoam)# require-remote link-monitoring |
Requires that link-monitoring 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. Note If you change the default, the log keyword option is available in Interface Ethernet OAM configuration mode to override the profile setting and log the event for the interface when it occurs. |
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. Note If you change the default, the log keyword option is available in Interface Ethernet OAM configuration mode to override the profile setting and log the event for the interface when it occurs. |
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. Note If you change the default, the log keyword option is available in Interface Ethernet OAM configuration mode to override the profile setting and log the event for the interface when it occurs. |
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. Note If you change the default, the log keyword option is available in Interface Ethernet OAM configuration mode to override the profile setting and log the event for the interface when it occurs. |
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. Note If you change the default, the disable keyword option is available in Interface Ethernet OAM configuration mode to override the profile setting and take no action at the interface when the event occurs. |
Step 24 |
action remote-loopback disable
RP/0/RP0/CPU0:router(config-eoam)# action remote-loopback disable |
Specifies that no action is taken on an interface when a remote-loopback event occurs. The default action is to create a syslog entry. Note If you change the default, the log keyword option is available in Interface Ethernet OAM configuration mode to override the profile setting and log the event for the interface when it occurs. |
Step 25 |
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. Note If you change the default, the log keyword option is available in Interface Ethernet OAM configuration mode to override the profile setting and log the event for the interface when it occurs. |
Step 26 |
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. Note If you change the default, the log keyword option is available in Interface Ethernet OAM configuration mode to override the profile setting and log the event for the interface when it occurs. |
Step 27 |
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. Note If you change the default, the log keyword option is available in Interface Ethernet OAM configuration mode to override the profile setting and log the event for the interface when it occurs. Note |
Step 28 |
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. Note If you change the default, the error-disable-interface keyword option is available in Interface Ethernet OAM configuration mode to override the profile setting and put the interface into error-disable state when the event occurs. |
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 XR EXEC mode. |