Step 1
|
enable
Enables privileged EXEC mode.
|
Step 2
|
configure
terminal
Router# configure terminal
Enters global configuration mode.
|
Step 3
|
ethernet
cfm
global
Router(config)# ethernet cfm global
Enables Ethernet CFM globally.
|
Step 4
|
link-protection
enable
Router(config)# link-protection enable
Enables link protection globally on the router.
|
Step 5
|
link-protection
group
management
vlan
vlan-id
Router(config)# link-protection group management vlan 51
Defines the management VLAN used for link protection.
|
Step 6
|
link-protection group group-number pccm vlan vlan-id
Router(config)# link-protection group 2 pccm vlan 16
Specifies an ODU-to-ODU continuity check message (P-CCM) VLAN.
|
Step 7
|
ethernet
cfm
domain
domain-name
level
level-id
[direction
outward ]
Router(config)# ethernet cfm domain eccm1 level 0
Configures the CFM domain for ODU 1 and enters Ethernet CFM configuration mode.
|
Step 8
|
id
{mac-address
domain-number | dns
dns-name | null }
Router(config-ecfm)# id null
Configures a maintenance domain identifier (MDID).
|
Step 9
|
service
{ma-name | ma-num | vlan-id
vlan-id | vpn-id
vpn-id } [port | vlan
vlan-id [direction
down ]]
Router(config-ecfm)# service 1 vlan 14 direction down
Defines a maintenance association for ODU 1 and enters Ethernet CFM service instance configuration mode.
|
Step 10
|
continuity-check
[interval
time | loss-threshold
threshold | static
rmep ]
Router(config-ecfm-srv)# continuity-check interval 100ms
Enables transmission of continuity check messages (CCMs) within the ODU 1 maintenance association and defines a continuity-check
interval.
|
Step 11
|
exit
Router(config-ecfm-srv)# exit
Exits Ethernet CFM service instance configuration mode.
|
Step 12
|
exit
Router(config-ecfm)# exit
Exits Ethernet CFM configuration mode.
|
Step 13
|
ethernet
cfm
domain
domain-name
level
level-id
[direction
outward ]
Router(config)# ethernet cfm domain eccm2 level 0
Configures the CFM domain for ODU 2 and enters CFM configuration mode.
|
Step 14
|
id
{mac-address
domain-number | dns
dns-name | null }
Router(config-ecfm)# id null
Configures a maintenance domain identifier (MDID).
|
Step 15
|
service
{ma-name | ma-num | vlan-id
vlan-id | vpn-id
vpn-id } [port | vlan
vlan-id [direction
down ]]
Router(config-ecfm)# service 2 vlan 15 direction down
Defines a maintenance association for ODU 2 and enters Ethernet CFM service configuration mode.
|
Step 16
|
continuity-check
[interval
time | loss-threshold
threshold | static
rmep ]
Router(config-ecfm-srv)# continuity-check interval 100ms
Enables transmission of CCMs within the ODU 2 maintenance association and defines a continuity-check interval.
|
Step 17
|
exit
Router(config-ecfm-srv)# exit
Exits Ethernet CFM service instance configuration mode.
|
Step 18
|
exit
Router(config-ecfm)# exit
Exits Ethernet CFM configuration mode.
|
Step 19
|
interface
type
slot
/
port
Router(config)# interface gigabitethernet 1/1
Configures the interface to be connected to ODU 1 and enters interface configuration mode.
|
Step 20
|
spanning-tree
portfast
{disable | trunk }
Router(config-if)# spanning-tree portfast trunk
Enables PortFast on the interface when it is in trunk mode.
|
Step 21
|
cfm
mep
domain
domain-name
mpid
mpid
{port | vlan
vlan-id }
Router(config-if)# ethernet cfm mep domain eccm1 mpid 1 vlan 14
Configures a CFM MEP domain for ODU 1.
|
Step 22
|
link-protection group group-number
Router(config-if)# link-protection group 1
Configures a link-protection group for ODU 2.
|
Step 23
|
exit
Exits interface configuration mode.
|
Step 24
|
interface
type
slot
/
port
Router(config)# interface GigabitEthernet 3/2
Configures the interface to be connected to ODU 2 and enters interface configuration mode.
|
Step 25
|
spanning-tree
portfast
{disable | trunk }
Router(config-if)# spanning-tree portfast trunk
Enables PortFast on the interface when it is in trunk mode.
|
Step 26
|
cfm
mep
domain
domain-name
mpid
mpid
{port | vlan
vlan-id }
Router(config-if)# ethernet cfm mep domain eccm2 mpid 1 vlan 15
Configures a CFM MEP domain for ODU 2.
|
Step 27
|
link-protection group group-number
Router(config-if)# link-protection group 1
Configures a link-protection group for ODU 2.
|
Step 28
|
end
Returns the CLI to privileged EXEC mode.
|
Step 29
|
service
instance
trunk
id
ethernet
Router(config-if)# service instance trunk 1 ethernet
Configures an Ethernet service instance on an interface and enters Ethernet service configuration mode.
|
Step 30
|
encapsulation
dot1q
vlan-id [,
vlan-id [-
vlan-d]]
Device(config-if-srv)# encapsulation dot1q 1-5, 7, 9-12
Defines the matching criteria to map 802.1Q frames ingress on an interface to the appropriate service instance.
|
Step 31
|
rewrite
ingress
tag
pop
1
symmetric
Device(config-if-srv)# rewrite ingress tag pop 1 symmetric
Specifies the encapsulation adjustment to be performed on a frame that is entering a service instance.
|
Step 32
|
bridge-domain
from-encapsulation
Device(config-if-srv)# bridge-domain from-encapsulation
Creates a list of bridge domains for an EFP trunk port using the bridge-domain IDs derived from the encapsulation VLAN numbers.
|
Step 33
|
show
ethernet
cfm
maintenance-points
remote
detail
Router# show ethernet cfm maintenance-points remote detail
(Optional) Displays remote maintenance endpoints in the continuity check database.
|