Chapter 4 Service Configuration
Command
Function
zte(cfg)#
set ethernet-oam port
<
portlist
>
link-monitor
{
enable
|
disable
}
Enables or disables link monitor
function.
zte(cfg)#
set ethernet-oam port
<
portlist
>
link-monitor symbol-period
threshold
<
1-65535
>
window
<
1-65535
>
Sets the symbol period event which is
used for link monitor.
zte(cfg)#
set ethernet-oam port
<
portlist
>
link-monitor frame threshold
<
1-65535
>
window
<
1-60
>
Sets the error frame.
zte(cfg)#
set ethernet-oam port
<
portlist
>
link-monitor frame-period
threshold
<
1-65535
>
window
<
1-600000
>
Sets the period of error frame.
zte(cfg)#
set ethernet-oam port
<
portlist
>
link-monitor frame-seconds
threshold
<
1-900
>
window
<
10-900
>
Sets error frame summary.
show ethernet-oam
(all configuration modes)
Displays OAM global configuration
information.
show ethernet-oam port
(all configuration modes)
Displays OAM port summary
information.
show ethernet-oam port
<
portlist
>
discovery
(all configuration modes)
Displays port OAM discovery state.
show ethernet-oam port
<
portlist
>
statistics
(all configuration modes)
Displays port OAM statistics
information.
show ethernet-oam port
<
portlist
>
link-monitor
(all configuration modes)
Displays port OAM link event
configuration and state.
OAM Remote Loopback Configuration Instance
l
Configuration Description
OAM monitor function can notify the abnormal frame of link receiver to the local. The
function is based on OAM discovery. As shown in
Figure 4-45
,The user logs in to
the switch through console port and configures OAM. Enable OAM and the port link
monitor of the other end. Then the error frame and the error symbol can be detected
and notify local switch.
Figure 4-45 Remote Loop Network
l
Configuration Procedure
1.
Configuration of switch A:
zte(cfg)#set ethernet-oam en
zte(cfg)#set ethernet-oam port 1 en
2.
Configuration of switch B:
4-113
SJ-20120409144109-002|2012-07-02(R1.0)
ZTE Proprietary and Confidential