
SUMMARY STEPS
1.
configure
2.
interface
[
GigabitEthernet
|
TenGigE
]
interface-path-id
3.
ethernet oam
4.
profile profile-name
5.
commit
6.
end
DETAILED STEPS
Purpose
Command or Action
Enters XR configuration mode.
configure
Example:
Step 1
RP/0/RP0/CPU0:router# configure terminal
Enters interface configuration mode and specifies the
Ethernet interface name and notation
rack/slot/module/port
.
interface
[
GigabitEthernet
|
TenGigE
]
interface-path-id
Example:
RP/0/RP0/CPU0:router(config)# interfaceTenGigE
0/1/0/0
Step 2
The example indicates an 8-port 10-Gigabit
Ethernet interface in modular services card slot
1.
Note
Enables Ethernet OAM and enters interface Ethernet OAM
configuration mode.
ethernet oam
Example:
Step 3
RP/0/RP0/CPU0:router(config-if)# ethernet oam
Attaches the specified Ethernet OAM profile (
profile-name
),
and all of its configuration, to the interface.
profile profile-name
Example:
Step 4
RP/0/RP0/CPU0:router(config-if-eoam)# profile
Profile_1
Saves the configuration changes to the running configuration
file and remains within the configuration session.
commit
Example:
Step 5
RP/0/RP0/CPU0:router(config-if)# commit
Ends the configuration session and exits to the XR EXEC
mode.
end
Example:
Step 6
RP/0/RP0/CPU0:router(config-if)# end
Configuring Ethernet OAM at an Interface and Overriding the Profile Configuration
Using an EOAM profile is an efficient way of configuring multiple interfaces with a common EOAM
configuration. However, if you want to use a profile but also change the behavior of certain functions for a
Interface and Hardware Component Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
56
Configuring Ethernet OAM
Configuring Ethernet OAM at an Interface and Overriding the Profile Configuration