Step 1 |
enable
|
Enables
privileged EXEC mode.
|
Step 2 |
configure
terminal
Device# configure terminal
|
Enters global
configuration mode.
|
Step 3 |
ethernet
cfm
domain
domain-name
level
level-id
Device(config)# ethernet cfm domain cstmr1 level 3
|
Defines a
Connectivity Fault Management (CFM) domain, sets the domain leve,l and enters
Ethernet CFM configuration mode.
|
Step 4 |
service
csi-id
evc
evc-name
vlan
vlan-id
Device(config-ecfm)# service csi2 evc evc_1 vlan 10
|
Defines a
universally unique customer service instance (CSI) and VLAN ID within the
maintenance domain, and enters Ethernet CFM service configuration mode.
|
Step 5 |
continuity-check
Device(config-ecfm-srv)# continuity-check
|
Enables the
transmission of continuity check messages (CCMs).
|
Step 6 |
continuity-check
interval
time
Device(config-ecfm-srv)# continuity-check interval 1s/10s/1m/10m
|
Enables the
transmission of continuity check messages (CCMs) at specific intervals.
|
Step 7 |
exit
Device(config-ecfm-srv)# exit
|
Returns to
Ethernet CFM configuration mode.
|
Step 8 |
exit
Device(config-ecfm)# exit
|
Returns to
global configuration mode.
|
Step 9 |
ethernet
evc
evc-id
Device(config)# ethernet evc 50
|
Defines an EVC
and enters EVC configuration mode.
|
Step 10 |
oam
protocol
{
cfm
domain
domain-name
|
ldp
}
Device(config-evc)# oam protocol cfm domain cstmr1
|
Configures
the Ethernet virtual circuit (EVC) operations, administration, and management
(OAM) protocol as CFM for the CFM domain maintenance level as configured in
Steps 3 and 4.
Note
|
If the CFM
domain does not exist, this command is rejected, and an error message is
displayed.
|
|
Step 11 |
uni
count
value
[
multipoint
]
Device(config-evc)# uni count 3
|
(Optional)
Sets the User Network Interface (UNI) count for the EVC.
-
If this
command is not issued, the service defaults to a point-to-point service. If a
value of 2 is entered, point-to-multipoint service becomes an option. If a
value of 3 or greater is entered, the service is point-to-multipoint.
Note
|
If you
enter a number greater than the number of endpoints, the UNI status is
partially active even if all endpoints are up. If you enter a UNI count less
than the number of endpoints, status might be active, even if all endpoints are
not up.
|
|
Step 12 |
exit
|
Returns to
global configuration mode.
|
Step 13 |
Repeat Steps
3 through 12 to define other CFM domains that you want OAM manager to monitor.
|
|
Step 14 |
interface
type
number
Device(config)# interface gigabitethernet 0/0/2
|
Specifies a
physical interface connected to the CE device and enters interface
configuration mode.
|
Step 15 |
service
instance
id
ethernet
[
evc-id
]
Device(config-if)# service instance 400 ethernet 50
|
Configures an
Ethernet service instance on the interface and enters Ethernet service
configuration mode.
|
Step 16 |
ethernet
lmi
ce-vlan
map
{
vlan-id
[
untagged
] |
any
|
default
|
untagged
}
Device(config-if-srv)# ethernet lmi ce-vlan map 30
|
Configures an
Ethernet LMI customer VLAN-to-EVC map for a particular UNI.
Note
|
To specify
both VLAN IDs and untagged VLANs in the map, specify the VLAN IDs first and
then specify the
untagged
keyword as follows:
ethernet
lmi
ce-vlan
map
100,200,300,untagged
. Also, if the
untagged
keyword is not specified in the map configuration, the main interface line
protocol on the Customer Edge (CE) device will be down.
|
|
Step 17 |
ethernet
lmi
interface
Device(config-if-srv)# ethernet lmi interface
|
Enables
Ethernet local management interface (LMI) on a UNI.
|
Step 18 |
encapsulation
dot1q
vlan-id
Device(config-if-srv)# encapsulation dot1q 2
|
Defines the
matching criteria to map 802.1Q frames ingress on an interface to the
appropriate service instance.
|
Step 19 |
bridge-domain
domain-number
Device(config-if-srv)# bridge-domain 1
|
Binds a
service instance to a bridge domain instance.
|
Step 20 |
cfm
mep
domain
domain-name
mpid
mpid-id
Device(config-if-srv)# cfm mep domain provider mpid 10
|
Configures a
maintenance endpoint (MEP) for a domain.
|
Step 21 |
exit
Device(config-if-srv)# exit
|
Returns to
interface configuration mode.
|
Step 22 |
service
instance
service-instance-id
ethernet
Device(config-if)# service instance 22 ethernet
|
Configures an
Ethernet service instance on an interface and enters Ethernet service
configuration mode.
|
Step 23 |
encapsulation
untagged
Device(config-if-srv)# encapsulation untagged
|
Defines the
matching criteria to map untagged ingress Ethernet frames on an interface to
the appropriate service instance.
|
Step 24 |
l2protocol
peer
Device(config-if-srv)# l2protocol peer
|
Configures
transparent Layer 2 protocol peering on the interface.
|
Step 25 |
bridge-domain
bridge-domain-number
Device(config-if-srv)# bridge-domain 1
|
Binds a
service instance to a bridge domain instance.
|
Step 26 |
exit
|
Returns to
interface configuration mode.
|
Step 27 |
ethernet
uni
[
bundle
[
all-to-one
] |
id
uni-id
|
multiplex
]
Device(config-if)# ethernet uni bundle
|
Sets UNI
bundling attributes.
|
Step 28 |
end
|
Returns to
privileged EXEC mode.
|