Cisco Cisco IOS Software Release 12.2(33)SRE

Page de 8
Remote Port Shutdown
  Configuration Examples for Remote Port Shutdown
4
Cisco IOS Release 12.2(33)SRB
DETAILED STEPS
Configuration Examples for Remote Port Shutdown
This section provides the following configuration example:
Specifying LDP As the OAM Protocol and Associating a Service Instance to an 
EVC: Example
In this example, the OAM protocol for EVC pw_evc is specified as LDP, and service instance 1 is 
associated with the EVC.
Router(config)# ethernet evc pw_evc
Router(config-evc)# oam protocol ldp 
Router(config-evc)# uni count 2
Router(config-evc)# exit
Router(config)# pseudowire-class vlan-xconnect
Router(config-pw-class)# encapsulation mpls
Router(config-pw-class)# interworking
Router(config-pw-class)# exit
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode. 
Enter your password if prompted.
Step 2
configure
 terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
ethernet evc 
evc-id
Example:
Router(config)# ethernet evc evc10
Defines an EVC and enters EVC configuration mode. 
Step 4
oam protocol 
{cfm slvan slvan-id domain 
domain-name | ldp}
Example:
Router(config-evc)# oam protocol ldp
Configures either CFM or LDP as an OAM protocol.
In this example, LDP is the protocol being configured.
Step 5
end
Example:
Router(config-evc)# end
Returns the CLI to privileged EXEC mode.