Configuring RFC 2544 - CISCO
Configuring RFC 2544 - CISCO
Configuring RFC 2544 - CISCO
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
2016
CONTENTS
Preface
Preface xix
Audience xix
Document Conventions xix
Related Documentation xxi
CHAPTER 1
Configuration Management 1
Prerequisites for Managing Configurations 1
Restrictions for Managing Configurations 1
Information About Configuration Management 1
Getting Started 3
Step 1Adding the Cisco ME 1200 NID to the Controller 3
Step 2Verifying the Cisco ME 1200 NID Addition onto the Controller 4
Step 3Creating VLAN on the Controller 5
Step 4Creating Layer 2 VLANs on the NID 6
Step 5Creating Layer 2 VLANs on the Controller 7
Step 6Modifying Switchport Mode as Trunk 8
(Optional Step) Configuring Native VLAN 9
Step 7Creating Layer 3 VLANs on the NID 11
Step 8Creating Layer 3 VLANs on the Controller 13
Step 9Configuring IP Route 13
Step 10Creating Startup-config.xml File 15
How to Manage Configurations 17
Listing Configurations 17
Verifying Configuration Version 18
Copying Configuration 20
Deleting Configuration 22
Reloading the System 23
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
iii
Contents
Upgrading Configuration 25
CHAPTER 2
CHAPTER 3
Configuring Notifications 49
Prerequisites for Configuring Notifications 49
Restrictions for Configuring Notifications 49
Information About Notifications 50
Types of Notifications 50
How to Configure Notifications 51
Setting Password on the Controller 51
Viewing Notifications 51
Configuring Notifications 53
Registering for HeartBeat Notification 55
Registering for Config Change Trap Notification 57
Registering for Asynchronous Failure Notification 59
Listing Notifications 61
Deleting Notifications 62
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
iv
Contents
CHAPTER 4
CHAPTER 5
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
v
Contents
CHAPTER 6
CHAPTER 7
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
vi
Contents
CHAPTER 8
CHAPTER 9
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
vii
Contents
CHAPTER 10
CHAPTER 11
CHAPTER 12
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
viii
Contents
CHAPTER 13
CHAPTER 14
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
ix
Contents
CHAPTER 15
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
x
Contents
CHAPTER 16
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
xi
Contents
CHAPTER 17
CHAPTER 18
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
xii
Contents
CHAPTER 19
CHAPTER 20
CHAPTER 21
CHAPTER 22
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
xiii
Contents
CHAPTER 23
CHAPTER 24
CHAPTER 25
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
xiv
Contents
CHAPTER 26
CHAPTER 27
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
xv
Contents
CHAPTER 28
CHAPTER 29
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
xvi
Contents
CHAPTER 30
CHAPTER 31
CHAPTER 32
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
xvii
Contents
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
xviii
Preface
This preface contains information about the Cisco ME 1200 Series Carrier Ethernet Access Device.
Audience, page xix
Document Conventions, page xix
Related Documentation, page xxi
Audience
This guide is for the person configuring the Cisco ME 1200 Series Carrier Ethernet Access Devices, hereafter
known as Cisco ME 1200 NID.
Document Conventions
This document uses the following conventions:
Convention
Description
^ or Ctrl
Both the ^ symbol and Ctrl represent the Control (Ctrl) key on a keyboard.
For example, the key combination ^D or Ctrl-D means that you hold
down the Control key while you press the D key. (Keys are indicated in
capital letters but are not case sensitive.)
bold font
Italic font
Document titles, new or emphasized terms, and arguments for which you
supply values are in italic font.
Courier font
Bold Courier font indicates text that the user must enter.
[x]
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
xix
Preface
Document Conventions
Convention
Description
...
[x | y]
{x | y}
[x {y | z}]
string
<>
[]
!, #
Note
Tip
Warning
Means reader take note. Notes contain helpful suggestions or references to material not covered in the
manual.
Means reader be warned. In this situation, you might perform an action that could result in bodily
injury.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
xx
Preface
Related Documentation
Related Documentation
These documents provide information about the switches and are available from this Cisco.com site:
http://www.cisco.com/c/en/us/support/switches/me-1200-series-carrier-ethernet-access-devices/
tsd-products-support-general-information.html
Release Notes for the Cisco ME 1200 Series Carrier Ethernet Access Devices
Note
Before installing, configuring, or upgrading the switch, see the release notes on Cisco.com
for the latest information.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
xxi
Preface
Related Documentation
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
xxii
CHAPTER
Configuration Management
This chapter helps you to get started and describes how to configure the initial switch configuration for the
Cisco ME 1200 NID. This chapter also describes how to manage Cisco ME 1200 NID configurations.
Prerequisites for Managing Configurations, page 1
Restrictions for Managing Configurations, page 1
Information About Configuration Management, page 1
Getting Started, page 3
How to Manage Configurations, page 17
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
1
Configuration Management
Information About Configuration Management
powering on the switch. This document describes login and setting up the initial configuration (IP address,
subnet mask, default gateway, secret and Telnet passwords, and so forth) of the Cisco ME 1200 NID.
The boot loader provides access to the flash file system before the operating system is loaded. Normally, the
boot loader is used only to load, uncompress, and launch the operating system. After the boot loader gives
the operating system control of the CPU, the boot loader is not active until the next system reset or power-on.
Before you can assign switch information, make sure you have connected a PC or terminal to the console
port, and configured the PC or terminal-emulation software baud rate and character format to match these of
the switch console port:
Baud rate default is 115200.
Data bits default is 8.
Stop bits default is 1.
Parity settings default is none.
Table 1: Default Boot Configuration
Feature
Default Setting
Operating system
software image
The device attempts to automatically boot the system using information in the BOOT
environment variable. If the variable is not set, the Cisco ME 1200 NID attempts to
load and execute the first executable image it can by performing a recursive, depth-first
search throughout the flash file system.
The Cisco IOS image is stored in a directory that has the same name as the image file
(excluding the .bin extension).
In a depth-first search of a directory, each encountered subdirectory is completely
searched before continuing the search in the original directory.
Configuration file
Configured devices use the startup-config.xml file stored on the system board in flash
memory.
A new switch has no configuration file.
Initial Configuration
The initial configuration for the Cisco ME 1200 NID uses interface vlan 1 command and 192.0.2.1 as the IP
address. It also uses spanning-tree protocol for loop avoidance.
Getting the Cisco ME 1200 NID Connected to the Controller
To get the Cisco ME 1200 NID connected to the controller, see Step 1Adding the Cisco ME 1200 NID to
the Controller
Specifying the Filename to Read and Write the System Configuration
By default, the Cisco IOS software uses the file startup-config.xml file to read and write a nonvolatile copy
of the system configuration. To copy the running configurations to the startup-config, see Step 10Creating
Startup-config.xml File.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
2
Configuration Management
Getting Started
Getting Started
Perform the following tasks to get started with Cisco ME 1200 NID:
1 Add the Cisco ME 1200 NID using the platform nid-controller command on the controller.
2 Verify if the NID is added on the controller using the show platform nid-controller command on the
controller.
3 Create VLAN on the controller.
4 Create Layer 2 VLANs on the NID.
5 Create Layer 2 VLANs on the controller (to access the NID on a different VLAN other than VLAN 1).
Note
Steps 1 through 5 are performed to access Cisco ME 1200 NID through the Controller with the default
factory IP address 192.0.2.1. The steps 1 to 5 are mandatory and are sufficient to establish the initial
connectivity between the controller and the Cisco ME 1200 NID.
Perform the following steps to configure a switchport as Trunk and to establish connectivity on a different
switch virtual interface (SVI). You can also configure default IP route to reach various servers.
Note
Effective Cisco IOS Release 15.4(2)SN, Cisco ME3600 switch will act as controller for the Cisco ME
1200 NID.
Effective Cisco IOS Release 15.5(1)SN, the Cisco ASR 920 Series Routers can also act as controller for
the Cisco ME 1200 NID.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
3
Configuration Management
Step 2Verifying the Cisco ME 1200 NID Addition onto the Controller
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Step 3
end
Example:
Switch(config)# end
Configuration Example
Switch# configure terminal
Switch(config)# platform nid-controller add 192.0.2.1
Switch(config)# end
Step 2Verifying the Cisco ME 1200 NID Addition onto the Controller
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# show platform nid-controller nids
Step 3
end
Example:
Switch(config)# end
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
4
Configuration Management
Step 3Creating VLAN on the Controller
Configuration Example
Switch# configure terminal
Switch# show platform nid-controller nids
NID_ID
Lease
1
2
n/a
n/a
n/a
n/a
7.25.16.63
7.25.17.223
Physical Port
VLAN/BD
n/a
n/a
n/a
n/a
TFTP Server
n/a
n/a
Type
static
static
Switch(config)# end
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Creates VLAN 1.
Example:
Switch(config)# interface vlan 1
Step 3
Example:
Step 4
end
Example:
Switch(config-if)# end
Configuration Example
Switch# configure terminal
Switch(config)# interface vlan 1
Switch(config-if)# ip address 192.0.2.2 255.255.255.0
Switch(config-if)# end
What to Do Next
Ping the IP address 192.0.2.1 to check for reachability.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
5
Configuration Management
Step 4Creating Layer 2 VLANs on the NID
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionPortVlanPortType
Example:
Switch(config-controller)# ProvisionPortVlanPortType
Step 4
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanCommand createVlanReq vlan_list 100-105
Step 5
createVlanCommand review
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanCommand review
Step 6
createVlanCommand commit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanCommand commit
Step 7
ProvisionPortVlanPortTypeshow
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
showVlans showVlanRequest vlan-id 1
Switch(config-controller-ProvisionPortVlanPortType)#
showVlans review
Step 8
exit
Example:
Switch(config-controller-ProvisionPortVlanPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
6
Configuration Management
Step 5Creating Layer 2 VLANs on the Controller
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionPortVlanPortType
Switch(config-controller-ProvisionPortVlanPortType)# createVlanCommand createVlanReq vlan_list
100-105
Switch(config-controller-ProvisionPortVlanPortType)# createVlanCommand review
Commands in queue:
createVlanCommand createVlanReq vlan_list 100-105
Switch(config-controller-ProvisionPortVlanPortType)# createVlanCommand commit
Vlan Creation Commit Success!!!
Switch(config-controller-ProvisionPortVlanPortType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
vlan vlan_id
Example:
Switch(config)# vlan 10
Step 3
end
Example:
Switch(config-vlan)# end
Configuration Example
Switch# configure terminal
Switch(config)# vlan 10
Switch(config-vlan)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
7
Configuration Management
Step 6Modifying Switchport Mode as Trunk
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionPortVlanPortType
Example:
Switch(config-controller)# ProvisionPortVlanPortType
Step 4
Step 5
Step 6
modifySwPort review
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort review
Step 7
modifySwPort commit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
8
Configuration Management
Step 6Modifying Switchport Mode as Trunk
Step 8
Command or Action
Purpose
ProvisionPortVlanPortTypeshow
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
showswPort showSwPortReq all
Switch(ProvisionPortVlanPortType)# showswPort review
Step 9
exit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionPortVlanPortType
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig
interaface 4
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig mode
trunk allowed vlan add vlan_list 100-105
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort review
Commands in queue:
modifySwPort modifySWPortConfig interaface 4
modifySwPort modifySWPortConfig mode trunk allowed vlan add vlan_list 100-105
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort commit
ModifySwPort_Output.modifySwPortConfigResp = 0
Modify SwitchPort Commit Success!!!
Switch(config-controller-ProvisionPortVlanPortType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
9
Configuration Management
Step 6Modifying Switchport Mode as Trunk
Step 3
Command or Action
Purpose
ProvisionPortVlanPortType
Example:
Step 5
modifySwPort review
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort review
Step 6
modifySwPort commit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort commit
Step 7
exit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
exit
Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionPortVlanPortType
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig mode
trunk native vlan 110
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort review
Commands in queue:
modifySwPort modifySWPortConfig mode trunk native vlan 110
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort commit
ModifySwPort_Output.modifySwPortConfigResp = 0
Modify SwitchPort Commit Success!!!
Switch(config-controller-ProvisionPortVlanPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
10
Configuration Management
Step 7Creating Layer 3 VLANs on the NID
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionPortVlanPortType
Example:
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createIntVlan createIntVlanReq vlan_id 22
Step 5
createIntVlan createIntVlanReq {address {ipv4 {dhcp | ipv4_address} Creates the interface VLAN on the
specified IPv4 or IPv6 address, or VLAN
| ipv6 ipv6_address ipv6_address} | vlan-id vlan_id}
ID.
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createIntVlan createIntVlanReq address ipv4 ipv4_address
address 22.22.22.3
Switch(config-controller-ProvisionPortVlanPortType)#
createIntVlan createIntVlanReq address ipv4 ipv4_address mask
255.255.255.0
Switch(config-controller-ProvisionPortVlanPortType)#
createIntVlan createIntVlanReq address ipv6 ipv6_address
2001:4::1/64
Step 6
createIntVlan review
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createIntVlan review
Step 7
createIntVlan commit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createIntVlan commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
11
Configuration Management
Step 7Creating Layer 3 VLANs on the NID
Step 8
Command or Action
Purpose
exit
Example:
Switch(config-controller-ProvisionPortVlanPortType)# exit
Configuration Example
Example 1: IPv4
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionPortVlanPortType
Switch(config-controller-ProvisionPortVlanPortType)#
22
Switch(config-controller-ProvisionPortVlanPortType)#
ipv4 ipv4_address address 22.22.22.3
Switch(config-controller-ProvisionPortVlanPortType)#
ipv4 ipv4_address mask 255.255.255.0
Switch(config-controller-ProvisionPortVlanPortType)#
Commands in queue:
createIntVlan createIntVlanReq vlan_id 22
createIntVlan createIntVlanReq address ipv4 ipv4_address address 22.22.22.3
createIntVlan createIntVlanReq address ipv4 ipv4_address mask 255.255.255.0
Switch(config-controller-ProvisionPortVlanPortType)# createIntVlan commit
CreateIntVlan_Output.createIntVlanResp = 0
Create Interface Vlan Commit Success!!!
Switch(config-controller-ProvisionPortVlanPortType)# exit
Example 2: IPv6
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionPortVlanPortType
Switch(config-controller-ProvisionPortVlanPortType)# createIntVlan createIntVlanReq vlan_Id
22
Switch(config-controller-ProvisionPortVlanPortType)# createIntVlan createIntVlanReq address
ipv6 ipv6_address 2001:4::1/64
Switch(config-controller-ProvisionPortVlanPortType)# createIntVlan review
Commands in queue:
createIntVlan createIntVlanReq vlan_id 22
createIntVlan createIntVlanReq address ipv6 ipv6_address 2001:4::1/64
Switch(config-controller-ProvisionPortVlanPortType)# createIntVlan commit
CreateIntVlan_Output.createIntVlanResp = 0
Create Interface Vlan Commit Success!!!
Switch(config-controller-ProvisionPortVlanPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
12
Configuration Management
Step 8Creating Layer 3 VLANs on the Controller
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# interface vlan 20
Step 3
Example:
Switch(config-if)# ip address 10.10.10.1 255.255.255.0
Step 4
no shutdown
Example:
Switch(config-if)# no shutdown
Step 5
end
Example:
Switch(config-if)# end
Configuration Example
Switch# configure terminal
Switch(config)# interface vlan 20
Switch(config-if)# ip address 10.10.10.1 255.255.255.0
Switch(config-if)# no shutdown
Switch(config-if)# end
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
13
Configuration Management
Step 9Configuring IP Route
Step 2
Command or Action
Purpose
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionPortVlanPortType
Example:
Switch(config-controller)# ProvisionPortVlanPortType
Step 4
Switch(config-controller-ProvisionNIDMgmtType)#
setIpRoute setIpRouteReq ipv4_address 10.0.144.0
Switch(config-controller-ProvisionNIDMgmtType)#
setIpRoute setIpRouteReq ipv4_mask 255.255.255.0
Switch(config-controller-ProvisionNIDMgmtType)#
setIpRoute setIpRouteReq gateway_ip 10.0.0.1
WORDIPv4 address.
ipv4_addressSpecifies the IPv4
Network/Address.
WORDIPv4 Network/Address.
ipv4_maskSpecifies the IPv4 mask.
WORDIPv4 mask.
Step 5
setiproute review
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
setiproute review
Step 6
getiproute commit
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
setiproute commit
Step 7
exit
Example:
Switch(config-controller-ProvisionNIDMgmtType)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionNIDMgmtType
Switch(config-controller-ProvisionNIDMgmtType)# setIpRoute setIpRouteReq ipv4_address
10.0.144.0
Switch(config-controller-ProvisionNIDMgmtType)# setIpRoute setIpRouteReq ipv4_mask
255.255.255.0
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
14
Configuration Management
Step 10Creating Startup-config.xml File
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionPortVlanPortType
Example:
Switch(config-controller)# ProvisionPortVlanPortType
Step 4
Switch(config-controller-ProvisionConfigMGMTPortType)#
copyConfig copyConfigRequest src running-config
Switch(config-controller-ProvisionConfigMGMTPortType)#
copyConfig copyConfigRequest dst startup-config
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
15
Configuration Management
Step 10Creating Startup-config.xml File
Command or Action
Purpose
dstSpecifies the destination location.
flashCopies onto the flash.
WORDFilename. The format is
flash:<filename>. For example,
flash:ToTest.
running-configCopies to the
running-config file.
startup-configCopies to the
startup-config file.
tftpCopies to the TFTP server.
WORDTFTP filename. The format
is tftp://server/path-and-filename. For
example, tftp://10.0.0.221/ToTest.
Step 5
copyConfig review
Example:
Switch(config-controller-ProvisionConfigMGMTPortType)#
copyConfig review
Step 6
copyConfig commit
Example:
Switch(config-controller-ProvisionConfigMGMTPortType)#
copyConfig commit
Step 7
exit
Example:
Switch(config-controller-ProvisionConfigMGMTPortType)#
exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionConfigMGMTPortType
Switch(config-controller-ProvisionConfigMGMTPortType)# copyConfig copyConfigRequest src
running-config
Switch(config-controller-ProvisionConfigMGMTPortType)# copyConfig copyConfigRequest dst
startup-config
Switch(config-controller-ProvisionConfigMGMTPortType)# copyConfig review
Commands in Queue:
copyConfig copyConfigRequest src running-config
copyConfig copyConfigRequest dst startup-config
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
16
Configuration Management
How to Manage Configurations
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionPortVlanPortType
Example:
Switch(config-controller)# ProvisionPortVlanPortType
Step 4
listConfigs listConfigsReq
Example:
Switch(config-controller-ProvisionConfigMGMTPortType)#
listConfigs listConfigsReq
Step 5
listConfigs review
Example:
Switch(config-controller-ProvisionConfigMGMTPortType)#
listConfigs review
Step 6
listConfigs commit
Example:
Switch(config-controller-ProvisionConfigMGMTPortType)#
listConfigs commit
Step 7
exit
Example:
Switch(config-controller-ProvisionConfigMGMTPortType)#
exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
17
Configuration Management
Verifying Configuration Version
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionConfigMGMTPortType
Switch(config-controller-ProvisionConfigMGMTPortType)# listConfigs listConfigsReq
Switch(config-controller-ProvisionConfigMGMTPortType)# listConfigs review
Commands in Queue:
listConfigs listConfigsReq
Switch(config-controller-ProvisionConfigMGMTPortType)# listConfigs commit
ListConfigs_Output.configFiles.files[0].fileName = 'default-config'
ListConfigs_Output.configFiles.files[0].fileSize = '
1100'
ListConfigs_Output.configFiles.files[0].timeStamp = '1970-01-01 00:00:00'
ListConfigs_Output.configFiles.files[0].permissions = 'r-'
ListConfigs_Output.configFiles.files[1].fileName = 'startup-config'
ListConfigs_Output.configFiles.files[1].fileSize = '
1552'
ListConfigs_Output.configFiles.files[1].timeStamp = '1970-01-01 00:04:44'
ListConfigs_Output.configFiles.files[1].permissions = 'rw'
ListConfigs_Output.configFiles.files[2].fileName = 'startup-config.xml'
ListConfigs_Output.configFiles.files[2].fileSize = ' 149016'
ListConfigs_Output.configFiles.files[2].timeStamp = '2014-03-25 10:15:58'
ListConfigs_Output.configFiles.files[2].permissions = 'rw'
ListConfigs_Output.configFiles.files[3].fileName = 'Totest'
ListConfigs_Output.configFiles.files[3].fileSize = ' 149016'
ListConfigs_Output.configFiles.files[3].timeStamp = '2014-03-25 10:20:31'
ListConfigs_Output.configFiles.files[3].permissions = 'rw'
ListConfigs Commit Success!!!
Switch(config-controller-ProvisionConfigMGMTPortType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionConfigMGMPortType
Example:
Switch(config-controller)# ProvisionConfigMGMPortType
Step 4
showVersion showVersionReq
Example:
Switch(config-controller-ProvisionConfigMGMTPortType)#
showVersion showVersionReq
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
18
Configuration Management
Verifying Configuration Version
Step 5
Command or Action
Purpose
showVersion review
Example:
Switch(config-controller-ProvisionConfigMGMTPortType)#
showVersion review
Step 6
showVersion commit
Example:
Switch(config-controller-ProvisionConfigMGMTPortType)#
showVersion commit
Step 7
exit
Example:
Switch(config-controller-ProvisionConfigMGMTPortType)#
exit
Configuration Example
Note
The Active.Image is the current image and Alternative.Image is the backup image. While upgrading the
image, you can choose to swap Active.Image with Alternate.Image.
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionConfigMGMTPortType
Switch(config-controller-ProvisionConfigMGMTPortType)# showVersion showVersionReq
Switch(config-controller-ProvisionConfigMGMTPortType)# showVersion review
Commands in Queue:
showVersion showVersionReq
Switch(config-controller-ProvisionConfigMGMTPortType)# showVersion commit
ShowVersion_Output.showVersionResp.Active.Image = 'me1200-universal-mz.154-2.SN.dat'
ShowVersion_Output.showVersionResp.Active.Version = 'ME1200 OS Software Build 15.4-2.SN'
ShowVersion_Output.showVersionResp.Active.Date = 'Fri Mar 21 10:08:34 PDT 2014'
ShowVersion_Output.showVersionResp.Alternative.Image = 'me1200-universal-mz.dat'
ShowVersion_Output.showVersionResp.Alternative.Version = 'ME1200 OS Software Build
15.4-2.SN'
ShowVersion_Output.showVersionResp.Alternative.Date = 'Fri Mar 21 05:56:50 PDT 2014'
ShowVersion Commit Success!!!
Switch(config-controller-ProvisionConfigMGMTPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
19
Configuration Management
Copying Configuration
Copying Configuration
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionConfigMGMPortType
Example:
Switch(config-controller)# ProvisionConfigMGMPortType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
20
Configuration Management
Copying Configuration
Command or Action
Purpose
running-configCopies to the
running-config file.
startup-configCopies to the
startup-config file.
tftpCopies to the TFTP server.
WORDTFTP filename. The format
is tftp://server/path-and-filename. For
example, tftp://10.0.0.221/ToTest.
Step 5
copyConfig review
Example:
Switch(config-controller-ProvisionConfigMGMTPortType)#
copyConfig review
Step 6
copyConfig commit
Example:
Switch(config-controller-ProvisionConfigMGMTPortType)#
copyConfig commit
Step 7
exit
Example:
Switch(config-controller-ProvisionConfigMGMTPortType)#
exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionConfigMGMTPortType
Switch(config-controller-ProvisionConfigMGMTPortType)# copyConfig copyConfigRequest src
running-config
Switch(config-controller-ProvisionConfigMGMTPortType)# copyConfig copyConfigRequest dst
startup-config
Switch(config-controller-ProvisionConfigMGMTPortType)# copyConfig review
Commands in Queue:
copyConfig copyConfigRequest src running-config
copyConfig copyConfigRequest dst startup-config
Switch(config-controller-ProvisionConfigMGMTPortType)# copyConfig commit
CopyConfig Commit Success!!!
Switch(config-controller-ProvisionConfigMGMTPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
21
Configuration Management
Deleting Configuration
Note
When the running-config file is copied to the TFTP server, by default, it stores the file in the XML format.
You need not mention the XML extension explicitly. This hold good vice versa as well.
Note
When the Source is TFTP and the Destination is running-config, the TFTP file appends to the existing
running-config, and does not overwrite the running-config file.
Deleting Configuration
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionConfigMGMPortType
Example:
Switch(config-controller)# ProvisionConfigMGMPortType
Step 4
Step 5
deleteConfFile review
Example:
Switch(config-controller-ProvisionConfigMGMTPortType)#
deleteConfFile review
Step 6
deleteConfFile commit
Example:
Switch(config-controller-ProvisionConfigMGMTPortType)#
deleteConfFile commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
22
Configuration Management
Reloading the System
Step 7
Command or Action
Purpose
exit
Example:
Switch(config-controller-ProvisionConfigMGMTPortType)#
exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionConfigMGMTPortType
Switch(config-controller-ProvisionConfigMGMTPortType)# deleteConfFile configName configFile
flash:ToTest
Switch(config-controller-ProvisionConfigMGMTPortType)# deleteConfFile review
Commands in Queue:
deleteConfFile configName configFile flash:ToTest
Switch(config-controller-ProvisionConfigMGMTPortType)# deleteConfFile commit
DeleteConfFile Commit Success!!!
Switch(config-controller-ProvisionConfigMGMTPortType)# exit
What to Do Next
Use the listConfigs listConfigsReq command to verify the delete action.
Switch(config-controller-ProvisionConfigMGMTPortType)# listConfigs listConfigsReq
Switch(config-controller-ProvisionConfigMGMTPortType)# listConfigs review
Switch(config-controller-ProvisionConfigMGMTPortType)# listConfigs commit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionPortVlanPortType
Example:
Switch(config-controller)# ProvisionPortVlanPortType
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
23
Configuration Management
Reloading the System
Step 4
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionConfigMGMTPortType)#
reloadSystem reloadSystemReq last_saved
Step 5
reloadSystem review
Example:
Switch(config-controller-ProvisionConfigMGMTPortType)#
reloadSystem review
Step 6
reloadSystem commit
Example:
Switch(config-controller-ProvisionConfigMGMTPortType)#
reloadSystem commit
Step 7
exit
Example:
Switch(config-controller-ProvisionConfigMGMTPortType)#
exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionConfigMGMTPortType
Switch(config-controller-ProvisionConfigMGMTPortType)# reloadSystem reloadSystemReq last_saved
Switch(config-controller-ProvisionConfigMGMTPortType)# reloadSystem review
Commands in Queue:
reloadSystem reloadSystemReq last_saved
Switch(config-controller-ProvisionConfigMGMTPortType)# reloadSystem commit
ReloadSystem Commit Success!!!
Switch(config-controller-ProvisionConfigMGMTPortType)# exit
Note
To reboot the system with the last saved changes, copy the configurations from running-config (source)
to startup-config.xml (destination) file before you reload the system. This ensures the system boots-up
with the latest configuration.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
24
Configuration Management
Upgrading Configuration
Upgrading Configuration
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionConfigMGMPortType
Example:
Switch(config-controller)# ProvisionConfigMGMPortType
Step 4
Step 5
upgradeImage review
Example:
Switch(config-controller-ProvisionConfigMGMTPortType)#
upgradeImage review
Step 6
upgradeImage commit
Example:
Switch(config-controller-ProvisionConfigMGMTPortType)#
upgradeImage commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
25
Configuration Management
Upgrading Configuration
Step 7
Command or Action
Purpose
exit
Example:
Switch(config-controller-ProvisionConfigMGMTPortType)#
exit
Configuration Example
Example 1: Upgrade
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionConfigMGMTPortType
Switch(config-controller-ProvisionConfigMGMTPortType)# upgradeImage upgradeImageRequest
upgrade tftp tftp://<TFTP Server address>/<Path and file name>
Switch(config-controller-ProvisionConfigMGMTPortType)# upgradeImage review
Commands in Queue:
upgradeImage upgradeImageRequest upgrade tftp tftp://<TFTP Server add>/<Path and file
name>
Switch(config-controller-ProvisionConfigMGMTPortType)# upgradeImage commit
UpgradeImage Commit Success!!!
Switch(config-controller-ProvisionConfigMGMTPortType)# exit
Example 2: Swap
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionConfigMGMTPortType
Switch(config-controller-ProvisionConfigMGMTPortType)# upgradeImage upgradeImageRequest
swap
Switch(config-controller-ProvisionConfigMGMTPortType)# upgradeImage review
Commands in Queue:
upgradeImage upgradeImageRequest swap
Switch(config-controller-ProvisionConfigMGMTPortType)# upgradeImage commit
UpgradeSwap commit success !!!!
Switch(config-controller-ProvisionConfigMGMTPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
26
CHAPTER
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
controller nid1/NID_ID
Example:
Switch(config)# controller nid 1/1
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
27
Step 3
Command or Action
Purpose
ProvisionNIDMgmtType
Example:
Switch(config-controller)# ProvisionNIDMgmtType
Step 4
setclockConfig clockConfig {summerTime {endDate Configures the Cisco ME 1200 NID clock.
WORD | mode {disabled | nonRecurring | recurring}
summerTimeConfigures the summer (daylight savings)
| name WORD | offSet Offset | startDate WORD} |
time.
timeZone {acronym WORD | hrOffSet hours |
minOffSet mins}}
endDateSpecifies the end date format.
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
setClockConfig clockConfig summerTime endDate
3-31-2016-23-59
Switch(config-controller-ProvisionNIDMgmtType)#
setClockConfig clockConfig summerTime mode
nonRecurring
Switch(config-controller-ProvisionNIDMgmtType)#
setClockConfig clockConfig summerTime name
MyClock
Switch(config-controller-ProvisionNIDMgmtType)#
setClockConfig clockConfig summerTime offSet
3
Switch(config-controller-ProvisionNIDMgmtType)#
setClockConfig clockConfig summerTime startDate
3-31-2014-23-59
Switch(config-controller-ProvisionNIDMgmtType)#
setClockConfig clockConfig timeZone acronym
IST
Switch(config-controller-ProvisionNIDMgmtType)#
setClockConfig clockConfig timeZone hrOffSet
5
Switch(config-controller-ProvisionNIDMgmtType)#
setClockConfig clockConfig timeZone minOffSet
30
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
28
Command or Action
Purpose
startDateSpecifies the start date format.
WORDstart date depends on the mode.
For recurring mode, the format is
week-day-month-hrs:min.Where,
week ranges from 1 to 5.
day ranges from 1 to 7.
month ranges from 1 to 12.
hrs ranges from 0-23.
min ranges from 0-59.
For nonrecurring mode, the format is
month-day-year-hrs:min. Where,
month ranges from 1 to 12.
day ranges from 1 to 31.
year ranges from 2000-2097.
hrs ranges from 0-23.
min ranges from 0-59.
Step 5
setclockConfig review
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
setclockConfig review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
29
Step 6
Command or Action
Purpose
setclockConfig commit
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
setclockConfig commit
Step 7
exit
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionNIDMgmtType
Switch(config-controller-ProvisionNIDMgmtType)# setClockConfig clockConfig summerTime endDate
3-31-2016-23-59
Switch(config-controller-ProvisionNIDMgmtType)# setClockConfig clockConfig summerTime mode
nonRecurring
Switch(config-controller-ProvisionNIDMgmtType)# setClockConfig clockConfig summerTime name
MyClock
Switch(config-controller-ProvisionNIDMgmtType)# setClockConfig clockConfig summerTime offSet
3
Switch(config-controller-ProvisionNIDMgmtType)# setClockConfig clockConfig summerTime
startDate 3-31-2014-23-59
Switch(config-controller-ProvisionNIDMgmtType)# setClockConfig clockConfig timeZone acronym
IST
Switch(config-controller-ProvisionNIDMgmtType)# setClockConfig clockConfig timeZone hrOffSet
5
Switch(config-controller-ProvisionNIDMgmtType)# setClockConfig clockConfig timeZone minOffSet
30
Switch(config-controller-ProvisionNIDMgmtType)# setclockConfig review
Commands in queue:
setClockConfig clockConfig summerTime endDate 3-31-2016-23-59
setClockConfig clockConfig summerTime mode nonRecurring
setClockConfig clockConfig summerTime name MyClock
setClockConfig clockConfig summerTime offSet 3
setClockConfig clockConfig summerTime startDate 3-31-2014-23-59
setClockConfig clockConfig timeZone acronym IST
setClockConfig clockConfig timeZone hrOffSet 5
setClockConfig clockConfig timeZone minOffSet 30
Switch(config-controller-ProvisionNIDMgmtType)# setclockConfig commit
SetClockConfig Commit Success!!!
Switch(config-controller-ProvisionNIDMgmtType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
30
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionNIDMgmtType
Example:
Switch(config-controller)# ProvisionNIDMgmtType
Step 4
getClockConfig detailClock
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
getClockConfig detailClock
Step 5
getClockConfig review
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
getClockConfig review
Step 6
getClockConfig commit
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
getClockConfig commit
Step 7
exit
Example:
Switch(config-controller-ProvisionNIDMgmtType)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionNIDMgmtType
Switch(config-controller-ProvisionNIDMgmtType)# getClockConfig detailClock
Switch(config-controller-ProvisionNIDMgmtType)# getClockConfig review
Commands in queue:
getClockConfig detailClock
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
31
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
controller nid1/NID_ID
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionNIDMgmtType
Example:
Switch(config-controller)# ProvisionNIDMgmtType
Step 4
Example:
Switch(config-controller-ProvisionNIDMgmtType)# showclock
showClockReq show_clock
Step 5
showclock review
Example:
Switch(config-controller-ProvisionNIDMgmtType)# showclock
review
Step 6
showclock commit
Example:
Switch(config-controller-ProvisionNIDMgmtType)# showclock
commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
32
Step 7
Command or Action
Purpose
exit
Example:
Switch(config-controller-ProvisionNIDMgmtType)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionNIDMgmtType
Switch(config-controller-ProvisionNIDMgmtType)# showclock showClockReq show_clock
Switch(config-controller-ProvisionNIDMgmtType)# showclock review
Commands in queue:
showClock showClockReq show_clock
Switch(config-controller-ProvisionNIDMgmtType)# showclock commit
ShowClock_Output.showClockResp.clock_info = 'System Time
: 1970-01-02T19:17:07+05:30'
ShowClock Commit Success!!!
Switch(config-controller-ProvisionNIDMgmtType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionNIDMgmtType
Example:
Switch(config-controller)# ProvisionNIDMgmtType
Step 4
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
clearIpArpEntries clearIpArpEntriesReq all
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
33
Step 5
Command or Action
Purpose
clearIpArpEntries review
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
clearIpArpEntries review
Step 6
clearIpArpEntries commit
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
clearIpArpEntries commit
Step 7
exit
Example:
Switch(config-controller-ProvisionNIDMgmtType)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionNIDMgmtType
Switch(config-controller-ProvisionNIDMgmtType)# clearIpArpEntries clearIpArpEntriesReq all
Switch(config-controller-ProvisionNIDMgmtType)# clearIpArpEntries review
Commands in queue:
clearIpArpEntries clearIpArpEntriesReq all
Switch(config-controller-ProvisionNIDMgmtType)# clearIpArpEntries commit
ClearIpArpEntries_Output.clearIpArpEntriesResp = 0
ClearIpArpEntries Commit Success!!!
Switch(config-controller-ProvisionNIDMgmtType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
34
Step 3
Command or Action
Purpose
ProvisionNIDMgmtType
Example:
Switch(config-controller)# ProvisionNIDMgmtType
Step 4
Example:
Switch(config-controller-ProvisionNIDMgmtType)# showIpArp
showIpArpEntriesReq all
Step 5
showIpArp review
Example:
Switch(config-controller-ProvisionNIDMgmtType)# showIpArp
review
Step 6
showIpArp commit
Example:
Switch(config-controller-ProvisionNIDMgmtType)# showIpArp
commit
Step 7
exit
Example:
Switch(config-controller-ProvisionNIDMgmtType)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionNIDMgmtType
Switch(config-controller-ProvisionNIDMgmtType)# showIpArp showIpArpEntriesReq all
Switch(config-controller-ProvisionNIDMgmtType)# showIpArp review
Commands in queue:
showIpArpEntriesReq all
Switch(config-controller-ProvisionNIDMgmtType)# showIpArp commit
ShowIpArp_Output.showIpArpEntriesResp.arp_entry[0] = '10.0.0.1 via
VLAN10:00-00-0c-07-ac-03'
ShowIpArp_Output.showIpArpEntriesResp.arp_entry[1] = '10.0.10.21 via
VLAN10:e9-ed-f3-78-27-c0'
ShowIpArp Commit Success!!!
Switch(config-controller-ProvisionNIDMgmtType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
35
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionNIDMgmtType
Example:
Switch(config-controller)# ProvisionNIDMgmtType
Step 4
Switch(config-controller-ProvisionNIDMgmtType)#
ipRoutingGlobalConfig ipRoutingGlobalConfigReq enable
Step 5
ipRoutingGlobalConfig review
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
ipRoutingGlobalConfig review
Step 6
ipRoutingGlobalConfig commit
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
ipRoutingGlobalConfig commit
Step 7
exit
Example:
Switch(config-controller-ProvisionNIDMgmtType)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionNIDMgmtType
Switch(config-controller-ProvisionNIDMgmtType)# ipRoutingGlobalConfig ipRoutingGlobalConfigReq
enable
Switch(config-controller-ProvisionNIDMgmtType)# ipRoutingGlobalConfig review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
36
Commands in queue:
ipRoutingGlobalConfig ipRoutingGlobalConfigReq enable
Switch(config-controller-ProvisionNIDMgmtType)# ipRoutingGlobalConfig commit
IpRoutingGlobalConfig Commit Success!!!
Switch(config-controller-ProvisionNIDMgmtType)# exit
Configuring IP Route
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionNIDMgmtType
Example:
Switch(config-controller)# ProvisionNIDMgmtType
Step 4
Switch(config-controller-ProvisionNIDMgmtType)#
setIpRoute setIpRouteReq ipv4_address 10.0.144.0
Switch(config-controller-ProvisionNIDMgmtType)#
setIpRoute setIpRouteReq ipv4_mask 255.255.255.0
Switch(config-controller-ProvisionNIDMgmtType)#
setIpRoute setIpRouteReq gateway_ip 10.0.0.1
WORDIPv4 address.
ipv4_addressSpecifies the IPv4
Network/Address.
WORDIPv4 Network/Address.
ipv4_maskSpecifies the IPv4 mask.
WORDIPv4 mask.
Step 5
setiproute review
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
setiproute review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
37
Step 6
Command or Action
Purpose
getClockConfig commit
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
setiproute commit
Step 7
exit
Example:
Switch(config-controller-ProvisionNIDMgmtType)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionNIDMgmtType
Switch(config-controller-ProvisionNIDMgmtType)# setIpRoute setIpRouteReq ipv4_address
10.0.144.0
Switch(config-controller-ProvisionNIDMgmtType)# setIpRoute setIpRouteReq ipv4_mask
255.255.255.0
Switch(config-controller-ProvisionNIDMgmtType)# setIpRoute setIpRouteReq gateway_ip 10.0.0.1
Switch(config-controller-ProvisionNIDMgmtType)# setiproute review
Commands in Queue:
setIpRoute setIpRouteReq ipv4_address 10.0.144.0
setIpRoute setIpRouteReq ipv4_mask 255.255.255.0
setIpRoute setIpRouteReq gateway_ip 10.0.0.1
Switch(config-controller-ProvisionNIDMgmtType)# setiproute commit
Setiproute Commit Success!!!
Switch(config-controller-ProvisionNIDMgmtType)# exit
Viewing IP Route
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
38
Step 3
Command or Action
Purpose
ProvisionNIDMgmtType
Example:
Switch(config-controller)# ProvisionNIDMgmtType
Step 4
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
showiproute showIpRouteReq all
Step 5
showiproute review
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
showiproute review
Step 6
showiproute commit
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
showiproute commit
Step 7
exit
Example:
Switch(config-controller-ProvisionNIDMgmtType)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionNIDMgmtType
Switch(config-controller-ProvisionNIDMgmtType)# showiproute showIpRouteReq all
Switch(config-controller-ProvisionNIDMgmtType)# showiproute review
Commands in queue:
showIpRoute showIpRouteReq all
Switch(config-controller-ProvisionNIDMgmtType)# showiproute commit
ShowIpRoute_Output.showIpRouteResp.ip_route_entry[0] = '0.0.0.0/0 via 10.25.0.1 [UP
GATEWAY HW_RT]'
ShowIpRoute_Output.showIpRouteResp.ip_route_entry[1] = '10.25.0.0/16 via [UP HW_RT]'
ShowIpRoute_Output.showIpRouteResp.ip_route_entry[2] = '127.0.0.1/32 via 127.0.0.1 [UP
HOST]'
ShowIpRoute_Output.showIpRouteResp.ip_route_entry[3] = '202.153.0.0/16 via 7.25.0.1 [UP
GATEWAY HW_RT]'
ShowIpRoute_Output.showIpRouteResp.ip_route_entry[4] = '224.0.0.0/4 via 127.0.0.1 [UP]'
ShowIpRoute Commit Success!!!
Switch(config-controller-ProvisionNIDMgmtType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
39
Removing IP Route
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionNIDMgmtType
Example:
Switch(config-controller)# ProvisionNIDMgmtType
Step 4
Step 5
removeIpRoute review
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
removeIpRoute review
Step 6
removeIpRoute commit
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
removeIpRoute commit
Step 7
exit
Example:
Switch(config-controller-ProvisionNIDMgmtType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
40
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionNIDMgmtType
Switch(config-controller-ProvisionNIDMgmtType)# removeiproute removeIpRouteReq ipv4_address
10.0.144.0
Switch(config-controller-ProvisionNIDMgmtType)# removeiproute removeIpRouteReq ipv4_mask
255.255.255.0
Switch(config-controller-ProvisionNIDMgmtType)# removeiproute removeIpRouteReq gateway_ip
10.0.0.1
Switch(config-controller-ProvisionNIDMgmtType)#removeIpRoute review
Commands in queue:
removeiproute removeIpRouteReq ipv4_address 10.0.144.0
removeiproute removeIpRouteReq ipv4_mask 255.255.255.0
removeiproute removeIpRouteReq gateway_ip 10.0.0.1
Switch(config-controller-ProvisionNIDMgmtType)# removeIpRoute commit
Removeiproute Commit Success!!!
Switch(config-controller-ProvisionNIDMgmtType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionNIDMgmtType
Example:
Switch(config-controller)# ProvisionNIDMgmtType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
41
Step 5
Command or Action
Purpose
setipdnsProxyConfig review
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
setipdnsProxyConfig review
Step 6
setipdnsProxyConfig commit
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
setipdnsProxyConfig commit
Step 7
exit
Example:
Switch(config-controller-ProvisionNIDMgmtType)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionNIDMgmtType
Switch(config-controller-ProvisionNIDMgmtType)# setipdnsProxyConfig setIpDNSProxyConfigReq
dns_proxy
Switch(config-controller-ProvisionNIDMgmtType)# setipdnsProxyConfig review
Commands in queue:
setIpDnsProxyConfig setIpDNSProxyConfigReq dns_proxy
Switch(config-controller-ProvisionNIDMgmtType)# setipdnsProxyConfig commit
SetIpDnsProxyConfig Commit Success!!!
Switch(config-controller-ProvisionNIDMgmtType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
42
Step 3
Command or Action
Purpose
ProvisionNIDMgmtType
Example:
Switch(config-controller)# ProvisionNIDMgmtType
Step 4
removeipdnsProxyConfig removeIpDnsProxyConfigReq
{dns_proxy}
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
removeipdnsProxyConfig removeIpDnsProxyConfigReq dns_proxy
Step 5
removeipdnsProxyConfig review
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
removeipdnsProxyConfig review
Step 6
removeipdnsProxyConfig commit
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
removeipdnsProxyConfig commit
Step 7
exit
Example:
Switch(config-controller-ProvisionNIDMgmtType)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionNIDMgmtType
Switch(config-controller-ProvisionNIDMgmtType)# removeipdnsProxyConfig
removeIpDnsProxyConfigReq dns_proxy
Switch(config-controller-ProvisionNIDMgmtType)# removeipdnsProxyConfig review
Commands in queue:
removeIpDnsProxyConfig removeIpDnsProxyConfigReq dns_proxy
Switch(config-controller-ProvisionNIDMgmtType)# removeipdnsProxyConfig commit
RemoveIpDnsProxyConfig Commit Success!!!
Switch(config-controller-ProvisionNIDMgmtType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
43
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionNIDMgmtType
Example:
Switch(config-controller)# ProvisionNIDMgmtType
Step 4
Step 5
setnameServerConfig review
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
setnameServerConfig review
Step 6
setnameServerConfig commit
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
setnameServerConfig commit
Step 7
exit
Example:
Switch(config-controller-ProvisionNIDMgmtType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
44
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionNIDMgmtType
Switch(config-controller-ProvisionNIDMgmtType)# setNameServerConfig setNameServerConfigReq
ipv4_address 10.0.0.5
Switch(config-controller-ProvisionNIDMgmtType)# setNameServerConfig review
Commands in queue:
setNameServerConfig setNameServerConfigReq ipv4_address 10.0.0.5
Switch(config-controller-ProvisionNIDMgmtType)# setNameServerConfig commit
nid_create_SetNameServerConfig_req_file 7421
SetNameServerConfig Commit Success!!!
Switch(config-controller-ProvisionNIDMgmtType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionNIDMgmtType
Example:
Switch(config-controller)# ProvisionNIDMgmtType
Step 4
Step 5
shownameServerConfig review
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
shownameServerConfig review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
45
Step 6
Command or Action
Purpose
shownameServerConfig commit
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
shownameServerConfig commit
Step 7
exit
Example:
Switch(config-controller-ProvisionNIDMgmtType)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionNIDMgmtType
Switch(config-controller-ProvisionNIDMgmtType)# shownameServerConfig showNameSeverConfigReq
config
Switch(config-controller-ProvisionNIDMgmtType)# shownameServerConfig review
Commands in queue:
shownameServerConfig showNameSeverConfigReq config
Switch(config-controller-ProvisionNIDMgmtType)# shownameServerConfig commit
ShowNameServerConfig_Output.showNameServerConfigResp.name_server_config = 'Current DNS
server is 7.0.0.3 set by STATIC.'
ShowNameServerConfig Commit Success!!!
Switch(config-controller-ProvisionNIDMgmtType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionNIDMgmtType
Example:
Switch(config-controller)# ProvisionNIDMgmtType
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
46
Step 4
Command or Action
Purpose
removenameServerConfig removeNameServerConfigReq
{name_server}
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
removenameServerConfig removeNameServerConfigReq
name_server
Step 5
removenameServerConfig review
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
removenameServerConfig review
Step 6
getClockConfig commit
Example:
Switch(config-controller-ProvisionNIDMgmtType)#
removenameServerConfig commit
Step 7
exit
Example:
Switch(config-controller-ProvisionNIDMgmtType)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionNIDMgmtType
Switch(config-controller-ProvisionNIDMgmtType)# removenameServerConfig
removeNameServerConfigReq name_server
Switch(config-controller-ProvisionNIDMgmtType)# removenameServerConfig review
Commands in queue:
removenameServerConfig removeNameServerConfigReq name_server
Switch(config-controller-ProvisionNIDMgmtType)# removenameServerConfig commit
RemoveNameServerConfig Commit Success!!!
Switch(config-controller-ProvisionNIDMgmtType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
47
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
48
CHAPTER
Configuring Notifications
This chapter describes how to configure notifications on Cisco ME 1200 NID.
Prerequisites for Configuring Notifications, page 49
Restrictions for Configuring Notifications, page 49
Information About Notifications, page 50
Types of Notifications, page 50
How to Configure Notifications, page 51
Note
In case, the other notification lists are configured, the configuration does not get applied.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
49
Configuring Notifications
Information About Notifications
Types of Notifications
The Cisco ME 1200 NID supports three types of notifications:
HeartBeat Notifications
Config Change Trap Notifications
Asynchronous Failure Notifications
HeartBeat Notifications
Heartbeat notifications are used to check the liveliness of the NID. This corresponds to the module_id = 1,
and the notification_id = 1. You can use the setNotificationReceiver setNotificationReceiver_req heartbeat
30 command to configure the HeartBeat to 30 seconds. If the controller does not receive the heartbeat
notification within 30 seconds, the controller waits for an additional 60 seconds before announcing Cisco ME
1200 NID as DOWN. For more information, see Registering for HeartBeat Notification.
Config Change Trap Notifications
The registered server receives configuration change notifications when any other controller does prime changes
or accesses the NID through XML. This corresponds to the module_id = 2, and the notification_id = 1. For
more information, see Registering for Config Change Trap Notification.
Asynchronous Failure Notifications (ICLI failures)
The controller receives asynchronous failure notifications, when there are ICLI failures. Every commit action
(SOAP action) on the controller is translated into multiple ICLI commands on NID, and if there are failures
during the ICLI command execution, an asynchronous failure notification is sent to the controller that has
registered to receive the asynchronous failure notification. This corresponds to the module_id = 3 , and the
notification_id = 1. For more information, see Registering for Asynchronous Failure Notification.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
50
Configuring Notifications
How to Configure Notifications
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
username user_name
Example:
Switch(config)# username guest123
Step 3
Example:
Switch(config)# enable password lab123
Step 4
exit
Example:
Switch(config)# exit
Configuration Example
Switch# configure terminal
Switch(config)# username guest123
Switch(config)# enable password lab123
Switch(config)# exit
Viewing Notifications
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
51
Configuring Notifications
Viewing Notifications
Step 2
Command or Action
Purpose
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionNotifications
Example:
Switch(config-controller)# ProvisionNotifications
Step 4
getNotificationList listAllNotifications_req
Example:
Switch(config-controller-ProvisionNotifications)#
getNotificationList listAllNotifications_req
Step 5
getNotificationList review
Example:
Switch(config-controller-ProvisionNotifications)#
getNotificationList review
Step 6
getNotificationList commit
Example:
Switch(config-controller-ProvisionNotifications)#
getNotificationList commit
Step 7
exit
Example:
Switch(config-controller-ProvisionNotifications)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionNotifications
Switch(config-controller-ProvisionNotifications)# getNotificationList
listAllNotifications_req
Switch(config-controller-ProvisionNotifications)# getNotificationList review
Commands in queue:
getNotificationList listAllNotifications_req
Switch(config-controller-ProvisionNotifications)# getNotificationList commit
GetNotificationList_Output.listAllNotifications_resp.notification[0].module_id = 1
GetNotificationList_Output.listAllNotifications_resp.notification[0].module_description
= 'HeartBeat'
GetNotificationList_Output.listAllNotifications_resp.notification[0].notification_id =
1
GetNotificationList_Output.listAllNotifications_resp.notification[0].notification_description
= 'Heartbeat Notifications'
GetNotificationList_Output.listAllNotifications_resp.notification[1].module_id = 2
GetNotificationList_Output.listAllNotifications_resp.notification[1].module_description
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
52
Configuring Notifications
Configuring Notifications
= 'ConfigChangeTrap'
GetNotificationList_Output.listAllNotifications_resp.notification[1].notification_id =
1
GetNotificationList_Output.listAllNotifications_resp.notification[1].notification_description
= 'Config Change Notifications'
GetNotificationList_Output.listAllNotifications_resp.notification[2].module_id = 3
GetNotificationList_Output.listAllNotifications_resp.notification[2].module_description
= 'AsyncNotification'
GetNotificationList_Output.listAllNotifications_resp.notification[2].notification_id =
1
GetNotificationList_Output.listAllNotifications_resp.notification[2].notification_description
= 'ICLI command failure'
GetNotificationList Commit Success!!!
Switch(config-controller-ProvisionNotifications)# exit
Configuring Notifications
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionNotifications
Example:
Switch(config-controller)# ProvisionNotifications
Step 4
setNotificationReceiver setNotificationReceiver_req {heartbeat Configures the values for receiving the notifications.
heartbeat | http_BA_password WORD | http_BA_user WORD
heartbeatSpecifies the rate at which
| http_file_path WORD | http_server_address WORD}
keepalive packets are expected (in seconds).
Example:
Switch(config-controller-ProvisionNotifications)#
setNotificationReceiver
setNotificationReceiver_req heartbeat 30
Switch(config-controller-ProvisionNotifications)#
setNotificationReceiver setNotificationReceiver_req
http_BA_password lab123
Switch(config-controller-ProvisionNotifications)#
setNotificationReceiver setNotificationReceiver_req
http_BA_user guest123
Switch(config-controller-ProvisionNotifications)#
setNotificationReceiver
WORDuser.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
53
Configuring Notifications
Configuring Notifications
Command or Action
Purpose
setNotificationReceiver_req http_file_path
myfiles/nid_notification
Switch(config-controller-ProvisionNotifications)#
setNotificationReceiver
setNotificationReceiver_req http_server_address
10.20.30.40
Step 5
setNotificationReceiver review
Example:
Switch(config-controller-ProvisionNotifications)#
setNotificationReceiver review
Step 6
setNotificationReceiver commit
Example:
Switch(config-controller-ProvisionNotifications)#
setNotificationReceiver commit
Step 7
exit
Example:
Switch(config-controller-ProvisionNotifications)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionNotifications
Switch(config-controller-ProvisionNotifications)# setNotificationReceiver
setNotificationReceiver_req heartbeat 30
Switch(config-controller-ProvisionNotifications)# setNotificationReceiver
setNotificationReceiver_req http_BA_password lab123
Switch(config-controller-ProvisionNotifications)# setNotificationReceiver
setNotificationReceiver_req http_BA_user guest123
Switch(config-controller-ProvisionNotifications)# setNotificationReceiver
setNotificationReceiver_req
http_file_path myfiles/nid_notification
Switch(config-controller-ProvisionNotifications)# setNotificationReceiver
setNotificationReceiver_req
http_server_address 10.20.30.40
Switch(config-controller-ProvisionNotifications)# setNotificationReceiver review
Commands in queue:
setNotificationReceiver
setNotificationReceiver
setNotificationReceiver
setNotificationReceiver
myfiles/nid_notification
setNotificationReceiver
setNotificationReceiver_req
setNotificationReceiver_req
setNotificationReceiver_req
setNotificationReceiver_req
heartbeat 30
http_BA_password lab123
http_BA_user guest123
http_file_path
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
54
Configuring Notifications
Registering for HeartBeat Notification
SetNotificationReceiver_Output.setNotificationReceiver_resp.cookie = 5120
SetNotificationReceiver Commit Success!!!!
Switch(config-controller-ProvisionNotifications)# exit
Use this procedure to generate multiple cookies. In the above mentioned example, 5120 is the cookie
value.
Note
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionNotifications
Example:
Switch(config-controller)# ProvisionNotifications
Step 4
registerForNotification regForNotification_req {cookie cookie Lists all the registered notifications under the generated
value | notifications_list List of notifications {enable {enable | cookie.
disable} | module_id Module ID | notification_id Notification
cookieSpecifies the notification cookie with
ID }}
unique cookie value.
Example:
Switch(config-controller-ProvisionNotifications)#
registerForNotification regForNotification_req cookie
5120
Switch(config-controller-ProvisionNotifications)#
registerForNotification regForNotification_req
notifications_list 1
enable enable
Switch(config-controller-ProvisionNotifications)#
registerForNotification regForNotification_req
notifications_list 1
module_id 1
Switch(config-controller-ProvisionNotifications)#
registerForNotification regForNotification_req
notifications_list 1
notification_id 1
Note
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
55
Configuring Notifications
Registering for HeartBeat Notification
Command or Action
Purpose
notification_idSpecifies the notification ID.
Notification IDlist of notification ranges from
1 to 10, wherein the supported lists are from 1 to
3.
Step 5
registerForNotification review
Example:
Switch(config-controller-ProvisionNotifications)#
registerForNotification review
Step 6
registerForNotification commit
Example:
Switch(config-controller-ProvisionNotifications)#
registerForNotification commit
Step 7
exit
Example:
Switch(config-controller-ProvisionNotifications)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionNotifications
Switch(config-controller-ProvisionNotifications)#
regForNotification_req cookie 5120
Switch(config-controller-ProvisionNotifications)#
regForNotification_req
notifications_list 1 enable enable
Switch(config-controller-ProvisionNotifications)#
regForNotification_req
notifications_list 1 module_id 1
Switch(config-controller-ProvisionNotifications)#
regForNotification_req
notifications_list 1 notification_id 1
Switch(config-controller-ProvisionNotifications)#
Commands in queue:
registerForNotification
registerForNotification
registerForNotification
registerForNotification
registerForNotification
registerForNotification
registerForNotification
registerForNotification
registerForNotification review
regForNotification_req
regForNotification_req
regForNotification_req
regForNotification_req
cookie 5120
notifications_list 1 enable enable
notifications_list 1 module_id 1
notifications_list 1 notification_id 1
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
56
Configuring Notifications
Registering for Config Change Trap Notification
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionNotifications
Example:
Switch(config-controller)# ProvisionNotifications
Step 4
Switch(config-controller-ProvisionNotifications)#
registerForNotification regForNotification_req cookie 5120
Switch(config-controller-ProvisionNotifications)#
registerForNotification regForNotification_req notifications_list 2
enable enable Switch(config-controller-ProvisionNotifications)#
registerForNotification regForNotification_req notifications_list 2
module_id 2 Switch(config-controller-ProvisionNotifications)#
registerForNotification regForNotification_req notifications_list 2
notification_id 1
Switch(config-controller-ProvisionNotifications)#
registerForNotification
regForNotification_req cookie 5120
Switch(config-controller-ProvisionNotifications)#
registerForNotification
regForNotification_req notifications_list 2 enable enable
Switch(config-controller-ProvisionNotifications)#
registerForNotification
regForNotification_req notifications_list 2 module_id 2
Switch(config-controller-ProvisionNotifications)#
registerForNotification
regForNotification_req notifications_list 2 notification_id
1
Note
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
57
Configuring Notifications
Registering for Config Change Trap Notification
Step 5
Command or Action
Purpose
registerForNotification review
Example:
Switch(config-controller-ProvisionNotifications)#
registerForNotification review
Step 6
registerForNotification commit
Example:
Switch(config-controller-ProvisionNotifications)#
registerForNotification commit
Step 7
exit
Example:
Switch(config-controller-ProvisionNotifications)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionNotifications
Switch(config-controller-ProvisionNotifications)# registerForNotification
regForNotification_req cookie 5120
Switch(config-controller-ProvisionNotifications)# registerForNotification
regForNotification_req notifications_list 2 enable enable
Switch(config-controller-ProvisionNotifications)# registerForNotification
regForNotification_req notifications_list 2 module_id 2
Switch(config-controller-ProvisionNotifications)# registerForNotification
regForNotification_req notifications_list 2 notification_id 1
Switch(config-controller-ProvisionNotifications)# registerForNotification review
Commands in queue:
registerForNotification
registerForNotification
registerForNotification
registerForNotification
regForNotification_req
regForNotification_req
regForNotification_req
regForNotification_req
cookie 5120
notifications_list 2 enable enable
notifications_list 2 module_id 2
notifications_list 2 notification_id 1
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
58
Configuring Notifications
Registering for Asynchronous Failure Notification
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionNotifications
Example:
Switch(config-controller)# ProvisionNotifications
Step 4
registerForNotification regForNotification_req {cookie cookie Lists all the registered notifications under the generated
value | notifications_list List of notifications {enable {enable | cookie.
disable} | module_id Module ID | notification_id Notification
cookieSpecifies the notification cookie with
ID }}
unique cookie value.
Example:
Switch(config-controller-ProvisionNotifications)#
registerForNotification regForNotification_req cookie
5120
Switch(config-controller-ProvisionNotifications)#
registerForNotification
regForNotification_req notifications_list 3 enable
enable
Switch(config-controller-ProvisionNotifications)#
registerForNotification
regForNotification_req notifications_list 3 module_id
3
Switch(config-controller-ProvisionNotifications)#
registerForNotification
regForNotification_req notifications_list 3
notification_id 1
Note
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
59
Configuring Notifications
Registering for Asynchronous Failure Notification
Step 5
Command or Action
Purpose
registerForNotification review
Example:
Switch(config-controller-ProvisionNotifications)#
registerForNotification review
Step 6
registerForNotification commit
Example:
Switch(config-controller-ProvisionNotifications)#
registerForNotification commit
Step 7
exit
Example:
Switch(config-controller-ProvisionNotifications)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionNotifications
Switch(config-controller-ProvisionNotifications)# registerForNotification
regForNotification_req cookie 5120
Switch(config-controller-ProvisionNotifications)# registerForNotification
regForNotification_req notifications_list 3 enable enable
Switch(config-controller-ProvisionNotifications)# registerForNotification
regForNotification_req notifications_list 3 module_id 3
Switch(config-controller-ProvisionNotifications)# registerForNotification
regForNotification_req notifications_list 3 notification_id 1
Switch(config-controller-ProvisionNotifications)# registerForNotification review
Commands in queue:
registerForNotification
registerForNotification
registerForNotification
registerForNotification
regForNotification_req
regForNotification_req
regForNotification_req
regForNotification_req
cookie 5120
notifications_list 3 enable enable
notifications_list 3 module_id 3
notifications_list 3 notification_id 1
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
60
Configuring Notifications
Listing Notifications
Listing Notifications
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionNotifications
Example:
Switch(config-controller)# ProvisionNotifications
Step 4
listRegisteredNotification listNotificationsRegistered {cookie Lists all the registered notifications under the
generated cookie.
cookie value}
Example:
Switch(config-controller-ProvisionNotifications)#
listRegisteredNotification
listNotificationsRegistered cookie 5120
Step 5
listRegisteredNotification review
Example:
Switch(config-controller-ProvisionNotifications)#
listRegisteredNotification review
Step 6
listRegisteredNotification commit
Example:
Switch(config-controller-ProvisionNotifications)#
listRegisteredNotification commit
Step 7
exit
Example:
Switch(config-controller-ProvisionNotifications)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionNotifications
Switch(config-controller-ProvisionNotifications)# listRegisteredNotification
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
61
Configuring Notifications
Deleting Notifications
Deleting Notifications
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionNotifications
Example:
Switch(config-controller)# ProvisionNotifications
Step 4
delNotificationReceiver delNotifReceiver_req {cookie cookie Deletes the notifications under the cookie.
value}
cookieSpecifies the notification cookie
with unique cookie value.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
62
Configuring Notifications
Deleting Notifications
Command or Action
Purpose
cookie valuecookie value.
Example:
Switch(config-controller-ProvisionNotifications)#
delNotificationReceiver delNotifReceiver_req cookie
5120
Step 5
delNotificationReceiver review
Example:
Switch(config-controller-ProvisionNotifications)#
delNotificationReceiver review
Step 6
delNotificationReceiver commit
Example:
Switch(config-controller-ProvisionNotifications)#
delNotificationReceiver commit
Step 7
exit
Example:
Switch(config-controller-ProvisionNotifications)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionNotifications
Switch(config-controller-ProvisionNotifications)# delNotificationReceiver delNotifReceiver_req
cookie 5120
Switch(config-controller-ProvisionNotifications)# delNotificationReceiver review
Commands in queue:
delNotificationReceiver delNotifReceiver_req cookie 5120
Switch(config-controller-ProvisionNotifications)# delNotificationReceiver commit
DelNotificationReceiver_Output.delNotifReceiver_resp = false
DelNotificationReceiver Commit Success!!!
Switch(config-controller-ProvisionNotifications)# exit
What to Do Next
After deleting the notification, use the listRegisteredNotification listNotificationsRegistered {cookie cookie
value} command to verify if the delete operation is successful.
Switch(config-controller-ProvisionNotifications)# listRegisteredNotification
listNotificationsRegistered cookie cookie value
Switch(config-controller-ProvisionNotifications)# listRegisteredNotification review
Switch(config-controller-ProvisionNotifications)# listRegisteredNotification commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
63
Configuring Notifications
Deleting Notifications
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
64
CHAPTER
Note
The only interface for the ZTP is the ZTP button and the status LED, both found on the front of the Cisco
ME 1200 NID.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
65
ZTP Activation
Pressing the ZTP reset button triggers a series of steps that result in provisioning the Cisco ME 1200 NID
with a complete, operational configuration.
1
2
3
4
5
6
7
Note
Start ZTP.
Restore to factory defaults.
Get management VLAN Configuration from LLDP-MED.
Start the DHCP client on VLAN interface.
Download and apply the initial configuration file from a location provided by the DHCP client.
Use reverse DNS to obtain the host name of the device.
Download and apply a specific configuration file.
Ensure that initial and specific configuration files are present on the TFTP server before starting the ZTP
process.
8 Copy the running configuration to startup configuration.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
66
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
67
Run LLDP.
Switch(config)# lldp run
Configure an interface connecting to the 7.6.x.x switch and allowing VLAN (e.g. VLAN 10) to be used
as management VLAN to ensure reachability to network gateway, or DHCP, TFTP, and DNS servers.
Configure the interface connecting to Cisco ME 1200 NID as trunk.
Assign management VLAN with the interface connecting to Cisco ME 1200 NID using the following
command in global config mode
Switch(config)# platform nid-controller assign vlan 10 gigabitEthernet 1/1
Note
If the ZTP reset button is pressed for less than five seconds, a cold reload is issued.
Note
When one instance of the ZTP activation is active, another instance cannot be started. Wait for the ZTP
activation to complete (check ZTP status using LED to determine if it was successful or moved to error
state) before starting the process again.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
68
The Cisco ME 1200 NID can be configured to act either as an end-point or a connectivity link. The default
configuration type is an end-point, where all ports are scanned for received LLDP-MED broadcast. However,
only those ports that have received a network policy with voice application type are considered. These ports
are configured accordingly, and a VLAN interface is created on the defined VLAN.
If If none of the ports received LLDP-MED TLVs after 60 seconds, or interface on UPE NID controller is
not configured to allow a specific management VLAN, ZTP process tries to configure a fallback VLAN as
described below. Hence it is better to check configurations and ensure there is no network connectivity issue
while in this step.
VLAN Discovery in standalone operating mode
If Cisco ME1200 NID is deployed without UPE NID controller or directly connected switch upstream, which
does not support LLDP-MED Network Policy TLV, a fallback mechanism is used to complete VLAN discovery.
This assumes that an external DHCP server is present on the network, which can support DHCP Option 60
and 43, and allocate IP address to ME1200 (Note: Option 60 unique identifier string will be of the form
"ME1200-00-3A-99-FD-45-34", where 00:3a:99:fd:45:34 is a sample MAC address of the Cisco ME1200.
The fallback VLAN discovery can be described as follows:
1 When ZTP is triggered using the push button on Cisco ME 1200 NID, a special, default configuration is
loaded , which includes the following commands:
ztp fallback vlan 1-4095 frame-type tagged interface Gi 1/1-6
ztp fallback vlan 1 frame-type untagged interface Gi 1/1-6
This causes DHCP replies coming from an external DHCP server to be processed by Cisco ME1200 NID.
2 If a DHCP OFFER containing a VLAN tag in the range of 1-4095, or DHCP OFFER on VLAN 1 (untagged)
is received on any one of the ports 1-6, it is used to determine management VLAN.
3 To avoid a flood of DHCP messages from being intercepted by ME1200, only DHCP replies containing
DHCP Option 60 & 43 are intercepted.
The VLAN that is determined from this fallback mechanism is used in subsequent steps of the ZTP process.
Note
The default fallback VLAN configuration can also be modified by user and the modified configuration
allowed to persist across reloads. From the DHCP pool network range and deployment, user may know
a priori of the VLAN or range of VLANs from which OFFERs are sent by DHCP server. Hence it is
recommended to modify fallback VLAN configuration from default to a reasonable VLAN range.
Example 1:
If DHCP server is on VLAN 400 and it's connecting port type is tagged, following configuration change
during initial Cisco ME1200 NID configuration will cause DHCP OFFERs on VLAN 400 to be processed
when ZTP is triggered in standalone mode.
ztp fallback vlan 400 frame-type tagged interface Gi 1/1-6
If DHCP server is directly connected to one of the interfaces (say, interface 5), this configuration can be
modified further as:
ztp fallback vlan 400 frame-type tagged interface Gi 1/5
Example 2:
If DHCP server is on VLAN 100 and it's connecting port type is untagged, following configuration change
during initial Cisco ME1200 NID configuration causes DHCP OFFERs on VLAN 100 to be processed when
ZTP is triggered in standalone mode.
ztp fallback vlan 100 frame-type untagged interface Gi 1/1-6
Note
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
69
If user wishes to disable fallback VLAN configuration, following command can be configured.
no ztp fallback vlan
Once configuration is modified for above steps, user can copy running-config to startup-config prior to ZTP
reset. This will cause modified fallback configuration to be present when ZTP process is restarted.
Configuration on Cisco ME 1200 NID1 Before Starting the ZTP Process on Cisco ME 1200 NID2:
First, on Cisco ME 1200 NID2, configure a LLDP MED media VLAN policy for voice application-type, with
frame-type and VLAN set to the same value as the upstream Cisco ME 1200 NID on which ZTP has completed.
For example,
Switch(config)# lldp med media-vlan-policy 1 voice tagged 10 l2-priority 0 dscp 0
Second, on the upstream ME1200 NID1, modify the interface connected to Cisco ME 1200 NID2, in this case
GigabitEthernet 1/4, to LLDP MED connectivity type. Also, associate this interface to the same media VLAN
policy configured on Cisco ME 1200 NID2. A sample configuration is provided below.
interface GigabitEthernet 1/4
switchport mode trunk
lldp med media-vlan policy-list 1
lldp med type connectivity
no spanning-tree
lldp transmit
lldp receive
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
70
Tip
The above configuration can be included in the Cisco ME 1200 NID1 final configuration file to avoid
manual configuration after ZTP on Cisco ME 1200 NID1.
Next Steps
1 Start ZTP on Cisco ME 1200 NID1.
2 When ZTP is finished on Cisco ME 1200 NID-1, start ZTP on Cisco ME 1200 NID2.
In this deployment, while Cisco ME 1200 NID-1 receives VLAN through LLDP-MED Network Policy TLV
and initiates DHCP Discovery, the Cisco ME 1200 NIDs that are downstream to Cisco ME 1200 NID-1 do
not receive LLDP-MED TLVs. This is because LLDP-MED TLVs are sent only between endpoint devices
and are not propagated beyond Cisco ME 1200 NID-1.
To allow LLDP-MED TLVs to be propagated to all downstream Cisco ME 1200 NIDs once Cisco ME 1200
NID-1 completes VLAN discovery, modify the port configuration in the same manner as the linear chain
topology deployment.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
71
Note
Options 60, 43, and 67 are not used when the DHCP client is used in a non-ZTP mode.
Note
If no DHCP client reaches bound state with the requested options within 120 seconds, ZTP activation
process enters error state.
Once the connectivity is established between the Cisco ME 1200 NID and the UPE NID Controller , the Cisco
ME 1200 NID can be remotely managed from the UPE NID Controller .
A database of NID instances, MAC addresses, IP addresses, TFTP server, attached physical ports is maintained
on the UPE NID Controller . This information can be used for management of selected Cisco ME 1200 NIDs.
The association between the Cisco ME 1200 NID and UPE NID Controller is maintained by sending and
receiving periodic IP-based heartbeat messages.
Note
The value of the Option 67 field will be taken as the configuration filename, including any file extension.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
72
Note
The specific configuration of the device is downloaded from the same TFTP server as the initial configuration.
If reverse DNS lookup fails to retrieve a hostname, then ZTP activation process looks for a filename with the
following format on TFTP server:
NID_MAC_ADDR_CFG.xml
Note
It is recommended that user makes 2 file copies of the saved, intended configuration - one named as per
the FQDN, such as nid2.example.com.xml, and the other based on the MAC address, such as
00_3B_99_FE_5E_00_CFG.xml.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
73
Only after this configuration is applied on Cisco ME 1200 NID, Step 8 will generate a complete XML
configuration and store the file as flash:startup-config.xml. This file can be used to replace the default
configuration in fqdn.xml and NID_MAC_ADDR_CFG.xml as required.
As a last step in ZTP activation, the running configuration (which was the result of Cisco ME 1200 NID-specific
configuration applied after reverse DNS and TFTP download) is copied to startup configuration
(flash:startup-config.xml). This ensures that running configuration is persistent.
If there is an error in copying the configuration, the ZTP process enters the error state.
The ZTP process has completed, the status LED is set to solid green.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
74
CHAPTER
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
75
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
76
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
77
Priority
External commands (Manual, Auto-revertive and so on)
Clock Selection Modes
A clock selection is said to be the best, when the clock source is configured with the highest QL and with the
highest priority (for the ones with equal QL).
The following are different clock selection modes:
Manualthe clock selector is manually set to the chosen clock source. If the manually selected clock
source fails, then, the clock selector goes to the holdover state.
Selectedthe clock selector selects the clock manually, however, the highest priority selected clock
source becomes the Source.
NonRevertivethe clock selector selects the best clock source only done when the selected clock fails.
Revertivethe selection of the best clock source is constantly searched for.
Holdoverthe clock selector is forced to the holdover state.
Freerunthe clock selector is forced to the free run state.
Manual mode is used to force selection of a specific source. It is also used to switch back to the primary source
if auto-nonrevertive mode is selected and the failure is cleared. Selected mode is used to freeze the current
clock source, in case of a failure on switchover.
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
syncE
Example:
Switch(config-controller)# SyncE
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
78
Step 4
Command or Action
Purpose
setSyncEglobalDefaultConfig set_global_default_config
Example:
Switch(config-controller-SyncE)#
setSyncEglobalDefaultConfig set_global_default_config
Step 5
setSyncEglobalDefaultConfig review
Example:
Switch(config-controller-SyncE)#
setSyncEglobalDefaultConfig review
Step 6
setSyncEglobalDefaultConfig commit
Example:
Switch(config-controller-SyncE)#
setSyncEglobalDefaultConfig commit
Step 7
exit
Example:
Switch(config-controller-SyncE)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# SyncE
Switch(config-controller-SyncE)# setSyncEglobalDefaultConfig set_global_default_config
Switch(config-controller-SyncE)# setSyncEglobalDefaultConfig review
Commands in queue:
setSyncEglobalDefaultConfig set_global_default_config
Switch(config-controller-SyncE)# setSyncEglobalDefaultConfig commit
SetSyncEglobalDefaultConfig Commit Success!!!
Switch(config-controller-SyncE)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
79
Step 2
Command or Action
Purpose
Example:
Switch(config)# controller nid 1/1
Step 3
syncE
Example:
Switch(config-controller)# SyncE
Step 4
getSyncEglobalconfig get_global_config
Example:
Switch(config-controller-SyncE)# getSyncEglobalconfig
get_global_config
Step 5
getSyncEglobalconfig review
Example:
Switch(config-controller-SyncE)# getSyncEglobalconfig
review
Step 6
getSyncEglobalconfig commit
Example:
Switch(config-controller-SyncE)# getSyncEglobalconfig
commit
Step 7
exit
Example:
Switch(config-controller-SyncE)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# SyncE
Switch(config-controller-SyncE)# getSyncEglobalconfig get_global_config
Switch(config-controller-SyncE)# getSyncEglobalconfig review
Commands in queue:
getSyncEglobalConfig get_global_config
Switch(config-controller-SyncE)# getSyncEglobalconfig commit
GetSyncEglobalConfig_Output.synce_global_conf.clock_select_config.t = 5
GetSyncEglobalConfig_Output.synce_global_conf.clock_select_config.u.revertive = ''
GetSyncEglobalConfig_Output.synce_global_conf.wait_to_restore = 5
GetSyncEglobalConfig_Output.synce_global_conf.SSM_QL_for_holdover.t = 1
GetSyncEglobalConfig_Output.synce_global_conf.SSM_QL_for_holdover.u.QL_NONE = ''
GetSyncEglobalConfig_Output.synce_global_conf.SSM_QL_for_freerun.t = 1
GetSyncEglobalConfig_Output.synce_global_conf.SSM_QL_for_freerun.u.QL_NONE = ''
GetSyncEglobalConfig_Output.synce_global_conf.EEC_Option.t = 1
GetSyncEglobalConfig_Output.synce_global_conf.EEC_Option.u.EEC1 = ''
GetSyncEglobalConfig Commit Success!!!
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
80
Switch(config-controller-SyncE)# exit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
syncE
Example:
Switch(config-controller)# SyncE
Step 4
Step 5
setSyncEclockDefaultConfig review
Example:
Switch(config-controller-SyncE)#
setSyncEclockDefaultConfig review
Step 6
setSyncEclockDefaultConfig commit
Example:
Switch(config-controller-SyncE)#
setSyncEclockDefaultConfig commit
Step 7
exit
Example:
Switch(config-controller-SyncE)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# SyncE
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
81
Switch(config-controller-SyncE)# setSyncEclockDefaultConfig
set_synce_clock_config_defaults_req
Switch(config-controller-SyncE)# setSyncEclockDefaultConfig review
Commands in queue:
setSyncEclockDefaultConfig set_synce_clock_config_defaults_req
Switch(config-controller-SyncE)# setSyncEclockDefaultConfig commit
SetSyncEclockDefaultConfig Commit Success!!!
Switch(config-controller-SyncE)# exit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
syncE
Example:
Switch(config-controller)# SyncE
Step 4
getSyncEclockdefaultConfig
get_synce_clock_config_defaults_req
Example:
Switch(config-controller-SyncE)#
getSyncEclockdefaultConfig
get_synce_clock_config_defaults_req
Step 5
getSyncEclockdefaultConfig review
Example:
Switch(config-controller-SyncE)#
getSyncEclockdefaultConfig review
Step 6
getSyncEclockdefaultConfig commit
Example:
Switch(config-controller-SyncE)#
getSyncEclockdefaultConfig commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
82
Step 7
Command or Action
Purpose
exit
Example:
Switch(config-controller-SyncE)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# SyncE
Switch(config-controller-SyncE)# getSyncEclockdefaultConfig
get_synce_clock_config_defaults_req
Switch(config-controller-SyncE)# getSyncEclockdefaultConfig review
Commands in queue:
getSyncEclockDefaultConfig get_synce_clock_config_defaults_req
Switch(config-controller-SyncE)# getSyncEclockdefaultConfig commit
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[0].state = false
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[0].port = 1
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[0].priority = 0
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[0].SSM_overwrite.t = 1
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[0].SSM_overwrite.u.QL_NONE
= ''
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[0].hold_off.t = 1
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[0].hold_off.u.disabled
= ''
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[0].aneg_mode.t = 1
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[0].aneg_mode.u.none =
''
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[1].state = false
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[1].port = 2
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[1].priority = 0
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[1].SSM_overwrite.t = 1
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[1].SSM_overwrite.u.QL_NONE
= ''
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[1].hold_off.t = 1
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[1].hold_off.u.disabled
= ''
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[1].aneg_mode.t = 1
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[1].aneg_mode.u.none =
''
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[2].state = false
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[2].port = 3
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[2].priority = 0
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[2].SSM_overwrite.t = 1
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[2].SSM_overwrite.u.QL_NONE
= ''
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[2].hold_off.t = 1
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[2].hold_off.u.disabled
= ''
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[2].aneg_mode.t = 1
GetSyncEclockDefaultConfig_Output.clock_sel_config.source_configs[2].aneg_mode.u.none =
''
GetSyncEclockDefaultConfig_Output.clock_sel_config.ssm_enable_ports.GigabitEthernet_1_UNI
= false
GetSyncEclockDefaultConfig_Output.clock_sel_config.ssm_enable_ports.GigabitEthernet_2_UNI
= false
GetSyncEclockDefaultConfig_Output.clock_sel_config.ssm_enable_ports.GigabitEthernet_3_UNI
= false
GetSyncEclockDefaultConfig_Output.clock_sel_config.ssm_enable_ports.GigabitEthernet_4_UNI
= false
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
83
GetSyncEclockDefaultConfig_Output.clock_sel_config.ssm_enable_ports.GigabitEthernet_5_UNI
= false
GetSyncEclockDefaultConfig_Output.clock_sel_config.ssm_enable_ports.GigabitEthernet_6_UNI
= false
GetSyncEclockDefaultConfig Commit Success!!!
Switch(config-controller-SyncE)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
syncE
Example:
Switch(config-controller)# SyncE
Step 4
Step 5
setSyncEclockConfig review
Example:
Switch(config-controller-SyncE)#
setSyncEclockConfig review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
84
Step 6
Command or Action
Purpose
setSyncEclockConfig commit
Example:
Switch(config-controller-SyncE)#
setSyncEclockConfig commit
Step 7
exit
Example:
Switch((config-controller-)syncE)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# SyncE
Switch(config-controller-SyncE)# setSyncEclockConfig clock_sel_config source_configs 0 port
2
Switch(config-controller-SyncE)# setSyncEclockConfig review
Commands in queue:
setSyncEclockConfig clock_sel_config source_configs 0 port 2
Switch(config-controller-SyncE)# setSyncEclockConfig commit
SetSyncEclockConfig Commit Success!!!
Switch(config-controller-SyncE)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
syncE
Example:
Switch(config-controller)# SyncE
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
85
Step 4
Command or Action
Purpose
getSyncEclockConfig get_clock_config
Example:
Switch(config-controller-SyncE)# getSyncEclockConfig
get_clock_config
Step 5
setSyncEclockConfig review
Example:
Switch(config-controller-SyncE)# setSyncEclockConfig
review
Step 6
getSyncEclockConfig commit
Example:
Switch(config-controller-SyncE)# getSyncEclockConfig
commit
Step 7
exit
Example:
Switch(config-controller-SyncE)# exit
Configuration Example
Switch# configure terminal
Switch(config)#controller nid 1/1
Switch(config-controller)# SyncE
Switch(config-controller-SyncE)# getSyncEclockConfig get_clock_config
Switch(config-controller-SyncE)# setSyncEclockConfig review
Commands in queue:
getSyncEclockConfig get_clock_config
Switch(config-controller-SyncE)# getSyncEclockConfig commit
GetSyncEClockConfig_Output.clock_sel_config.source_configs[0].state = true
GetSyncEClockConfig_Output.clock_sel_config.source_configs[0].port = 4
GetSyncEClockConfig_Output.clock_sel_config.source_configs[0].priority = 1
GetSyncEClockConfig_Output.clock_sel_config.source_configs[0].SSM_overwrite.t = 2
GetSyncEClockConfig_Output.clock_sel_config.source_configs[0].SSM_overwrite.u.QL_PRC =
'0'
GetSyncEClockConfig_Output.clock_sel_config.source_configs[0].hold_off.t = 2
GetSyncEClockConfig_Output.clock_sel_config.source_configs[0].hold_off.u.value = 800
GetSyncEClockConfig_Output.clock_sel_config.source_configs[0].aneg_mode.t = 1
GetSyncEClockConfig_Output.clock_sel_config.source_configs[0].aneg_mode.u.none = ''
GetSyncEClockConfig_Output.clock_sel_config.source_configs[1].state = true
GetSyncEClockConfig_Output.clock_sel_config.source_configs[1].port = 3
GetSyncEClockConfig_Output.clock_sel_config.source_configs[1].priority = 0
GetSyncEClockConfig_Output.clock_sel_config.source_configs[1].SSM_overwrite.t = 2
GetSyncEClockConfig_Output.clock_sel_config.source_configs[1].SSM_overwrite.u.QL_PRC =
'0'
GetSyncEClockConfig_Output.clock_sel_config.source_configs[1].hold_off.t = 2
GetSyncEClockConfig_Output.clock_sel_config.source_configs[1].hold_off.u.value = 1000
GetSyncEClockConfig_Output.clock_sel_config.source_configs[1].aneg_mode.t = 1
GetSyncEClockConfig_Output.clock_sel_config.source_configs[1].aneg_mode.u.none = ''
GetSyncEClockConfig_Output.clock_sel_config.source_configs[2].state = false
GetSyncEClockConfig_Output.clock_sel_config.source_configs[2].port = 3
GetSyncEClockConfig_Output.clock_sel_config.source_configs[2].priority = 0
GetSyncEClockConfig_Output.clock_sel_config.source_configs[2].SSM_overwrite.t = 1
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
86
GetSyncEClockConfig_Output.clock_sel_config.source_configs[2].SSM_overwrite.u.QL_NONE =
''
GetSyncEClockConfig_Output.clock_sel_config.source_configs[2].hold_off.t = 1
GetSyncEClockConfig_Output.clock_sel_config.source_configs[2].hold_off.u.disabled = ''
GetSyncEClockConfig_Output.clock_sel_config.source_configs[2].aneg_mode.t = 1
GetSyncEClockConfig_Output.clock_sel_config.source_configs[2].aneg_mode.u.none = ''
GetSyncEClockConfig_Output.clock_sel_config.ssm_enable_ports.GigabitEthernet_1_UNI =
false
GetSyncEClockConfig_Output.clock_sel_config.ssm_enable_ports.GigabitEthernet_2_UNI =
false
GetSyncEClockConfig_Output.clock_sel_config.ssm_enable_ports.GigabitEthernet_3_UNI =
true
GetSyncEClockConfig_Output.clock_sel_config.ssm_enable_ports.GigabitEthernet_4_UNI =
true
GetSyncEClockConfig_Output.clock_sel_config.ssm_enable_ports.GigabitEthernet_5_UNI =
false
GetSyncEClockConfig_Output.clock_sel_config.ssm_enable_ports.GigabitEthernet_6_UNI =
false
GetSyncEClockConfig Commit Success!!!
Switch(config-controller-SyncE)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
syncE
Example:
Switch(config-controller)# SyncE
Step 4
Example:
Switch(config-controller-SyncE)# setSyncEclockConfig
clock_sel_config ssm_enable_ports
GigabitEthernet_4_UNI enable
GigabitEthernet_4_UNIPhysical port 4.
GigabitEthernet_5_UNIPhysical port 5.
GigabitEthernet_6_UNIPhysical port 6.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
87
Command or Action
Purpose
disableDisables the SSM on the configured
port.
enableEnables the SSM on the configured port.
Step 5
Step 6
Step 7
setSyncEclockConfig review
Example:
Switch(config-controller-SyncE)# setSyncEclockConfig
review
Step 8
setSyncEclockConfig commit
Example:
Switch(config-controller-SyncE)# setSyncEclockConfig
commit
Step 9
exit
Example:
Switch(config-controller-SyncE)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# SyncE
Switch(config-controller-SyncE)# setSyncEclockConfig
GigabitEthernet_4_UNI enable
Switch(config-controller-SyncE)# setSyncEclockConfig
4
Switch(config-controller-SyncE)# setSyncEclockConfig
SSM_overwrite QL_PRC
Switch(config-controller-SyncE)# setSyncEclockConfig
clock_sel_config ssm_enable_ports
clock_sel_config source_configs 1 port
clock_sel_config source_configs 1
review
Commands in queue:
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
88
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
syncE
Example:
Switch(config-controller)# SyncE
Step 4
setSyncEclockConfig clock_sel_config {source_configs Enters the SyncE clock configuration to select the UNI ports.
Here selecting the physical port 5.
| ssm_enable_ports {GigabitEthernet_1_UNI |
GigabitEthernet_2_UNI | GigabitEthernet_3_UNI |
GigabitEthernet_1_UNIPhysical port 1.
GigabitEthernet_4_UNI | GigabitEthernet_5_UNI |
GigabitEthernet_6_UNI}{enable | disable}}}
GigabitEthernet_2_UNIPhysical port 2.
GigabitEthernet_3_UNIPhysical port 3.
Example:
Switch(config-controller-SyncE)#
setSyncEclockConfig clock_sel_config
ssm_enable_ports GigabitEthernet_5_UNI enable
GigabitEthernet_4_UNIPhysical port 4.
GigabitEthernet_5_UNIPhysical port 5.
GigabitEthernet_6_UNIPhysical port 6.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
89
Command or Action
Purpose
disableDisables the SSM on the configured port.
enableEnables the SSM on the configured port.
Step 5
setSyncEclockConfig clock_sel_config {source_configs Enters the SyncE clock configuration to select the UNI ports.
Here selecting the physical port 6.
| ssm_enable_ports {GigabitEthernet_1_UNI |
GigabitEthernet_2_UNI | GigabitEthernet_3_UNI |
GigabitEthernet_1_UNIPhysical port 1.
GigabitEthernet_4_UNI | GigabitEthernet_5_UNI |
GigabitEthernet_6_UNI}{enable | disable}}}
GigabitEthernet_2_UNIPhysical port 2.
Example:
Switch(config-controller-SyncE)#
setSyncEclockConfig clock_sel_config
ssm_enable_ports GigabitEthernet_6_UNI enable
GigabitEthernet_3_UNIPhysical port 3.
GigabitEthernet_4_UNIPhysical port 4.
GigabitEthernet_5_UNIPhysical port 5.
GigabitEthernet_6_UNIPhysical port 6.
disableDisables the SSM on the configured port.
enableEnables the SSM on the configured port.
Step 6
setSyncEclockConfig clock_sel_config {source_configs Configures the clock source on the port. Here the
configuration is done on port 5, and the source_config is set
source_configs port Physical port}
to 1.
Example:
Switch(config-controller-SyncE)#
setSyncEclockConfig clock_sel_config source_configs
1 port 5
Step 7
setSyncEclockConfig clock_sel_config {source_configs Sets the clock priority. Here the clock priority is set to 0.
{priority priority}}
priorityClock priority value. Either 0 or 1.
Example:
Switch(config-controller-SyncE)#
setSyncEclockConfig clock_sel_config source_configs
1 priority 0
Step 8
Switch(config-controller-SyncE)#
setSyncEclockConfig clock_sel_config source_configs
1 state enable
Step 9
setSyncEclockConfig clock_sel_config {source_configs Sets the Hold-off timer value. Active loss of clock source
source_configs hold_off {disabled | | value {300 msec to is delayed by the selected amount of time. The clock selector
changes the clock source if the loss of clock condition is
1800 msec}}}
cleared within this time.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
90
Command or Action
Purpose
source_configsnominate a port number to be the
clock source. The range is from 1 to 2.
Example:
Switch(config-controller-SyncE)#
setSyncEclockConfig clock_sel_config source_configs
1 hold_off value 1000
Step 10
setSyncEclockConfig clock_sel_config {source_configs Configures the clock source on the port. Here the
configuration is done on port 6, and the source_config is set
source_configs port Physical port}
to 0.
Example:
Switch(config-controller-SyncE)#
setSyncEclockConfig clock_sel_config source_configs
0 port 5
Step 11
setSyncEclockConfig clock_sel_config {source_configs Sets the clock priority. Here the clock priority is set to 1.
{priority priority }}
priorityClock priority value. Either 0 or 1.
Example:
Switch(config-controller-SyncE)#
setSyncEclockConfig clock_sel_config source_configs
0 priority 1
Step 12
Switch(config-controller-SyncE)#
setSyncEclockConfig clock_sel_config source_configs
0 state enable
Step 13
setSyncEclockConfig clock_sel_config {source_configs Sets the Hold-off timer value. Active loss of clock source
source_configshold_off {disabled | value {300 msec to is delayed by the selected amount of time. The clock selector
changes the clock source if the loss of clock condition is
1800 msec}}}
cleared within this time.
Example:
Switch(config-controller-SyncE)#
setSyncEclockConfig clock_sel_config source_configs
0 hold_off value 800
Step 14
setSyncEclockConfig review
Example:
Switch(config-controller-SyncE)#
setSyncEclockConfig review
Step 15
setSyncEclockConfig commit
Example:
Switch(config-controller-SyncE)#
setSyncEclockConfig commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
91
Step 16
Command or Action
Purpose
exit
Example:
Switch(config-controller-SyncE)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# SyncE
Switch(config-controller-SyncE)# setSyncEclockConfig clock_sel_config ssm_enable_ports
GigabitEthernet_5_UNI enable
Switch(config-controller-SyncE)# setSyncEclockConfig clock_sel_config ssm_enable_ports
GigabitEthernet_6_UNI enable
Switch(config-controller-SyncE)# setSyncEclockConfig clock_sel_config source_configs 1 port
5
Switch(config-controller-SyncE)# setSyncEclockConfig clock_sel_config source_configs 1
priority 0
Switch(config-controller-SyncE)# setSyncEclockConfig clock_sel_config source_configs 1 state
enable
Switch(config-controller-SyncE)# setSyncEclockConfig clock_sel_config source_configs 1
hold_off value 1000
Switch(config-controller-SyncE)# setSyncEclockConfig clock_sel_config source_configs 0 port
6
Switch(config-controller-SyncE)# setSyncEclockConfig clock_sel_config source_configs 0
priority 1
Switch(config-controller-SyncE)# setSyncEclockConfig clock_sel_config source_configs 0 state
enable
Switch(config-controller-SyncE)# setSyncEclockConfig clock_sel_config source_configs 0
hold_off value 800
Switch(config-controller-SyncE)# setSyncEclockConfig review
Commands in queue:
setSyncEclockConfig
setSyncEclockConfig
setSyncEclockConfig
setSyncEclockConfig
setSyncEclockConfig
setSyncEclockConfig
setSyncEclockConfig
setSyncEclockConfig
setSyncEclockConfig
setSyncEclockConfig
clock_sel_config
clock_sel_config
clock_sel_config
clock_sel_config
clock_sel_config
clock_sel_config
clock_sel_config
clock_sel_config
clock_sel_config
clock_sel_config
ssm_enable_ports
ssm_enable_ports
source_configs 1
source_configs 1
source_configs 1
source_configs 1
source_configs 0
source_configs 0
source_configs 0
source_configs 0
GigabitEthernet_5_UNI enable
GigabitEthernet_6_UNI enable
port 5
priority 0
state enable
hold_off value 1000
port 6
priority 1
state enable
hold_off value 800
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
92
WTR Timer
The WTR time is activated on the falling edge of a clock source failure (in Revertive mode). This means that
the clock source is first available for clock selection after WTR Time (can be cleared).
Hold-off Timer
In the Hold-off timer, the active loss of clock source is delayed by the selected amount of time. The clock
selector does not change the clock source if the loss of clock condition is cleared within this time.
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
syncE
Example:
Switch(config-controller)# SyncE
Step 4
setSyncEglobalConfig synce_global_conf
{EEC_Option | SSM_QL_for_freerun |
SSM_QL_for_holdover | clock_select_config |
wait_to_restore}
Step 5
setSyncEglobalConfig synce_global_conf
wait_to_restore wait to restore time
Example:
Switch(config-controller-SyncE)#
setSyncEglobalConfig synce_global_conf
wait_to_restore 1
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
93
Step 6
Command or Action
Purpose
setSyncEglobalConfig synce_global_conf
clock_select_config {freerun | holdover | manual
manually set | nonrevertive | revertive | selected}
Example:
Switch(config-controller-SyncE)#
setSyncEglobalConfig synce_global_conf
clock_select_config revertive
Step 7
setSyncEglobalConfig synce_global_conf
SSM_QL_for_holdover {QL_DNU | QL_EEC1 |
QL_EEC2 | QL_INV | QL_NONE | QL_PRC |
QL_SSUA QL_SSUB}
Example:
Switch(config-controller-SyncE)#
setSyncEglobalConfig synce_global_conf
SSM_QL_for_holdover QL_EEC1
Step 8
setSyncEglobalConfig synce_global_conf
SSM_QL_for_freerun {QL_DNU | QL_EEC1 |
QL_EEC2 | QL_INV | QL_NONE | QL_PRC |
QL_SSUA QL_SSUB}
Example:
Switch(config-controller-SyncE)#
setSyncEglobalConfig synce_global_conf
SSM_QL_for_freerun QL_EEC2
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
94
Step 9
Command or Action
Purpose
setSyncEglobalConfig synce_global_conf
EEC_Option{EEC1 | EEC2}
Example:
Switch(config-controller-SyncE)#
setSyncEglobalConfig synce_global_conf
EEC_Option EEC2
Step 10
setSyncEglobalConfig review
Example:
Switch(config-controller-SyncE)#
setSyncEglobalConfig review
Step 11
setSyncEglobalConfig commit
Example:
Switch(config-controller-SyncE)#
setSyncEglobalConfig commit
Step 12
exit
Example:
Switch(config-controller-SyncE)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# SyncE
Switch(config-controller-SyncE)# setSyncEglobalConfig synce_global_conf wait_to_restore 1
Switch(config-controller-SyncE)# setSyncEglobalConfig synce_global_conf clock_select_config
revertive
Switch(config-controller-SyncE)# setSyncEglobalConfig synce_global_conf SSM_QL_for_holdover
QL_EEC1
Switch(config-controller-SyncE)# setSyncEglobalConfig synce_global_conf SSM_QL_for_freerun
QL_EEC2
Switch(config-controller-SyncE)# setSyncEglobalConfig synce_global_conf EEC_Option EEC2
Switch(config-controller-SyncE)# setSyncEglobalConfig review
Commands in queue:
setSyncEglobalConfig
setSyncEglobalConfig
setSyncEglobalConfig
setSyncEglobalConfig
setSyncEglobalConfig
synce_global_conf
synce_global_conf
synce_global_conf
synce_global_conf
synce_global_conf
wait_to_restore 1
clock_select_config revertive
SSM_QL_for_holdover QL_EEC1
SSM_QL_for_freerun QL_EEC2
EEC_Option EEC2
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
95
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
syncE
Example:
Switch(config-controller)# SyncE
Step 4
getSyncEglobalConfig get_global_config
Example:
Switch(config-controller-SyncE)# getSyncEglobalConfig
get_global_config
Step 5
getSyncEglobalConfig review
Example:
Switch(config-controller-SyncE)# getSyncEglobalConfig
review
Step 6
getSyncEglobalConfig commit
Example:
Switch(config-controller-SyncE)# getSyncEglobalConfig
commit
Step 7
exit
Example:
Switch(config-controller-SyncE)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# SyncE
Switch(config-controller-SyncE)# getSyncEglobalConfig get_global_config
Switch(config-controller-SyncE)# getSyncEglobalConfig review
Commands in queue:
getSyncEglobalConfig get_global_config
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
96
Note
The port in the Locked state always remains negotiated to the Slave.
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
syncE
Example:
Switch (config-controller)# SyncE
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
97
Step 4
Command or Action
Purpose
Example:
Switch(config-controller-SyncE)# setSyncEclockConfig
clock_sel_config source_configs 1 port 2
Step 5
Step 6
setSyncEclockConfig review
Example:
Switch(config-controller-SyncE)# setSyncEclockConfig
review
Step 7
setSyncEclockConfig commit
Example:
Switch(config-controller-SyncE)# setSyncEclockConfig
commit
Step 8
exit
Example:
Switch(config-controller-SyncE)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# SyncE
Switch(config-controller-SyncE)# setSyncEclockConfig clock_sel_config source_configs 1 port
2
Switch(config-controller-SyncE)# setSyncEclockConfig clock_sel_config source_configs 0
aneg_mode prefer_master
Switch(config-controller-SyncE)# setSyncEclockConfig review
Commands in queue:
setSyncEclockConfig clock_sel_config source_configs 1 port 2
setSyncEclockConfig clock_sel_config source_configs 0 aneg_mode prefer_master
Switch(config-controller-SyncE)# setSyncEclockConfig commit
SetSyncEclockConfig Commit Success!!!
Switch(config-controller-SyncE)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
98
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
syncE
Example:
Switch(config-controller)# SyncE
Step 4
showNetworkClock show_synce_status
Example:
Switch(config-controller-SyncE)# showNetworkClock
show_synce_status
Step 5
exit
Example:
Switch(config-controller-SyncE)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# SyncE
Switch(config-controller-SyncE)# showNetworkClock show_synce_status
ShowNetworkClock_Output.show_network_clock.selector_state.t = 2
ShowNetworkClock_Output.show_network_clock.selector_state.u.holdover =
ShowNetworkClock_Output.show_network_clock.alarm_state[0].clock_source
ShowNetworkClock_Output.show_network_clock.alarm_state[0].LOCS = false
ShowNetworkClock_Output.show_network_clock.alarm_state[0].SSM = false
ShowNetworkClock_Output.show_network_clock.alarm_state[0].WTR = false
ShowNetworkClock_Output.show_network_clock.alarm_state[1].clock_source
ShowNetworkClock_Output.show_network_clock.alarm_state[1].LOCS = true
ShowNetworkClock_Output.show_network_clock.alarm_state[1].SSM = false
ShowNetworkClock_Output.show_network_clock.alarm_state[1].WTR = false
ShowNetworkClock_Output.show_network_clock.alarm_state[2].clock_source
ShowNetworkClock_Output.show_network_clock.alarm_state[2].LOCS = true
ShowNetworkClock_Output.show_network_clock.alarm_state[2].SSM = false
ShowNetworkClock_Output.show_network_clock.alarm_state[2].WTR = false
''
= 1
= 2
= 3
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
99
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
100
CHAPTER
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
101
Step 2
Command or Action
Purpose
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionEVC
Example:
Switch (config-controller)# ProvisionEVC
Step 4
Step 5
addEVC review
Example:
Switch(config-controller-ProvisionEVC)# addEVC review
Step 6
addEVC commit
Example:
Switch(config-controller-ProvisionEVC)# addEVC commit
Step 7
exit
Example:
Switch(config-controller-ProvisionEVC)# exit
Switch(config-controller)#
Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionEVC
Switch(config-controller-ProvisionEVC)#
Switch(config-controller-ProvisionEVC)#
Switch(config-controller-ProvisionEVC)#
Switch(config-controller-ProvisionEVC)#
GigabitEthernet_6_NNI enable
Switch(config-controller-ProvisionEVC)#
Switch(config-controller-ProvisionEVC)#
Switch(config-controller-ProvisionEVC)#
addEVC
addEVC
addEVC
addEVC
evcConfiguration
evcConfiguration
evcConfiguration
evcConfiguration
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
102
instance 7
nni_vid 101
learning enable
nni_ports
Creating a Policer
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionEVC
Example:
Switch (config-controller)# ProvisionEVC
Step 4
Example:
Switch(config-controller-ProvisionEVC)#
evc_policer cir 20000
Switch(config-controller-ProvisionEVC)#
evc_policer ebs 30000
Switch(config-controller-ProvisionEVC)#
evc_policer eir 40000
Switch(config-controller-ProvisionEVC)#
evc_policer policer_id 1
Switch(config-controller-ProvisionEVC)#
evc_policer state enabled
addPolicerEVC
addPolicerEVC
addPolicerEVC
addPolicerEVC
addPolicerEVC
Step 5
addPolicerEVC review
Example:
Switch(config-controller-ProvisionEVC)# addPolicerEVC
review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
103
Step 6
Command or Action
Purpose
addPolicerEVC commit
Example:
Switch(config-controller-ProvisionEVC)# addPolicerEVC
commit
AddPolicerEVC Commit Success!!!
Step 7
exit
Example:
Switch(config-controller-ProvisionEVC)# exit
Switch(config-controller)#
Number of policers allowed are 1022. Use the following scale numbers for the ECE or EVC configuration
with or without configuring QoS with tag pop 0, 1, or 2:
Maximum 510 ECEs can be configured with or without configuring QoS (0-7 COS) with one NNI port
to one UNI port.
Maximum of 340 ECEs can be configured with or without configuring QoS (0-7 COS) with two NNI
ports to one UNI or one NNI port to two UNI ports.
Maximum of 255 ECEs can be configured with or without configuring QoS (0-7 COS) with three NNI
ports to one UNI port or one NNI port to three UNI ports.
Maximum of 170 ECEs can be configured with or without configuring QoS (0-7 COS) with four NNI
ports to one UNI port or one NNI port to four UNI ports.
Maximum of 128 ECEs can be configured with or without configuring QoS (0-7 COS) with five NNI
ports to one UNI port or one NNI port to five UNI ports.
If OAM, HQoS, or EFP is configured on the Cisco ME 1200 NID, you can configure the following maximum
service instances on every UNI interface:
64 ECE or EVC with eight COS classes.
104 ECE or EVC with four COS classes.
104 ECE or EVC with two COS classes.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
104
Note
Advanced NNI: Each EVC on the NNI port has separate QoS mapping and statistics.
In the following example, multiple ECE rules are created:
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionEVC
Example:
Example:
Switch(config-controller-ProvisionEVC)# addECE
ece_configuration ece_id 2
Step 5
addECE ece_configuration control actions {class {disabled | Adds the ECE control action configuration.
specific specific_id} | direction {bothnni_to_uni |uni_to_nni} |
classSpecifies the ECE class.
drop_precedence {disabled | one | zero} | evc_id {none | specific
specific_eve_id} | policer_id {discard | evc | none | specific
directionSpecifies the direction of flow of
specific_id} | policy_id acl_policy_id | tag_pop_count
traffic.
tag_pop_count}
drop_precedenceSpecifies the drop precedence
(higher value means more dropping).
Example:
Switch(config-controller-ProvisionEVC)# addECE
ece_configuration control actions evc_id specific 7
Switch(config-controller-ProvisionEVC)# addECE
ece_configuration control actions tag_pop_count 1
Switch(config-controller-ProvisionEVC)# addECE
ece_configuration control actions policer_id specific
1
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
105
Command or Action
Switch(config-controller-ProvisionEVC)# addECE
ece_configuration control actions class specific 4
Purpose
policy_idSpecifies the ACL policy ID. The
valid values are from 0 to 63.
tag_pop_countSpecifies the tagged VLAN
count to be removed (either one or two outermost
tags).
Step 6
addECE ece_configuration control egress-inner-tagaddECE Adds the ECE control egress inner tag rewrite
ece_configuration control egress_inner_tag {dei-modedei_mode configuration.
{classified | drop_prec | fixed} | dei_value dei | pcp_mode
dei_modeSpecifies the DEI modewhether
{classified | fixed | mapped} | pcp_value pcp_value | type type |
classified, drop precedence, or fixed.
vlan_id vlan_id}
dei_valueSpecifies the DEI value. The valid
values are 0 and 1.
Example:
Switch(config-controller-ProvisionEVC)# addECE
ece_configuration control egress_inner_tag dei_mode
classified
Switch(config-controller-ProvisionEVC)# addECE
ece_configuration control egress_inner_tag type none
Switch(config-controller-ProvisionEVC)# addECE
ece_configuration control egress_inner_tag vlan_id 3
Step 7
addECE ece_configuration control egress_outer_tag {dei_mode Adds the ECE control egress outer tag rewrite
configuration.
{classified | drop_prec | fixed} | dei_value dei_value | mode
{enabled | disabled} | pcp_mode {classified | fixed | mapped}
dei_modeSpecifies the DEI modewhether
| pcp_value pcp_value | vlan_id vlan_id
classified, drop precedence, or fixed.
Example:
Switch(config-controller-ProvisionEVC)# addECE
ece_configuration control egress_outer_tag pcp_mode
fixed
Switch(config-controller-ProvisionEVC)# addECE
ece_configuration control egress_outer_tag pcp_value 4
Step 8
addECE ece_configuration control ingress_match {frame_type Adds the ECE control ingress inner tag rewrite
configuration.
{any | ipv4 {dest_ip_filter | source_ip_filter} | ipv6
{dest_ip_filter | source_ip_filter}} | inner_tag_match
frame_typeSpecifies the type of frame relay.
{match_fields | match_type} | mac_params {dmac_filer |
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
106
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionEVC)# addECE
ece_configuration control ingress_match uni_ports
GigabitEthernet_2_UNI enable
Switch(config-controller-ProvisionEVC)# addECE
ece_configuration control ingress_match outer_tag_match
match_type c_tagged
Switch(config-controller-ProvisionEVC)# addECE
ece_configuration control ingress_match outer_tag_match
match_fields vlan_id_filter specific 100
Switch(config-controller-ProvisionEVC)# addECE
ece_configuration control ingress_match outer_tag_match
match_fields inner_pcp val_4-7
Step 9
addECE review
Example:
Switch(config-controller-ProvisionEVC)# addECE review
Step 10
addECE commit
Example:
Switch(config-controller-ProvisionEVC)# addECE commit
Step 11
exit
Example:
Switch(config-controller-ProvisionEVE)# exit
Switch(config-controller)#
Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionEVC
Switch(config-controller-ProvisionEVC)# addECE ece_configuration ece_id 1
Switch(config-controller-ProvisionEVC)# addECE ece_configuration ece_id 1
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control actions evc_id
specific 777
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control actions tag_pop_count
1
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control actions policer_id
none
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control ingress_match
uni_ports GigabitEthernet_2_UNI enable
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control ingress_match
outer_tag_match match_type c_tagged
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control ingress_match
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
107
Note
The configuration steps are similar to the ones mentioned in the Configuring ECE Sample Rule 1section.
Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionEVC
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control actions evc_id
specific 7
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control actions tag_pop_count
1
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control actions policer_id
specific 1
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control actions class
specific 0
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control ingress_match
uni_ports GigabitEthernet_2_UNI enable
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control ingress_match
outer_tag_match match_type c_tagged
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control ingress_match
outer_tag_match match_fields vlan_id_filter specific 99
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control ingress_match
outer_tag_match match_fields inner_pcp val_0-3
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control egress_outer_tag
pcp_mode fixed
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control egress_outer_tag
pcp_value 0
Switch(config-controller-ProvisionEVC)# addECE commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
108
Note
The configuration steps are similar to the ones mentioned in the Configuring ECE Sample Rule 1 section.
Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionEVC
Switch(config-controller-ProvisionEVC)#
Switch(config-controller-ProvisionEVC)#
specific 7
Switch(config-controller-ProvisionEVC)#
specific 4
Switch(config-controller-ProvisionEVC)#
uni_ports GigabitEthernet_2_UNI enable
Switch(config-controller-ProvisionEVC)#
pcp_mode fixed
Switch(config-controller-ProvisionEVC)#
pcp_value 4
Switch(config-controller-ProvisionEVC)#
Note
The configuration steps are similar to the ones mentioned in the Configuring ECE Sample Rule 1 section.
Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionEVC
Switch(config-controller-ProvisionEVC)# addECE ece_configuration ece_id 4
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control actions evc_id
specific 7
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control actions tag_pop_count
1
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control actions policer_id
specific 1
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control ingress_match
uni_ports GigabitEthernet_2_UNI enable
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control ingress_match
outer_tag_match match_type c_tagged
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control ingress_match
outer_tag_match match_fields vlan_id_filter specific 99
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control egress_inner_tag
type c_tagged
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control egress_inner_tag
vlan_id 77
Switch(config-controller-ProvisionEVC)# addECE commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
109
Note
The configuration steps are similar to the ones mentioned in the Configuring ECE Sample Rule 1 section.
Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionEVC
Switch(config-controller-ProvisionEVC)#
Switch(config-controller-ProvisionEVC)#
nni_to_uni
to pass
Switch(config-controller-ProvisionEVC)#
specific 7
to an EVC configured above.
Switch(config-controller-ProvisionEVC)#
uni_ports GigabitEthernet_2_UNI enable
Switch(config-controller-ProvisionEVC)#
enabled
Switch(config-controller-ProvisionEVC)#
vlan_id 78
Switch(config-controller-ProvisionEVC)#
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
110
The following diagram shows an ethernet private (EP) line with 1-to-1 port protection on the network-network
interface (NNI) side. This setup requires more resources compared to the unprotected EP-Line, because rules
must be added for both NNI ports.
Figure 6: Port Protected E-LAN
The following diagram shows an ethernet LAN with ring protection on the network-network interface (NNI)
side. The resource consumption is similar to the port protection scenario, because rules are added for each
NNI port.
Figure 7: Ring-Protected E-LAN
Configuring ECE for E-LAN Between Two UNI and NNI Ports
For more information on configuring ECE, see the EVC Control Entry (ECE) Configuration section.
ECE Rule 1 on UNI Interface 3
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionEVC
Switch(config-controller-ProvisionEVC)# addECE ece_configuration ece_id 6
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control actions tag_pop_count
1
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control actions evc_id
specific 9
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control actions policer_id
specific 1
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control ingress_match
uni_ports GigabitEthernet_3_UNI enable
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control ingress_match
outer_tag_match match_type c_tagged
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control ingress_match
outer_tag_match match_fields vlan_id_filter specific 500
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
111
Note
Tag POP count is 1 for E-LAN service, that is, all frames are passed to the EVC popping one tag in the
direction from UNI to NNI and pushing one tag in the other direction.
addEVC
addEVC
addEVC
addEVC
addEVC
evcConfiguration
evcConfiguration
evcConfiguration
evcConfiguration
evcConfiguration
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
112
instance 9
internal_vid 400
nni_vid 400
learning enable
nni_ports
Thie following section describes the configuration of the EVPL service between the UNI and NNI ports.
Note
The above ECE rule allows all VLANs ranging from 300 to 350. However, if you need to filter specific
VLANs then you must create individual ECE rules. For more information, see Configuring ECE Sample
Rule 1.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
113
Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionEVC
Switch(config-controller-ProvisionEVC)#
Switch(config-controller-ProvisionEVC)#
Switch(config-controller-ProvisionEVC)#
Switch(config-controller-ProvisionEVC)#
Switch(config-controller-ProvisionEVC)#
GigabitEthernet_5_NNI enable
Switch(config-controller-ProvisionEVC)#
Switch(config-controller-ProvisionEVC)#
Switch(config-controller-ProvisionEVC)#
addEVC
addEVC
addEVC
addEVC
addEVC
evcConfiguration
evcConfiguration
evcConfiguration
evcConfiguration
evcConfiguration
instance 8
internal_vid 200
nni_vid 200
learning enable
nni_ports
Note
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
114
Editing Configuration
Use this command to edit the ECE configuration.
editECEConfiguration ece_update_configuration {ece_id ece_id | update {class | direction |
drop_precedence | evc_id | policer_id | rule_type | tag_pop_count | tx_lookup}}
Switch(config-controller-ProvisionEVC)# editECEConfiguration ece_update_configuration
<1-1024>
Switch(config-controller-ProvisionEVC)# editECEConfiguration ece_update_configuration
class disabled
Switch(config-controller-ProvisionEVC)# editECEConfiguration ece_update_configuration
class specific <0-7>
Switch(config-controller-ProvisionEVC)# editECEConfiguration ece_update_configuration
direction both
Switch(config-controller-ProvisionEVC)# editECEConfiguration ece_update_configuration
direction nni_to_uni
Switch(config-controller-ProvisionEVC)# editECEConfiguration ece_update_configuration
direction uni_to_nni
Switch(config-controller-ProvisionEVC)# editECEConfiguration ece_update_configuration
drop_precedence disabled
Switch(config-controller-ProvisionEVC)# editECEConfiguration ece_update_configuration
drop_precedence one
Switch(config-controller-ProvisionEVC)# editECEConfiguration ece_update_configuration
drop_precedence zero
Switch(config-controller-ProvisionEVC)# editECEConfiguration ece_update_configuration
evc_id none
Switch(config-controller-ProvisionEVC)# editECEConfiguration ece_update_configuration
evc_id specific <1-1024>
Switch(config-controller-ProvisionEVC)# editECEConfiguration ece_update_configuration
policer_id discard
Switch(config-controller-ProvisionEVC)# editECEConfiguration ece_update_configuration
policer_id evc
Switch(config-controller-ProvisionEVC)# editECEConfiguration ece_update_configuration
policer_id none
Switch(config-controller-ProvisionEVC)# editECEConfiguration ece_update_configuration
policer_id specific
Switch(config-controller-ProvisionEVC)# editECEConfiguration ece_update_configuration
policy_id <0-63>
Switch(config-controller-ProvisionEVC)# editECEConfiguration ece_update_configuration
rule_type both
Switch(config-controller-ProvisionEVC)# editECEConfiguration ece_update_configuration
rule_type rx
Switch(config-controller-ProvisionEVC)# editECEConfiguration ece_update_configuration
rule_type tx
Switch(config-controller-ProvisionEVC)# editECEConfiguration ece_update_configuration
tag_pop_count <0-2>
Switch(config-controller-ProvisionEVC)# editECEConfiguration ece_update_configuration
tx_lookup isdx
Switch(config-controller-ProvisionEVC)# editECEConfiguration ece_update_configuration
tx_lookup vid_only
Switch(config-controller-ProvisionEVC)# editECEConfiguration ece_update_configuration
tx_lookup vid_pcp
Switch(config-controller-ProvisionEVC)# editECEConfiguration review
Switch(config-controller-ProvisionEVC)# editECEConfiguration commit
ece_id
update
update
update
update
update
update
update
update
update
update
update
update
update
update
update
update
update
update
update
update
update
update
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
115
internal_vid <1-4095>
Switch(config-controller-ProvisionEVC)#
learning
Switch(config-controller-ProvisionEVC)#
nni_ports
Switch(config-controller-ProvisionEVC)#
nni_vid
Switch(config-controller-ProvisionEVC)#
policer_id
Switch(config-controller-ProvisionEVC)#
Switch(config-controller-ProvisionEVC)#
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
116
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
117
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
118
CHAPTER
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionPortVlanPortType
Example:
Switch(config-controller)# ProvisionPortVlanPortType
Step 4
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanCommand createVlanReq vlan_list 100-4095
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
119
Step 5
Command or Action
Purpose
createVlanCommand review
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanCommand review
Step 6
createVlanCommand commit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanCommand commit
Step 7
exit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
exit
Switch(config-controller)#
Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionPortVlanPortType
Switch(config-controller-ProvisionPortVlanPortType)# createVlanCommand createVlanReq vlan_list
100-4095
Switch(config-controller-ProvisionPortVlanPortType)# createVlanCommand review
Commands in queue:
createVlanCommand createVlanReq vlan_list 100-4095
Switch(config-controller-ProvisionPortVlanPortType)# createVlanCommand commit
Vlan Creation Commit Success!!!
Commands in queue:
showVlans showVlanRequest brief
Switch(config-controller-ProvisionPortVlanPortType)# showVlans commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
120
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionPortVlanPortType
Example:
Switch(config-controller)# ProvisionPortVlanPortType
Step 4
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
deleteVlanCommand deleteVlanReq vlan_list 100-4095
Step 5
deleteVlanCommand review
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
deleteVlanCommand review
Step 6
deleteVlanCommand commit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
deleteVlanCommand commit
Step 7
exit
Example:
Switch(config-controller-ProvisionPortVlanPortType)# exit
Switch(config-controller)#
Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionPortVlanPortType
Switch(config-controller-ProvisionPortVlanPortType)# deleteVlanCommand deleteVlanReq vlan_list
100-4095
Switch(config-controller-ProvisionPortVlanPortType)# deleteVlanCommand review
Commands in queue:
deleteVlanCommand deleteVlanReq vlan_list 100-4095
Switch(config-controller-ProvisionPortVlanPortType)# deleteVlanCommand commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
121
DeleteVlanCommand_Output.deleteVlanResp = 0
Vlan Deletion Commit Success!!!
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionPortVlanPortType
Example:
Switch(config-controller)# ProvisionPortVlanPortType
Step 4
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createIntVlan createIntVlanReq vlan_id 22
Step 5
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createIntVlan createIntVlanReq address ipv4 ipv4_address
address 22.22.22.3
Switch(config-controller-ProvisionPortVlanPortType)#
createIntVlan createIntVlanReq address ipv4 ipv4_address mask
255.255.255.0
Switch(config-controller-ProvisionPortVlanPortType)#
createIntVlan createIntVlanReq address ipv6 ipv6_address
2001:4::1/64
Step 6
createIntVlan review
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createIntVlan review
Step 7
createIntVlan commit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createIntVlan commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
122
Step 8
Command or Action
Purpose
exit
Example:
Switch(config-controller-ProvisionPortVlanPortType)# exit
Switch(config-controller)
Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionPortVlanPortType
Switch(config-controller-ProvisionPortVlanPortType)#
22
Switch(config-controller-ProvisionPortVlanPortType)#
ipv4 ipv4_address address 22.22.22.3
Switch(config-controller-ProvisionPortVlanPortType)#
ipv4 ipv4_address mask 255.255.255.0
Switch(config-controller-ProvisionPortVlanPortType)#
Commands in queue:
createIntVlan createIntVlanReq vlan_id 22
createIntVlan createIntVlanReq address ipv4 ipv4_address address 22.22.22.3
createIntVlan createIntVlanReq address ipv4 ipv4_address mask 255.255.255.0
Switch(config-controller-ProvisionPortVlanPortType)# createIntVlan commit
CreateIntVlan_Output.createIntVlanResp = 0
Create Interface Vlan Commit Success!!!
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionPortVlanPortType
Switch(config-controller-ProvisionPortVlanPortType)# createIntVlan createIntVlanReq vlan_Id
22
Switch(config-controller-ProvisionPortVlanPortType)# createIntVlan createIntVlanReq address
ipv6 ipv6_address 2001:4::1/64
Switch(config-controller-ProvisionPortVlanPortType)# createIntVlan review
Commands in queue:
createIntVlan createIntVlanReq vlan_id 22
createIntVlan createIntVlanReq address ipv6 ipv6_address 2001:4::1/64
Switch(config-controller-ProvisionPortVlanPortType)# createIntVlan commit
CreateIntVlan_Output.createIntVlanResp = 0
Create Interface Vlan Commit Success!!!
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
123
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionPortVlanPortType
Example:
Switch(config-controller)# ProvisionPortVlanPortType
Step 4
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createIntVlan createIntVlanReq vlan_id 23
Step 5
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createIntVlan createIntVlanReq address ipv4 dhcp
Step 6
createIntVlan review
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createIntVlan review
Step 7
createIntVlan commit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createIntVlan commit
Step 8
exit
Example:
Switch(config-controller-ProvisionPortVlanPortType)# exit
Switch(config-controller)
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
124
Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionPortVlanPortType
Switch(config-controller-ProvisionPortVlanPortType)# createIntVlan createIntVlanReq vlan_Id
23
Switch(config-controller-ProvisionPortVlanPortType)# createIntVlan createIntVlanReq address
ipv4 dhcp
Switch(config-controller-ProvisionPortVlanPortType)# createIntVlan review
Commands in queue:
createIntVlan createIntVlanReq vlan_id 23
createIntVlan createIntVlanReq address ipv4 dhcp
Switch(config-controller-ProvisionPortVlanPortType)# createIntVlan commit
CreateIntVlan_Output.createIntVlanResp = 0
Create Interface Vlan Commit Success!!!
Commands in queue:
showIntVlan showIntVlanReq vlan_list 23
Switch(config-controller-ProvisionPortVlanPortType)# showIntVlan commit
ShowIntVlan_Output.showIntVlanResp.vlan_list[0].vlan_id = 23
ShowIntVlan_Output.showIntVlanResp.vlan_list[0].Link = 'LINK:
00-3a-99-fd-4d-05 Mtu:1500'
ShowIntVlan_Output.showIntVlanResp.vlan_list[0].dhcp = 'DHCP'
ShowIntVlan_Output.showIntVlanResp.vlan_list[0].ipv6_address = 'IPv6
Address not configured'
Show Interface Vlan Commit Success!!!
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
125
Step 3
Command or Action
Purpose
ProvisionPortVlanPortType
Example:
Switch(config-controller)# ProvisionPortVlanPortType
Step 4
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
deleteIntVlan deleteIntVlanReq vlan_list 23
Step 5
deleteIntVlan review
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
deleteIntVlan review
Step 6
deleteIntVlan commit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
deleteIntVlan commit
Step 7
exit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
exit
Switch(config-controller)#
Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionPortVlanPortType
Switch(config-controller-ProvisionPortVlanPortType)# deleteIntVlan deleteIntVlanReq vlan_list
23
Switch(config-controller-ProvisionPortVlanPortType)# deleteIntVlan review
Commands in queue:
deleteIntVlan deleteIntVlanReq vlan_list 23
Switch(config-controller-ProvisionPortVlanPortType)# deleteIntVlan commit
DeleteIntVlan_Output.deleteIntVlanResp = 0
Delete Interface Vlan Commit Success!!!
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
126
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionPortVlanPortType
Example:
Switch(config-controller)# ProvisionPortVlanPortType
Step 4
Step 5
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanTranslationGroup createVlanTranslationGroupReq
vlan_id 22
Step 6
createVlanTranslationGroup review
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanTranslationGroup review
Step 7
createVlanTranslationGroup commit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanTranslationGroup commit
Step 8
exit
Example:
Switch(config-controller-ProvisionPortVlanPortType)# exit
Switch(config-controller)
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
127
Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionPortVlanPortType
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanTranslationGroupReq group_Id 3
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanTranslationGroupReq vlan_id 22
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanTranslationGroupReq vlan_list 100,101,102
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanTranslationGroup
createVlanTranslationGroup
createVlanTranslationGroup
createVlanTranslationGroup review
Commands in queue:
createVlanTranslationGroup createVlanTranslationGroupReq group_Id 3
createVlanTranslationGroup createVlanTranslationGroupReq vlan_id 22
createVlanTranslationGroup createVlanTranslationGroupReq vlan_list 100,101,102
Switch(config-controller-ProvisionPortVlanPortType)# createVlanTranslationGroup commit
CreateVlanTranslationGroup_Output.createVlanTranslationGroupResp = 0
Create VlanTranslation Commit Success!!!
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionPortVlanPortType
Example:
Switch(config-controller)# ProvisionPortVlanPortType
Step 4
deleteVlanTranslation deleteVlanTranslationGroupReq
group_idgroup_id
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
deleteVlanTranslation deleteVlanTranslationGroupReq
group_id 3
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
128
Step 5
Command or Action
Purpose
deleteVlanTranslation deleteVlanTranslationGroupReq
deleteVlanReq vlan_list vlan_list
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
deleteVlanTranslation deleteVlanTranslationGroupReq
vlan_list 2,3
Step 6
deleteVlanTranslation review
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
deleteVlanTranslation review
Step 7
deleteVlanTranslation commit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
deleteVlanTranslation commit
Step 8
exit
Example:
Switch(config-controller-ProvisionPortVlanPortType)# exit
Switch(config-controller)#
Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionPortVlanPortType
Switch(config-controller-ProvisionPortVlanPortType)# deleteVlanTranslation
deleteVlanTranslationGroupReq group_id 3
Switch(config-controller-ProvisionPortVlanPortType)# deleteVlanTranslation
deleteVlanTranslationGroupReq vlan_list 100,101,102
Switch(config-controller-ProvisionPortVlanPortType)# deleteVlanTranslation review
Commands in queue:
deleteVlanTranslation deleteVlanTranslationGroupReq group_id 3
deleteVlanTranslation deleteVlanTranslationGroupReq vlan_list 100,101,102
Switch(config-controller-ProvisionPortVlanPortType)# deleteVlanTranslation commit
DeleteVlanTranslation_Output.deleteVlanTranslationGroupResp = 0
Delete VlanTranslation Commit Success!!!
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
129
Commands in queue:
showVlanTranslation showVlanTranslationGroupReq all
Switch(config-controller-ProvisionPortVlanPortType)# showVlanTranslation commit
ShowVlanTranslation_Output.showVlanTranslationGroupResp[0].group_id = 3
ShowVlanTranslation_Output.showVlanTranslationGroupResp[0].vlan_list =
100
ShowVlanTranslation_Output.showVlanTranslationGroupResp[0].transvlan_id
= 22
ShowVlanTranslation_Output.showVlanTranslationGroupResp[1].group_id = 3
ShowVlanTranslation_Output.showVlanTranslationGroupResp[1].vlan_list =
101
ShowVlanTranslation_Output.showVlanTranslationGroupResp[1].transvlan_id
= 22
ShowVlanTranslation_Output.showVlanTranslationGroupResp[2].group_id = 3
ShowVlanTranslation_Output.showVlanTranslationGroupResp[2].vlan_list =
102
ShowVlanTranslation_Output.showVlanTranslationGroupResp[2].transvlan_id
= 22
Show VlanTranslation Commit Success!!!
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionPortVlanPortType
Example:
Switch(config-controller)# ProvisionPortVlanPortType
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
130
Command or Action
Step 4
Purpose
createVlanMapping createVlanMappingReq group_id group_id Creates the VLAN mapping group ID.
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanMapping createVlanMappingReq group_id 3
Step 5
createVlanMapping createVlanMappingReq interface interface_id Creates the VLAN mapping on the specified
interface.
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanMapping createVlanMappingReq interface 5
Step 6
createVlanMapping review
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanMapping review
Step 7
createVlanMapping commit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanMapping commit
Step 8
exit
Example:
Switch(config-controller-ProvisionPortVlanPortType)# exit
Switch(config-controller)
Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionPortVlanPortType
Switch(config-controller-ProvisionPortVlanPortType)# createVlanMapping createVlanMappingReq
group_id 3
Switch(config-controller-ProvisionPortVlanPortType)# createVlanMapping createVlanMappingReq
interface 5
Switch(config-controller-ProvisionPortVlanPortType)# createVlanMapping review
Commands in queue:
createVlanMapping createVlanMappingReq group_id 3
createVlanMapping createVlanMappingReq interface 5
Switch(config-controller-ProvisionPortVlanPortType)# createVlanMapping commit
CreateVlanMapping_Output.createVlanMappingResp = 0
Create VlanMapping Commit Success!!!
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
131
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionPortVlanPortType
Example:
Switch(config-controller)# ProvisionPortVlanPortType
Step 4
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
deleteVlanMapping deleteVlanMappingReq interface 5
Step 5
deleteVlanMapping review
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
deleteVlanMapping review
Step 6
deleteVlanMapping commit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
deleteVlanMapping commit
Step 7
exit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
exit
Switch(config-controller)#
Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionPortVlanPortType
Switch(config-controller-ProvisionPortVlanPortType)# deleteVlanMapping deleteVlanMappingReq
interface 5
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
132
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionPortVlanPortType
Example:
Switch(config-controller)# ProvisionPortVlanPortType
Step 4
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort modifySWPortConfig interaface 4
Step 5
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort modifySWPortConfig interface 4
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort modifySWPortConfig intf-description
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort modifySWPortConfig mode
Step 6
modifySwPort modifySWPortConfig mode access vlan vlan_id Sets the mode to ACCESS, and assigns a VLAN.
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort modifySWPortConfig mode
trunk native vlan 2
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
133
Step 7
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort modifySWPortConfig mode
trunk allowed vlan add vlan_list 1-5
Step 8
modifySwPort review
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort review
Step 9
modifySwPort commit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort commit
Step 10
exit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
exit
Switch(config-controller)#
Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionPortVlanPortType
Switch(config-controller-ProvisionPortVlanPortType)#
interaface 4
Switch(config-controller-ProvisionPortVlanPortType)#
trunk native vlan 2
Switch(config-controller-ProvisionPortVlanPortType)#
trunk allowed vlan add vlan_list 200-225
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort modifySWPortConfig
modifySwPort modifySWPortConfig mode
modifySwPort modifySWPortConfig mode
modifySwPort review
Commands in queue:
modifySwPort modifySWPortConfig interaface 4
modifySwPort modifySWPortConfig mode trunk native vlan 2
modifySwPort modifySWPortConfig mode trunk allowed vlan add vlan_list 200-225
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort commit
ModifySwPort_Output.modifySwPortConfigResp = 0
Modify SwitchPort Commit Success!!!
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
134
Note
To configure the Switch Port mode as hybrid and the Port description, use modifySwPort_v2. In addition
to the available parameters for modifySwPort, the following are the new parameters available:
hybrid - Sets mode to HYBRID unconditionally.
intf_description description - Configures interface description.
Example
The following example shows how to configure Switch Port mode as hybrid using modifySwPort_v2.
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionPortVlanPortType
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort_v2 modifySWConfig interaface
1
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort_v2 modifySWConfig mode
hybrid allowed vlan remove vlan_list 1-100
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort-v2 modifySWConfig mode
hybrid port_type c_port
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort_v2 modifySWConfig mode
hybrid ingress_filtering enable
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort_v2 modifySWConfig mode
hybrid ingress_acceptance tagged
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort_v2 modifySWConfig mode
hybrid egress_tag all
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort_v2 modifySWConfig mode
hybrid native vlan 10
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort_v2 review
Commands in queue:
modifySwPort_v2
modifySwPort_v2
modifySwPort_v2
modifySwPort_v2
modifySwPort_v2
modifySwPort_v2
modifySwPort_v2
modifySWConfig
modifySWConfig
modifySWConfig
modifySWConfig
modifySWConfig
modifySWConfig
modifySWConfig
interaface 1
mode hybrid allowed vlan remove vlan_list 1-100
mode hybrid port_type c_port
mode hybrid ingress_filtering enable
mode hybrid ingress_acceptance tagged
mode hybrid egress_tag all
mode hybrid native vlan 10
Example
The following example shows how to configure interface description using modifySwPort_v2.
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionPortVlanPortType
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort_v2 modifySWConfig interaface
1
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort_v2 modifySWConfig
intf_description description connected_to_r1
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort_v2 review
Commands in queue:
modifySwPort_v2 modifySWConfig interaface 1
modifySwPort_v2 modifySWConfig intf_description description connected_to_r1
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort_v2 commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
135
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionPortVlanPortType
Example:
Switch(config-controller)# ProvisionPortVlanPortType
Step 4
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
deleteSwPort deleteSwPortReq interaface 5
Step 5
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
deleteSwPort deleteSwPortReq mode access
Step 6
deleteSwPort review
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
deleteSwPort review
Step 7
deleteSwPort commit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
deleteSwPort commit
Step 8
exit
Example:
Switch(config-controller-ProvisionPortVlanPortType)# exit
Switch(config-controller)#
Example
Switch# configure terminal
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
136
Commands in queue:
showSwPort showSwPortReq all all
Switch(config-controller-ProvisionPortVlanPortType)# showSwPort commit
ShowSwPort_Output.showSwPortResp.interface_list[0].name = 'GigabitEthernet
1/1'
ShowSwPort_Output.showSwPortResp.interface_list[0].admin_mode = 'trunk'
ShowSwPort_Output.showSwPortResp.interface_list[0].access_mode = 1
ShowSwPort_Output.showSwPortResp.interface_list[0].trunk_mode = 1
ShowSwPort_Output.showSwPortResp.interface_list[0].trunk_members = '1-4095'
ShowSwPort_Output.showSwPortResp.interface_list[1].name = 'GigabitEthernet
1/2'
ShowSwPort_Output.showSwPortResp.interface_list[1].admin_mode = 'trunk'
ShowSwPort_Output.showSwPortResp.interface_list[1].access_mode = 1
ShowSwPort_Output.showSwPortResp.interface_list[1].trunk_mode = 1
ShowSwPort_Output.showSwPortResp.interface_list[1].trunk_members = '1-4095'
ShowSwPort_Output.showSwPortResp.interface_list[2].name = 'GigabitEthernet
1/3'
ShowSwPort_Output.showSwPortResp.interface_list[2].admin_mode = 'trunk'
ShowSwPort_Output.showSwPortResp.interface_list[2].access_mode = 1
ShowSwPort_Output.showSwPortResp.interface_list[2].trunk_mode = 1
ShowSwPort_Output.showSwPortResp.interface_list[2].trunk_members = '1-4095'
ShowSwPort_Output.showSwPortResp.interface_list[3].name = 'GigabitEthernet
1/4'
ShowSwPort_Output.showSwPortResp.interface_list[3].admin_mode = 'trunk'
ShowSwPort_Output.showSwPortResp.interface_list[3].access_mode = 1
ShowSwPort_Output.showSwPortResp.interface_list[3].trunk_mode = 2
ShowSwPort_Output.showSwPortResp.interface_list[3].trunk_members = '1-4095'
ShowSwPort_Output.showSwPortResp.interface_list[4].name = 'GigabitEthernet
1/5'
ShowSwPort_Output.showSwPortResp.interface_list[4].admin_mode = 'access'
ShowSwPort_Output.showSwPortResp.interface_list[4].access_mode = 120
ShowSwPort_Output.showSwPortResp.interface_list[4].trunk_mode = 1
ShowSwPort_Output.showSwPortResp.interface_list[4].trunk_members = '1-4095'
ShowSwPort_Output.showSwPortResp.interface_list[5].name = 'GigabitEthernet
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
137
1/6'
ShowSwPort_Output.showSwPortResp.interface_list[5].admin_mode = 'access'
ShowSwPort_Output.showSwPortResp.interface_list[5].access_mode = 1
ShowSwPort_Output.showSwPortResp.interface_list[5].trunk_mode = 1
ShowSwPort_Output.showSwPortResp.interface_list[5].trunk_members = '1-4095'
Show SwitchPort Commit Success!!!
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
138
CHAPTER
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
139
The STP uses a spanning-tree algorithm to select one switch of a redundantly connected network as the root
of the spanning tree. The algorithm calculates the best loop-free path through a switched Layer 2 network by
assigning a role to each port based on the role of the port in the active topology:
RootA forwarding port elected for the spanning-tree topology
DesignatedA forwarding port elected for every switched LAN segment
AlternateA blocked port providing an alternate path to the root bridge in the spanning tree
BackupA blocked port in a loopback configuration
The switch that has all of its ports as the designated role or the backup role is the root switch. The switch that
has at least one of its ports in the designated role is called the designated switch.
Spanning tree forces redundant data paths into a standby (blocked) state. If a network segment in the spanning
tree fails and a redundant path exists, the spanning-tree algorithm recalculates the spanning-tree topology and
activates the standby path. Switches send and receive spanning-tree frames, called bridge protocol data units
(BPDUs), at regular intervals. The switches do not forward these frames but use them to construct a loop-free
path. BPDUs contain information about the sending switch and its ports, including switch and MAC addresses,
switch priority, port priority, and path cost. Spanning tree uses this information to elect the root switch and
root port for the switched network and the root port and designated port for each switched segment.
When two ports on a switch are part of a loop, the spanning-tree port priority and path cost settings control
which port is put in the forwarding state and which is put in the blocking state. The spanning-tree port priority
value represents the location of a port in the network topology and how well it is located to pass traffic. The
path cost value represents the media speed.
Note
The switch sends keepalive messages (to ensure the connection is up) only on interfaces that do not have
small form-factor pluggable (SFP) modules.
Spanning-Tree Topology and BPDUs
The stable, active spanning-tree topology of a switched network is controlled by these elements:
The unique bridge ID (switch priority and MAC address) associated with each VLAN on each switch.
The spanning-tree path cost to the root switch.
The port identifier (port priority and MAC address) associated with each Layer 2 STP-enabled interface.
When the switches in a network are powered up, each functions as the root switch. Each switch sends a
configuration BPDU through all of its ports, or on the Cisco ME device, only through the STP-enabled ports.
The BPDUs communicate and compute the spanning-tree topology. Each configuration BPDU contains this
information:
The unique bridge ID of the switch that the sending switch identifies as the root switch
The spanning-tree path cost to the root
The bridge ID of the sending switch
Message age
The identifier of the sending interface
Values for the hello, forward delay, and max-age protocol timers
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
140
When a switch receives a configuration BPDU that contains superior information (lower bridge ID, lower
path cost, and so forth), it stores the information for that port. If this BPDU is received on the root port of the
switch, the switch also forwards it with an updated message to all attached LANs for which it is the designated
switch.
If a switch receives a configuration BPDU that contains inferior information to that currently stored for that
port, it discards the BPDU. If the switch is a designated switch for the LAN from which the inferior BPDU
was received, it sends that LAN a BPDU containing the up-to-date information stored for that port. In this
way, inferior information is discarded, and superior information is propagated on the network
For more information on BPDUs, see Configuring Optional Spanning-Tree features.
Spanning-Tree Interface States
Propagation delays can occur when protocol information passes through a switched LAN. As a result, topology
changes can take place at different times and at different places in a switched network. When an STP port
transitions directly from nonparticipation in the spanning-tree topology to the forwarding state, it can create
temporary data loops. Interfaces must wait for new topology information to propagate through the switched
LAN before starting to forward frames. They must allow the frame lifetime to expire for forwarded frames
that have used the old topology.
Each Layer 2 interface on a switch using spanning tree exists in one of these states:
BlockingThe interface does not participate in frame forwarding.
ListeningThe first transitional state after the blocking state when the spanning tree determines that
the interface should participate in frame forwarding.
LearningThe interface prepares to participate in frame forwarding.
ForwardingThe interface forwards frames.
DisabledThe interface is not participating in spanning tree because of a shutdown port, no link on the
port, or no spanning-tree instance running on the port.
Configuring Port Priority
If a loop occurs, spanning tree uses the port priority when selecting a spanning-tree port to put into the
forwarding state. You can assign higher priority values (lower numerical values) to ports that you want selected
first and lower priority values (higher numerical values) to ones that you want selected last. If all spanning-tree
ports have the same priority value, spanning tree puts the port with the lowest interface number in the forwarding
state and blocks the other interfaces.
Configuring Path Cost
The spanning-tree path cost default value is derived from the media speed of an interface (port running spanning
tree or port channel of multiple ports running spanning tree). If a loop occurs, spanning tree uses cost when
selecting an interface to put in the forwarding state. You can assign lower cost values to interfaces that you
want selected first and higher cost values that you want selected last. If all NNIs (or port channels) have the
same cost value, spanning tree puts the interface with the lowest interface number in the forwarding state and
blocks the other interfaces.
Configuring the Switch Priority of a VLAN
You can configure the switch priority and make it more likely that the switch is chosen as the root switch.
Admin Edge and Auto Edge
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
141
These two values control how a port is declared to be an edge port or not. An edge port, is a port which is not
connected to a bridge. If auto edge is enabled, then the port determine whether a port is an edge port by
registering for BPDUs, and if BPDUs are received on that port.
The admin edge determines what the port should start as being edge or not.
Restricted Role and Restricted TCN
If restricted role is enabled, it causes the port not to be selected as Root Port for the Common and Internal
Spanning Tree (CIST) or any Multiple Spanning Tree Instance (MSTI), even if it has the best spanning tree
priority vector. Such a port is selected as an Alternate Port after the Root Port has been selected. If set, it can
cause lack of spanning tree connectivity. It can be set by a network administrator to prevent bridges external
to a core region of the network influence the spanning tree active topology, possibly because those bridges
are not under the full control of the administrator. This feature is also known as Root Guard.
If restricted TCN is enabled, it causes the port not to propagate received topology change notifications and
topology changes to other ports. If set it can cause temporary loss of connectivity after changes in a spanning
tree's active topology as a result of persistently incorrect learned station location information. It is set by a
network administrator to prevent bridges external to a core region of the network, causing address flushing
in that region, possibly because those bridges are not under the full control of the administrator or the physical
link state of the attached LANs transits frequently.
Note
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
142
Both MSTP and RSTP improve the spanning-tree operation and maintain backward compatibility with
equipment that is based on the (original) 802.1D spanning tree, with existing Cisco-proprietary Multiple
Instance STP (MISTP).
Understanding MSTP
MSTP, which uses RSTP for rapid convergence, enables VLANs to be grouped into a spanning-tree instance,
with each instance having a spanning-tree topology independent of other spanning-tree instances. This
architecture provides multiple forwarding paths for data traffic, enables load balancing, and reduces the number
of spanning-tree instances required to support a large number of VLANs.
Multiple Spanning-Tree Regions
For the NID to participate in multiple spanning-tree (MST) instances, you must consistently configure the
switches with the same MST configuration information. A collection of interconnected NIDs that have the
same MST configuration comprises an MST region. The MST configuration controls to which MST region
each switch belongs. The configuration includes the name of the region, the revision number, and the MST
VLAN-to-instance assignment map. You configure the NID for a region by using the global configuration
command, after which the NID enters the MST configuration mode. From this mode, you can map VLANs
to an MST instance by using the instance MST configuration command, specify the region name by using the
name MST configuration command, and set the revision number by using the revision MST configuration
command. A region can have one member or multiple members with the same MST configuration; each
member must be capable of processing RSTP bridge protocol data units (BPDUs). There is no limit to the
number of MST regions in a network, but each region can support up to 65 spanning-tree instances. You can
assign a VLAN to only one spanning-tree instance at a time.
IST, CIST, and CST
The MSTP establishes and maintains two types of spanning trees, IST and CIST:
An internal spanning tree (IST), which is the spanning tree that runs in an MST region. Within each
MST region, the MSTP maintains multiple spanning-tree instances. Instance 0 is a special instance for
a region, known as the internal spanning tree (IST). All other MST instances are numbered from 1 to
4094.The IST is the only spanning-tree instance that sends and receives BPDUs; all of the other
spanning-tree instance information is contained in M-records, which are encapsulated within MSTP
BPDUs. Because the MSTP BPDU carries information for all instances, the number of BPDUs that need
to be processed by a switch to support multiple spanning-tree instances is significantly reduced.
All MST instances within the same region share the same protocol timers, but each MST instance has
its own topology parameters, such as root switch ID, root path cost, and so forth. By default, all VLANs
are assigned to the IST. An MST instance is local to the region; for example, MST instance 1 in region
A is independent of MST instance 1 in region B, even if regions A and B are interconnected.
A common and internal spanning tree (CIST), which is a collection of the ISTs in each MST region,
and the common spanning tree (CST) that interconnects the MST regions and single spanning trees. The
spanning tree computed in a region appears as a subtree in the CST that encompasses the entire switched
domain. The CIST is formed as a result of the spanning-tree algorithm running between switches that
support the IEEE 802.1w, IEEE 802.1s, and IEEE 802.1D protocols. The CIST inside an MST region
is the same as the CST outside a region.
For information regarding Operations Within an MST Region, Operations Between MST Regions, IEEE 802.1s
Terminology, see Configuring MSTP.
Hop Count
The IST and MST instances do not use the message-age and maximum-age information in the configuration
BPDU to compute the spanning-tree topology. Instead, they use the path cost to the root and a hop-count
mechanism similar to the IP time-to-live (TTL) mechanism.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
143
By using the global configuration command, you can configure the maximum hops inside the region and
apply it to the IST and all MST instances in that region. The hopcount achieves the same result as the
message-age information (trigger a reconfiguration). The root switch of the instance always sends a BPDU
(or M-record) with a cost of 0 and the hop count set to the maximum value. When a switch receives this
BPDU, it decrements the received remaining hop count by one and propagates this value as the remaining
hop count in the BPDUs it generates. When the count reaches zero, the switch discards the BPDU and ages
the information held for the port. The message-age and maximum-age information in the RSTP portion of
the BPDU remain the same throughout the region, and the same values are propagated by the regions designated
ports at the boundary.
Understanding RSTP
The RSTP takes advantage of point-to-point wiring and provides rapid convergence of the spanning tree.
Reconfiguration of the spanning tree can occur in less than 1 second (in contrast to 50 seconds with the default
settings in the IEEE 802.1D spanning tree), which is critical for networks carrying delay-sensitive traffic such
as voice and video.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
144
Note
Enabling BPDU filtering on an STP port is the same as disabling spanning tree on it and can result in
spanning-tree loops.
You can enable the BPDU filtering feature for the entire NID or for an STP port.
For more information on BPDUs, see Understanding BPDUs.
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionStpPortType
Example:
Switch (config-controller)# ProvisionStpPortType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
145
Command or Action
Switch(config-controller-ProvisionStpPortType)#
setStpAggConfig stpAggrConfig link-type point-to
disable
Purpose
disableDisables the edge.
link-typeConfigures the port link-type.
Switch(config-controller-ProvisionStpPortType)#
setStpAggConfig stpAggrConfig link-type shared
disable
Switch(config-controller-ProvisionStpPortType)#
setStpAggConfig stpAggrConfig mst instance 0 active
enable
Switch(config-controller-ProvisionStpPortType)#
setStpAggConfig stpAggrConfig mst instance 0 cost
auto
Switch(config-controller-ProvisionStpPortType)#
setStpAggConfig stpAggrConfig mst instance 0 cost
cost-range 1
Switch(config-controller-ProvisionStpPortType)#
setStpAggConfig stpAggrConfig mst instance 0
port-priority 1
Switch(config-controller-ProvisionStpPortType)#
setStpAggConfig stpAggrConfig restricted-role enable
Switch(config-controller-ProvisionStpPortType)#
setStpAggConfig stpAggrConfig restricted-tcn disable
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
146
Command or Action
Purpose
restricted-tcnRestricts the topology change
notifications.
enableEnables the restricted TCN.
disableDisables the restricted TCN.
Step 5
setStpAggConfig review
Example:
Switch(config-controller-ProvisionStpPortType)#
setStpAggConfig review
Step 6
setstpPortConfig commit
Example:
Switch(config-controller-ProvisionStpPortType)#
setStpAggConfig commit
Step 7
exit
Example:
Switch(config-controller-ProvisionStpPortType)#
exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionStpPortType
Switch(config-controller-ProvisionStpPortType)# setStpAggConfig stpAggrConfig auto-edge
enable
Switch(config-controller-ProvisionStpPortType)# setStpAggConfig stpAggrConfig bpdu-guard
disable
Switch(config-controller-ProvisionStpPortType)# setStpAggConfig stpAggrConfig edge disable
Switch(config-controller-ProvisionStpPortType)# setStpAggConfig stpAggrConfig link-type
auto enable
Switch(config-controller-ProvisionStpPortType)# setStpAggConfig stpAggrConfig link-type
point-to disable
Switch(config-controller-ProvisionStpPortType)# setStpAggConfig stpAggrConfig link-type
shared disable
Switch(config-controller-ProvisionStpPortType)# setStpAggConfig stpAggrConfig mst instance
0 active enable
Switch(config-controller-ProvisionStpPortType)# setStpAggConfig stpAggrConfig mst instance
0 cost auto
Switch(config-controller-ProvisionStpPortType)# setStpAggConfig stpAggrConfig mst instance
0 cost cost-range 1
Switch(config-controller-ProvisionStpPortType)# setStpAggConfig stpAggrConfig mst instance
0 port-priority 1
Switch(config-controller-ProvisionStpPortType)# setStpAggConfig stpAggrConfig restricted-role
enable
Switch(config-controller-ProvisionStpPortType)# setStpAggConfig stpAggrConfig restricted-tcn
disable
Switch(config-controller-ProvisionStpPortType)# setStpAggConfig review
Commands in queue:
setStpAggConfig stpAggrConfig auto-edge enable
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
147
setStpAggConfig
setStpAggConfig
setStpAggConfig
setStpAggConfig
setStpAggConfig
setStpAggConfig
setStpAggConfig
setStpAggConfig
setStpAggConfig
setStpAggConfig
setStpAggConfig
stpAggrConfig
stpAggrConfig
stpAggrConfig
stpAggrConfig
stpAggrConfig
stpAggrConfig
stpAggrConfig
stpAggrConfig
stpAggrConfig
stpAggrConfig
stpAggrConfig
bpdu-guard disable
edge disable
link-type auto enable
link-type point-to disable
link-type shared disable
mst instance 0 active enable
mst instance 0 cost auto
mst instance 0 cost cost-range 1
mst instance 0 port-priority 1
restricted-role enable
restricted-tcn disable
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionStpPortType
Example:
Switch (config-controller)# ProvisionStpPortType
Step 4
getstpaggConfig getStpAggConfigRequest
Example:
Switch(config-controller-ProvisionStpPortType)#
getstpaggConfig getStpAggConfigRequest
Step 5
getstpaggConfig commit
Example:
Switch(config-controller-ProvisionStpPortType)#
setStpAggConfig commit
Step 6
exit
Example:
Switch(config-controller-ProvisionStpPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
148
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionStpPortType
Example:
Switch (config-controller)# ProvisionStpPortType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
149
Command or Action
setStpGlobalConfig stpGlobalConfig edge bpdu-guard
enable
Purpose
modeConfigures the STP protocol mode.
Switch(config-controller-ProvisionStpPortType)#
setStpGlobalConfig stpGlobalConfig mode mstp enable
Switch(config-controller-ProvisionStpPortType)#
setStpGlobalConfig stpGlobalConfig mst forward-time
4
Switch(config-controller-ProvisionStpPortType)#
setStpGlobalConfig stpGlobalConfig mst instance 0
active enable
Switch(config-controller-ProvisionStpPortType)#
setStpGlobalConfig stpGlobalConfig mst instance 0
priority 0
Switch(config-controller-ProvisionStpPortType)#
setStpGlobalConfig stpGlobalConfig mst instance 0 vlan
1
Switch(config-controller-ProvisionStpPortType)#
setStpGlobalConfig stpGlobalConfig mst max-age 30
Switch(config-controller-ProvisionStpPortType)#
setStpGlobalConfig stpGlobalConfig mst max-hops 30
Switch(config-controller-ProvisionStpPortType)#
setStpGlobalConfig stpGlobalConfig mst name
ciscoNID123
Switch(config-controller-ProvisionStpPortType)#
setStpGlobalConfig stpGlobalConfig mst revision 1111
WORDVLAN range.
Switch(config-controller-ProvisionStpPortType)#
setStpGlobalConfig stpGlobalConfig port-number 1
enable
Switch(config-controller-ProvisionStpPortType)#
setStpGlobalConfig stpGlobalConfig recovery interval
3000
Switch(config-controller-ProvisionStpPortType)#
setStpGlobalConfig stpGlobalConfig transmit hold-count
10
Note
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
150
Command or Action
Purpose
transmitConfigures the BPDUs to transmit.
hold-countMaximum number of transmit
BPDUs per second. The range is from 1 to 10
seconds.
Step 5
setStpGlobalConfig review
Example:
Switch(config-controller-ProvisionStpPortType)#
setStpGlobalConfig review
Step 6
setStpGlobalConfig commit
Example:
Switch(config-controller-ProvisionStpPortType)#
setStpGlobalConfig commit
Step 7
exit
Example:
Switch(config-controller-ProvisionStpPortType)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionStpPortType
Switch(config-controller-ProvisionStpPortType)# setStpGlobalConfig stpGlobalConfig edge
bpdu-guard enable
Switch(config-controller-ProvisionStpPortType)# setStpGlobalConfig stpGlobalConfig mode
mstp enable
Switch(config-controller-ProvisionStpPortType)# setStpGlobalConfig stpGlobalConfig mst
forward-time 4
Switch(config-controller-ProvisionStpPortType)# setStpGlobalConfig stpGlobalConfig mst
instance 0 active enable
Switch(config-controller-ProvisionStpPortType)# setStpGlobalConfig stpGlobalConfig mst
instance 0 priority 0
Switch(config-controller-ProvisionStpPortType)# setStpGlobalConfig stpGlobalConfig mst
instance 0 vlan 1
Switch(config-controller-ProvisionStpPortType)# setStpGlobalConfig stpGlobalConfig mst
max-age 30
Switch(config-controller-ProvisionStpPortType)# setStpGlobalConfig stpGlobalConfig mst
max-hops 30
Switch(config-controller-ProvisionStpPortType)# setStpGlobalConfig stpGlobalConfig mst name
myNID123
Switch(config-controller-ProvisionStpPortType)# setStpGlobalConfig stpGlobalConfig mst
revision 1111
Switch(config-controller-ProvisionStpPortType)# setStpGlobalConfig stpGlobalConfig port-number
1 enable
Switch(config-controller-ProvisionStpPortType)# setStpGlobalConfig stpGlobalConfig recovery
interval 3000
Switch(config-controller-ProvisionStpPortType)# setStpGlobalConfig stpGlobalConfig transmit
hold-count 10
Switch(config-controller-ProvisionStpPortType)# setStpGlobalConfig review
Commands in queue:
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
151
setStpGlobalConfig
setStpGlobalConfig
setStpGlobalConfig
setStpGlobalConfig
setStpGlobalConfig
setStpGlobalConfig
setStpGlobalConfig
setStpGlobalConfig
setStpGlobalConfig
setStpGlobalConfig
setStpGlobalConfig
setStpGlobalConfig
setStpGlobalConfig
stpGlobalConfig
stpGlobalConfig
stpGlobalConfig
stpGlobalConfig
stpGlobalConfig
stpGlobalConfig
stpGlobalConfig
stpGlobalConfig
stpGlobalConfig
stpGlobalConfig
stpGlobalConfig
stpGlobalConfig
stpGlobalConfig
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionStpPortType
Example:
Switch (config-controller)# ProvisionStpPortType
Step 4
getStpglobalConfig getStpGlobalConfigRequest
Example:
Switch(config-controller-ProvisionStpPortType)#
getStpglobalConfig getStpGlobalConfigRequest
Step 5
getStpglobalConfig commit
Example:
Switch(config-controller-ProvisionStpPortType)#
getStpglobalConfig commit
Step 6
exit
Example:
Switch(config-controller-ProvisionStpPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
152
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionStpPortType
Example:
Switch (config-controller)# ProvisionStpPortType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
153
Command or Action
disable} | mst instance instance-id {active {enable |
disable} | cost {auto | cost-range cost_range} |
port-priority port_priority} | port-number Port -number
|restricted-role {enable | disable} | restricted-tcn {enable
| disable}}
Purpose
auto-edgeDetects the auto-edge status.
enableEnables the auto-edge
disableDisables the auto-edge
bpdu-guardConfigures the BPDU guard.
Example:
Switch(config-controller-ProvisionStpPortType)#
setstpPortConfig stpPortConfig auto-edge enable
Switch(config-controller-ProvisionStpPortType)#
setstpPortConfig stpPortConfig bpdu-guard disable
Switch(config-controller-ProvisionStpPortType)#
setstpPortConfig stpPortConfig edge disable
Switch(config-controller-ProvisionStpPortType)#
setstpPortConfig stpPortConfig link-type auto
enable
Switch(config-controller-ProvisionStpPortType)#
setstpPortConfig stpPortConfig link-type point-to
disable
Switch(config-controller-ProvisionStpPortType)#
setstpPortConfig stpPortConfig link-type shared
disable
Switch(config-controller-ProvisionStpPortType)#
setstpPortConfig stpPortConfig mst instance 0
active enable
Switch(config-controller-ProvisionStpPortType)#
setstpPortConfig stpPortConfig mst instance 0 cost
auto
Switch(config-controller-ProvisionStpPortType)#
setstpPortConfig stpPortConfig mst instance 0 cost
cost-range 1
Switch(config-controller-ProvisionStpPortType)#
setstpPortConfig stpPortConfig mst instance 0
port-priority 1
Switch(config-controller-ProvisionStpPortType)#
setstpPortConfig stpPortConfig restricted-role
enable
Switch(config-controller-ProvisionStpPortType)#
setstpPortConfig stpPortConfig restricted-tcn
disable
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
154
Command or Action
Purpose
cost-rangeCost range. The range is from
1-200000000.
port-prioritySTP priority of the port. The range
is from 0 to 240.
port_numberConfigures the port number.
Port numberPort number. The range is from 1
to 6.
restricted-roleConfigures the port role. It is restricted
(and never a root port).
enableEnables the port as having restricted role.
disableDisables the port as having restricted
role.
restricted-tcnRestricts the topology change
notifications.
enableEnables the restricted TCN.
disableDisables the restricted TCN.
Step 5
setstpPortConfig review
Example:
Switch(config-controller-ProvisionStpPortType)#
setstpPortConfig review
Step 6
setstpPortConfig commit
Example:
Switch(config-controller-ProvisionStpPortType)#
setstpPortConfig commit
Step 7
exit
Example:
Switch(config-controller-ProvisionStpPortType)#
exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionStpPortType
Switch(config-controller-ProvisionStpPortType)# setstpPortConfig stpPortConfig auto-edge
enable
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
155
stpPortConfig
stpPortConfig
stpPortConfig
stpPortConfig
stpPortConfig
stpPortConfig
stpPortConfig
stpPortConfig
stpPortConfig
stpPortConfig
stpPortConfig
stpPortConfig
auto-edge enable
bpdu-guard disable
edge disable
link-type auto enable
link-type point-to disable
link-type shared disable
mst instance 0 active enable
mst instance 0 cost auto
mst instance 0 cost cost-range 1
mst instance 0 port-priority 1
restricted-role enable
restricted-tcn disable
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
156
Step 3
Command or Action
Purpose
ProvisionStpPortType
Example:
Switch (config-controller)# ProvisionStpPortType
Step 4
Example:
Switch(config-controller-ProvisionStpPortType)#
getStpportConfig getstpPortConfigRequest port_number 1
Step 5
getStpportConfig commit
Example:
Switch(config-controller-ProvisionStpPortType)#
getStpportConfig commit
Step 6
exit
Example:
Switch(config-controller-ProvisionStpPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
157
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionStpPortType
Example:
Switch (config-controller)# ProvisionStpPortType
Step 4
showStpdetail showStpDetailRequest
Example:
Switch(config-controller-ProvisionStpPortType)#
showStpdetail showStpDetailRequest
Step 5
showStpdetail commit
Example:
Switch(config-controller-ProvisionStpPortType)#
showStpdetail commit
Step 6
exit
Example:
Switch(config-controller-ProvisionStpPortType)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionStpPortType
Switch(config-controller-ProvisionStpPortType)# showStpdetail showStpDetailRequest
stpinfo.instance[0].instance_id = 0
stpinfo.instance[0].name = 'CIST'
stpinfo.instance[0].bridgeId = '32768.00-3A-99-FD-4B-1C'
stpinfo.instance[0].designatedRoot = '8192.00-14-1B-EC-1A-BF'
stpinfo.instance[0].rootport = '1'
stpinfo.instance[0].rootPathCost = 200022
stpinfo.instance[0].RegionalRoot = '32768.00-3A-99-FD-4B-1C'
stpinfo.instance[0].InternalPathCost = 0
stpinfo.instance[0].maxHops = 20
stpinfo.instance[0].topologyChange = 'Steady'
stpinfo.instance[0].topologyChangeCount = 31
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
158
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionStpPortType
Example:
Switch (config-controller)# ProvisionStpPortType
Step 4
showStpsummary showstpSummaryRequest
Example:
Switch(config-controller-ProvisionStpPortType)#
showStpsummary showstpSummaryRequest
Step 5
showStpdetail commit
Example:
Switch(config-controller-ProvisionStpPortType)#
showStpsummary commit
Step 6
exit
Example:
Switch(config-controller-ProvisionStpPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
159
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionStpPortType
Switch(config-controller-ProvisionStpPortType)# showStpdetail showStpDetailRequest
StpSummaryinfo.Protocol = 'MSTP'
StpSummaryinfo.MaxAge = 20
StpSummaryinfo.ForwardDelay = 15
StpSummaryinfo.txHoldCount = 6
StpSummaryinfo.MaxHops = 20
StpSummaryinfo.bpduFiltering = false
StpSummaryinfo.bpduGuard = false
StpSummaryinfo.errRecoveryDelay = 0
StpSummaryinfo.mstp_bridge[0].instance_id = 0
StpSummaryinfo.mstp_bridge[0].name = 'CIST'
StpSummaryinfo.mstp_bridge[0].status = true
StpSummaryinfo.mstp_bridge[1].instance_id = 1
StpSummaryinfo.mstp_bridge[1].name = 'MSTI1'
StpSummaryinfo.mstp_bridge[1].status = false
StpSummaryinfo.mstp_bridge[2].instance_id = 2
StpSummaryinfo.mstp_bridge[2].name = 'MSTI2'
StpSummaryinfo.mstp_bridge[2].status = false
StpSummaryinfo.mstp_bridge[3].instance_id = 3
StpSummaryinfo.mstp_bridge[3].name = 'MSTI3'
StpSummaryinfo.mstp_bridge[3].status = false
StpSummaryinfo.mstp_bridge[4].instance_id = 4
StpSummaryinfo.mstp_bridge[4].name = 'MSTI4'
StpSummaryinfo.mstp_bridge[4].status = false
StpSummaryinfo.mstp_bridge[5].instance_id = 5
StpSummaryinfo.mstp_bridge[5].name = 'MSTI5'
StpSummaryinfo.mstp_bridge[5].status = false
StpSummaryinfo.mstp_bridge[6].instance_id = 6
StpSummaryinfo.mstp_bridge[6].name = 'MSTI6'
StpSummaryinfo.mstp_bridge[6].status = false
StpSummaryinfo.mstp_bridge[7].instance_id = 7
StpSummaryinfo.mstp_bridge[7].name = 'MSTI7'
StpSummaryinfo.mstp_bridge[7].status = false
StpSummaryinfo.portcounters[0].port_number = 0
StpSummaryinfo.portcounters[0].rxMstp = 0
StpSummaryinfo.portcounters[0].txMstp = 4
StpSummaryinfo.portcounters[0].rxRstp = 0
StpSummaryinfo.portcounters[0].txRstp = 0
StpSummaryinfo.portcounters[0].rxstp = 144
StpSummaryinfo.portcounters[0].txstp = 122790
StpSummaryinfo.portcounters[0].rxtcn = 29
StpSummaryinfo.portcounters[0].txtcn = 2
StpSummaryinfo.portcounters[0].rxIllegalFrames = 0
StpSummaryinfo.portcounters[0].unknownFrames = 0
Switch(config-controller-ProvisionStpPortType)# showStpsummary commit
ShowStpSummary Commit Success!!!
Switch(config-controller-ProvisionStpPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
160
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionStpPortType
Example:
Switch (config-controller)# ProvisionStpPortType
Step 4
Example:
Switch(config-controller-ProvisionStpPortType)#
clearStpstatistics stpPortSelect port-number 1
Step 5
ClearStpStatistics review
Example:
Switch(config-controller-ProvisionStpPortType)#
ClearStpStatistics review
Step 6
ClearStpStatistics Commit
Example:
Switch(config-controller-ProvisionStpPortType)#
ClearStpStatistics Commit
Step 7
exit
Example:
Switch(config-controller-ProvisionStpPortType)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid
1/1
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
161
Switch(config-controller)# ProvisionStpPortType
Switch(config-controller-ProvisionStpPortType)# clearStpstatistics stpPortSelect port-number
1
Switch(config-controller-ProvisionStpPortType)# ClearStpStatistics Review
Commands in queue:
clearStpstatistics stpPortSelect port-number 1
Switch(config-controller-ProvisionStpPortType)# ClearStpStatistics Commit
ClearStpStatistics Commit Success!!!
Switch(config-controller-ProvisionStpPortType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionStpPortType
Example:
Switch (config-controller)# ProvisionStpPortType
Step 4
Step 5
clearStpdetected review
Example:
Switch(config-controller-ProvisionStpPortType)#
clearStpdetected review
Step 6
clearStpdetected commit
Example:
Switch(config-controller-ProvisionStpPortType)#
clearStpdetected commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
162
Step 7
Command or Action
Purpose
exit
Example:
Switch(config-controller-ProvisionStpPortType)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionStpPortType
Switch(config-controller-ProvisionStpPortType)# clearStpdetected stpPortSelect port-number
1
Switch(config-controller-ProvisionStpPortType)# clearStpdetected review
Commands in queue:
clearStpdetected stpPortSelect port-number 1
Switch(config-controller-ProvisionStpPortType)# clearStpdetected commit
clearStpdetected Commit Success!!!
Switch(config-controller-ProvisionStpPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
163
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
164
CHAPTER
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
165
VLAN numbers.) LAN ports can form an EtherChannel when they are in compatible LACP modes, as in the
following examples:
A LAN port in active mode can form an EtherChannel with another LAN port that is in active mode.
A LAN port in active mode can form an EtherChannel with another LAN port that is in passive mode.
A LAN port in passive mode cannot form an EtherChannel with another LAN port that is also in passive
mode because neither port will initiate negotiation.
LACP uses the following parameters:
LACP system priorityYou must configure an LACP system priority on each device running LACP.
The system priority can be configured automatically or through the command-line interface (CLI). LACP
uses the system priority with the device MAC address to form the system ID and also during negotiation
with other systems.
LACP port priorityYou must configure an LACP port priority on each port configured to use LACP.
The port priority can be configured automatically or through the CLI. LACP uses the port priority to
decide which ports should be put in standby mode when there is a hardware limitation that prevents all
compatible ports from aggregating. LACP also uses the port priority with the port number to form the
port identifier.
LACP administrative keyLACP automatically configures an administrative key value on each port
configured to use LACP. The administrative key defines the ability of a port to aggregate with other
ports. A ports ability to aggregate with other ports is determined by the following:
Port physical characteristics such as data rate, duplex capability, and point-to-point or shared
medium
Configuration restrictions that you establish
LACP, on ports configured to use it, tries to configure the maximum number of compatible ports in an
EtherChannel, up to the maximum allowed by the hardware. To use the hot standby feature in the event a
channel port fails, both ends of the LACP bundle must support the lacp max-bundle command.
As a control protocol, LACP uses the Slow Protocol multicast address of 01-80-C2-00-00-02 to transmit
LACP protocol data units (PDUs). Operations, administration, and maintenance (OAM) packets also use the
Slow Protocol link type. Subsequently, a subtype field is defined per the IEEE 802.3ad standard (Annex 43B,
section 4) differentiating LACP PDUs from OAM PDUs.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
166
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionLacpPortType
Example:
Switch(config-controller)# ProvisionLacpPortType
Step 4
Step 5
exit
Example:
Switch(config-controller-ProvisionLacpPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
167
Configuration Example
The following example shows the supported LACP configuration:
Switch(config-controller-ProvisionLacpPortType)# ?
ProvisionLacpPortType sub-mode commands:
clearLacpStats
Clear LACP statistics request
default
Set a command to its defaults
exit
Exit from ProvisionLacpPortType sub configuration mode
getLacpConfig
Get LACP configuration request
getLacpDefaults
Get LACP default configuration request
getLacpPortConfig
Get LACP port configuration request
getLacpPortDefaults Get LACP port default configuration request
no
Negate a command or set its defaults
setLacpConfig
Set LACP configuration request
setLacpDefaults
Set LACP default configuration request
setLacpPortConfig
Set LACP port configuration request
setLacpPortDefaults Set LACP port default configuration request
showLacpAggLB
Show LACP load balance request
showLacpInternal
Show LACP internal request
showLacpNeighbors
Show LACP neighbor status request
showLacpStats
Show LACP statistics request
showLacpSysId
Show LACP system-id request
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionLacpPortType)#
setLacpConfig ?
commit
commit setLacpConfig
flush
flush all setLacpConfig
commands from queue
lacpGlobalConfiguration Set LACP configuration
request
review
review setLacpConfig commands
Step 2
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
168
Command or Action
Purpose
enableEnables global LACP configuration.
Example:
Switch(config-controller-ProvisionLacpPortType)#
setLacpConfig lacpGlobalConfiguration lacpGlobalState
enable
Switch(config-controller-ProvisionLacpPortType)#
setLacpConfig lacpGlobalConfiguration systemPrio 2
Step 3
setLacpConfig review
Example:
Switch(config-controller-ProvisionLacpPortType)#
setLacpConfig review
Commands in queue:
setLacpConfig lacpGlobalConfiguration
lacpGlobalState enable
setLacpConfig lacpGlobalConfiguration
systemPrio 2
Step 4
setLacpConfig commit
Example:
Switch(config-controller-ProvisionLacpPortType)#
setLacpConfig commit
Step 5
exit
Example:
Switch(config-controller-ProvisionLacpPortType)# exit
Configuration Example
The example shows global LACP configuration on the controller :
Switch(config-controller-ProvisionLacpPortType)# setLacpConfig lacpGlobalConfiguration
lacpGlobalState enable
Switch(config-controller-ProvisionLacpPortType)# setLacpConfig lacpGlobalConfiguration
systemPrio 2
Switch(config-controller-ProvisionLacpPortType)# setLacpConfig review
Commands in queue:
setLacpConfig lacpGlobalConfiguration lacpGlobalState enable
setLacpConfig lacpGlobalConfiguration systemPrio 2
Switch(config-controller-ProvisionLacpPortType)# setLacpConfig commit
SetLacpConfig Commit Success!!!
Switch(config-controller-ProvisionLacpPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
169
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionLacpPortType)#
setLacpDefaults ?
commit
commit setLacpDefaults
flush
flush all setLacpDefaults
commands from queue
review
review setLacpDefaults commands
setLacpDefaultsRequest Set LACP default configuration
request
Switch(config-controller-ProvisionLacpPortType)#
setLacpDefaults setLacpDefaultsRequest
Step 2
setLacpDefaults review
Example:
Switch(config-controller-ProvisionLacpPortType)#
setLacpDefaults review
Commands in queue:
setLacpDefaults setLacpDefaultsRequest
setLacpDefaults setLacpDefaultsRequest
Step 3
setLacpDefaults commit
Example:
Switch(config-controller-ProvisionLacpPortType)#
setLacpDefaults commit
Step 4
exit
Example:
Switch(config-controller-ProvisionLacpPortType)# exit
Configuration Example
The example how to configure default LACP configuration on the controller:
Switch(config-controller-ProvisionLacpPortType)# setLacpDefaults setLacpDefaultsRequest
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
170
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionLacpPortType)#
setLacpPortConfig ?
commit
commit setLacpPortConfig
flush
flush all setLacpPortConfig
commands from queue
lacpPortConfiguration Set LACP port configuration request
review
Step 2
Switch(config-controller-ProvisionLacpPortType)#
setLacpPortConfig lacpPortConfiguration key 1
Switch(config-controller-ProvisionLacpPortType)#
setLacpPortConfig lacpPortConfiguration lacpEnable enable
Switch(config-controller-ProvisionLacpPortType)#
setLacpPortConfig lacpPortConfiguration portNumber 2
Switch(config-controller-ProvisionLacpPortType)#
setLacpPortConfig lacpPortConfiguration role active enable
Switch(config-controller-ProvisionLacpPortType)#
setLacpPortConfig lacpPortConfiguration portPriority 23
Switch(config-controller-ProvisionLacpPortType)#
setLacpPortConfig lacpPortConfiguration timeout fast enable
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
171
Command or Action
Purpose
timeoutSets period between BPDU
transmissions.
fastTransmits BPDUs every second.
slowTransmits BPDUs every 30th second.
Step 3
setLacpPortConfig review
Example:
Switch(config-controller-ProvisionLacpPortType)#
setLacpPortConfig review
Commands in queue:
setLacpPortConfig lacpPortConfiguration key 3
setLacpPortConfig lacpPortConfiguration lacpEnable
enable
setLacpPortConfig lacpPortConfiguration portNumber
2
setLacpPortConfig lacpPortConfiguration
portPriority 2
setLacpPortConfig lacpPortConfiguration role active
enable
setLacpPortConfig lacpPortConfiguration timeout
fast enable
setLacpPortConfig lacpPortConfiguration key 2
setLacpPortConfig lacpPortConfiguration lacpEnable
enable
setLacpPortConfig lacpPortConfiguration portNumber
2
setLacpPortConfig lacpPortConfiguration role active
enable
setLacpPortConfig lacpPortConfiguration timeout
fast enable
Step 4
setLacpPortConfigcommit
Example:
Switch(config-controller-ProvisionLacpPortType)#
setLacpPortConfig commit
Step 5
exit
Example:
Switch(config-controller-ProvisionLacpPortType)# exit
Configuration Example
The example shows LACP port configuration on the Controller:
Switch(config-controller-ProvisionLacpPortType)#
key 1
Switch(config-controller-ProvisionLacpPortType)#
lacpEnable enable
Switch(config-controller-ProvisionLacpPortType)#
portNumber 2
Switch(config-controller-ProvisionLacpPortType)#
setLacpPortConfig lacpPortConfiguration
setLacpPortConfig lacpPortConfiguration
setLacpPortConfig lacpPortConfiguration
setLacpPortConfig lacpPortConfiguration
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
172
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionLacpPortType)#
setLacpPortDefaults ?
commit
commit setLacpPortDefaults
flush
flush all setLacpPortDefaults commands
from queue
lacpPhysicalPort Set LACP port default configuration
request
review
review setLacpPortDefaults commands
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
173
Command or Action
Switch(config-controller-ProvisionLacpPortType)#
setLacpPortDefaults lacpPhysicalPort 2
Step 2
setLacpPortDefaults review
Purpose
reviewDisplays the configuration on the
controller .
Displays the LACP configuration on the controller .
Example:
Switch(config-controller-ProvisionLacpPortType)#
setLacpPortDefaults review
Commands in queue:
setLacpPortDefaults lacpPhysicalPort 2
Step 3
setLacpPortDefaults commit
Example:
Switch(config-controller-ProvisionLacpPortType)#
setLacpPortDefaults commit
Step 4
exit
Example:
Switch(config-controller-ProvisionLacpPortType)# exit
Configuration Example
The example shows default LACP port configuration on the controller :
Switch(config-controller-ProvisionLacpPortType)# setLacpPortDefaults lacpPhysicalPort 2
Switch(config-controller-ProvisionLacpPortType)# setLacpPortDefaults review
Commands in queue:
setLacpPortDefaults lacpPhysicalPort 2
witch(config-controller-ProvisionLacpPortType)# setLacpPortDefaults commit
SetLacpPortDefaults Commit Success!!!
Switch(config-controller-ProvisionLacpPortType)# exit
DETAILED STEPS
Command or Action
Step 1
Purpose
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
174
Command or Action
Example:
Switch(config-controller-ProvisionLacpPortType)#
clearLacpStats ?
commit
commit clearLacpStats
flush
flush all clearLacpStats commands
from queue
lacpPhysicalPort Clear LACP statistics request
review
review clearLacpStats commands
Switch(config-controller-ProvisionLacpPortType)#
clearLacpStats lacpPhysicalPort 3
Step 2
Purpose
clearLacpStats review
Example:
Switch(config-controller-ProvisionLacpPortType)#
clearLacpStats review
Commands in queue:
clearLacpStats lacpPhysicalPort 3
Step 3
clearLacpStats commit
Example:
Switch(config-controller-ProvisionLacpPortType)#
clearLacpStats commit
Step 4
exit
Example:
Switch(config-controller-ProvisionLacpPortType)# exit
Configuration Example
The example clears the LACP statistics on port 3 on the Controller:
Switch(config-controller-ProvisionLacpPortType)# clearLacpStats lacpPhysicalPort 3
Switch(config-controller-ProvisionLacpPortType)# clearLacpStats review
Commands in queue:
clearLacpStats lacpPhysicalPort 3
Switch(config-controller-ProvisionLacpPortType)# clearLacpStats commit
ClearLacpStats_Output.clearLacpStatsResponse = 0
ClearLacpStats Commit Success!!!
Switch(config-controller-ProvisionLacpPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
175
DETAILED STEPS
Step 1
Command or Action
Purpose
no ?
Example:
Switch(config-controller-ProvisionLacpPortType)# no ?
clearLacpStats
Clear LACP statistics request
exit
Exit from ProvisionLacpPortType sub configuration mode
getLacpConfig
Get LACP configuration request
getLacpDefaults
Get LACP default configuration request
getLacpPortConfig
Get LACP port configuration request
getLacpPortDefaults Get LACP port default configuration request
setLacpConfig
Set LACP configuration request
setLacpDefaults
Set LACP default configuration request
setLacpPortConfig
Set LACP port configuration request
setLacpPortDefaults Set LACP port default configuration request
showLacpAggLB
Show LACP load balance request
showLacpInternal
Show LACP internal request
showLacpNeighbors
Show LACP neighbor status request
showLacpStats
Show LACP statistics request
showLacpSysId
Show LACP system-id request
Step 2
exit
Example:
Switch(config-controller-ProvisionLacpPortType)# exit
DETAILED STEPS
Command or Action
Step 1
Purpose
getLacpConfig {commit | flush | getLacpConfigRequest | review} Retrieve the global LACP configuration.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
176
Command or Action
Example:
Switch(config-controller-ProvisionLacpPortType)#
getLacpConfig ?
commit
commit getLacpConfig
flush
flush all getLacpConfig commands
from queue
getLacpConfigRequest Get LACP configuration request
review
review getLacpConfig commands
commit
commit getLacpConfig
Switch(config-controller-ProvisionLacpPortType)#
getLacpConfig getLacpConfigRequest
Step 2
Purpose
getLacpConfig review
Example:
Switch(config-controller-ProvisionLacpPortType)#
getLacpConfig review
Commands in queue:
getLacpConfig getLacpConfigRequest
getLacpConfig getLacpConfigRequest
Step 3
getLacpConfig commit
Example:
Switch(config-controller-ProvisionLacpPortType)#
getLacpConfig commit
Step 4
exit
Example:
Switch(config-controller-ProvisionLacpPortType)# exit
Configuration Example
The example retrieves the global LACP configuration on the controller :
Switch(config-controller-ProvisionLacpPortType)# getLacpConfig getLacpConfigRequest
Switch(config-controller-ProvisionLacpPortType)# getLacpConfig review
Commands in queue:
getLacpConfig getLacpConfigRequest
getLacpConfig getLacpConfigRequest
Switch(config-controller-ProvisionLacpPortType)# getLacpConfig commit
GetLacpConfig_Output.lacpGlobalConfiguration.systemPrio = 32768
GetLacpConfig_Output.lacpGlobalConfiguration.lacpGlobalState = true
GetLacpConfig Commit Success!!!
Switch(config-controller-ProvisionLacpPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
177
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionLacpPortType)#
getLacpDefaults ?
commit
commit getLacpDefaults
flush
flush all getLacpDefaults
commands from queue
getLacpDefaultsRequest Get LACP default configuration
request
review
review getLacpDefaults commands
Switch(config-controller-ProvisionLacpPortType)#
getLacpDefaults getLacpDefaultsRequest
Step 2
getLacpDefaults review
Example:
Switch(config-controller-ProvisionLacpPortType)#
getLacpDefaults review
Commands in queue:
getLacpDefaults getLacpDefaultsRequest
Step 3
getLacpDefaults commit
Example:
Switch(config-controller-ProvisionLacpPortType)#
getLacpDefaults commit
Step 4
exit
Example:
Switch(config-controller-ProvisionLacpPortType)# exit
Configuration Example
The example retrieves the default LACP configuration on the controller :
Switch(config-controller-ProvisionLacpPortType)# getLacpDefaults getLacpDefaultsRequest
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
178
DETAILED STEPS
Command or Action
Step 1
Purpose
getLacpPortConfig {commit | flush | lacpPhysicalPort port_num Retrieves the LACP configuration at port.
| review}
commitSends the LACP configuration to
NID.
Example:
Switch(config-controller-ProvisionLacpPortType)#
getLacpPortConfig ?
commit
commit getLacpPortConfig
flush
flush all getLacpPortConfig commands
from queue
lacpPhysicalPort Get LACP port configuration request
review
review getLacpPortConfig commands
Switch(config-controller-ProvisionLacpPortType)#
getLacpPortConfig lacpPhysicalPort 1
Step 2
getLacpPortConfig review
Example:
Switch(config-controller-ProvisionLacpPortType)#
getLacpPortConfig review
Commands in queue:
getLacpPortConfig lacpPhysicalPort 1
Step 3
getLacpPortConfig commit
Example:
Switch(config-controller-ProvisionLacpPortType)#
getLacpPortConfig commit
Step 4
exit
Example:
Switch(config-controller-ProvisionLacpPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
179
Configuration Example
The example retrieves the LACP configuration for port 1 on the Controller:
Switch(config-controller-ProvisionLacpPortType)# getLacpPortConfig lacpPhysicalPort 1
Switch(config-controller-ProvisionLacpPortType)# getLacpPortConfig review
Commands in queue:
getLacpPortConfig lacpPhysicalPort 1
Switch(config-controller-ProvisionLacpPortType)# getLacpPortConfig commit
GetLacpPortConfig_Output.lacpPortConfiguration.portNumber = 1
GetLacpPortConfig_Output.lacpPortConfiguration.lacpEnable = false
GetLacpPortConfig_Output.lacpPortConfiguration.key = 1
GetLacpPortConfig_Output.lacpPortConfiguration.role.t = 1
GetLacpPortConfig_Output.lacpPortConfiguration.role.u.active = true
GetLacpPortConfig_Output.lacpPortConfiguration.portPriority = 32768
GetLacpPortConfig_Output.lacpPortConfiguration.timeout.t = 1
GetLacpPortConfig_Output.lacpPortConfiguration.timeout.u.fast = true
GetLacpPortConfig Commit Success!!!
Switch(config-controller-ProvisionLacpPortType)# exit
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionLacpPortType)#
getLacpPortDefaults ?
commit
commit getLacpPortDefaults
flush
flush all getLacpPortDefaults
commands from queue
lacpPhysicalPort Get LACP port default configuration
request
review
review getLacpPortDefaults commands
Switch(config-controller-ProvisionLacpPortType)#
getLacpPortDefaults lacpPhysicalPort 1
Step 2
getLacpPortDefaults review
Example:
Switch(config-controller-ProvisionLacpPortType)#
getLacpPortDefaults review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
180
Command or Action
Purpose
Commands in queue:
getLacpPortDefaults lacpPhysicalPort 1
Step 3
getLacpPortDefaults commit
Example:
Switch(config-controller-ProvisionLacpPortType)#
getLacpPortDefaults commit
Step 4
exit
Example:
Switch(config-controller-ProvisionLacpPortType)# exit
Configuration Example
The example retrieves the default LACP configuration for port 1 on the controller :
Switch(config-controller-ProvisionLacpPortType)# getLacpPortDefaults lacpPhysicalPort 1
Switch(config-controller-ProvisionLacpPortType)# getLacpPortDefaults review
Commands in queue:
getLacpPortDefaults lacpPhysicalPort 1
Switch(config-controller-ProvisionLacpPortType)# getLacpPortDefaults commit
GetLacpPortDefaults_Output.lacpPortConfiguration.portNumber = 1
GetLacpPortDefaults_Output.lacpPortConfiguration.lacpEnable = false
GetLacpPortDefaults_Output.lacpPortConfiguration.key = 0
GetLacpPortDefaults_Output.lacpPortConfiguration.role.t = 1
GetLacpPortDefaults_Output.lacpPortConfiguration.role.u.active = true
GetLacpPortDefaults_Output.lacpPortConfiguration.portPriority = 32768
GetLacpPortDefaults_Output.lacpPortConfiguration.timeout.t = 1
GetLacpPortDefaults_Output.lacpPortConfiguration.timeout.u.fast = true
GetLacpPortDefaults Commit Success!!!
Switch(config-controller-ProvisionLacpPortType)# exit
Note
NOTE: You must explicitly configure a key value. The default value for key retrieved is 0 until it is set
to a value using the setLacpPortConfig operation.
Verifying LACP
Viewing the LACP System ID Information on the controller
Before You Begin
Perform the steps to provision LACP on the controller . See Provisioning the Controller to Configure
LACP, on page 167.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
181
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionLacpPortType)#
showLacpSysId ?
commit
commit showLacpSysId
flush
flush all showLacpSysId commands
from queue
review
review showLacpSysId commands
showLacpSysIdRequest Show LACP system-id request
Switch(config-controller-ProvisionLacpPortType)#
showLacpSysId showLacpSysIdRequest
Step 2
showLacpSysId review
Example:
Switch(config-controller-ProvisionLacpPortType)#
showLacpSysId review
Commands in queue:
showLacpSysId showLacpSysIdRequest
showLacpSysId showLacpSysIdRequest
Step 3
showLacpSysId commit
Example:
Switch(config-controller-ProvisionLacpPortType)#
showLacpAggLB commit
Step 4
exit
Example:
Switch(config-controller-ProvisionLacpPortType)# exit
Configuration Example
The example displays the LACP system ID information on the controller :
Switch(config-controller-ProvisionLacpPortType)# showLacpSysId showLacpSysIdRequest
Commands in queue:
showLacpSysId showLacpSysIdRequest
showLacpSysId showLacpSysIdRequest
Switch(config-controller-ProvisionLacpPortType)# showLacpSysId commit
ShowLacpSysId_Output.showLacpSysIdResponse.systemId = 'b8-38-61-68-7b-bc'
ShowLacpSysId_Output.showLacpSysIdResponse.systemPriority = 32768
ShowLacpSysId Commit Success!!!
Switch(config-controller-ProvisionLacpPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
182
DETAILED STEPS
Command or Action
Step 1
Purpose
Switch(config-controller-ProvisionLacpPortType)#
showLacpAggLB ?
commit
commit showLacpAggLB
flush
flush all showLacpAggLB commands
from queue
review
review showLacpAggLB commands
showLacpAggLBRequest Show LACP load balance request
Switch(config-controller-ProvisionLacpPortType)#
showLacpAggLB showLacpAggLBRequest
Step 2
showLacpAggLB review
Example:
Switch(config-controller-ProvisionLacpPortType)#
showLacpAggLB review
Commands in queue:
showLacpAggLB showLacpAggLBRequest
Step 3
showLacpAggLB commit
Example:
Switch(config-controller-ProvisionLacpPortType)#
showLacpAggLB commit
Step 4
exit
Example:
Switch(config-controller-ProvisionLacpPortType)# exit
Configuration Example
The example displays the LACP load balance information on the controller :
Switch(config-controller-ProvisionLacpPortType)# showLacpAggLB showLacpAggLBRequest
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
183
DETAILED STEPS
Command or Action
Step 1
Purpose
showLacpInternal {commit | flush | lacpPhysicalPort port_num Displays LACP internal state information.
| review}
commitSends the LACP configuration to
NID.
Example:
Switch(config-controller-ProvisionLacpPortType)#
showLacpInternal ?
commit
commit showLacpInternal
flush
flush all showLacpInternal commands
from queue
lacpPhysicalPort Show LACP internal request
review
review showLacpInternal commands
Switch(config-controller-ProvisionLacpPortType)#
showLacpInternal lacpPhysicalPort 2
Step 2
showLacpInternal review
Example:
Switch(config-controller-ProvisionLacpPortType)#
showLacpInternal review
Commands in queue:
showLacpNeighbors lacpPhysicalPort 1
showLacpInternal lacpPhysicalPort 1
Step 3
showLacpInternal commit
Example:
Switch(config-controller-ProvisionLacpPortType)#
showLacpInternal commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
184
Step 4
Command or Action
Purpose
exit
Example:
Switch(config-controller-ProvisionLacpPortType)# exit
Configuration Example
The example displays the LACP internal state information on the controller :
Switch(config-controller-ProvisionLacpPortType)# showLacpInternal lacpPhysicalPort 2
Switch(config-controller-ProvisionLacpPortType)# showLacpInternal review
Commands in queue:
showLacpNeighbors lacpPhysicalPort 1
showLacpInternal lacpPhysicalPort 1
Switch(config-controller-ProvisionLacpPortType)# showLacpInternal commit
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[0].portNumber =1
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[0].mode = false
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[0].key = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[0].role = true
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[0].timeout = 1
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[0].portPriority= 32768
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[0].adminKey = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[0].operKey = 3
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[0].collectorMaxDelay =
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[1].portNumber =2
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[1].mode = false
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[1].key = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[1].role = true
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[1].timeout = 1
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[1].portPriority= 26733
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[1].adminKey = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[1].operKey = 1
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[1].collectorMaxDelay =
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[2].portNumber =3
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[2].mode = false
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[2].key = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[2].role = true
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[2].timeout = 1
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[2].portPriority= 32768
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[2].adminKey = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[2].operKey = 1
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[2].collectorMaxDelay =
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[3].portNumber =4
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[3].mode = false
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[3].key = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[3].role = true
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[3].timeout = 1
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[3].portPriority= 32768
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[3].adminKey = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[3].operKey = 1
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[3].collectorMaxDelay =
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[4].portNumber =5
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[4].mode = false
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[4].key = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[4].role = true
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[4].timeout = 1
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[4].portPriority= 32768
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[4].adminKey = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[4].operKey = 1
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[4].collectorMaxDelay =
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[5].portNumber =6
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[5].mode = false
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
185
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[5].key = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[5].role = true
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[5].timeout = 1
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[5].portPriority= 32768
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[5].adminKey = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[5].operKey = 1
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[5].collectorMaxDelay = 0
ShowLacpInternal Commit Success!!!
Switch(config-controller-ProvisionLacpPortType)# exit
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionLacpPortType)#
showLacpNeighbors ?
commit
commit showLacpNeighbors
flush
flush all showLacpNeighbors commands
from queue
lacpPhysicalPort Show LACP neighbor status request
review
review showLacpNeighbors commands
Switch(config-controller-ProvisionLacpPortType)#
showLacpNeighbors lacpPhysicalPort 2
Step 2
showLacpNeighbors review
Example:
Switch(config-controller-ProvisionLacpPortType)#
showLacpNeighbors review
Commands in queue:
showLacpNeighbors lacpPhysicalPort 2
Step 3
showLacpNeighbors commit
Example:
Switch(config-controller-ProvisionLacpPortType)#
showLacpNeighbors commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
186
Step 4
Command or Action
Purpose
exit
Example:
Switch(config-controller-ProvisionLacpPortType)# exit
Configuration Example
The example displays the LACP neighbors status information on the controller :
Switch(config-controller-ProvisionLacpPortType)# showLacpNeighbors lacpPhysicalPort 2
Switch(config-controller-ProvisionLacpPortType)# showLacpNeighbors review
Commands in queue:
showLacpNeighbors lacpPhysicalPort 2
Switch(config-controller-ProvisionLacpPortType)# showLacpNeighbors commit
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[0].aggrID = 1
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[0].partnerSysId =
'00-3a-99-fd-4a-44'
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[0].partnerPort = 3
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[0].partnerPortPriority
= 32768
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[0].partnerSysPriority =
32768
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[0].partnerOperKey = 3
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[0].aggrProtocolType =
'LACP'
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[0].bandwidth = 0
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[0].aggrMacAddr =
'00-3a-99-fd-4a-3b'
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[1].aggrID = 1
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[1].partnerSysId =
'00-3a-99-fd-4a-44'
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[1].partnerPort = 6
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[1].partnerPortPriority
= 32768
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[1].partnerSysPriority =
32768
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[1].partnerOperKey = 3
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[1].aggrProtocolType =
'LACP'
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[1].bandwidth = 0
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[1].aggrMacAddr =
'00-3a-99-fd-4a-3e'
ShowLacpNeighbors Commit Success!!!
Switch(config-controller-ProvisionLacpPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
187
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionLacpPortType)#
showLacpStats ?
commit
commit showLacpStats
flush
flush all showLacpStats commands from
queue
lacpPhysicalPort Show LACP statistics request
review
review showLacpStats commands
Switch(config-controller-ProvisionLacpPortType)#
showLacpStats lacpPhysicalPort 2
Step 2
showLacpStats review
lacpPhysicalPortport_numDisplays the
LACP statistics for specified port on the
controller .
reviewDisplays the configuration on the
controller .
Displays the LACP configuration on the controller
.
Example:
Switch(config-controller-ProvisionLacpPortType)#
showLacpStats review
Commands in queue:
showLacpStats lacpPhysicalPort 1
showLacpStats lacpPhysicalPort 2
Step 3
showLacpStats commit
Example:
Switch(config-controller-ProvisionLacpPortType)#
showLacpStats commit
Step 4
exit
Example:
Switch(config-controller-ProvisionLacpPortType)# exit
Configuration Example
The example displays the LACP statistics on the controller :
Switch(config-controller-ProvisionLacpPortType)# showLacpStats lacpPhysicalPort 2
Switch(config-controller-ProvisionLacpPortType)# showLacpStats review
Commands in queue:
showLacpStats lacpPhysicalPort 1
showLacpStats lacpPhysicalPort 2
Switch(config-controller-ProvisionLacpPortType)# showLacpStats commit
ShowLacpStats_Output.lacpPortStatistics.lacpPortStatsList[0].rxUnknown = 0
ShowLacpStats_Output.lacpPortStatistics.lacpPortStatsList[0].port = 3
ShowLacpStats_Output.lacpPortStatistics.lacpPortStatsList[0].rxFrames = 17866
ShowLacpStats_Output.lacpPortStatistics.lacpPortStatsList[0].txFrames = 12527
ShowLacpStats_Output.lacpPortStatistics.lacpPortStatsList[0].rxIllegal = 0
ShowLacpStats_Output.lacpPortStatistics.lacpPortStatsList[1].rxUnknown = 0
ShowLacpStats_Output.lacpPortStatistics.lacpPortStatsList[1].port = 6
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
188
ShowLacpStats_Output.lacpPortStatistics.lacpPortStatsList[1].rxFrames = 17244
ShowLacpStats_Output.lacpPortStatistics.lacpPortStatsList[1].txFrames = 12132
ShowLacpStats_Output.lacpPortStatistics.lacpPortStatsList[1].rxIllegal = 0
ShowLacpStats Commit Success!!!
Switch(config-controller-ProvisionLacpPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
189
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
190
CHAPTER
10
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
191
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionLldpPortType
Example:
Switch(config-controller)# ProvisionLldpPortType
Step 4
lldp_transmission_delayLLD
Transmission delay value. The valid values
are from 1 to 8192. The default value is 2
seconds.
reinit_delayLLDP transmission
re-initialization delay. The valid values are
from 1 to 10 seconds. The default value is 2
seconds.
timerTime between each LLDP frame
transmitted in seconds. The valid values are
from 5 to 32768. The default value is 30
seconds.
tlv_selectTransmission TLV.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
192
Step 5
Command or Action
Purpose
setLldpConfig review
Example:
Switch(config-controller-ProvisionLldpPortType)#
setLldpConfig review
Step 6
setLldpConfig commit
Example:
Switch(config-controller-ProvisionLldpPortType)#
setLldpConfig commit
Step 7
exit
Example:
Switch(config-controller-ProvisionLldpPortType)# exit
Switch(config-controller)#
What to Do Next
After the configuration is sent to the Cisco ME 1200 NID, use the following get command to view the
setLldpConfig configuration.
Switch(config-controller-ProvisionLldpPortType)# getLldpConfig getLldpConfigRequest
Switch(config-controller-ProvisionLldpPortType)# getLldpConfig review
Commands in queue:
getLldpConfig getLldpConfigRequest
Switch(config-controller-ProvisionLldpPortType)# getLldpConfig commit
GetLldpConfig_Output.lldpGlobalConfiguration.global_state = true
GetLldpConfig_Output.lldpGlobalConfiguration.hold_time = 5
GetLldpConfig_Output.lldpGlobalConfiguration.timer = 10
GetLldpConfig_Output.lldpGlobalConfiguration.tlv_select.system_name =
true
GetLldpConfig_Output.lldpGlobalConfiguration.tlv_select.system_description
= true
GetLldpConfig_Output.lldpGlobalConfiguration.tlv_select.port_description
= true
GetLldpConfig_Output.lldpGlobalConfiguration.tlv_select.management_address
= true
GetLldpConfig_Output.lldpGlobalConfiguration.tlv_select.system_capabilities
= true
GetLldpConfig_Output.lldpGlobalConfiguration.reinit_delay = 10
GetLldpConfig_Output.lldpGlobalConfiguration.lldp_transmission_delay =
10
GetLldpConfig Commit Success!!!
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
193
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionLldpPortType
Example:
Switch(config-controller)# ProvisionLldpPortType
Step 4
setLldpDefaults setLldpDefaultsRequest
Example:
Switch(config-controller-ProvisionLldpPortType)#
setLldpDefaults setLldpDefaultsRequest
Step 5
setLldpDefaults commit
Example:
Switch(config-controller-ProvisionLldpPortType)#
setLldpDefaults commit
Step 6
exit
Example:
Switch(config-controller-ProvisionLldpPortType)# exit
Switch(config-controller)#
What to Do Next
After the configuration is sent to the Cisco ME 1200 NID, use the following get command to view the
setLldpDefaults configuration.
Switch(config-controller-ProvisionLldpPortType)# getLldpDefaults getLldpDefaultsRequest
Switch(config-controller-ProvisionLldpPortType)# getLldpDefaults review
Commands in queue:
getLldpDefaults getLldpDefaultsRequest
Switch(config-controller-ProvisionLldpPortType)# getLldpDefaults commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
194
GetLldpDefaults_Output.lldpGlobalConfiguration.global_state = true
GetLldpDefaults_Output.lldpGlobalConfiguration.hold_time = 5
GetLldpDefaults_Output.lldpGlobalConfiguration.timer = 30
GetLldpDefaults_Output.lldpGlobalConfiguration.tlv_select.system_name =
true
GetLldpDefaults_Output.lldpGlobalConfiguration.tlv_select.system_description
= true
GetLldpDefaults_Output.lldpGlobalConfiguration.tlv_select.port_description
= true
GetLldpDefaults_Output.lldpGlobalConfiguration.tlv_select.management_address
= true
GetLldpDefaults_Output.lldpGlobalConfiguration.tlv_select.system_capabilities
= true
GetLldpDefaults_Output.lldpGlobalConfiguration.reinit_delay = 2
GetLldpDefaults_Output.lldpGlobalConfiguration.lldp_transmission_delay =
10
GetLldpDefaults Commit Success!!!
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionLldpPortType
Example:
Switch(config-controller)# ProvisionLldpPortType
Step 4
lldp_transmit_enableWhether LLDP
transmit is enabled or disabled.
port_numberThe target interface number.
The valid values are from 1 to 6.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
195
Step 5
Command or Action
Purpose
setLldpPortConfig review
Example:
Switch(config-controller-ProvisionLldpPortType)#
setLldpPortConfig review
Step 6
setLldpPortConfig commit
Example:
Switch(config-controller-ProvisionLldpPortType)#
setLldpConfig commit
Step 7
exit
Example:
Switch(config-controller-ProvisionLldpPortType)# exit
Switch(config-controller)#
What to Do Next
After the configuration is sent to the Cisco ME 1200 NID, use the following get command to view the
setLldpPortConfig configuration.
Switch(config-controller-ProvisionLldpPortType)# getLldpportConfig physicalPortNum 3
Switch(config-controller-ProvisionLldpPortType)# getLldpportConfig review
Commands in queue:
getLldpConfig physicalPortNum 3
Switch(config-controller-ProvisionLldpPortType)# getLldpportConfig commit
GetLldpPortConfig_Output.lldpPortConfiguration.port_number = 3
GetLldpPortConfig_Output.lldpPortConfiguration.lldp_transmit_enable =
false
GetLldpPortConfig_Output.lldpPortConfiguration.lldp_receive_enable = false
GetLldpPortConfig Commit Success!!!
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
196
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionLldpPortType
Example:
Switch(config-controller)# ProvisionLldpPortType
Step 4
Step 5
setlldpportdefaults commit
Example:
Switch(config-controller-ProvisionLldpPortType)#
setlldpportdefaults commit
Step 6
exit
Example:
Switch(config-controller-ProvisionLldpPortType)#
exit
Switch(config-controller)#
What to Do Next
After the configuration is sent to the Cisco ME 1200 NID, use the following get command to view the
setlldpportdefaults configuration.
Switch(config-controller-ProvisionLldpPortType)# getLldpportdefaults physicalPortNum 3
Switch(config-controller-ProvisionLldpPortType)# getLldpportdefaults review
Commands in queue:
getLldpportdefaults physicalPortNum 3
Switch(config-controller-ProvisionLldpPortType)# getLldpportdefaults commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
197
GetLldpPortDefaults_Output.lldpPortConfiguration.port_number = 3
GetLldpPortDefaults_Output.lldpPortConfiguration.lldp_transmit_enable =
true
GetLldpPortDefaults_Output.lldpPortConfiguration.lldp_receive_enable =
true
GetLldpPortDefaults Commit Success!!!
ShowLldpNeighbors_Output.lldpNeighborInformation.local_port_id = 3
ShowLldpNeighbors_Output.lldpNeighborInformation.chassis_id =
'18-9C-5D-A7-F4-1C'
ShowLldpNeighbors_Output.lldpNeighborInformation.remote_port_id = 'Gi0/3'
ShowLldpNeighbors_Output.lldpNeighborInformation.remote_port_description
= 'GigabitEthernet0/3'
ShowLldpNeighbors_Output.lldpNeighborInformation.remote_system_name =
'IRF-Whales-1'
ShowLldpNeighbors_Output.lldpNeighborInformation.remote_system_capabilities
= 'Bridge(+), Router(+)'
ShowLldpNeighbors_Output.lldpNeighborInformation.remote_system_description
= 'Cisco IOS Software, ME360x Software (ME360x-UNIVERSAL-M), Version
15.4(2)SN, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2014 by Cisco Systems, Inc.
Compiled Fri 21-Mar-14 09:12 by prod_rel_team'
ShowLldpNeighbors_Output.lldpNeighborInformation.remote_management_IP =
'7.3.9.13 (IPv4)'
ShowLldpNeighbors_Output.lldpNeighborInformation.remote_management_IPv6
= ''
ShowLldpNeighbors Commit Success!!!
Displaying LLDP Statistics
showlldpstatistics physicalPortNum physical_port_number
Switch(config-controller-ProvisionLldpPortType)# showlldpstatistics physicalPortNum 3
Switch(config-controller-ProvisionLldpPortType)# showlldpstatistics commit
ShowLldpStatistics_Output.lldpPortStatistics.global_counters.total_neighbor_entries_added
= 1
ShowLldpStatistics_Output.lldpPortStatistics.local_counters.Tx_Frames =
17
ShowLldpStatistics_Output.lldpPortStatistics.local_counters.Rx_Frames =
0
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
198
ShowLldpStatistics_Output.lldpPortStatistics.local_counters.Rx_Errors =
0
ShowLldpStatistics_Output.lldpPortStatistics.local_counters.Rx_Frames_Discarded
= 0
ShowLldpStatistics_Output.lldpPortStatistics.local_counters.TLVs_Discarded
= 0
ShowLldpStatistics_Output.lldpPortStatistics.local_counters.TLVs_Unrecognized
= 0
ShowLldpStatistics_Output.lldpPortStatistics.local_counters.Org_Discarded
= 0
ShowLldpStatistics_Output.lldpPortStatistics.local_counters.Age_Outs = 0
ShowLldpStatistics Commit Success!!!
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
199
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
200
CHAPTER
11
Configuring SNMP
This document describes the Simple Network Management Protocol (SNMP) feature and configuration steps
to implement network management using SNMP.
Prerequisites for Configuring SNMP, page 201
Information About SNMP, page 201
How to Provision SNMP, page 202
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
201
Configuring SNMP
How to Provision SNMP
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionSnmpConf
Example:
Switch(config-controller)# ProvisionSnmpConf
Step 4
setSnmpDefaultConf setSnmpDefaultConfigRequest
request_id
Example:
Switch(config-controller-ProvisionSnmpConf)#
setSnmpDefaultConf setSnmpDefaultConfigRequest 1
Step 5
getSnmpDefaultConf getSnmpDefaultConfRequest
Example:
Switch(config-controller-ProvisionSnmpConf)#
getSnmpDefaultConf getSnmpDefaultConfRequest
Step 6
getSnmpDefaultConf review
Example:
Switch(config-controller-ProvisionSnmpConf)#
getSnmpDefaultConf review
Step 7
getSnmpDefaultConf commit
Example:
Switch(config-controller-ProvisionSnmpConf)#
getSnmpDefaultConf commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
202
Configuring SNMP
Configuring SNMPv2c Community Parameters
Step 8
Command or Action
Purpose
exit
Example:
Switch(config-controller-ProvisionSnmpConf)# exit
Configuration Example
The example shows how to configure and retrieve Default SNMP Configurations:
Switch(config-controller-ProvisionSnmpConf)# setSnmpDefaultConf setSnmpDefaultConfigRequest
1
Switch(config-controller-ProvisionSnmpConf)# getSnmpDefaultConf getSnmpDefaultConfRequest
Switch(config-controller-ProvisionSnmpConf)# getSnmpDefaultConf review
Switch(config-controller-ProvisionSnmpConf)# getSnmpDefaultConf commit
Switch(config-controller-ProvisionSnmpConf)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
203
Configuring SNMP
Configuring SNMPv2c Community Parameters
Step 3
Command or Action
Purpose
ProvisionSnmpConf
Example:
Switch(config-controller)# ProvisionSnmpConf
Step 4
Step 5
setSnmpServerConf review
Example:
Switch(config-controller-ProvisionSnmpConf)#
setSnmpServerConf review
Step 6
setSnmpServerConf commit
Example:
Switch(config-controller-ProvisionSnmpConf)#
setSnmpServerConf commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
204
Configuring SNMP
Configuring SNMPv2c Community Parameters
Step 7
Command or Action
Purpose
getSnmpServerConf getSnmpServerConfigRequest
Example:
Switch(config-controller-ProvisionSnmpConf)#
getSnmpServerConf getSnmpServerConfigRequest
Step 8
getSnmpServerConf review
Example:
Switch(config-controller-ProvisionSnmpConf)#
getSnmpServerConf review
Step 9
getSnmpServerConf commit
Example:
Switch(config-controller-ProvisionSnmpConf)#
getSnmpServerConf commit
Step 10
exit
Example:
Switch(config-controller-ProvisionSnmpConf)# exit
Configuration Example
The example shows how to configure and retrieve SNMPv2c community parameters:
Switch(config-controller-ProvisionSnmpConf)# setSnmpServerConf snmp_server_conf snmp_server
enable
Switch(config-controller-ProvisionSnmpConf)# setSnmpServerConf snmp_server_conf version
v2c
Switch(config-controller-ProvisionSnmpConf)# setSnmpServerConf snmp_server_conf trap true
Switch(config-controller-ProvisionSnmpConf)# setSnmpServerConf snmp_server_conf community_v2c
comm_name Public
Switch(config-controller-ProvisionSnmpConf)# setSnmpServerConf snmp_server_conf community_v2c
mode ro
Switch(config-controller-ProvisionSnmpConf)# setSnmpServerConf review
Switch(config-controller-ProvisionSnmpConf)# setSnmpServerConf commit
Switch(config-controller-ProvisionSnmpConf)#
Switch(config-controller-ProvisionSnmpConf)#
Switch(config-controller-ProvisionSnmpConf)#
Switch(config-controller-ProvisionSnmpConf)#
getSnmpServerConf getSnmpServerConfigRequest
getSnmpServerConf review
getSnmpServerConf commit
exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
205
Configuring SNMP
Configuring SNMPv3 Community
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionSnmpConf
Example:
Switch(config-controller)# ProvisionSnmpConf
Step 4
setSnmpCommunity snmp_community_conf
{community-namecommunity_name name | community_ip
ip_address | community_mask mask}
Example:
Switch(config-controller-ProvisionSnmpConf)#
setSnmpCommunity snmp_community_conf community_ip
10.10.10.1
Switch(config-controller-ProvisionSnmpConf)#
setSnmpCommunity snmp_community_conf community_mask
255.255.255.0
Switch(config-controller-ProvisionSnmpConf)#
setSnmpCommunity snmp_community_conf community_name
user12
Step 5
getSnmpCommunity getSnmpCommunityConfRequest
Example:
Switch(config-controller-ProvisionSnmpConf)#
getSnmpCommunity getSnmpCommunityConfRequest
Step 6
getSnmpCommunity review
Example:
Switch(config-controller-ProvisionSnmpConf)#
getSnmpCommunity review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
206
Configuring SNMP
Configuring SNMPv3 Community
Step 7
Command or Action
Purpose
getSnmpCommunity commit
Example:
Switch(config-controller-ProvisionSnmpConf)#
getSnmpCommunity commit
Step 8
exit
Example:
Switch(config-controller-ProvisionSnmpConf)# exit
Configuration Example
The example shows how to configure and retrieve SNMPv3 Community:
Switch(config-controller-ProvisionSnmpConf)#
community_ip 10.10.10.1
Switch(config-controller-ProvisionSnmpConf)#
community_mask 255.255.255.0
Switch(config-controller-ProvisionSnmpConf)#
community_name user12
Switch(config-controller-ProvisionSnmpConf)#
setSnmpCommunity
snmp_community_conf
setSnmpCommunity
snmp_community_conf
setSnmpCommunity
snmp_community_conf
getSnmpCommunity
getSnmpCommunityConfReques
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
207
Configuring SNMP
Configuring Trap Destination
'255.255.255.0'
GetSnmpCommunity Commit Success!!!
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionSnmpConf
Example:
Switch(config-controller)# ProvisionSnmpConf
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
208
Configuring SNMP
Configuring Trap Destination
Command or Action
Purpose
inform_modeSpecifies inform mode.
enableEnables inform mode.
disableDisables inform mode.
inf_retriesSpecifies inform retries.
retry_instancesInform retry number.
timeout_informSpecifies timeout inform.
timeout_inform_valueTimeout inform value.
Step 5
setSnmpHost review
Example:
Switch(config-controller-ProvisionSnmpConf)#
setSnmpHost review
Step 6
setSnmpHost commit
Example:
Switch(config-controller-ProvisionSnmpConf)#
setSnmpHost commit
Step 7
getSnmpHost getSnmpHostRequest
Example:
Switch(config-controller-ProvisionSnmpConf)#
getSnmpHost getSnmpHostRequest
Step 8
getSnmpHost review
Example:
Switch(config-controller-ProvisionSnmpConf)#
getSnmpHost review
Step 9
getSnmpHost commit
Example:
Switch(config-controller-ProvisionSnmpConf)#
getSnmpHost commit
Step 10
exit
Example:
Switch(config-controller-ProvisionSnmpConf)# exit
Configuration Example
The example shows how to configure and retrieve trap destination:
Switch(config-controller-ProvisionSnmpConf)# setSnmpHost snmp_host_config address ipv4
10.106.212.248
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
209
Configuring SNMP
Configuring an Entry in SNMP View List
getSnmpHost getSnmpHostRequest
getSnmpHost review
getSnmpHost commit
exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionSnmpConf
Example:
Switch(config-controller)# ProvisionSnmpConf
Step 4
Step 5
setSnmpView review
Example:
Switch(config-controller-ProvisionSnmpConf)# setSnmpView
review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
210
Configuring SNMP
Configuring an Entry in SNMP View List
Step 6
Command or Action
Purpose
setSnmpView commit
Example:
Switch(config-controller-ProvisionSnmpConf)# setSnmpView
commit
Step 7
getSnmpView getSnmpViewRequest
Example:
Switch(config-controller-ProvisionSnmpConf)# getSnmpView
getSnmpViewRequest
Step 8
getSnmpViewRequestRetrieves SNMP
default configuration.
Displays the configuration.
getSnmpView review
Example:
Switch(config-controller-ProvisionSnmpConf)# getSnmpView
review
Step 9
getSnmpView commit
Example:
Switch(config-controller-ProvisionSnmpConf)# getSnmpView
commit
Step 10
exit
Example:
Switch(config-controller-ProvisionSnmpConf)# exit
Configuration Example
The example shows how to configure and retrieve an entry in SNMP view list:
Switch(config-controller-ProvisionSnmpConf)#
included
Switch(config-controller-ProvisionSnmpConf)#
.1.3.6.1.2.1.31
Switch(config-controller-ProvisionSnmpConf)#
ifMIB
Switch(config-controller-ProvisionSnmpConf)#
Switch(config-controller-ProvisionSnmpConf)#
setSnmpView
setSnmpViewRequest
view_type
setSnmpView
setSnmpViewRequest
view_oid
setSnmpView
setSnmpViewRequest
view_name
setSnmpView
setSnmpView
review
commit
Switch(config-controller-ProvisionSnmpConf)#
Switch(config-controller-ProvisionSnmpConf)#
Switch(config-controller-ProvisionSnmpConf)#
Switch(config-controller-ProvisionSnmpConf)#
getSnmpView
getSnmpView
getSnmpView
exit
getSnmpViewRequest
review
commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
211
Configuring SNMP
Creating an SNMPv3 User
GetSnmpView_Output.getSnmpViewResponse[0].view_oid = '.1.3.6.1.2.1.31'
GetSnmpView_Output.getSnmpViewResponse[0].view_type = 'included'
GetSnmpView_Output.getSnmpViewResponse[1].view_name = 'default_view'
GetSnmpView_Output.getSnmpViewResponse[1].view_oid = '.1'
GetSnmpView_Output.getSnmpViewResponse[1].view_type = 'included'
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionSnmpConf
Example:
Switch(config-controller)# ProvisionSnmpConf
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
212
Configuring SNMP
Creating an SNMPv3 User
Command or Action
Purpose
priv_passwdPrivacy password.
Step 5
setSnmpUserConf review
Example:
Switch(config-controller-ProvisionSnmpConf)#
setSnmpUserConf review
Step 6
setSnmpUserConf commit
Example:
Switch(config-controller-ProvisionSnmpConf)#
setSnmpUserConf commit
Step 7
getSnmpUserConf getSnmpUserConfRequest
Example:
Switch(config-controller-ProvisionSnmpConf)#
getSnmpUserConf getSnmpUserConfRequest
Step 8
getSnmpUserConf review
Example:
Switch(config-controller-ProvisionSnmpConf)#
getSnmpUserConf review
Step 9
getSnmpUserConf commit
Example:
Switch(config-controller-ProvisionSnmpConf)#
getSnmpUserConf commit
Step 10
exit
Example:
Switch(config-controller-ProvisionSnmpConf)# exit
Configuration Example
The example shows how to create and retrieve an SNMPv3 user:
Switch(config-controller-ProvisionSnmpConf)# setSnmpUserConf setSnmpUsersRequest priv_passwd
12345678
Switch(config-controller-ProvisionSnmpConf)# setSnmpUserConf setSnmpUsersRequest
priviledgeauth aes
Switch(config-controller-ProvisionSnmpConf)# setSnmpUserConf setSnmpUsersRequest
protocol_passwd 12345678
Switch(config-controller-ProvisionSnmpConf)# setSnmpUserConf setSnmpUsersRequest protocolauth
md5
Switch(config-controller-ProvisionSnmpConf)# setSnmpUserConf setSnmpUsersRequest
user_engine_id 800007e5017f000001
Switch(config-controller-ProvisionSnmpConf)# setSnmpUserConf setSnmpUsersRequest user_name
user1
Switch(config-controller-ProvisionSnmpConf)# setSnmpUserConf review
Switch(config-controller-ProvisionSnmpConf)# setSnmpUserConf commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
213
Configuring SNMP
Creating an SNMP User
Switch(config-controller-ProvisionSnmpConf)#
Switch(config-controller-ProvisionSnmpConf)#
Switch(config-controller-ProvisionSnmpConf)#
Switch(config-controller-ProvisionSnmpConf)#
getSnmpUserConf getSnmpUserConfRequest
getSnmpUserConf review
getSnmpUserConf commit
exit
getSnmpUserConfRequest
Switch(config-controller-ProvisionSnmpConf)#getSnmpUserConf review
Commands in queue:
getSnmpUserConf getSnmpUserConfRequest
Switch(config-controller-ProvisionSnmpConf)#getSnmpUserConf commit
GetSnmpUserConf_Output.getSnmpUserConfResponse[0].user_name = 'user1'
GetSnmpUserConf_Output.getSnmpUserConfResponse[0].engine_id =
'800007e5017f000001'
GetSnmpUserConf_Output.getSnmpUserConfResponse[0].protocol = 'MD5'
GetSnmpUserConf_Output.getSnmpUserConfResponse[0].priv = 'DES'
GetSnmpUserConf_Output.getSnmpUserConfResponse[1].user_name =
'default_user'
GetSnmpUserConf_Output.getSnmpUserConfResponse[1].engine_id =
'800007e5017f000001'
GetSnmpUserConf_Output.getSnmpUserConfResponse[1].protocol = 'None'
GetSnmpUserConf_Output.getSnmpUserConfResponse[1].priv = 'None'
GetSnmpUserConf Commit Success!!!
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionSnmpConf
Example:
Switch(config-controller)# ProvisionSnmpConf
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
214
Configuring SNMP
Creating an SNMP User
Command or Action
Purpose
engine_idSpecifies engine ID.
Switch(config-controller-ProvisionSnmpConf)#
setSnmpConfig snmp_config location Bangalore
engine_idEngine ID.
Step 5
setSnmpConfig review
Example:
Switch(config-controller-ProvisionSnmpConf)#
setSnmpConfig review
Step 6
setSnmpConfig commit
Example:
Switch(config-controller-ProvisionSnmpConf)#
setSnmpConfig commit
Step 7
getSnmpConfig getSnmpConfigRequest
Example:
Switch(config-controller-ProvisionSnmpConf)#
getSnmpConfig getSnmpConfigRequest
Step 8
getSnmpConfig review
Example:
Switch(config-controller-ProvisionSnmpConf)#
getSnmpConfig review
Step 9
getSnmpConfig commit
Example:
Switch(config-controller-ProvisionSnmpConf)#
getSnmpConfig commit
Step 10
exit
Example:
Switch(config-controller-ProvisionSnmpConf)# exit
Configuration Example
The example shows how to create and retrieve an SNMP user:
Switch(config-controller-ProvisionSnmpConf)# setSnmpUserConf setSnmpUsersRequest priv_passwd
12345678
Switch(config-controller-ProvisionSnmpConf)# setSnmpConfig snmp_config engine_id
800007e5017f000001
Switch(config-controller-ProvisionSnmpConf)# setSnmpConfig snmp_config contact user2
Switch(config-controller-ProvisionSnmpConf)# setSnmpConfig snmp_config location Bangalore
Switch(config-controller-ProvisionSnmpConf)# setSnmpConfig review
Switch(config-controller-ProvisionSnmpConf)# setSnmpConfig commit
Switch(config-controller-ProvisionSnmpConf)#
Switch(config-controller-ProvisionSnmpConf)#
Switch(config-controller-ProvisionSnmpConf)#
Switch(config-controller-ProvisionSnmpConf)#
getSnmpConfig getSnmpConfigRequest
getSnmpConfig review
getSnmpConfig commit
exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
215
Configuring SNMP
Creating an SNMP User
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
216
CHAPTER
12
Configuring PTP
This document describes the Precision Time Protocol (PTP) feature and configuration steps to implement
PTP.
Prerequisites for Configuring PTP, page 217
Information About PTP, page 217
How to Provision PTP, page 217
Verifying PTP, page 226
Additional References, page 228
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
217
Configuring PTP
Configuring Slave IPv4
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
PTPPortType
Example:
Switch(config-controller)# PTPPortType
Step 4
setPTPclockInstance_v3 ptpClkConfig
Configures slave IPV4, unicast, one step on VLAN 7 with domain
number 0.
{clk_inst_domain | clk_slave | clock_enable |
clock_instance clock_instance_number |dscp | mode
clk_inst_domainHW based or SW based Clock domain.
{boundary | e2etransparent | master | p2ptransparent
| slave} | two_step_flag | one_way | protocol {disable
clk_slaveSet PTP slave clock options.
ethernet | unicast_ipv4 | multicast_ipv4} |servo |
clock_enableEnables or disables clock.
slave-cfg | vlan {disable | vlan_id vlan_id_number} | pcp
{disable | pcp_value} | enabled_ports {port1 | port2 |
clock_instance Specifies PTP clock instance.
port3 | port4 | port5 | port6} | filter | ho | identifier |
clock_instance_number Clock instance number.
localpriority | priority1 | priority2 { profile | disable |
g8265dot1 | g8275dot1 | ieee1588} |clock_domain
dscp Dscp value.
clock_domain_number}
modeSpecifies clock mode.
Example:
Switch(config-controller-PTPPortType)#
setPTPclockInstance_v3 ptp_clock_config
clock_instance 1
Switch(config-controller-PTPPortType)#
setPTPclockInstance_v3 ptp_clock_config
clock_domain 0
Switch(config-controller-PTPPortType)#
setPTPclockInstance_v3 ptp_clock_config
clock_enable enable
Switch(config-controller-PTPPortType)#
setPTPclockInstance_v3 ptp_clock_config mode
slave
Switch(config-controller-PTPPortType)#
setPTPclockInstance_v3 ptp_clock_config one_way
disable
Switch(config-controller-PTPPortType)#
setPTPclockInstance_v3 ptp_clock_config protocol
unicast_ipv4
Switch(config-controller-PTPPortType)#
setPTPclockInstance_v3 ptp_clock_config
two_step_flag disable
Switch(config-controller-PTPPortType)#
setPTPclockInstance_v3 ptp_clock_config vlan
vlan_id 7
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
218
Configuring PTP
Configuring Slave IPv4
Command or Action
Purpose
multicast_ipv4 Specifies multicast protocol.
vlanSpecifies the VLAN ID.
disableDisables VLAN tag.
vlan_id Specifies the VLAN tag.
vlan_id_number VLAN tag number.
pcpSpecifies VLAN PCP.
disableDisables VLAN PCP.
pcp_valueSpecifies the PCP value.
enabled_portsSpecifies UNI ports.
port1 Specifies physical port 1.
port2Specifies physical port 2.
port3Specifies physical port 3.
port4 Specifies physical port 4.
port5Specifies physical port 5.
port6Specifies physical port 6.
filterSpecifies filter parameters.
ho Set PTP Servo holdover parameters.
identifier Defines PTP clock instance identifier.
localpriority Set Local priority for the port.
priority1Specifies clock priority 1 for PTP BMC
algorithm, 0 is highest priority.
priority2Specifies clock priority 2 for PTP BMC
algorithm.
profile Specifies Clock's associated profile.
clock_domainSpecifies PTP domain.
clock_domain_numberPTP domain number.
Step 5
setPTPclockInstance_v3 review
Example:
Switch(config-controller-PTPPortType)#
setPTPclockInstance_v3 review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
219
Configuring PTP
Enabling PTP on a Port
Step 6
Command or Action
Purpose
setPTPclockInstance_v3 commit
Example:
Switch(config-controller-PTPPortType)#
setPTPclockInstance_v3 commit
Step 7
exit
Example:
Switch(config-controller-PTPPortType)# exit
Configuration Example
The example shows how to configure slave IPv4, unicast, one step on VLAN 7 with domain number 0:
Switch(config-controller-PTPPortType)# setPTPclockInstance_v3 ptp_clock_config clock_instance
1
Switch(config-controller-PTPPortType)# setPTPclockInstance_v3 ptp_clock_config clock_domain
0
Switch(config-controller-PTPPortType)# setPTPclockInstance_v3 ptp_clock_config clock_enable
enable
Switch(config-controller-PTPPortType)# setPTPclockInstance_v3 ptp_clock_config mode slave
Switch(config-controller-PTPPortType)# setPTPclockInstance_v3 ptp_clock_config one_way
disable
Switch(config-controller-PTPPortType)# setPTPclockInstance_v3 ptp_clock_config protocol
unicast_ipv4
Switch(config-controller-PTPPortType)# setPTPclockInstance_v3 ptp_clock_config two_step_flag
disable
Switch(config-controller-PTPPortType)# setPTPclockInstance_v3 ptp_clock_config vlan vlan_id
7
Switch(config-controller-PTPPortType)# setPTPclockInstance_v3 review
Switch(config-controller-PTPPortType)# setPTPclockInstance_v3 commit
Switch(config-controller-PTPPortType)# exit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
220
Configuring PTP
Enabling PTP on a Port
Step 3
Command or Action
Purpose
PTPPortType
Example:
Switch(config-controller)# PTPPortType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
221
Configuring PTP
Enabling PTP on a Port
Command or Action
Purpose
disable Disables delay asymmetry.
value Specifies ingress latency in nano seconds.
internal Enables as an internal interface.
sync_intervalSets sync interval.
disable Disables sync interval.
value Specifies sync interval value.
valueSync interval value.
Step 5
setPTPportProperties review
Example:
Switch(config-controller-PTPPortType)#
setPTPportProperties review
Step 6
setPTPportProperties commit
Example:
Switch(config-controller-PTPPortType)#
setPTPportProperties commit
Step 7
exit
Example:
Switch(config-controller-PTPPortType)# exit
Configuration Example
The following example shows how to enable PTP on a port.
Switch(config-controller-PTPPortType)# setPTPportProperties ptp_port_conf port_id 4
Switch(config-controller-PTPPortType)# setPTPportProperties ptp_port_conf clock_inst 1
Switch(config-controller-PTPPortType)# setPTPportProperties ptp_port_conf sync_interval
value -4
Switch(config-controller-PTPPortType)# setPTPportProperties ptp_port_conf delay_req interval
-6
Switch(config-controller-PTPPortType)# setPTPportProperties ptp_port_conf ptp_run enable
Switch(config-controller-PTPPortType)# setPTPportProperties review
Switch(config-controller-PTPPortType)# setPTPportProperties commit
Switch(config-controller-PTPPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
222
Configuring PTP
Enabling or Disabling Microsemi APR
Note
For G.8275.1 profile, there are a few additional parameters that have been added under
setPTPportProperties_v2. In addition to the available parameters for setPTPportProperties, the following
are the new parameters available:
localpriority - Sets Local priority for the port.
mcast_dest - Sets multicast destination address type for the port for G.8275.1 profile.
not_slave - Sets not_slave attribute for the port for G8275.1 BMC algorithm.
Configuration Example
The following example shows how to enable PTP on a port using setPTPportProperties_v2.
Switch(config-controller-PTPPortType)# setPTPportProperties_v2 ptp_port_config ptp_run
enable
Switch(config-controller-PTPPortType)# setPTPportProperties_v2 ptp_port_config clock_inst
1
Switch(config-controller-PTPPortType)# setPTPportProperties_v2 ptp_port_config port_id 2
Switch(config-controller-PTPPortType)# setPTPportProperties_v2 ptp_port_config localpriority
value 12
Switch(config-controller-PTPPortType)# setPTPportProperties_v2 ptp_port_config not_slave
enable
Switch(config-controller-PTPPortType)# setPTPportProperties_v2 ptp_port_config mcast_dest
default
Switch(config-controller-PTPPortType)# setPTPportProperties_v2 ptp_port_config sync_interval
value -4
Switch(config-controller-PTPPortType)# setPTPportProperties_v2 ptp_port_config delay_req
interval -6
Switch(config-controller-PTPPortType)# setPTPportProperties_v2 review
Commands in queue:
setPTPportProperties_v2 ptp_port_config ptp_run enable
setPTPportProperties_v2 ptp_port_config clock_inst 1
setPTPportProperties_v2 ptp_port_config port_id 2
setPTPportProperties_v2 ptp_port_config localpriority value 12
setPTPportProperties_v2 ptp_port_config not_slave enable
setPTPportProperties_v2 ptp_port_config mcast_dest default
setPTPportProperties_v2 ptp_port_config sync_interval value -4
setPTPportProperties_v2 ptp_port_config delay_req interval -6
Switch(config-controller-PTPPortType)# setPTPportProperties_v2 commit
Switch(config-controller-PTPPortType)# exit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
223
Configuring PTP
Enabling or Disabling Microsemi APR
Step 2
Command or Action
Purpose
Example:
Switch(config)# controller nid 1/1
Step 3
PTPPortType
Example:
Switch(config-controller)# PTPPortType
Step 4
setPTPexternalProperties ptp_external_conf
{clock_output_freq | one_pps_output | one_pps_input |
vcxo_freq_control | algorithm {enable | one_hertz |
min_phase}}
Example:
Switch(config-controller-PTPPortType)#
setPTPexternalProperties ptp_external_conf algorithm
enable enable
Switch(config-controller-PTPPortType)#
setPTPexternalProperties ptp_external_conf algorithm
one_hertz enable
Step 5
setPTPexternalProperties ptp_external_conf
{clock_output_freq | one_pps_output | one_pps_input |
vcxo_freq_control | algorithm {enable | one_hertz |
min_phase}}
Example:
Switch(config-controller-PTPPortType)#
setPTPexternalProperties ptp_external_conf algorithm
enable disable
Step 6
setPTPexternalProperties review
Example:
Switch(config-controller-PTPPortType)#
setPTPexternalProperties review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
224
Configuring PTP
Enabling or Disabling Microsemi APR
Step 7
Command or Action
Purpose
setPTPclockInstance commit
Example:
Switch(config-controller-PTPPortType)#
setPTPexternalProperties commit
Step 8
exit
Example:
Switch(config-controller-PTPPortType)# exit
Configuration Example
The following example shows how to enable Microsemi APR.
Switch(config-controller-PTPPortType)# setPTPexternalProperties ptp_external_conf algorithm
enable enable
Switch(config-controller-PTPPortType)# setPTPexternalProperties ptp_external_conf algorithm
one_hertz enable
Switch(config-controller-PTPPortType)# setPTPexternalProperties review
Switch(config-controller-PTPPortType)# setPTPexternalProperties commit
Switch(config-controller-PTPPortType)# exit
The following example shows how to disable Microsemi APR and return to default VTSS APR.
Switch(config-controller-PTPPortType)# setPTPexternalProperties ptp_external_conf algorithm
enable disable
Switch(config-controller-PTPPortType)# setPTPexternalProperties review
Switch(config-controller-PTPPortType)# setPTPexternalProperties commit
Switch(config-controller-PTPPortType)# exit
Note
For G.8275.1 profile, there are a few additional parameters that have been added under
setPTPexternalProperties_v2. In addition to the available parameters for setPTPexternalProperties,
the following are the new parameters available:
ho_spec - Holdover specification for G.8275 PTP clocks.
adjustment_method - Adjustment method.
Configuration Example
The following example shows how to set holdover specification and adjustment method for G.8275.1 profile.
Switch(config-controller-PTPPortType)#
ho_spec enable enable
Switch(config-controller-PTPPortType)#
ho_spec cat1_value 11
Switch(config-controller-PTPPortType)#
ho_spec cat2_value 12
Switch(config-controller-PTPPortType)#
ho_spec cat3_value 13
Switch(config-controller-PTPPortType)#
one_pps_mode one_pps_input enable
Switch(config-controller-PTPPortType)#
adjustment_method ltc_phase enable
setPTPexternalProperties_v2 ptp_external_config
setPTPexternalProperties_v2 ptp_external_config
setPTPexternalProperties_v2 ptp_external_config
setPTPexternalProperties_v2 ptp_external_config
setPTPexternalProperties_v2 ptp_external_config
setPTPexternalProperties_v2 ptp_external_config
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
225
Configuring PTP
Verifying PTP
ptp_external_config
ptp_external_config
ptp_external_config
ptp_external_config
ptp_external_config
ptp_external_config
Verifying PTP
Use the following commands to verify the PTP status on the controller:
Switch(config-controller-PTPPortType)# showPTPall ptp_show_req 1
Switch(config-controller-PTPPortType)# showPTPall commit
Note
To view the values of the parameters that have been added as part of G.8275.1 profile, use the
showPTPall_v2 command.
The following is a sample output from the showPTPall command:
ShowPTPall_Output.ptp_show_response[0].local_current_time.ptp_time =
'local time not implemented for clk_inst = 1 '
ShowPTPall_Output.ptp_show_response[0].local_current_time.clock_adjustment_method.t
= 4
ShowPTPall_Output.ptp_show_response[0].local_current_time.clock_adjustment_method.u.software
= ''
ShowPTPall_Output.ptp_show_response[0].clock_default_dataset.clock_id =
1
ShowPTPall_Output.ptp_show_response[0].clock_default_dataset.mode.t = 5
ShowPTPall_Output.ptp_show_response[0].clock_default_dataset.mode.u.slave
= ''
ShowPTPall_Output.ptp_show_response[0].clock_default_dataset.two_step_flag
= false
ShowPTPall_Output.ptp_show_response[0].clock_default_dataset.ports = '255'
ShowPTPall_Output.ptp_show_response[0].clock_default_dataset.clock_identity
= '4348018d07000075'
ShowPTPall_Output.ptp_show_response[0].clock_default_dataset.clock_quality
= 'Cl:255 Ac:128 Va:00004'
ShowPTPall_Output.ptp_show_response[0].clock_default_dataset.properties.priority1
= 0
ShowPTPall_Output.ptp_show_response[0].clock_default_dataset.properties.priority2
= 0
ShowPTPall_Output.ptp_show_response[0].clock_default_dataset.properties.clock_domain
= 127
ShowPTPall_Output.ptp_show_response[0].clock_default_dataset.protocol.t
= 1
ShowPTPall_Output.ptp_show_response[0].clock_default_dataset.protocol.u.ethernet
= ''
ShowPTPall_Output.ptp_show_response[0].clock_default_dataset.one_way =
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
226
Configuring PTP
Verifying PTP
true
ShowPTPall_Output.ptp_show_response[0].clock_default_dataset.vlan.t = 1
ShowPTPall_Output.ptp_show_response[0].clock_default_dataset.vlan.u.disable
= ''
ShowPTPall_Output.ptp_show_response[0].clock_default_dataset.pcp.t = 1
ShowPTPall_Output.ptp_show_response[0].clock_default_dataset.pcp.u.disable
= ''
ShowPTPall_Output.ptp_show_response[0].time_property.UTC_offset.t = 2
ShowPTPall_Output.ptp_show_response[0].time_property.UTC_offset.u.value
= 34
ShowPTPall_Output.ptp_show_response[0].time_property.frequency_traceable
= true
ShowPTPall_Output.ptp_show_response[0].time_property.leap59 = true
ShowPTPall_Output.ptp_show_response[0].time_property.leap61 = true
ShowPTPall_Output.ptp_show_response[0].time_property.timing_traceable =
true
ShowPTPall_Output.ptp_show_response[0].time_property.ptp_timescale = true
ShowPTPall_Output.ptp_show_response[0].time_property.ptp_timesource = 0
ShowPTPall_Output.ptp_show_response[0].clock_parent_dataset =
'ParentPortIdentity port Pstat Var ChangeRate d0c282fffe17dfbf 1 0
65170-8207664
GrandmasterIdentity GrandmasterClockQuality Pri1 Pri2fe17dfbf68fe70cd
Cl:128 Ac:128 Va:33914 92 145
'
ShowPTPall_Output.ptp_show_response[0].clock_current_dataset.stpRm = 1
ShowPTPall_Output.ptp_show_response[0].clock_current_dataset.offset_from_master
= ' 0.000.000.003'
ShowPTPall_Output.ptp_show_response[0].clock_current_dataset.mean_path_delay
= ' 0.000.000.067'
ShowPTPall_Output.ptp_show_response[0].clock_current_dataset.slave_port
= 4
ShowPTPall_Output.ptp_show_response[0].clock_current_dataset.slave_state.t
= 4
ShowPTPall_Output.ptp_show_response[0].clock_current_dataset.slave_state.u.LOCKED
= ''
ShowPTPall_Output.ptp_show_response[0].clock_current_dataset.holdover =
'TRUE -368.3
'
ShowPTPall_Output.ptp_show_response[0].slave_cfg[0].index_ = 0
ShowPTPall_Output.ptp_show_response[0].slave_cfg[0].duration = 100
ShowPTPall_Output.ptp_show_response[0].slave_cfg[0].peer_ip_addr =
'7.7.7.7'
ShowPTPall_Output.ptp_show_response[0].slave_cfg[1].index_ = 1
ShowPTPall_Output.ptp_show_response[0].slave_cfg[1].duration = 100
ShowPTPall_Output.ptp_show_response[0].slave_cfg[1].peer_ip_addr =
'0.0.0.0'
ShowPTPall_Output.ptp_show_response[0].slave_cfg[2].index_ = 2
ShowPTPall_Output.ptp_show_response[0].slave_cfg[2].duration = 100
ShowPTPall_Output.ptp_show_response[0].slave_cfg[2].peer_ip_addr =
'0.0.0.0'
ShowPTPall_Output.ptp_show_response[0].slave_cfg[3].index_ = 3
ShowPTPall_Output.ptp_show_response[0].slave_cfg[3].duration = 100
ShowPTPall_Output.ptp_show_response[0].slave_cfg[3].peer_ip_addr =
'0.0.0.0'
ShowPTPall_Output.ptp_show_response[0].slave_cfg4.index_ = 4
ShowPTPall_Output.ptp_show_response[0].slave_cfg4.duration = 100
ShowPTPall_Output.ptp_show_response[0].slave_cfg4.peer_ip_addr = '0.0.0.0'
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
227
Configuring PTP
Additional References
Additional References
Related Documents
Related Topic
Document Title
MIBs
MIB
MIBs Link
To locate and download MIBs for selected platforms, Cisco IOS releases,
and feature sets, use Cisco MIB Locator found at the following URL:
http://www.cisco.com/go/mibs
Technical Assistance
Description
Link
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
228
CHAPTER
13
Configuring ACLs
This chapter describes how to configure network security on the Cisco ME 1200 NID using access control
lists (ACLs), which are also referred as access lists. Information in this chapter about ACLs is specific to IP
Version 4 (IPv4). The other supported ACLs for Cisco IOS 15.4 (2)SN release are UDP, Ethernet, TCP, and
ICMP.
For more information on ACLs, see Configuring Network Security with ACLs.
Prerequisites for Configuring ACLs, page 229
Restrictions for Configuring ACLs, page 229
How to Configure ACLs, page 230
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
229
Configuring ACLs
How to Configure ACLs
Tip
To add more number of ACLs when the maximum entries are achieved, remove unwanted
ACLs to configure more ACLs.
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionACL
Example:
Switch(config-controller)# ProvisionACL
Step 4
Step 5
deny {H.H.H |any |host H.H.H} {H.H.H |any |host Configures the ACL rule.
H.H.H} OR permit {H.H.H | any |host H.H.H }
denySpecifies the packets to be reject.
{H.H.H |any |host H.H.H }
icmpInternet Control Message Protocol.
Example:
Switch(config-ext-macl)# deny host
0000.0000.0001 host 5555.6666.7777
Switch(config-ext-macl)# permit host
4444.aaaa.cccc host 4444.cccc.aaaa
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
230
Configuring ACLs
Configuring ACL Rules on the NID using the Controller
Command or Action
Purpose
icmpInternet Control Message Protocol.
ipAny Internet Protocol.
tcpTransmission Control Protocol.
udpUser Datagram Protocol.
H.H.HSpecifies the 48-bit source or destination MAC
address.
anySpecifies any source or destination MAC address.
hostSpecifies a single source or destination host.
H.H.H48-bit source or destination MAC address.
Step 6
exit
Example:
Switch(config-ext-macl)# exit
Configuration Example
Note
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
231
Configuring ACLs
Creating ACL Global Configurations
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionACL
Example:
Switch(config-controller)# ProvisionACL
Step 4
Step 5
createAclConfig review
Example:
Switch(config-controller-ProvisionACL)# createAclConfig
review
Step 6
createAclConfig commit
Example:
Switch(config-controller-ProvisionACL)# createAclConfig
commit
Step 7
exit
Example:
Switch(config-controller-ProvisionACL)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionACL
Switch(config-controller-ProvisionACL)# createAclConfig createAclConfigRequest acl_name
acl_nid_50000
Switch(config-controller-ProvisionACL)# createAclConfig review
Commands in queue:
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
232
Configuring ACLs
Applying ACL Configuration to the Ports
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionACL
Example:
Switch(config-controller)# ProvisionACL
Step 4
Example:
Switch(config-controller-ProvisionACL)# applyAclToPort
applyAclToPortRequest acl_name nid_acl_50000
Switch(config-controller-ProvisionACL)# applyAclToPort
applyAclToPortRequest port_number 3
Step 5
applyAclToPort review
Example:
Switch(config-controller-ProvisionACL)# applyAclToPort
review
Step 6
applyAclToPort commit
Example:
Switch(config-controller-ProvisionACL)# applyAclToPort
commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
233
Configuring ACLs
Viewing ACL Global Configurations
Step 7
Command or Action
Purpose
exit
Example:
Switch(config-controller-ProvisionACL)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionACL
Switch(config-controller-ProvisionACL)# applyAclToPort applyAclToPortRequest acl_name
nid_acl_50000
Switch(config-controller-ProvisionACL)# applyAclToPort applyAclToPortRequest port_number 3
Switch(config-controller-ProvisionACL)# applyAclToPort review
Commands in queue:
applyAclToPort applyAclToPortRequest acl_name nid_acl_50000
applyAclToPort applyAclToPortRequest port_number 3
Switch(config-controller-ProvisionACL)# applyAclToPort commit
ApplyAclToPort
Commit Success!!!
Switch(config-controller-ProvisionACL)# exit
For applying the policy ID using EVC configuration, see Configuring ECE Sample Rule 1 and Other
Commands For EVC Configuration
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionACL
Example:
Switch(config-controller)# ProvisionACL
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
234
Configuring ACLs
Viewing ACL Global Configurations
Step 4
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionACL)# getAclConfig
getAclConfigRequest acl_name nid_acl_50000
Step 5
getAclConfig review
WORDACL name.
Example:
Switch(config-controller-ProvisionACL)# getAclConfig
review
Step 6
getAclConfig commit
Example:
Switch(config-controller-ProvisionACL)# getAclConfig
commit
Step 7
exit
Example:
Switch(config-controller-ProvisionACL)# exit
Configuration Example
Example 1: MAC
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionACL
Switch(config-controller-ProvisionACL)# getAclConfig getAclConfigRequest acl_name
nid_acl_50000
Switch(config-controller-ProvisionACL)# getAclConfig review
Commands in queue:
getAclConfig getAclConfigRequest acl_name nid_acl_50000
Switch(config-controller-ProvisionACL)# getAclConfig commit
GetAclConfig_Output.getAclConfigResponse.acl_definition = '
Extended MAC access list nid_acl_50000
permit host 0000.0000.0001 host 5555.5556.5557
permit any any etype-6000'
GetAclConfig Commit Success!!!
Switch(config-controller-ProvisionACL)# exit
Example 2: IP
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionACL
Switch(config-controller-ProvisionACL)# getAclConfig getAclConfigRequest acl_name
nid_acl_50000
Switch(config-controller-ProvisionACL)# getAclConfig review
Commands in queue:
getAclConfig getAclConfigRequest acl_name nid_acl_50000
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
235
Configuring ACLs
Removing ACL Global Configurations
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionACL
Example:
Switch(config-controller)# ProvisionACL
Step 4
Step 5
removeAclconfig review
Example:
Switch(config-controller-ProvisionACL)# removeAclconfig
review
Step 6
removeAclconfig commit
Example:
Switch(config-controller-ProvisionACL)# removeAclconfig
commit
Step 7
exit
Example:
Switch(config-controller-ProvisionACL)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
236
Configuring ACLs
Removing ACL Port Configurations
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionACL
Switch(config-controller-ProvisionACL)# removeAclconfig removeAclConfigRequest acl_name
nid_acl_50000
Switch(config-controller-ProvisionACL)# removeAclconfig review
Commands in queue:
removeAclconfig removeAclConfigRequest acl_name nid_acl_50000
Switch(config-controller-ProvisionACL)# removeAclconfig commit
RemoveAclConfig Commit Success!!!
To verify the remove action:
Switch(config-controller-ProvisionACL)# getAclConfig getAclConfigRequest acl_name
nid_acl_50000
Switch(config-controller-ProvisionACL)# getAclConfig commit
GetAclConfig_Output.getAclConfigResponse.acl_definition = '
nid_acl_50000 does not exist '
GetAclConfig Commit Success!!!
Switch(config-controller-ProvisionACL)# exit
What to Do Next
Use the getAclConfig getAclConfigRequest command to verify the remove action.
Switch(config-controller-ProvisionACL)# getAclConfig getAclConfigRequest acl_name acl_name
Switch(config-controller-ProvisionACL)# getAclConfig review
Switch(config-controller-ProvisionACL)# getAclConfig commit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionACL
Example:
Switch(config-controller)# ProvisionACL
Step 4
removeAclFromPort removeAclFromPortRequest
{acl_name WORD | port_number Port_Number}
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
237
Configuring ACLs
Removing ACL Port Configurations
Command or Action
Purpose
WORDACL name.
Example:
Switch(config-controller-ProvisionACL)#
removeAclFromPort removeAclFromPortRequest
port-number 3
Step 5
removeAclFromPort review
Example:
Switch(config-controller-ProvisionACL)#
removeAclFromPort review
Step 6
removeAclFromPort commit
Example:
Switch(config-controller-ProvisionACL)#
removeAclFromPort commit
Step 7
exit
Example:
Switch(config-controller-ProvisionACL)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionACL
Switch(config-controller-ProvisionACL)# removeAclFromPort removeAclFromPortRequest port_number
3
Switch(config-controller-ProvisionACL)# removeAclFromPort review
Commands in queue:
removeAclFromPort removeAclFromPortRequest port_number 3
Switch(config-controller-ProvisionACL)# removeAclFromPort commit
RemoveAclFromPort Commit Success!!!
Switch(config-controller-ProvisionACL)# exit
What to Do Next
Use the showAclConfigSummary command to view the interface ACL summary.
Switch(config-controller-ProvisionACL)# showAclConfigSummary showAclConfigSummaryRequest
Switch(config-controller-ProvisionACL)# showAclConfigSummary review
Switch(config-controller-ProvisionACL)# showAclConfigSummary commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
238
Configuring ACLs
Verifying ACL Configurations
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionACL
Example:
Switch(config-controller)# ProvisionACL
Step 4
showAclConfigSummaryshowAclConfigSummaryRequest
Example:
Switch(config-controller-ProvisionACL)#
showAclConfigSummary showAclConfigSummaryRequest
Step 5
showAclConfigSummary review
Example:
Switch(config-controller-ProvisionACL)#
showAclConfigSummary review
Step 6
showAclConfigSummary commit
Example:
Switch(config-controller-ProvisionACL)#
showAclConfigSummary commit
Step 7
exit
Example:
Switch(config-controller-ProvisionACL)# exit
Configuration Example
Switch# configure terminal
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionACL
Switch(config-controller-ProvisionACL)# showAclConfigSummary showAclConfigSummaryRequest
Switch(config-controller-ProvisionACL)# showAclConfigSummary review
Commands in queue:
showAclConfigSummary showAclConfigSummaryRequest
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
239
Configuring ACLs
Verifying ACL Configurations
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
240
CHAPTER
14
Note
Note
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
241
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionQos
Example:
Switch(config-controller)# ProvisionQos
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
242
Step 5
Command or Action
Purpose
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Configuration Example
The following example shows the supported QoS configuration:
Switch(config-controller-ProvisionQos)# ?
ProvisionQos sub-mode commands:
default
Set a command to its defaults
deleteQCE
Delete a particular QCE
exit
Exit from ProvisionQos sub configuration mode
getInputGlobalPolicy
Show Output QoS global features configured
getInputPortPolicy
Show Input Policy configured on Physical Port
getOutputGlobalPolicy Show Global Output QoS features
getOutputPortPolicy
Show Output Policy configured on Physical Port
getQCE
getQCE (default)
getSystemQosSettings
getSystemQosSettings (default)
no
Negate a command or set its defaults
reorderQCEentries
reorderQCEentries (default)
setInputGlobalPolicy
configure Global Input QoS features
setInputPortPolicy
configure Input policy on Physical Port
setOutputGlobalPolicy configure Global Output QoS features
setOutputPortPolicy
configure Output policy on Physical Port
setQCE
setQCE (default)
setSystemQosSettings
set System-wide QoS settings
showQCElist
showQCElist (default)
showQueueStatistics
Display egress queue statistics
DETAILED STEPS
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionQos)#
setInputGlobalPolicy ?
commit
commit
setInputGlobalPolicy
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
243
Command or Action
flush
flush all
setInputGlobalPolicy commands from queue
inputGlobalPolicyConfig configure
Global Input QoS features
review
review
setInputGlobalPolicy commands
Purpose
reviewDisplays the configuration on the controller.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
244
Command or Action
Purpose
value_26 AF31. Assured Forwarding PHB (DSCP 26)
value_27 DSCP 27
value_28 AF32. Assured Forwarding PHB (DSCP 28)
value_29 DSCP 29
value_30 AF33. Assured Forwarding PHB (DSCP 30)
value_31 DSCP 31
value_32 CS4. Class Selector PHB precedence 1(DSCP 32)
value_33DSCP 33
value_34 AF41. Assured Forwarding PHB (DSCP 34)
value_35 DSCP 35
value_36 AF42. Assured Forwarding PHB (DSCP 36)
value_37 DSCP 37
value_38 AF43. Assured Forwarding PHB (DSCP 38)
value_39 DSCP 39
value_40 CS5. Class Selector PHB precedence 1(DSCP 40)
value_41 DSCP 41
value_42 DSCP 42
value_43 DSCP 43
value_44 VA. Voice Admit PHB(DSCP 44)
value_45 DSCP 45
value_46 Expedited Forwarding PHB(DSCP 46)
value_47 DSCP 47
value_48 CS6. Class Selector PHB precedence 1(DSCP 48)
value_49 DSCP 49
value_50 DSCP 50
value_51 DSCP 51
value_52 DSCP 52
value_53 DSCP 53
value_54 DSCP 54
value_55 DSCP 55
value_56 CS7. Class Selector PHB precedence 1(DSCP 56)
value_57 DSCP 57
value_58 DSCP 58
value_59 DSCP 59
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
245
Command or Action
Purpose
value_60 DSCP 60
value_61 DSCP 61
value_62 DSCP 62
value_63 DSCP 63
mark_DSCPMarks the DSCP on the controller. The valid range
is from 0 to 63. 64 is invalid.
mark_egress_classAssigns to egress queue. The valid range is
from 0 to 7. 8 is invalid.
service_policyAttaches or detaches the service policy.
attachAttaches the service policy and enables the
configuration.
detachRemoves the service policy, removes all configuration
and restore the default configuration.
Example:
Switch(config-controller-ProvisionQos)#
setInputGlobalPolicy review
Commands in queue:
setInputGlobalPolicy
inputGlobalPolicyConfig match_DSCP
value_02 mark_DSCP 4
setInputGlobalPolicy
inputGlobalPolicyConfig match_DSCP
value_02 mark_egress_class 4
setInputGlobalPolicy
inputGlobalPolicyConfig service_policy
attach
Example:
Switch(config-controller-ProvisionQos)#
setInputGlobalPolicy commit
Step 5 exit
Example:
Switch(config-controller-ProvisionQos)#
exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
246
Configuration Example
The example shows how to configure QoS input policy globally on the controller:
Switch(config-controller-ProvisionQos)# setInputGlobalPolicy inputGlobalPolicyConfig
match_DSCP value_00 mark_DSCP 4
Switch(config-controller-ProvisionQos)# setInputGlobalPolicy inputGlobalPolicyConfig
match_DSCP value_00 mark_egress_class 4
Switch(config-controller-ProvisionQos)# setInputGlobalPolicy inputGlobalPolicyConfig
service_policy attach
Switch(config-controller-ProvisionQos)# setInputGlobalPolicy review
Commands in queue:
setInputGlobalPolicy inputGlobalPolicyConfig match_DSCP value_02 mark_DSCP 4
setInputGlobalPolicy inputGlobalPolicyConfig match_DSCP value_02 mark_egress_class
4
setInputGlobalPolicy inputGlobalPolicyConfig service_policy attach
Switch(config-controller-ProvisionQos)# setInputGlobalPolicy commit
SetInputGlobalPolicy Commit Success!!!
Switch(config-controller-ProvisionQos)# exit
DETAILED STEPS
Command or Action
Purpose
Step 1 setInputPortPolicy {commit | flush | inputPortPolicyConfig Sets the input QoS policy at port level.
| review}
commitSends the QoS configuration to NID.
Example:
Switch(config-controller-ProvisionQos)#
setInputPortPolicy ?
commit
commit setInputPortPolicy
flush
flush all setInputPortPolicy
commands from queue
inputPortPolicyConfig configure Input policy on
Physical Port
review
review setInputPortPolicy
commands
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
247
Command or Action
Purpose
enableEnables the marking.
Example:
Switch(config-controller-ProvisionQos)#
setInputPortPolicy inputPortPolicyConfig
egress_class_marking enable
Switch(config-controller-ProvisionQos)#
setInputPortPolicy inputPortPolicyConfig
globalDscpBasedDscpIngressMarking enable
Switch(config-controller-ProvisionQos)#
setInputPortPolicy inputPortPolicyConfig
globalDscpBasedEgressClassMarking enable
Switch(config-controller-ProvisionQos)#
setInputPortPolicy inputPortPolicyConfig match cos
value_0
Switch(config-controller-ProvisionQos)#
setInputPortPolicy inputPortPolicyConfig port_number
1
Switch(config-controller-ProvisionQos)#
setInputPortPolicy inputPortPolicyConfig port_policer
cir 1000
Switch(config-controller-ProvisionQos)#
setInputPortPolicy inputPortPolicyConfig port_policer
state enable
Switch(config-controller-ProvisionQos)#
setInputPortPolicy inputPortPolicyConfig qce address
destination
Switch(config-controller-ProvisionQos)#
setInputPortPolicy inputPortPolicyConfig qce key
double_tag
Switch(config-controller-ProvisionQos)#
setInputPortPolicy inputPortPolicyConfig
service_policy attach
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
248
Command or Action
Purpose
mac_ip_addrMatch outer tag, inner tag,
SMAC, DMAC, IP protocol, DSCP, SIP,DIP,
SPORT and DPORT.
normalMatch outer tag, SMAC/DMAC, IP
protocol, DSCP, SIP/DIP, SPORT and DPORT
(default).
service_policyAttaches or detaches the service policy
on the port.
attachAttaches the service policy and enables the
configuration.
detachRemoves the service policy, removes the
configuration and restores the default configuration.
Example:
Switch(config-controller-ProvisionQos)#
setInputPortPolicy review
Commands in queue:
Commands in queue:
setInputPortPolicy inputPortPolicyConfig
egress_class_marking enable
setInputPortPolicy inputPortPolicyConfig
globalDscpBasedDscpIngressMarking enable
setInputPortPolicy inputPortPolicyConfig
globalDscpBasedEgressClassMarking enable
setInputPortPolicy inputPortPolicyConfig match
cos value_0 mark_egress_class 5
setInputPortPolicy inputPortPolicyConfig match
cos value_0 mark_egress_class 5
setInputPortPolicy inputPortPolicyConfig
port_policer state enable
setInputPortPolicy inputPortPolicyConfig
port_number 1
setInputPortPolicy inputPortPolicyConfig
port_policer cir 1000
setInputPortPolicy inputPortPolicyConfig
port_policer state enable
setInputPortPolicy inputPortPolicyConfig qce
address source
setInputPortPolicy inputPortPolicyConfig qce
key normal
setInputPortPolicy inputPortPolicyConfig
service_policy attach
Step 4 setInputPortPolicycommit
Example:
Switch(config-controller-ProvisionQos)#
setInputPortPolicy commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
249
Command or Action
Step 5 exit
Purpose
Exits the QoS provisioning mode.
Example:
Switch(config-controller-ProvisionQos)# exit
Configuration Example
The example shows how to configure QoS input port policy on the controller:
Switch(config-controller-ProvisionQos)# setInputPortPolicy inputPortPolicyConfig
egress_class_marking enable
Switch(config-controller-ProvisionQos)# setInputPortPolicy inputPortPolicyConfig
globalDscpBasedDscpIngressMarking enable
Switch(config-controller-ProvisionQos)# setInputPortPolicy inputPortPolicyConfig
globalDscpBasedEgressClassMarking enable
Switch(config-controller-ProvisionQos)# setInputPortPolicy inputPortPolicyConfig match cos
value_0
Switch(config-controller-ProvisionQos)# setInputPortPolicy inputPortPolicyConfig port_number
1
Switch(config-controller-ProvisionQos)# setInputPortPolicy inputPortPolicyConfig port_policer
cir 1000
Switch(config-controller-ProvisionQos)# setInputPortPolicy inputPortPolicyConfig port_policer
state enable
Switch(config-controller-ProvisionQos)# setInputPortPolicy inputPortPolicyConfig qce address
destination
Switch(config-controller-ProvisionQos)# setInputPortPolicy inputPortPolicyConfig qce key
double_tag
Switch(config-controller-ProvisionQos)# setInputPortPolicy inputPortPolicyConfig
service_policy attach
Switch(config-controller-ProvisionQos)# setInputPortPolicy review
Commands in queue:
Commands in queue:
setInputPortPolicy inputPortPolicyConfig egress_class_marking enable
setInputPortPolicy inputPortPolicyConfig globalDscpBasedDscpIngressMarking enable
setInputPortPolicy inputPortPolicyConfig globalDscpBasedEgressClassMarking enable
setInputPortPolicy inputPortPolicyConfig match cos value_0 mark_egress_class 5
setInputPortPolicy inputPortPolicyConfig match cos value_0 mark_egress_class 5
setInputPortPolicy inputPortPolicyConfig port_policer state enable
setInputPortPolicy inputPortPolicyConfig port_number 1
setInputPortPolicy inputPortPolicyConfig port_policer cir 1000
setInputPortPolicy inputPortPolicyConfig port_policer state enable
setInputPortPolicy inputPortPolicyConfig qce address source
setInputPortPolicy inputPortPolicyConfig qce key normal
setInputPortPolicy inputPortPolicyConfig service_policy attach
Switch(config-controller-ProvisionQos)# setInputPortPolicy commit
SetInputPortPolicy Commit Success!!!
Switch(config-controller-ProvisionQos)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
250
DETAILED STEPS
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionQos)#
setOutputGlobalPolicy ?
commit
commit
setOutputGlobalPolicy
flush
flush all
setOutputGlobalPolicy commands from
queue
outputGlobalPolicyConfig configure
Global Output QoS features
review
review
setOutputGlobalPolicy commands
Step 2 setOutputGlobalPolicy
outputGlobalPolicyConfig {match_DSCP
value_xx {mark_DSCP dscp_value} |
service_policy {attach | detach}}
Example:
Switch(config-controller-ProvisionQos)#
setOutputGlobalPolicy
outputGlobalPolicyConfig match_DSCP
value_01 mark_DSCP 1
Switch(config-controller-ProvisionQos)#
setOutputGlobalPolicy
outputGlobalPolicyConfig service_policy
attach
value_01 DSCP 1
value_02 DSCP 2
value_03 DSCP 3
value_04 DSCP 4
value_05 DSCP 5
value_06 DSCP 6
value_07 DSCP 7
value_08 CS1. Class Selector PHB precedence 1(DSCP 8)
value_09 DSCP 9
value_10 AF11. Assured Forwarding PHB (DSCP 10)
value_11 DSCP 11
value_12 AF12. Assured Forwarding PHB (DSCP 12)
value_13 DSCP 13
value_14 AF13. Assured Forwarding PHB (DSCP 14)
value_15 DSCP 15
value_16 CS2. Class Selector PHB precedence 1(DSCP 16)
value_16 CS2. Class Selector PHB precedence 1(DSCP 16)
value_17 DSCP 17
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
251
Command or Action
Purpose
value_18 AF21. Assured Forwarding PHB (DSCP 18)
value_19 DSCP 19
value_20 AF22. Assured Forwarding PHB (DSCP 20)
value_21 DSCP 21
value_22 AF23. Assured Forwarding PHB (DSCP 22)
value_23 DSCP 23
value_24 CS3. Class Selector PHB precedence 1(DSCP 24)
value_25 DSCP 25
value_26 AF31. Assured Forwarding PHB (DSCP 26)
value_27 DSCP 27
value_28 AF32. Assured Forwarding PHB (DSCP 28)
value_29 DSCP 29
value_30 AF33. Assured Forwarding PHB (DSCP 30)
value_31 DSCP 31
value_32 CS4. Class Selector PHB precedence 1(DSCP 32)
value_33DSCP 33
value_34 AF41. Assured Forwarding PHB (DSCP 34)
value_35 DSCP 35
value_36 AF42. Assured Forwarding PHB (DSCP 36)
value_37 DSCP 37
value_38 AF43. Assured Forwarding PHB (DSCP 38)
value_39 DSCP 39
value_40 CS5. Class Selector PHB precedence 1(DSCP 40)
value_41 DSCP 41
value_42 DSCP 42
value_43 DSCP 43
value_44 VA. Voice Admit PHB(DSCP 44)
value_45 DSCP 45
value_46 Expedited Forwarding PHB(DSCP 46)
value_47 DSCP 47
value_48 CS6. Class Selector PHB precedence 1(DSCP 48)
value_49 DSCP 49
value_50 DSCP 50
value_51 DSCP 51
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
252
Command or Action
Purpose
value_52 DSCP 52
value_53 DSCP 53
value_54 DSCP 54
value_55 DSCP 55
value_56 CS7. Class Selector PHB precedence 1(DSCP 56)
value_57 DSCP 57
value_58 DSCP 58
value_59 DSCP 59
value_60 DSCP 60
value_61 DSCP 61
value_62 DSCP 62
value_63 DSCP 63
mark_DSCPMarks the DSCP on the controller. The valid range is
from 0 to 63. 64 is invalid.
service_policyApplies the service policy.
attachAdds the service policy.
detachRemoves the service policy.
Example:
Switch(config-controller-ProvisionQos)#
setOutputGlobalPolicy review
Commands in queue:
setOutputGlobalPolicy
outputGlobalPolicyConfig match_DSCP
value_01 mark_DSCP 1
setOutputGlobalPolicy
outputGlobalPolicyConfig service_policy
attach
Step 4 setOutputGlobalPolicycommit
Example:
Switch(config-controller-ProvisionQos)#
setOutputGlobalPolicy commit
Step 5 exit
Example:
Switch(config-controller-ProvisionQos)#
exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
253
Configuration Example
The example shows how to configure QoS output policy globally on the controller:
Switch(config-controller-ProvisionQos)# setOutputGlobalPolicy outputGlobalPolicyConfig
match_DSCP value_00 mark_DSCP 4
Switch(config-controller-ProvisionQos)# setOutputGlobalPolicy outputGlobalPolicyConfig
service_policy attach
Switch(config-controller-ProvisionQos)# setOutputGlobalPolicy review
Commands in queue:
setOutputGlobalPolicy outputGlobalPolicyConfig match_DSCP value_01 mark_DSCP 1
setOutputGlobalPolicy outputGlobalPolicyConfig service_policy attach
Switch(config-controller-ProvisionQos)# setOutputGlobalPolicy commit
SetOutputGlobalPolicy Commit Success!!!
Switch(config-controller-ProvisionQos)# exit
DETAILED STEPS
Command or Action
Purpose
Step 1 setOutputPortPolicy {commit | flush | outputPortPolicyConfig Sets the output QoS policy at port level.
| review}
commitSends the QoS configuration to NID.
Example:
Switch(config-controller-ProvisionQos)#
setOutputPortPolicy ?
commit
commit setOutputPortPolicy
flush
flush all setOutputPortPolicy
commands from queue
outputPortPolicyConfig configure Output policy on
Physical Port
review
review setOutputPortPolicy
commands
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
254
Command or Action
Purpose
setOutputPortPolicy outputPortPolicyConfig
globalDscpBasedDscpEgressMarking enable
Switch(config-controller-ProvisionQos)#
setOutputPortPolicy outputPortPolicyConfig match
egress_class_0 bandwidth priority_level 8
Switch(config-controller-ProvisionQos)#
setOutputPortPolicy outputPortPolicyConfig match
egress_class_0 bandwidth remaining_ratio 20
Switch(config-controller-ProvisionQos)#
setOutputPortPolicy outputPortPolicyConfig match
egress_class_0 mark_cos 7
Switch(config-controller-ProvisionQos)#
setOutputPortPolicy outputPortPolicyConfig port_number
1
Switch(config-controller-ProvisionQos)#
setOutputPortPolicy outputPortPolicyConfig port_shaper
rate 1000
Switch(config-controller-ProvisionQos)#
setOutputPortPolicy outputPortPolicyConfig port_shaper
state enable
Switch(config-controller-ProvisionQos)#
setOutputPortPolicy outputPortPolicyConfig
service_policy attach
Example:
Switch(config-controller-ProvisionQos)#
setOutputPortPolicy review
Commands in queue:
setOutputPortPolicy outputPortPolicyConfig
cos_marking enable
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
255
Command or Action
Purpose
setOutputPortPolicy outputPortPolicyConfig
globalDscpBasedDscpEgressMarking enable
setOutputPortPolicy outputPortPolicyConfig match
egress_class_0 bandwidth priority_level 8
setOutputPortPolicy outputPortPolicyConfig match
all-egress_classes mark _cos 7
setOutputPortPolicy outputPortPolicyConfig
port_number 4
setOutputPortPolicy outputPortPolicyConfig
port_shaper rate 100
setOutputPortPolicy outputPortPolicyConfig
port_shaper state enable
setOutputPortPolicy outputPortPolicyConfig
service_policy attach
Step 4 setOutputPortPolicycommit
Example:
Switch(config-controller-ProvisionQos)#
setOutputPortPolicy commit
Step 5 exit
Example:
Switch(config-controller-ProvisionQos)# exit
Configuration Example
The example shows how to configure QoS output port policy on the controller:
Switch(config-controller-ProvisionQos)# setOutputPortPolicy outputPortPolicyConfig cos_marking
enable
Switch(config-controller-ProvisionQos)# setOutputPortPolicy outputPortPolicyConfig
globalDscpBasedDscpEgressMarking enable
Switch(config-controller-ProvisionQos)# setOutputPortPolicy outputPortPolicyConfig match
egress_class_0 bandwidth priority_level 8
Switch(config-controller-ProvisionQos)# setOutputPortPolicy outputPortPolicyConfig match
egress_class_0 bandwidth remaining_ratio 20
Switch(config-controller-ProvisionQos)# setOutputPortPolicy outputPortPolicyConfig match
egress_class_0 mark_cos 7
Switch(config-controller-ProvisionQos)# setOutputPortPolicy outputPortPolicyConfig port_number
1
Switch(config-controller-ProvisionQos)# setOutputPortPolicy outputPortPolicyConfig port_shaper
rate 1000
Switch(config-controller-ProvisionQos)# setOutputPortPolicy outputPortPolicyConfig port_shaper
state enable
Switch(config-controller-ProvisionQos)# setOutputPortPolicy outputPortPolicyConfig
service_policy attach
Switch(config-controller-ProvisionQos)# setOutputPortPolicy review
Commands in queue:
setOutputPortPolicy outputPortPolicyConfig cos_marking enable
setOutputPortPolicy outputPortPolicyConfig globalDscpBasedDscpEgressMarking enable
setOutputPortPolicy outputPortPolicyConfig match egress_class_0 bandwidth
priority_level 8
setOutputPortPolicy outputPortPolicyConfig match all-egress_classes mark _cos 7
setOutputPortPolicy outputPortPolicyConfig port_number 4
setOutputPortPolicy outputPortPolicyConfig port_shaper rate 100
setOutputPortPolicy outputPortPolicyConfig port_shaper state enable
setOutputPortPolicy outputPortPolicyConfig service_policy attach
Switch(config-controller-ProvisionQos)# setOutputPortPolicy commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
256
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionQos)# setQCE ?
QCE_configuration setQCE (default)
commit
commit setQCE
flush
flush all setQCE commands from
queue
review
review setQCE commands
Step 2
Step 3
Configures QCE.
controlConfigures QCE.
actionsConfigures QCE actions. See Configuring
QoS Control Entry (QCE) Control Actions on the
Controller, on page 258.
ingress_matchConfigures ingress match. See
Configuring QCE Match Ingress Parameters on the
Controller, on page 260.
qce-idSpecifies the QCE ID. The valid range is
from 1 to 1024. 0 is invalid.
Displays the QoS configuration on the controller.
setQCE review
Example:
Switch(config-controller-ProvisionQos)# setQCE review
Step 4
setQCE commit
Example:
Switch(config-controller-ProvisionQos)# setQCE commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
257
Step 5
Command or Action
Purpose
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Configuration Example
The example shows how to configure QoS QCE on the controller:
Switch(config-controller-ProvisionQos)#
Switch(config-controller-ProvisionQos)#
any match_fields inner_cos val_0-1
Switch(config-controller-ProvisionQos)#
any match_type vlan c_tagged
Switch(config-controller-ProvisionQos)#
Commands in queue:
setQCE QCE_configuration control actions mark_COS 4
setQCE QCE_configuration control actions mark_DSCP 3
setQCE QCE_configuration control actions mark_egress_class 4
setQCE QCE_configuration control ingress_match frame_type any
setQCE QCE_configuration control ingress_match inner_tag_match match_fields inner_cos
val_0-1
Switch(config-controller-ProvisionQos)# setQCE commit
SetQCE Commit Success!!!
Switch(config-controller-ProvisionQos)# exit
DETAILED STEPS
Step 1
Command or Action
Purpose
Configures QCE.
Example:
Switch(config-controller-ProvisionQos)# setQCE
QCEconfiguration control action mark_Cos 4
Switch(config-controller-ProvisionQos)# setQCE
QCEconfiguration ingress_match frame_type any
match_fields inner_cos val_0-1
Switch(config-controller-ProvisionQos)# setQCE
QCEconfiguration ingress_match frame_type any
match_type vlan c_tagged
controlConfigures QCE.
actionsConfigures QCE actions. See Configuring
QoS Control Entry (QCE) Control Actions on the
Controller, on page 258.
ingress_matchConfigures ingress match. See
Configuring QCE Match Ingress Parameters on the
Controller, on page 260.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
258
Command or Action
Step 2
Purpose
Switch(config-controller-ProvisionQos)# setQCE
QCEconfiguration qce-id 4
controlConfigures QCE.
Example:
Switch(config-controller-ProvisionQos)# setQCE
QCEconfiguration control action mark_Cos 4
Switch(config-controller-ProvisionQos)# setQCE
QCEconfiguration control action mark_DSCP 3
Switch(config-controller-ProvisionQos)# setQCE
QCEconfiguration control action mark_egress_class 4
Step 3
setQCE review
Example:
Switch(config-controller-ProvisionQos)# setQCE review
Step 4
setQCE commit
Example:
Switch(config-controller-ProvisionQos)# setQCE commit
Step 5
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Configuration Example
The example shows how to configure QoS input policy globally on the controller:
Switch(config-controller-ProvisionQos)# setQCE QCEConfig match_DSCP value_00 mark_DSCP 4
Switch(config-controller-ProvisionQos)# setQCE QCEConfig match_DSCP value_00 mark_egress_class
4
Switch(config-controller-ProvisionQos)# setQCE QCEConfig service_policy attach
Switch(config-controller-ProvisionQos)# setQCE review
Commands in queue:
setQCE QCE_configuration control actions mark_COS 4
setQCE QCE_configuration control actions mark_DSCP 3
setQCE QCE_configuration control actions mark_egress_class 4
Switch(config-controller-ProvisionQos)# setQCE commit
Switch(config-controller-ProvisionQos)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
259
DETAILED STEPS
Step 1
Command or Action
Purpose
Configures QCE.
Example:
Switch(config-controller-ProvisionQos)# setQCE
QCEconfiguration control action mark_Cos 4
Switch(config-controller-ProvisionQos)# setQCE
QCEconfiguration ingress_match frame_type any
match_fields inner_cos val_0-1
Switch(config-controller-ProvisionQos)# setQCE
QCEconfiguration ingress_match frame_type any
match_type vlan c_tagged
Switch(config-controller-ProvisionQos)# setQCE
QCEconfiguration qce-id 4
Step 2
controlConfigures QCE.
actionsConfigures QCE actions. See Configuring
QoS Control Entry (QCE) Control Actions on the
Controller, on page 258.
ingress_matchConfigures ingress match. See
Configuring QCE Match Ingress Parameters on the
Controller, on page 260.
qce-idSpecifies the QCE ID. The valid range is from
1 to 1024. 0 is invalid.
ingress_matchConfigures ingress match.
frame_typeMatches against frame payload.
See Configuring QCE Control Ingress Match
Frame Type Parameter on the Controller, on
page 261.
inner_tag_matchMatches against inner tag.
See Configuring QCE Control Ingress Inner Tag
Match Parameter on the Controller, on page 265.
mac_paramsMatches against MAC filters.
See Configuring QCE Control Ingress MAC
Params Parameter on the Controller, on page
267.
outer_tag_matchMatches against outer tag.
See Configuring QCE Control Ingress Outer Tag
Match Parameter on the Controller, on page 269.
portsMatches against ports. See Configuring
QCE Control Ingress Ports Parameter on the
Controller, on page 271.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
260
Step 3
Command or Action
Purpose
setQCE review
Example:
Switch(config-controller-ProvisionQos)# setQCE review
Step 4
setQCE commit
Example:
Switch(config-controller-ProvisionQos)# setQCE commit
Step 5
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Configuration Example
The example shows how to configure QCE control ingress match parameters on the controller:
Switch(config-controller-ProvisionQos)# setQCE QCE-configuration control ingress_match
frame_type any match_fields inner_cos val_0-1 any
Switch(config-controller-ProvisionQos)# setQCE QCE_configuration control ingress_match
inner_tag_match match_fields inner_cos val_0-3
Switch(config-controller-ProvisionQos)# setQCE QCE_configuration control ingress_match
mac_params dmac_filter any
Switch(config-controller-ProvisionQos)# setQCE QCE_configuration control ingress_match
outer_tag_match match_fields cos val_2-3
Switch(config-controller-ProvisionQos)# setQCE QCE_configuration control ingress_match ports
gigabitEthernet_2 enable
Switch(config-controller-ProvisionQos)# setQCE review
Commands in queue:
setQCE QCE_configuration control ingress_match inner_tag_match match_fields inner_cos
val_0-3
setQCE QCE_configuration control ingress_match mac_params dmac_filter any
setQCE QCE_configuration control ingress_match outer_tag_match match_fields cos
val_2-3
setQCE QCE_configuration control ingress_match ports GigabitEthernet_2 enable
Switch(config-controller-ProvisionQos)# setQCE commit
Switch(config-controller-ProvisionQos)# exit
Configuring QCE Control Ingress Match Frame Type Parameter on the Controller
Before You Begin
Perform the steps to provision QoS on the controller. See Provisioning the Controller to Configure QoS,
on page 242.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
261
DETAILED STEPS
Command or Action
Purpose
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
262
Command or Action
Purpose
Switch(config-controller-ProvisionQos)# setQCE
QCE_configuration ingress_match frame_type ipv4
source_ip_filter network source_ip_mask soumask
Switch(config-controller-ProvisionQos)# setQCE
QCE_configuration ingress_match frame_type ipv6
dest_ip_filter any
Switch(config-controller-ProvisionQos)# setQCE
QCE_configuration ingress_match frame_type ipv6
dest_ip_filter specfic dest_ip_addr_32its dest34
Switch(config-controller-ProvisionQos)# setQCE
QCE_configuration ingress_match frame_type ipv6
dscp_filter specific 45 any
Switch(config-controller-ProvisionQos)# setQCE
QCE_configuration ingress_match frame_type ipv6 protocol
specific 450
Switch(config-controller-ProvisionQos)# setQCE
QCE_configuration ingress_match frame_type ipv6 protocol
specific 45
Switch(config-controller-ProvisionQos)# setQCE
QCE_configuration ingress_match frame_type ipv6
source_ip_filter specific source_ip_mask source-mask
Example:
Switch(config-controller-ProvisionQos)# setQCE review
Example:
Switch(config-controller-ProvisionQos)# setQCE commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
263
Command or Action
Step 5 exit
Purpose
Exits the QoS provisioning mode.
Example:
Switch(config-controller-ProvisionQos)# exit
Configuration Example
The example shows how to configure QCE Control Ingress Match frame type parameters on the controller:
Switch(config-controller-ProvisionQos)# setQCE QCE_configuration
any
Switch(config-controller-ProvisionQos)# setQCE QCE_configuration
ipv4 dest_ip_filter any
Switch(config-controller-ProvisionQos)# setQCE QCE_configuration
ipv4 dest_ip_filter host host1
Switch(config-controller-ProvisionQos)# setQCE QCE_configuration
ipv4 dest_ip_filter network dest_ip_addr addr2
Switch(config-controller-ProvisionQos)# setQCE QCE_configuration
ipv4 dscp_filter host any
Switch(config-controller-ProvisionQos)# setQCE QCE_configuration
ipv4 dscp_filter range 3-4
Switch(config-controller-ProvisionQos)# setQCE QCE_configuration
ipv4 fragment_type frag
Switch(config-controller-ProvisionQos)# setQCE QCE_configuration
ipv4 protocol specific 45
Switch(config-controller-ProvisionQos)# setQCE QCE_configuration
ipv4 source_ip_filter network source_ip_mask soumask
Switch(config-controller-ProvisionQos)# setQCE QCE_configuration
ipv6 dest_ip_filter any
Switch(config-controller-ProvisionQos)# setQCE QCE_configuration
ipv6 dest_ip_filter specfic dest_ip_addr_32its dest34
Switch(config-controller-ProvisionQos)# setQCE QCE_configuration
ipv6 dscp_filter specific 45 any
Switch(config-controller-ProvisionQos)# setQCE QCE_configuration
ipv6 protocol specific 450
Switch(config-controller-ProvisionQos)# setQCE QCE_configuration
ipv6 protocol specific 45
Switch(config-controller-ProvisionQos)# setQCE QCE_configuration
ipv6 source_ip_filter specific source_ip_mask source-mask
ingress_match frame_type
ingress_match frame_type
ingress_match frame_type
ingress_match frame_type
ingress_match frame_type
ingress_match frame_type
ingress_match frame_type
ingress_match frame_type
ingress_match frame_type
ingress_match frame_type
ingress_match frame_type
ingress_match frame_type
ingress_match frame_type
ingress_match frame_type
ingress_match frame_type
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
264
Configuring QCE Control Ingress Inner Tag Match Parameter on the Controller
Before You Begin
Perform the steps to provision QoS on the controller. See Provisioning the Controller to Configure QoS,
on page 242.
DETAILED STEPS
Step 1
Command or Action
Purpose
Configures QCE.
Example:
Switch(config-controller-ProvisionQos)# setQCE
QCEconfiguration control action mark_Cos 4
Switch(config-controller-ProvisionQos)# setQCE
QCEconfiguration ingress_match frame_type any
match_fields inner_cos val_0-1
Switch(config-controller-ProvisionQos)# setQCE
QCEconfiguration ingress_match frame_type any
match_type vlan c_tagged
Switch(config-controller-ProvisionQos)# setQCE
QCEconfiguration qce-id 4
Step 2
controlConfigures QCE.
actionsConfigures QCE actions. See Configuring QoS
Control Entry (QCE) Control Actions on the Controller,
on page 258.
ingress_matchConfigures ingress match. See
Configuring QCE Match Ingress Parameters on the
Controller, on page 260.
qce-idSpecifies the QCE ID. The valid range is from 1
to 1024. 0 is invalid.
controlConfigures QCE.
ingress_matchConfigures ingress match.
inner_tag_matchMatches against inner tag value.
match_fieldsMatches against tag fields .
inner-cos inner_cos_xxMatches against inner
packet Cos value.
val_0-1Specifies packet COS 0-1.
val_0-3Specifies packet COS 0-3.
val_0-onlySpecifies packet COS 0.
val_1-onlySpecifies packet COS 1.
val_2-3Specifies packet COS 2-3.
val_2-onlySpecifies packet COS 2-only.
val_3-onlySpecifies packet COS 3-only.
val_4-5Specifies packet COS 4-5.
val_4-7Specifies packet COS 4-7.
val_4-onlySpecifies packet COS 4-only.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
265
Command or Action
Purpose
val_5-onlySpecifies packet COS 5-only.
val_6-7Specifies packet COS 6-7.
val_6-onlySpecifies packet COS 6.
val_7-onlySpecifies packet COS 7.
val_anySpecifies packet COS any.
vlan_id_filterMatches against VLAN ID
filter.
anyMatches against any VLAN.
range vlan_rangeMatches against the
specified VLAN range .
specific specific_vlanMatches against the
specific VLAN. The valid range is from 1 to
4095.
match_typeMatches against tag fields.
anyMatches against any tagged .
c-taggedMatches against C tagged .
s-taggedMatches against S tagged .
taggedMatches against tagged .
untaggedMatches against untagged .
Step 3
setQCE review
Example:
Switch(config-controller-ProvisionQos)# setQCE
review
Step 4
setQCE commit
Example:
Switch(config-controller-ProvisionQos)# setQCE
commit
Step 5
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
266
Configuration Example
The example shows how to configure QCE Control Match Ingress inner tag parameters on the controller:
Switch(config-controller-ProvisionQos)# setQCE
match_fields inner_cos val_0-1
Switch(config-controller-ProvisionQos)# setQCE
match_fields vlan_id_filter any
Switch(config-controller-ProvisionQos)# setQCE
match_fields vlan_id_filter range range1
Switch(config-controller-ProvisionQos)# setQCE
match_fields vlan_id_filter specific 450
Switch(config-controller-ProvisionQos)# setQCE
match_type c_tagged
DETAILED STEPS
Command or Action
Step 1
Purpose
Step 2
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
267
Command or Action
specific_fillter | unicast} |smac_filter {any | specific
specific_filter}
Purpose
mac_paramsConfigures MAC filters.
dmac_filterConfigures destination MAC
filters.
Example:
Step 3
setQCE review
Example:
Switch(config-controller-ProvisionQos)# setQCE review
Step 4
setQCE commit
Example:
Switch(config-controller-ProvisionQos)# setQCE commit
Step 5
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Configuration Example
The example shows how to configure QCE Control Match Ingress MAC params parameters on the controller:
Switch(config-controller-ProvisionQos)# setQCE
match_fields inner_cos val-0-1
Switch(config-controller-ProvisionQos)# setQCE
match_fields vlan_id_filter any
Switch(config-controller-ProvisionQos)# setQCE
match_fields vlan_id_filter range range1
Switch(config-controller-ProvisionQos)# setQCE
match_fields vlan_id_filter specific 450
Switch(config-controller-ProvisionQos)# setQCE
match_type c-tagged
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
268
filter1
setQCE QCE_configuration control ingress_match mac_params smac_filter specific
filter2
Switch(config-controller-ProvisionQos)# setQCE commit
Switch(config-controller-ProvisionQos)# exit
Configuring QCE Control Ingress Outer Tag Match Parameter on the Controller
Before You Begin
Perform the steps to provision QoS on the controller. See Provisioning the Controller to Configure QoS,
on page 242.
DETAILED STEPS
Step 1
Command or Action
Purpose
Configures QCE.
Example:
Switch(config-controller-ProvisionQos)# setQCE
QCEconfiguration control action mark_Cos 4
Switch(config-controller-ProvisionQos)# setQCE
QCEconfiguration ingress_match frame_type any
match_fields inner_cos val_0-1
Switch(config-controller-ProvisionQos)# setQCE
QCEconfiguration ingress_match frame_type any
match_type vlan c_tagged
Switch(config-controller-ProvisionQos)# setQCE
QCEconfiguration qce-id 4
Step 2
controlConfigures QCE.
actionsConfigures QCE actions. See Configuring QoS
Control Entry (QCE) Control Actions on the Controller,
on page 258.
ingress_matchConfigures ingress match. See
Configuring QCE Match Ingress Parameters on the
Controller, on page 260.
qce-idSpecifies the QCE ID. The valid range is from 1
to 1024. 0 is invalid.
controlConfigures QCE.
ingress_matchConfigures ingress match.
outer_tag_matchMatches against the outer tag
value.
match_fieldsMatches against outer tag fields .
Example:
Switch(config-controller-ProvisionQos)# setQCE
QCE_configuration ingress_match outer_tag_match
match_fields cos val_0-1
Switch(config-controller-ProvisionQos)# setQCE
QCE_configuration ingress_match outer_tag_match
match_fields vlan_id_filter any
Switch(config-controller-ProvisionQos)# setQCE
QCE_configuration ingress_match outer_tag_match
match_fields vlan_id_filter range range1
Switch(config-controller-ProvisionQos)# setQCE
QCE_configuration ingress_match outer_tag_match
match_fields vlan_id_filter specific 230
Switch(config-controller-ProvisionQos)# setQCE
QCE_configuration ingress_match outer_tag_match
match_type c-tagged
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
269
Command or Action
Purpose
val_4-5Specifies packet COS 4-5.
val_4-7Specifies packet COS 4-7.
val_4-onlySpecifies packet COS 4-only.
val_5-onlySpecifies packet COS 5-only.
val_6-7Specifies packet COS 6-7.
val_6-onlySpecifies packet COS 6.
val_7-onlySpecifies packet COS 7.
val_anySpecifies packet COS any.
vlan_id_filterMatches against VLAN ID
filter.
anyMatches against any VLAN.
range vlan_rangeMatches against the
specified VLAN range .
specific specific_vlanMatches against the
specific VLAN. The valid range is from 1 to
4095.
match_typeMatches against tag fields.
anyMatches against any tagged .
c-taggedMatches against C tagged .
s-taggedMatches against S tagged .
taggedMatches against tagged .
untaggedMatches against untagged .
Step 3
setQCE review
Example:
Switch(config-controller-ProvisionQos)# setQCE
review
Step 4
setQCE commit
Example:
Switch(config-controller-ProvisionQos)# setQCE
commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
270
Step 5
Command or Action
Purpose
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Configuration Example
The example shows how to configure QCE Control Match Ingress outer tag parameters on the controller:
Switch(config-controller-ProvisionQos)# setQCE
match_fields cos val_0-1
Switch(config-controller-ProvisionQos)# setQCE
match_fields vlan_id_filter any
Switch(config-controller-ProvisionQos)# setQCE
match_fields vlan_id_filter range range1
Switch(config-controller-ProvisionQos)# setQCE
match_fields vlan_id_filter specific 230
Switch(config-controller-ProvisionQos)# setQCE
match_type c-tagged
DETAILED STEPS
Step 1
Command or Action
Purpose
Configures QCE.
Example:
Switch(config-controller-ProvisionQos)# setQCE
QCEconfiguration control action mark_Cos 4
Switch(config-controller-ProvisionQos)# setQCE
controlConfigures QCE.
actionsConfigures QCE actions. See Configuring
QoS Control Entry (QCE) Control Actions on the
Controller, on page 258.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
271
Command or Action
Step 2
Purpose
controlConfigures QCE.
Example:
Switch(config-controller-ProvisionQos)# setQCE
QCE_configuration ingress_match ports
GigabitEthernet_1 enable
Switch(config-controller-ProvisionQos)# setQCE
QCE_configuration ingress_match ports
GigabitEthernet_3 disable
Step 3
setQCE review
Example:
Switch(config-controller-ProvisionQos)# setQCE review
Step 4
setQCE commit
Example:
Switch(config-controller-ProvisionQos)# setQCE commit
Step 5
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Configuration Example
The example shows how to configure QCE Control Match Ingress ports on the controller:
Switch(config-controller-ProvisionQos)# setQCE QCE_configuration ingress_match ports
GigabitEthernet_1 enable
Switch(config-controller-ProvisionQos)# setQCE QCE_configuration ingress_match ports
GigabitEthernet_3 disable
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
272
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionQos)#
setSystemQosSettings ?
commit
commit setSystemQosSettings
flush
flush all setSystemQosSettings
commands from queue
review
review setSystemQosSettings commands
system_qos_config
Step 2
Example:
Switch(config-controller-ProvisionQos)#
setSystemQosSettings system_qos_config WRED
egress_class_0 max_threshold 20
Switch(config-controller-ProvisionQos)#
setSystemQosSettings system_qos_config WRED
egress_class_1 min_threshold 40
Switch(config-controller-ProvisionQos)#
setSystemQosSettings system_qos_config WRED
egress_class_2 state enable
egress_class_2Egress queue 2.
egress_class_3Egress queue 3.
egress_class_4Egress queue 4.
egress_class_5Egress queue 5.
max_threshold threshold_valueSets the
maximum threshold.
min_threshold threshold_valueSets the
minimum threshold.
stateSets the WRED state per queue.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
273
Command or Action
Purpose
enableEnables the WRED.
disableDisables the WRED.
Step 3
setSystemQosSettings review
Example:
Switch(config-controller-ProvisionQos)#
setSystemQosSettings review
Commands in queue:
setSystemQosSettings system_qos_config WRED
egress_class_0 max_threshold 20
setSystemQosSettings system_qos_config WRED
egress_class_1 min_threshold 40
setSystemQosSettings system_qos_config WRED
egress_class_2 state enable
Step 4
setSystemQosSettingscommit
Example:
Switch(config-controller-ProvisionQos)#
setSystemQosSettings commit
Step 5
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Configuration Example
The example shows how to configure QOS system settings on the controller:
Switch(config-controller-ProvisionQos)#
egress_class_0 max_threshold 20
Switch(config-controller-ProvisionQos)#
egress_class_1 min_threshold 40
Switch(config-controller-ProvisionQos)#
egress_class_2 state enable
Switch(config-controller-ProvisionQos)#
Commands in queue:
setSystemQosSettings system_qos_config WRED egress_class_0 max_threshold
setSystemQosSettings system_qos_config WRED egress_class_1 min_threshold
setSystemQosSettings system_qos_config WRED egress_class_2 state enable
Switch(config-controller-ProvisionQos)# setSystemQosSettings commit
Switch(config-controller-ProvisionQos)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
274
20
40
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionQos)# setHqosId ?
commit
commit setHqosId
flush
flush all setHqosId commands from
queue
hqos_id_config setHqosId (default)
review
review setHqosId commands
Step 2
Switch(config-controller-ProvisionQos)# sethqosid
hqos_id_config bandwidth rate 100
Switch(config-controller-ProvisionQos)# sethqosid
hqos_id_config bandwidth state enable
Switch(config-controller-ProvisionQos)# sethqosid
hqos_id_config hqos_id 4
Switch(config-controller-ProvisionQos)# sethqosid
hqos_id_config match egress_class_7 bandwidth
priority_level 1
Switch(config-controller-ProvisionQos)# sethqosid
hqos_id_config match egress_class_7 shaper rate 100
Switch(config-controller-ProvisionQos)# sethqosid
hqos_id_config match egress_class_7 shaper state enable
Switch(config-controller-ProvisionQos)# sethqosid
hqos_id_config port 2
Switch(config-controller-ProvisionQos)# sethqosid
hqos_id_config shaper rate 100
Switch(config-controller-ProvisionQos)# sethqosid
hqos_id_config shaper state enable
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
275
Command or Action
Purpose
egress_class_7Egress queue 7; highest priority.
bandwidhtpriority-levelprioritySets the
bandwidth priority scheduling level in strict mode.
The valid values are 1-1.
shaperSets the queue level shaper.
port_number port-numberSets the port number.
The valid range is from 1 to 6. Port 7 is invlaid.
shaperSets the interface level shaper.
disableDisables the WRED.
Step 3
setHqosId review
Example:
Switch(config-controller-ProvisionQos)# setHqosId review
Commands in queue:
setHqosId hqos_id_config bandwidth rate 100
setHqosId hqos_id_config bandwidth state enable
setHqosId hqos_id_config hqos_id 4
setHqosId hqos_id_config match egress_class_7
bandwidth priority_level 1
setHqosId hqos_id_config
shaper rate 100
setHqosId hqos_id_config
shaper state enable
setHqosId hqos_id_config
setHqosId hqos_id_config
Step 4
match egress_class_7
match egress_class_7
port_number 2
shaper rate 100
setHqosIdcommit
Example:
Switch(config-controller-ProvisionQos)# setHqosId commit
Step 5
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Configuration Example
The example shows how to configure HQOS on the controller:
Switch(config-controller-ProvisionQos)# sethqosid hqos_id_config bandwidth rate 100
Switch(config-controller-ProvisionQos)# sethqosid hqos_id_config bandwidth state enable
Switch(config-controller-ProvisionQos)# sethqosid hqos_id_config hqos_id 4
Switch(config-controller-ProvisionQos)# sethqosid hqos_id_config match egress_class_7
bandwidth priority_level 1
Switch(config-controller-ProvisionQos)# sethqosid hqos_id_config match egress_class_7 shaper
rate 100
Switch(config-controller-ProvisionQos)# sethqosid hqos_id_config match egress_class_7 shaper
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
276
state enable
Switch(config-controller-ProvisionQos)# sethqosid hqos_id_config port 2
Switch(config-controller-ProvisionQos)# sethqosid hqos_id_config shaper rate 100
Switch(config-controller-ProvisionQos)# sethqosid hqos_id_config shaper state enable
Switch(config-controller-ProvisionQos)# setHqosId review
Commands in queue:
setHqosId hqos_id_config bandwidth rate 100
setHqosId hqos_id_config bandwidth state enable
setHqosId hqos_id_config hqos_id 4
setHqosId hqos_id_config match egress_class_7 bandwidth priority_level 1
setHqosId hqos_id_config match egress_class_7 shaper rate 100
setHqosId hqos_id_config match egress_class_7 shaper state enable
setHqosId hqos_id_config port_number 2
setHqosId hqos_id_config shaper rate 100
Switch(config-controller-ProvisionQos)# setHqosId commit
SetHqosId Commit Success!!!
Switch(config-controller-ProvisionQos)# exit
DETAILED STEPS
Command or Action
Step 1
Purpose
setEvcHqosPolicy {commit | flush | hqos_id_config | review} Sets the hierarchical QoS configuration on the EVC.
commitSends the QoS configuration to NID.
Example:
Switch(config-controller-ProvisionQos)# setEvcHqosPolicy
?
commit
commit setEvcHqosPolicy
evcHqosPolicyConfig setEvcHqosPolicy (default)
flush
flush all setEvcHqosPolicy
commands from queue
review
review setEvcHqosPolicy commands
Step 2
setEvcHqosPolicy evcHqosPolicyConfig {evc_id evc-id | hqos_id Configures hierarchical QoS on the EVC.
hqos-id | service_policy {attach | detach}
evc_id evc-idSpecifies EVC ID. The valid
range is from 1 to 1024
Example:
Switch(config-controller-ProvisionQos)# setEvcHqosPolicy
evcHqosPolicyConfig evc_id 1
Switch(config-controller-ProvisionQos)# setEvcHqosPolicy
evcHqosPolicyConfig hqos_id 2
Switch(config-controller-ProvisionQos)# setEvcHqosPolicy
evcHqosPolicyConfig service_policy attach
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
277
Step 3
Command or Action
Purpose
setEvcHqosPolicy review
Example:
Switch(config-controller-ProvisionQos)# setEvcHqosPolicy
review
Commands in queue:
setEvcHqosPolicy evcHqosPolicyConfig evc_id 1
setEvcHqosPolicy evcHqosPolicyConfig
service_policy attach
setEvcHqosPolicy evcHqosPolicyConfig
service_policy detach
setEvcHqosPolicy evcHqosPolicyConfig hqos_id 2
setEvcHqosPolicy evcHqosPolicyConfig evc_id 1
Step 4
setEvcHqosPolicycommit
Example:
Switch(config-controller-ProvisionQos)# setEvcHqosPolicy
commit
Step 5
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Configuration Example
The example shows how to configure EVC HQOS on the controller:
Switch(config-controller-ProvisionQos)# setEvcHqosPolicy evcHqosPolicyConfig evc_id 1
Switch(config-controller-ProvisionQos)# setEvcHqosPolicy evcHqosPolicyConfig hqos_id 2
Switch(config-controller-ProvisionQos)# setEvcHqosPolicy evcHqosPolicyConfig attach
Switch(config-controller-ProvisionQos)# setEvcHqosPolicy review
Commands in queue:
setEvcHqosPolicy evcHqosPolicyConfig evc_id 1
setEvcHqosPolicy evcHqosPolicyConfig service_policy attach
setEvcHqosPolicy evcHqosPolicyConfig service_policy detach
setEvcHqosPolicy evcHqosPolicyConfig hqos_id 2
setEvcHqosPolicy evcHqosPolicyConfig evc_id 1
Switch(config-controller-ProvisionQos)# setEvcHqosPolicy commit
Switch(config-controller-ProvisionQos)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
278
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionQos)#
reorderQCEentries ?
commit
commit reorderQCEentries
flush
flush all reorderQCEentries commands
from queue
reorder_qce reorderQCEentries (default)
review
review reorderQCEentries commands
Step 2
reorder_qceReorders QCE .
Example:
Switch(config-controller-ProvisionQos)#
reorderQCEentries reorder_qce qce_id 3
Switch(config-controller-ProvisionQos)#
reorderQCEentries reorder reorder before qce_id 2
Step 3
Example:
Switch(config-controller-ProvisionQos)#
reorderQCEentries review
Commands in queue:
reorderQCEentries reorder_qce qce_id 3
reorderQCEentries reorder_qce qce_id 3
reorderQCEentries reorder_qce reorder before
qce_id 2
Step 4
setQCE commitcommit
Example:
Switch(config-controller-ProvisionQos)#
reorderQCEentries commit
ReorderQCEentries Commit Success!!!
Step 5
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
279
Configuration Example
The example shows how to reorder QoS QCE on the controller:
Switch(config-controller-ProvisionQos)# reorderQCEentries reorder_qce qce_id 3
Switch(config-controller-ProvisionQos)# reorderQCEentries reorder reorder before qce_id 2
Switch(config-controller-ProvisionQos)# reorderQCEentries review
Commands in queue:
reorderQCEentries reorder_qce qce_id 3
reorderQCEentries reorder_qce qce_id 3
reorderQCEentries reorder_qce reorder before qce_id 2
Switch(config-controller-ProvisionQos)# reorderQCEentries commit
reorderQCEentries commit
Switch(config-controller-ProvisionQos)# exit
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionQos)# deleteQCE ?
commit
commit deleteQCE
delete_qce Delete a particular QCE
flush
flush all deleteQCE commands from queue
review
review deleteQCE commands
Switch(config-controller-ProvisionQos)# deleteQCE
delete_qce 2
Step 2
deleteQCE review
Example:
Switch(config-controller-ProvisionQos)# deleteQCE review
Commands in queue:
deleteQCE delete_qce 3
Step 3
deleteQCE commitcommit
Example:
Switch(config-controller-ProvisionQos)# deleteQCE commit
DeleteQCE Commit Success!!!
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
280
Step 4
Command or Action
Purpose
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Configuration Example
The example shows how to delete QoS QCE on the controller:
Switch(config-controller-ProvisionQos)#
Switch(config-controller-ProvisionQos)#
Commands in queue:
deleteQCE delete_qce 3
Switch(config-controller-ProvisionQos)#
DeleteQCE Commit Success!!!
Switch(config-controller-ProvisionQos)#
deleteQCE delete_qce 2
deleteQCE review
deleteQCE commit
exit
DETAILED STEPS
Command or Action
Step 1
Example:
Switch(config-controller-ProvisionQos)# deleteHqosId ?
commit
commit deleteHqosId
delete_hqos_id deleteHqosId (default)
flush
flush all deleteHqosId commands from
queue
review
review deleteHqosId commands
Switch(config-controller-ProvisionQos)# deleteHqosId
delete_hqos_id 2
Step 2
Purpose
deleteHqosId review
Example:
Switch(config-controller-ProvisionQos)# deleteHqosId
review
Commands in queue:
deleteHqosId delete_hqos_id 2
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
281
Step 3
Command or Action
Purpose
deleteHqosIdcommit
Example:
Switch(config-controller-ProvisionQos)# deleteHqosId
commit
deleteHqosId Commit Success!!!
Step 4
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Configuration Example
The example shows how to delete HQoS IDon the controller:
Switch(config-controller-ProvisionQos)#
Switch(config-controller-ProvisionQos)#
Commands in queue:
deleteHqosId delete_hqos_id 2
Switch(config-controller-ProvisionQos)#
DeleteHqosId Commit Success!!!
Switch(config-controller-ProvisionQos)#
deleteHqosId delete_hqos_id 2
deleteHqosId review
deleteHqosId commit
exit
DETAILED STEPS
Step 1
Command or Action
Purpose
no ?
Example:
Switch(config-controller-ProvisionQoS)# no ?
deleteQCE
exit
getInputGlobalPolicy
getInputPortPolicy
getOutputGlobalPolicy
getOutputPortPolicy
getQCE
getSystemQosSettings
reorderQCEentries
setInputGlobalPolicy
setInputPortPolicy
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
282
Command or Action
Purpose
setOutputGlobalPolicy
setOutputPortPolicy
setQCE
setSystemQosSettings
showQCElist
showQueueStatistics
Step 2
exit
Example:
Switch(config-controller-ProvisionQos)# exit
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionQos)#
getInputGlobalPolicy ?
commit commit getInputGlobalPolicy
flush
flush all getInputGlobalPolicy commands from
queue
input
Show Output QoS global features configured
review review getInputGlobalPolicy commands
Switch(config-controller-ProvisionQos)#
getInputGlobalPolicy input
Step 2
getInputGlobalPolicy review
Example:
Switch(config-controller-ProvisionQos)#
getInputGlobalPolicy review
Commands in queue:
getInputGlobalPolicy input
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
283
Step 3
Command or Action
Purpose
getInputGlobalPolicy commit
Example:
Switch(config-controller-ProvisionQos)#
getInputGlobalPolicy commit
Step 4
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Configuration Example
The example displays the QoS input port policy on the controller:
Switch(config-controller-ProvisionQos)# getInputGlobalPolicy input
Switch(config-controller-ProvisionQos)# getInputGlobalPolicy review
CCommands in queue:
getInputGlobalPolicy input
Switch(config-controller-ProvisionQos)# getInputGlobalPolicy commit
GetInputGlobalPolicy_Output.inputGlobalPolicyConfig.match_DSCP.value_00.mark_DSCP = 64
GetInputGlobalPolicy_Output.inputGlobalPolicyConfig.match_DSCP.value_00.mark_egress_class
= 8
GetInputGlobalPolicy_Output.inputGlobalPolicyConfig.match_DSCP.value_01.mark_DSCP = 64
GetInputGlobalPolicy_Output.inputGlobalPolicyConfig.match_DSCP.value_01.mark_egress_class
= 8
GetInputGlobalPolicy_Output.inputGlobalPolicyConfig.match_DSCP.value_02.mark_DSCP = 64
GetInputGlobalPolicy_Output.inputGlobalPolicyConfig.match_DSCP.value_02.mark_egress_class
= 8
GetInputGlobalPolicy_Output.inputGlobalPolicyConfig.match_DSCP.value_03.mark_DSCP = 64
GetInputGlobalPolicy_Output.inputGlobalPolicyConfig.match_DSCP.value_03.mark_egress_class
= 8
GetInputGlobalPolicy_Output.inputGlobalPolicyConfig.match_DSCP.value_04.mark_DSCP = 64
GetInputGlobalPolicy_Output.inputGlobalPolicyConfig.match_DSCP.value_04.mark_egress_class
= 8
GetInputGlobalPolicy_Output.inputGlobalPolicyConfig.match_DSCP.value_05.mark_DSCP = 64
GetInputGlobalPolicy_Output.inputGlobalPolicyConfig.match_DSCP.value_05.mark_egress_class
= 8
GetInputGlobalPolicy_Output.inputGlobalPolicyConfig.match_DSCP.value_06.mark_DSCP = 64
GetInputGlobalPolicy_Output.inputGlobalPolicyConfig.match_DSCP.value_06.mark_egress_class
= 8
GetInputGlobalPolicy_Output.inputGlobalPolicyConfig.match_DSCP.value_07.mark_DSCP = 64
GetInputGlobalPolicy_Output.inputGlobalPolicyConfig.match_DSCP.value_07.mark_egress_class
= 8
GetInputGlobalPolicy_Output.inputGlobalPolicyConfig.match_DSCP.value_08.mark_DSCP = 64
GetInputGlobalPolicy_Output.inputGlobalPolicyConfig.match_DSCP.value_08.mark_egress_class
= 8
.
.
!
GetInputGlobalPolicy Commit Success!!!
Switch(config-controller-ProvisionQos)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
284
DETAILED STEPS
Command or Action
Step 1
getInputPortPolicy {commit | flush | input_port port_number| View the input QoS policy at port level.
review}
commitSends the QoS configuration to NID.
Example:
Switch(config-controller-ProvisionQos)#
getInputPortPolicy ?
commit
commit getInputPortPolicy
flush
flush all getInputPortPolicy commands
from queue
input_port Show Input Policy configured on Physical
Port
review
review getInputPortPolicy commands
Switch(config-controller-ProvisionQos)#
getInputPortPolicy input_port 2
Step 2
Purpose
getInputPortPolicy review
Example:
Switch(config-controller-ProvisionQos)#
getInputPortPolicy review
Commands in queue:
getInputPortPolicy input_port 3
getInputPortPolicy input_port 2
Step 3
getInputPortPolicy commit
Example:
Switch(config-controller-ProvisionQos)#
getInputPortPolicy commit
Step 4
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Configuration Example
The example displays the QoS input port policy on the controller:
Switch(config-controller-ProvisionQos)# getInputPortPolicy input_port 2
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
285
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionQos)#
getInputGlobalPolicy ?
commit commit getOutputGlobalPolicy
flush
flush all getOutputGlobalPolicy commands from
queue
output Show Global Output QoS features
review review getOutputGlobalPolicy commands
Switch(config-controller-ProvisionQos)#
getInputGlobalPolicy output
Step 2
getOutputPortPolicy review
Example:
Switch(config-controller-ProvisionQos)#
getInputGlobalPolicy review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
286
Command or Action
Purpose
Commands in queue:
getOutputGlobalPolicy output
Step 3
getOutputPortPolicy commit
Example:
Switch(config-controller-ProvisionQos)#
getInputGlobalPolicy commit
Step 4
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Configuration Example
The example displays the QoS output policy global features on the controller:
Switch(config-controller-ProvisionQos)# getInputGlobalPolicy output
Switch(config-controller-ProvisionQos)# getInputGlobalPolicy review
Commands in queue:
getOutputGlobalPolicy output
Switch(config-controller-ProvisionQos)# getInputGlobalPolicy commit
GetOutputGlobalPolicy_Output.outputGlobalPolicyConfig.match_DSCP.value_00.mark_DSCP
GetOutputGlobalPolicy_Output.outputGlobalPolicyConfig.match_DSCP.value_01.mark_DSCP
GetOutputGlobalPolicy_Output.outputGlobalPolicyConfig.match_DSCP.value_02.mark_DSCP
GetOutputGlobalPolicy_Output.outputGlobalPolicyConfig.match_DSCP.value_03.mark_DSCP
GetOutputGlobalPolicy_Output.outputGlobalPolicyConfig.match_DSCP.value_04.mark_DSCP
GetOutputGlobalPolicy_Output.outputGlobalPolicyConfig.match_DSCP.value_05.mark_DSCP
GetOutputGlobalPolicy_Output.outputGlobalPolicyConfig.match_DSCP.value_06.mark_DSCP
GetOutputGlobalPolicy_Output.outputGlobalPolicyConfig.match_DSCP.value_07.mark_DSCP
GetOutputGlobalPolicy_Output.outputGlobalPolicyConfig.match_DSCP.value_08.mark_D
=
=
=
=
=
=
=
=
64
64
64
64
64
64
64
64
DETAILED STEPS
Step 1
Command or Action
Purpose
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
287
Command or Action
Example:
Switch(config-controller-ProvisionQos)#
getOutputPortPolicy ?
ccommit
commit getOutputPortPolicy
flush
flush all getOutputPortPolicy commands
from queue
output_port Show Output Policy configured on Physical
Port
review
review getOutputPortPolicy commands
Switch(config-controller-ProvisionQos)#
getOutputPortPolicy output_port 4
Step 2
Purpose
getOutputPortPolicy review
Example:
Switch(config-controller-ProvisionQos)#
getOutputPortPolicy review
Commands in queue:
getOutputPortPolicy output_port 4
Step 3
getOutputPortPolicy commit
Example:
Switch(config-controller-ProvisionQos)#
getOutputPortPolicy commit
Step 4
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Configuration Example
The example displays the QoS output port policy on the controller:
Switch(config-controller-ProvisionQos)# getOutputPortPolicy output_port 4
Switch(config-controller-ProvisionQos)# getOutputPortPolicy review
Commands in queue:
getOutputPortPolicy output_port 4
Switch(config-controller-ProvisionQos)# getOutputPortPolicy commit
GetOutputPortPolicy_Output.outputPortPolicyConfig.port_number = 4
GetOutputPortPolicy_Output.outputPortPolicyConfig.port_shaper.state = false
GetOutputPortPolicy_Output.outputPortPolicyConfig.port_shaper.rate = 1000000
GetOutputPortPolicy_Output.outputPortPolicyConfig.globalDscpBasedDscpEgressMarking = false
GetOutputPortPolicy_Output.outputPortPolicyConfig.match.egress_class_7.bandwidth.priority_level
= 1
GetOutputPortPolicy_Output.outputPortPolicyConfig.match.egress_class_7.shaper.state = false
GetOutputPortPolicy_Output.outputPortPolicyConfig.match.egress_class_7.shaper.rate = 1000000
GetOutputPortPolicy_Output.outputPortPolicyConfig.match.egress_class_7.mark_cos= 7
GetOutputPortPolicy_Output.outputPortPolicyConfig.match.egress_class_6.bandwidth.priority_level
= 2
GetOutputPortPolicy_Output.outputPortPolicyConfig.match.egress_class_6.shaper.state = false
GetOutputPortPolicy_Output.outputPortPolicyConfig.match.egress_class_6.shaper.rate = 1000000
.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
288
.
!
GetOutputPortPolicy Commit Success!!!
Switch(config-controller-ProvisionQos)# exit
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionQos)#
getOutputPortPolicy ?
QCE_ID getQCE (default)
commit commit getQCE
flush
flush all getQCE commands from queue
review review getQCE commands
Switch(config-controller-ProvisionQos)#
getOutputPortPolicy qce-id 4
Step 2
getQCE review
Example:
Switch(config-controller-ProvisionQos)# getQCE review
Commands in queue:
getQCE QCE_ID 2
getQCE QCE_ID 3
getQCE QCE_ID 23
Step 3
getOutputPortPolicy commit
Example:
Switch(config-controller-ProvisionQos)# getQCE commit
Step 4
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
289
Configuration Example
The example displays the QoS output port policy on the controller:
Switch(config-controller-ProvisionQos)# getOutputPortPolicy qce-id 4
Switch(config-controller-ProvisionQos)# getQCE review
Commands in queue:
getQCE QCE_ID 2
getQCE QCE_ID 3
getQCE QCE_ID 23
Switch(config-controller-ProvisionQos)# getQCE commit
GetQCE_Output.QCE_configuration.qce_id = 0
GetQCE_Output.QCE_configuration.control.ingress_match.ports.GigabitEthernet_1 = false
GetQCE_Output.QCE_configuration.control.ingress_match.ports.GigabitEthernet_2 =false
GetQCE_Output.QCE_configuration.control.ingress_match.ports.GigabitEthernet_3 =false
GetQCE_Output.QCE_configuration.control.ingress_match.ports.GigabitEthernet_4 =false
GetQCE_Output.QCE_configuration.control.ingress_match.ports.GigabitEthernet_5 =false
GetQCE_Output.QCE_configuration.control.ingress_match.ports.GigabitEthernet_6 =false
GetQCE_Output.QCE_configuration.control.ingress_match.outer_tag_match.match_type.t = 1
GetQCE_Output.QCE_configuration.control.ingress_match.outer_tag_match.match_type.u.any =
'0'
GetQCE_Output.QCE_configuration.control.ingress_match.outer_tag_match.match_fields.vlan_id_filter.t
= 1
GetQCE_Output.QCE_configuration.control.ingress_match.outer_tag_match.match_fields.vlan_id_filter.u.any
= '0'
GetQCE_Output.QCE_configuration.control.ingress_match.outer_tag_match.match_fields.cos_.t
= 1
GetQCE_Output.QCE_configuration.control.ingress_match.outer_tag_match.match_fields.cos_.u.val_any
= '0'
GetQCE_Output.QCE_configuration.control.ingress_match.inner_tag_match.match_type.t = 1
GetQCE_Output.QCE_configuration.control.ingress_match.inner_tag_match.match_type.u.any =
'0'
GetQCE_Output.QCE_configuration.control.ingress_match.inner_tag_match.match_fields.vlan_id_filter.t
= 1
GetQCE_Output.QCE_configuration.control.ingress_match.inner_tag_match.match_fields.vlan_id_filter.u.any
= '0'
GetQCE_Output.QCE_configuration.control.ingress_match.inner_tag_match.match_fields.inner_cos.t
= 1
GetQCE_Output.QCE_configuration.control.ingress_match.inner_tag_match.match_fields.inner_cos.u.val_any
= '0'
GetQCE_Output.QCE_configuration.control.ingress_match.mac_params.smac_filter.t = 1
GetQCE_Output.QCE_configuration.control.ingress_match.mac_params.smac_filter.u.any = '0'
GetQCE_Output.QCE_configuration.control.ingress_match.mac_params.dmac_filter.t = 1
GetQCE_Output.QCE_configuration.control.ingress_match.mac_params.dmac_filter.u.any = '0'
GetQCE_Output.QCE_configuration.control.ingress_match.frame_type.t = 1
GetQCE_Output.QCE_configuration.control.ingress_match.frame_type.u.any = '0'
GetQCE_Output.QCE_configuration.control.actions.mark_egress_class = 8
GetQCE_Output.QCE_configuration.control.actions.mark_COS = 8
GetQCE_Output.QCE_configuration.control.actions.mark_DSCP = 64
GetQCE Commit Success!!!
GetOutputPortPolicy Commit Success!!!
Switch(config-controller-ProvisionQos)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
290
DETAILED STEPS
Command or Action
Step 1
getSystemQosSettings {commit | flush | QCE_ID qce_id| review} View the system QoS configuration.
commitSends the QoS configuration to
NID.
Example:
Step 2
Purpose
Switch(config-controller-ProvisionQos)#
getSystemQosSettings ?
commit
commit getSystemQosSettings
flush
flush all getSystemQosSettings commands
from queue
review
review getSystemQosSettings commands
system_qos getSystemQosSettings (default)
Switch(config-controller-ProvisionQos)#
getSystemQosSettings system_qos
getSystemQosSettings review
Example:
Switch(config-controller-ProvisionQos)#
getSystemQosSettings review
Commands in queue:
getSystemQosSettings system_qos
Step 3
getSystemQosSettings commit
Example:
Switch(config-controller-ProvisionQos)#
getSystemQosSettings commit
Step 4
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Configuration Example
The example displays the system QoS settings on the controller:
Switch(config-controller-ProvisionQos)# getSystemQosSettings system_qos
Switch(config-controller-ProvisionQos)# getSystemQosSettings review
Commands in queue:
getSystemQosSettings system_qos
Switch(config-controller-ProvisionQos)# getSystemQosSettings commit
GetSystemQosSettings_Output.system_qos_config.WRED.egress_class_0.state = false
GetSystemQosSettings_Output.system_qos_config.WRED.egress_class_0.min_threshold = 0
GetSystemQosSettings_Output.system_qos_config.WRED.egress_class_0.max_threshold= 100
GetSystemQosSettings_Output.system_qos_config.WRED.egress_class_1.state = false
GetSystemQosSettings_Output.system_qos_config.WRED.egress_class_1.min_threshold= 0
GetSystemQosSettings_Output.system_qos_config.WRED.egress_class_1.max_threshold= 100
GetSystemQosSettings_Output.system_qos_config.WRED.egress_class_2.state = false
GetSystemQosSettings_Output.system_qos_config.WRED.egress_class_2.min_threshold= 0
GetSystemQosSettings_Output.system_qos_config.WRED.egress_class_2.max_threshold= 100
GetSystemQosSettings_Output.system_qos_config.WRED.egress_class_3.state = false
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
291
GetSystemQosSettings_Output.system_qos_config.WRED.egress_class_3.min_threshold=
GetSystemQosSettings_Output.system_qos_config.WRED.egress_class_3.max_threshold=
GetSystemQosSettings_Output.system_qos_config.WRED.egress_class_4.state = false
GetSystemQosSettings_Output.system_qos_config.WRED.egress_class_4.min_threshold=
GetSystemQosSettings_Output.system_qos_config.WRED.egress_class_4.max_threshold=
GetSystemQosSettings_Output.system_qos_config.WRED.egress_class_5.state = false
GetSystemQosSettings_Output.system_qos_config.WRED.egress_class_5.min_threshold=
GetSystemQosSettings_Output.system_qos_config.WRED.egress_class_5.max_threshold=
0
100
0
100
0
100
DETAILED STEPS
Command or Action
Step 1
getHqosId {commit | flush | hqos_id_value hqos_id | review} View the HQoS ID configuration.
Example:
Switch(config-controller-ProvisionQos)# getHqosId ?
commit
commit getHqosId
flush
flush all getHqosId commands from
queue
hqos_id_value getHqosId (default)
review
review getHqosId commands
Switch(config-controller-ProvisionQos)# getHqosId
hqos_id_value 4
Step 2
Purpose
getHqosId review
Example:
Switch(config-controller-ProvisionQos)# getHqosId
review
Commands in queue:
getHqosId hqos_id_value 2
Step 3
getHqosId commit
Example:
Switch(config-controller-ProvisionQos)# getHqosId
commit
Step 4
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
292
Configuration Example
The example displays the system HQoS ID on the controller:
Switch(config-controller-ProvisionQos)# getHqosId hqos_id_value 4
Switch(config-controller-ProvisionQos)# getHqosId review
Commands in queue:
getHqosId hqos_id_value 2
Switch(config-controller-ProvisionQos)# getHqosId commit
GetHqosId_Output.hqos_id_config.hqos_id = 4
GetHqosId_Output.hqos_id_config.port_number = 4
GetHqosId_Output.hqos_id_config.shaper.state = true
GetHqosId_Output.hqos_id_config.shaper.rate = 100000
GetHqosId_Output.hqos_id_config.bandwidth.state = true
GetHqosId_Output.hqos_id_config.bandwidth.rate = 10000
GetHqosId_Output.hqos_id_config.match.egress_class_7.bandwidth.priority_level = 1
GetHqosId_Output.hqos_id_config.match.egress_class_7.shaper.state = true
GetHqosId_Output.hqos_id_config.match.egress_class_7.shaper.rate = 40000
GetHqosId_Output.hqos_id_config.match.egress_class_6.bandwidth.priority_level = 2
GetHqosId_Output.hqos_id_config.match.egress_class_6.shaper.state = true
GetHqosId_Output.hqos_id_config.match.egress_class_6.shaper.rate = 50000
GetHqosId_Output.hqos_id_config.match.egress_class_5.bandwidth.t = 2
GetHqosId_Output.hqos_id_config.match.egress_class_5.bandwidth.u.remaining_ratio =
GetHqosId_Output.hqos_id_config.match.egress_class_4.bandwidth.t = 2
GetHqosId_Output.hqos_id_config.match.egress_class_4.bandwidth.u.remaining_ratio =
GetHqosId_Output.hqos_id_config.match.egress_class_3.bandwidth.t = 2
GetHqosId_Output.hqos_id_config.match.egress_class_3.bandwidth.u.remaining_ratio =
GetHqosId_Output.hqos_id_config.match.egress_class_2.bandwidth.t = 2
GetHqosId_Output.hqos_id_config.match.egress_class_2.bandwidth.u.remaining_ratio =
GetHqosId_Output.hqos_id_config.match.egress_class_1.bandwidth.t = 2
GetHqosId_Output.hqos_id_config.match.egress_class_1.bandwidth.u.remaining_ratio =
GetHqosId_Output.hqos_id_config.match.egress_class_0.bandwidth.t = 2
GetHqosId_Output.hqos_id_config.match.egress_class_0.bandwidth.u.remaining_ratio =
GetHqosId Commit Success!!!
5
4
4
3
3
2
Switch(config-controller-ProvisionQos)# exit
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionQos)#
getEvcHqosPolicy ?
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
293
Command or Action
commit
evcHqosPolicy
flush
from queue
review
commit getEvcHqosPolicy
getEvcHqosPolicy (default)
flush all getEvcHqosPolicy commands
Switch(config-controller-ProvisionQos)#
getEvcHqosPolicy evcHqosPolicy evc_id 1
Step 2
Purpose
getEvcHqosPolicy review
Example:
Switch(config-controller-ProvisionQos)#
getEvcHqosPolicy review
Commands in queue:
getEvcHqosPolicy evcHqosPolicy evc_id 1
Step 3
getHqosId commit
Example:
Switch(config-controller-ProvisionQos)#
getEvcHqosPolicy commit
Step 4
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Configuration Example
The example displays the EVC HQoS ID on the controller:
Switch(config-controller-ProvisionQos)# getEvcHqosPolicy evcHqosPolicy evc_id 1
Switch(config-controller-ProvisionQos)# getEvcHqosPolicy review
Commands in queue:
getEvcHqosPolicy evcHqosPolicy evc_id 1
Switch(config-controller-ProvisionQos)# getEvcHqosPolicy commit
Switch(config-controller-ProvisionQos)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
294
DETAILED STEPS
Step 1
Step 2
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionQos)#showQCElist
show_qce all
Switch(config-controller-ProvisionQos)#showQCElist
show_qce specific 2
Switch(config-controller-ProvisionQos)#showQCElist
review
Switch(config-controller-ProvisionQos)#showQCElist
commit
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Configuration Example
The example displays the QCE list on the controller:
Switch(config-controller-ProvisionQos)#showQCElist show_qce all
Switch(config-controller-ProvisionQos)#showQCElist show_qce specific 2
Switch(config-controller-ProvisionQos)#showQCElist review
Commands in queue:
showQCElist show_qce all
showQCElist show_qce specific 2
Switch(config-controller-ProvisionQos)#showQCElist commit
ShowQCElist_Output.show_qce_configuration.QCE_List[0].qce_id = 2
ShowQCElist_Output.show_qce_configuration.QCE_List[0].status = false
ShowQCElist Commit Success!!!
Switch(config-controller-ProvisionQos)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
295
DETAILED STEPS
Command or Action
Step 1
Purpose
showQueueStatistics {commit | flush | queue_stats port_number Displays the QoS queue statistics.
port_num} | review}
queue_statsDisplays egress queue statistics.
Example:
Switch(config-controller-ProvisionQoS)#showQueueStatistics
queue_stats port_number 3
Switch(config-controller-ProvisionQoS)#showQueueStatistics
review
Switch(config-controller-ProvisionQoS)#showQueueStatistics
commit
Step 2
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Configuration Example
The example displays the egress queue statistics on the controller:
Switch(config-controller-ProvisionQoS)#showQueueStatistics queue_stats port_number 3
Switch(config-controller-ProvisionQoS)#showQueueStatistics review
Commands in queue:
showQueueStatistics queue_stats port_number 3
Switch(config-controller-ProvisionQoS)#showQueueStatistics commit
ShowQueueStatistics_Output.queue_statistics.port_number = 3
ShowQueueStatistics_Output.queue_statistics.Queue_0.frames = 0
ShowQueueStatistics_Output.queue_statistics.Queue_1.frames = 0
ShowQueueStatistics_Output.queue_statistics.Queue_2.frames = 0
ShowQueueStatistics_Output.queue_statistics.Queue_3.frames = 0
ShowQueueStatistics_Output.queue_statistics.Queue_4.frames = 0
ShowQueueStatistics_Output.queue_statistics.Queue_5.frames = 0
ShowQueueStatistics_Output.queue_statistics.Queue_6.frames = 0
ShowQueueStatistics_Output.queue_statistics.Queue_7.frames = 0
ShowQueueStatistics Commit Success!!!
Switch(config-controller-ProvisionQoS)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
296
DETAILED STEPS
Command or Action
Step 1
Purpose
showHqosIdList {commit | flush | show_hqos_id {all | specific Displays the HQoS ID list.
specific_QCE} | review}
show_hqos_idDisplays HQoS ID list.
Example:
Switch(config-controller-ProvisionQos)#showHqosIdList
show_hqos_id all
Switch(config-controller-ProvisionQos)#showHqosIdList
show_hqos_id specific 2
Switch(config-controller-ProvisionQos)#showHqosIdList
review
Switch(config-controller-ProvisionQos)#showHqosIdList
commit
Step 2
exit
Example:
Switch(config-controller-ProvisionQos)# exit
Configuration Example
The example displays the HQoS ID list on the controller:
Switch(config-controller-ProvisionQos)#showHqosIdList show_hqos_id specific 2
Switch(config-controller-ProvisionQos)#showHqosIdList review
Commands in queue:
showHqosIdList show_hqos_id all
showHqosIdList show_hqos_id specific 2
Switch(config-controller-ProvisionQos)#showHqosIdList commit
ShowHqosIdList_Output.show_hqos_id_response.hqos_id_list[0].hqos_id = 2
ShowHqosIdList_Output.show_hqos_id_response.hqos_id_list[0].status = false
ShowHqosIdList Commit Success!!!
Switch(config-controller-ProvisionQos)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
297
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
298
CHAPTER
15
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
299
OAM Features
These OAM features are defined by IEEE 802.3ah:
Discovery identifies devices in the network and their OAM capabilities. It uses periodic OAM PDUs to
advertise OAM mode, configuration, and capabilities; PDU configuration; and platform identity. An
optional phase allows the local station to accept or reject the configuration of the peer OAM entity.
Link monitoring detects and indicates link faults under a variety of conditions and uses the event
notification OAM PDU to notify the remote OAM device when it detects problems on the link. Error
events include when the number of symbol errors, the number of frame errors, the number of frame
errors within a specified number of frames, or the number of error seconds within a specified period
exceed a configured threshold.
Remote failure indication conveys a slowly deteriorating quality of an OAM entity to its peers by
communicating these conditions: Link Fault means a loss of signal, Dying Gasp means an unrecoverable
condition, and Critical Event means an unspecified vendor-specific critical event. The switch can receive
and process but not generate Link Fault or Critical Event OAM PDUs. It can generate Dying Gasp OAM
PDUs to show when Ethernet OAM is disabled, the interface is shut down, the interface enters the
error-disabled state, or the switch is reloading. It also supports Dying Gasp PDUs based on loss of power.
Remote loopback mode to ensure link quality with a remote peer during installation or troubleshooting.
In this mode, when the switch receives a frame that is not an OAM PDU or a pause frame, it sends it
back on the same port. The link appears to the user to be in the up state. You can use the returned loopback
acknowledgment to test delay, jitter, and throughput.
The following sections describe how to configure ethernet OAM on the Cisco ME 1200 NID.
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
OperationsMepPortType
Example:
Switch(config-controller)# OperationsMepPortType
Step 4
setAis aisConfig{aisAction {disable | enable {framerate | Enables or disables the alarm indication signal request
on a Maintenance End Point (MEP) instance.
protect} | mepInstance mep_instance_number}
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
300
Command or Action
Purpose
aisActionEnables or disables the AIS.
Example:
Switch(config-controller-OperationsMepPortType)#
setAis aisConfig aisAction enable frameRate fr1s
Switch(config-controller-OperationsMepPortType)#
setAis aisConfig aisAction enable protect disable
Switch(config-controller-OperationsMepPortType)#
setAis aisConfig aisAction disable
Switch(config-controller-OperationsMepPortType)#
setAis aisConfig mepInstance 1
Step 5
setAis review
Example:
Switch(config-controller-OperationsMepPortType)#
setAis review
Step 6
setAis commit
Example:
Switch(config-controller-OperationsMepPortType)#
setAis commit
Step 7
exit
Example:
Switch(config-controller-OperationsMepPortType)#
exit
Switch(config-controller)#
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
301
Step 3
Command or Action
Purpose
ProvisionMepPortType
Example:
Switch(config-controller)# OperationsMepPortType
Step 4
setDm dmConfig {dmAction {disable | enable {calculation | Enables or disables the delay measurement request.
cast | interval | lastN | mode | priority}} | mepInstance
dmActionEnables or disables the delay
mep_instance_number}
measurement.
calculationIs the delay calculation.
Example:
Switch(config-controller-OperationsMepPortType)#
dmConfig dmAction enable calculation rdtrp
Switch(config-controller-OperationsMepPortType)#
dmConfig dmAction enable cast uni mepId 0
Switch(config-controller-OperationsMepPortType)#
dmConfig dmAction enable interval 10
Switch(config-controller-OperationsMepPortType)#
dmConfig dmAction enable lastN 10
Switch(config-controller-OperationsMepPortType)#
dmConfig dmAction enable mode twoWay
Switch(config-controller-OperationsMepPortType)#
dmConfig dmAction enable priority 0
Switch(config-controller-OperationsMepPortType)#
dmConfig dmAction disable
Switch(config-controller-OperationsMepPortType)#
dmConfig mepInstance 1
setDM
setDM
setDM
setDM
setDM
setDM
setDM
setDM
Step 5
setDm review
Example:
Switch(config-controller-OperationsMepPortType)# setDm
review
Step 6
setDm commit
Example:
Switch(config-controller-OperationsMepPortType)# setDm
commit
Step 7
exit
Example:
Switch(config-controller-OperationsMepPortType)# exit
Switch(config-controller)#
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
302
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionMepPortType
Example:
Switch(config-controller)# OperationsMepPortType
Step 4
Step 5
updateDM review
Example:
Switch(config-controller-OperationsMepPortType)#
updateDM review
Step 6
updateDM commit
Example:
Switch(config-controller-OperationsMepPortType)#
updateDM commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
303
Step 7
Command or Action
Purpose
exit
Example:
Switch(config-controller-OperationsMepPortType)#
exit
Switch(config-controller)#
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionMepPortType
Example:
Switch(config-controller)# OperationsMepPortType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
304
Command or Action
Purpose
mepInstanceIs the MEP instance number. The
valid values are from 1 to 128.
Step 5
setLM review
Example:
Switch(config-controller-OperationsMepPortType)#
setLM review
Step 6
setLM commit
Example:
Switch(config-controller-OperationsMepPortType)#
setLM commit
Step 7
exit
Example:
Switch(config-controller-OperationsMepPortType)#
exit
Switch(config-controller)#
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionMepPortType
Example:
Switch(config-controller)# OperationsMepPortType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
305
Command or Action
Example:
Switch(config-controller-OperationsMepPortType)#
setLck lckConfig lckAction enable frameRate fr1s
Switch(config-controller-OperationsMepPortType)#
setLck lckConfig lckAction disable
Switch(config-controller-OperationsMepPortType)#
setLck lckConfig mepInstance 1
Step 5
setlck review
Purpose
framerateDefines the frame rate, whether
frames per minutes, or frames per second.
mepInstanceIs the MEP instance number. The
valid values are from 1 to 128.
Example:
Switch(config-controller-OperationsMepPortType)#
setlck review
Step 6
setlck commit
Example:
Switch(config-controller-OperationsMepPortType)#
setlck commit
Step 7
exit
Example:
Switch(config-controller-OperationsMepPortType)#
exit
Switch(config-controller)#
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
OperationsMepPortType
Example:
Switch(config-controller)# OperationsMepPortType
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
306
Step 4
Command or Action
Purpose
Example:
Switch(config-controller-OperationsMepPortType)#
setLinkTrace linkTrace ltAction enable destination
mepId 0
Switch(config-controller-OperationsMepPortType)#
setLinkTrace linkTrace ltAction enable priority 0
Switch(config-controller-OperationsMepPortType)#
setLinkTrace linkTrace ltAction enable ttl 1
Switch(config-controller-OperationsMepPortType)#
setLinkTrace linkTrace ltAction disable
Switch(config-controller-OperationsMepPortType)#
setLinkTrace linkTrace mepInstance 1
Step 5
setLinkTrace review
Example:
Switch(config-controller-OperationsMepPortType)#
setLinkTrace review
Step 6
setLinkTrace commit
Example:
Switch(config-controller-OperationsMepPortType)#
setLinkTrace commit
Step 7
exit
Example:
Switch(config-controller-OperationsMepPortType)# exit
Switch(config-controller)#
Setting Loopback
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
307
Step 2
Command or Action
Purpose
Example:
Switch(config)# controller nid 1/1
Step 3
OperationsMepPortType
Example:
Switch(config-controller)# OperationsMepPortType
Step 4
setloopBack loopBackConfig {lbAction {disable | enable Enables or disables the loopback request.
{cast | count | dei | interval | priority | size}} | mepInstance
lbActionEnables or disables loopback.
mep_instance_number}
castIs either unicast or multicast.
Example:
Switch(config-controller-OperationsMepPortType)#
setLoopBack loopBackConfig lbAction enable cast uni
mepId 0
Switch(config-controller-OperationsMepPortType)#
setLoopBack loopBackConfig lbAction enable count 5
Switch(config-controller-OperationsMepPortType)#
setLoopBack loopBackConfig lbAction enable dei disable
Switch(config-controller-OperationsMepPortType)#
setLoopBack loopBackConfig lbAction enable interval
10
Switch(config-controller-OperationsMepPortType)#
setLoopBack loopBackConfig lbAction enable priority
0
Switch(config-controller-OperationsMepPortType)#
setLoopBack loopBackConfig lbAction enable size 100
Switch(config-controller-OperationsMepPortType)#
setLoopBack loopBackConfig lbAction disable
Switch(config-controller-OperationsMepPortType)#
setLoopBack loopBackConfig mepInstance 1
Step 5
setloopBack review
Example:
Switch(config-controller-OperationsMepPortType)#
setloopBack review
Step 6
setloopBack commit
Example:
Switch(config-controller-OperationsMepPortType)#
setloopBack commit
Step 7
exit
Example:
Switch(config-controller-OperationsMepPortType)# exit
Switch(config-controller)#
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
308
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
OperationsMepPortType
Example:
Switch(config-controller)# OperationsMepPortType
Step 4
settst tstConfig tstConfig {dei {disable | enable} | mepId Enables or disables the test signal request.
| mepInstance mep_instance_id | pattern | priority | rate |
tstConfigEnables or disables the test signal request.
sequence size}
deiDefines the Drop Eligible Indicator in case of
tagged OAM.
Example:
Switch(config-controller-OperationsMepPortType)#
setTst tstConfig dei disable
Switch(config-controller-OperationsMepPortType)#
setTst tstConfig mepId 0
Switch(config-controller-OperationsMepPortType)#
setTst tstConfig mepInstance 1
Switch(config-controller-OperationsMepPortType)#
setTst tstConfig pattern allZero
Switch(config-controller-OperationsMepPortType)#
setTst tstConfig priority 0
Switch(config-controller-OperationsMepPortType)#
setTst tstConfig rate 1
Switch(config-controller-OperationsMepPortType)#
setTst tstConfig sequence disable
Switch(config-controller-OperationsMepPortType)#
setTst tstConfig size 64
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
309
Step 5
Command or Action
Purpose
setTst review
Example:
Switch(config-controller-OperationsMepPortType)#
setTst review
Step 6
setTst commit
Example:
Switch(config-controller-OperationsMepPortType)#
setTst commit
Step 7
exit
Example:
Switch(config-controller-OperationsMepPortType)#
exit
Switch(config-controller)#
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
OperationsMepPortType
Example:
Switch(config-controller)# OperationsMepPortType
Step 4
Switch(config-controller-OperationsMepPortType)#
updateTst updateTstConfig update Rx enable
Switch(config-controller-OperationsMepPortType)#
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
310
Command or Action
Purpose
Step 5
updateTst review
Example:
Switch(config-controller-OperationsMepPortType)#
updateTst review
Step 6
updateTst commit
Example:
Switch(config-controller-OperationsMepPortType)#
updateTst commit
Step 7
exit
Example:
Switch(config-controller-OperationsMepPortType)# exit
Switch(config-controller)#
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
LinkOamPortType
Example:
Switch(config-controller)# LinkOamPortType
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
311
Command or Action
Step 4
Example:
Switch(config-controller-LinkOamPortType)#
setLinkOamPortConfig portConfig portNumber 5
Switch(config-controller-LinkOamPortType)#
setLinkOamPortConfig portConfig linkOam enable
Switch(config-controller-LinkOamPortType)#
setLinkOamPortConfig portConfig linkmonitorSupport enable
Switch(config-controller-LinkOamPortType)#
setLinkOamPortConfig portConfig loopbackOperation enable
Switch(config-controller-LinkOamPortType)#
setLinkOamPortConfig portConfig loopbackSupport enable
Switch(config-controller-LinkOamPortType)#
setLinkOamPortConfig portConfig mibretrivalSupport enable
Switch(config-controller-LinkOamPortType)#
setLinkOamPortConfig portConfig oamMode active
Switch(config-controller-LinkOamPortType)#
setLinkOamPortConfig portConfig variableRetrieve
localInfo
Step 5
Purpose
setLinkOamPortConfig review
Example:
Switch(config-controller-LinkOamPortType)#
setLinkOamPortConfig review
Step 6
setLinkOamPortConfig commit
Example:
Switch(config-controller-LinkOamPortType)#
setLinkOamPortConfig commit
Step 7
exit
Example:
Switch(config-controller-LinkOamPortType)# exit
Switch(config-controller)#
What to Do Next
After the configuration is sent to the Cisco ME 1200 NID, use the following get command to view the
LinkOamPortType configuration.
Switch(config-controller-LinkOamPortType)# getLinkOamPortConfig linkOamRequest portNumber
5
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
312
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
LinkOamPortType
Example:
Switch(config-controller)# LinkOamPortType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
313
Step 5
Command or Action
Purpose
setLinkEventConfig review
Example:
Switch(config-controller-LinkOamPortType)#
setLinkEventConfig review
Step 6
setLinkEventConfig commit
Example:
Switch(config-controller-LinkOamPortType)#
setLinkEventConfig commit
Step 7
exit
Example:
Switch(config-controller-LinkOamPortType)# exit
Switch(config-controller)#
What to Do Next
After the configuration is sent to the Cisco ME 1200 NID, use the following get command to view the
setLinkEventConfig configuration.
Switch(config-controller-LinkOamPortType)# getLinkEventConfig linkOamRequest portNumber 5
Switch(config-controller-LinkOamPortType)# getLinkEventConfig review
Switch(config-controller-LinkOamPortType)# getLinkEventConfig commit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
LinkOamPortType
Example:
Switch(config-controller)# LinkOamPortType
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
314
Step 4
Command or Action
Purpose
Example:
Switch(config-controller-LinkOamPortType)#
setRemoteLoopBack remoteLoopBack start portList 1
Step 5
setRemoteLoopBack review
Example:
Switch(config-controller-LinkOamPortType)#
setRemoteLoopBack review
Commands in queue:
setRemoteLoopBack remoteLoopBack start portList
1
setRemoteLoopBack remoteLoopBack stop portList
1
Step 6
setRemoteLoopBack commit
Example:
Switch(config-controller-LinkOamPortType)#
setRemoteLoopBack commit
Step 7
exit
Example:
Switch(config-controller-LinkOamPortType)# exit
Switch(config-controller)#
CFM Domain
A CFM maintenance domain is a management space on a network that is owned and operated by a single
entity and defined by a set of ports internal to it, but at its boundary. You assign a unique maintenance level
(from 0 to 7) to define the hierarchical relationship between domains. The larger the domain, the higher the
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
315
level. For example, as shown in the figure below, a service-provider domain would be larger than an operator
domain and might have a maintenance level of 6, while the operator domain maintenance level is 3 or 4.
Figure 9: CFM Maintenance Domains
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
316
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionMepPortType
Example:
Switch(config-controller)# ProvisionMepPortType
Step 4
addccAps mepFunctionalConfig {aps {disable | enable Adds the CC or APS configuration request.
{mode {multi |uni} | priority | switchingProtocol {laps
mepFunctionalConfigAdds the Continuity Check
| raps}} | cc {disable | enable {framerate | priority}
(CC) or automatic protection switching (APS)
configuration request.
Example:
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig aps enable mode multi
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig aps enable
switchingProtocol laps
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig cc enable frameRate
fr1s
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig cc enable priority
1
Step 5
addCcAps review
Example:
Switch(config-controller-ProvisionMepPortType)#
addCcAps review
Step 6
addCcAps commit
Example:
Switch(config-controller-ProvisionMepPortType)#
addCcAps commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
317
Step 7
Command or Action
Purpose
exit
Example:
Switch(config-controller-ProvisionMepPortType)#
exit
Switch(config-controller)#
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionMepPortType
Example:
Switch(config-controller)# ProvisionMepPortType
Step 4
Switch(config-controller-ProvisionMepPortType)#
addPeerMepId mepClientConfig aisPriority aisHighest
Switch(config-controller-ProvisionMepPortType)#
addPeerMepId mepClientConfig domain VLAN
Switch(config-controller-ProvisionMepPortType)#
addPeerMepId mepClientConfig flowId 21
Switch(config-controller-ProvisionMepPortType)#
addPeerMepId mepClientConfig mepInstance 1
Step 5
addPeerMepId review
Example:
Switch(config-controller-ProvisionMepPortType)#
addPeerMepId review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
318
Step 6
Command or Action
Purpose
addPeerMepId commit
Example:
Switch(config-controller-ProvisionMepPortType)#
addPeerMepId commit
Step 7
exit
Example:
Switch(config-controller-ProvisionMepPortType)# exit
Switch(config-controller)#
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionMepPortType
Example:
Switch(config-controller)# ProvisionMepPortType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
319
Command or Action
Purpose
lckPrioritySets the lock priority. The lock priority
can be set to either the highest priority or any other
priority between 0 and 7.
levelSets the MEG level of the MEP. The valid
values are from 0 to 7.
mepInstanceSets the MEP instance number. The
valid values are from 1 to 128.
Step 5
addClient review
Example:
Switch(config-controller-ProvisionMepPortType)#
addClient review
Step 6
addClient commit
Example:
Switch(config-controller-ProvisionMepPortType)#
addClient commit
Step 7
exit
Example:
Switch(config-controller-ProvisionMepPortType)#
exit
Switch(config-controller)#
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
320
Step 3
Command or Action
Purpose
ProvisionMepPortType
Example:
Switch(config-controller)# ProvisionMepPortType
Step 4
createMep createMepConfig {direction {DOWN | UP} Creates the Maintenance End Point configuration.
| domain {EVC | PORT | VLAN} | flowId flow_id | level
createMepConfigCreates the MEP configuration.
meg_level | megDomain {maName | megIdFormat {ieee
| ituCcMeg | ituMeg}} | mepId mep_id | mepInstance
directionSets the direction of the MEPwhether
mep_instance | mode {mep | mip} | residencePort port |
down (Down MEP) or up (Up MEP).
vid vid_number | voe {disable | enable}}
domainSets the domainwhether EVC, Port, or
VLAN.
Example:
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig direction UP
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig domain VLAN
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig flowId 21
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig level 0
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig mode MEP
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig residencePort 1
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig voe disable
Step 5
createMep review
Example:
Switch(config-controller-ProvisionMepPortType)#
createMep review
Step 6
createMep commit
Example:
Switch(config-controller-ProvisionMepPortType)#
createMep commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
321
Step 7
Command or Action
Purpose
exit
Example:
Switch(config-controller-ProvisionMepPortType)#
exit
Switch(config-controller)#
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
ProvisionMepPortType
Example:
Switch(config-controller)# ProvisionMepPortType
Step 4
updateMep mepUpdateConfig {mepInstance mep_instance Updates the Maintenance End Point configuration.
| update {level meg_level | megDomain {maName |
mepInstanceSets the MEP instance number.
megIdFormat {ieee | ituCcMeg | ituMeg}} | mepId mep_id
The valid values are from 1 to 128.
| performanceMonitoring {disable | enable} | vid vid_number
| voe {disable | enable}}}
updateUpdates the MEP configuration.
Example:
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig direction UP
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig domain VLAN
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig flowId 21
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig level 0
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig mode MEP
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig residencePort 1
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig voe disable
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
322
Command or Action
Purpose
Note
updateMep review
Example:
Switch(config-controller-ProvisionMepPortType)#
updateMep review
Step 6
updateMep commit
Example:
Switch(config-controller-ProvisionMepPortType)#
updateMep commit
Step 7
exit
Example:
Switch(config-controller-ProvisionMepPortType)# exit
Switch(config-controller)#
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
323
createMep commit
addPeerMepId peerMepConfig mepInstance 100
addPeerMepId peerMepConfig peerMepId 101
addPeerMepId commit
addCcAps mepFunctionalConfig mepInstance 100
addCcAps mepFunctionalConfig cc enable priority 7
addCcAps mepFunctionalConfig cc enable frameRate fr1s
addCcAps mepFunctionalConfig aps enable mode multi
addCcAps mepFunctionalConfig aps enable priority 7
addCcAps mepFunctionalConfig aps enable switchingProtocol raps octet 1
addCcAps commit
exit
setLoopBack
setLoopBack
setLoopBack
setLoopBack
setLoopBack
setLoopBack
setLoopBack
setloopBack
loopBackConfig
loopBackConfig
loopBackConfig
loopBackConfig
loopBackConfig
loopBackConfig
loopBackConfig
commit
mepInstance 100
lbAction enable
lbAction enable
lbAction enable
lbAction enable
lbAction enable
lbAction enable
cast multi
count 10
dei disable
interval 1
priority 7
size 70
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
324
ShowLoopBack_Output.loopbackInfo.mepInst[0].config.interval = 1
ShowLoopBack_Output.loopbackInfo.mepInst[0].state.mepInstance = 32
ShowLoopBack_Output.loopbackInfo.mepInst[0].state.transactionId = 11
ShowLoopBack_Output.loopbackInfo.mepInst[0].state.txLBM.upper = 0
ShowLoopBack_Output.loopbackInfo.mepInst[0].state.txLBM.lower = 10
ShowLoopBack_Output.loopbackInfo.mepInst[0].state.reply[0].rcvMac = '00-3A-99-FD-47-2F'
ShowLoopBack_Output.loopbackInfo.mepInst[0].state.reply[0].received.upper = 0
ShowLoopBack_Output.loopbackInfo.mepInst[0].state.reply[0].received.lower = 10
ShowLoopBack_Output.loopbackInfo.mepInst[0].state.reply[0].outOfOrder.upper = 0
ShowLoopBack_Output.loopbackInfo.mepInst[0].state.reply[0].outOfOrder.lower = 0
showLoopBack Commit Success!!!
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
325
exit
opearationsMepPortType
setLM lmConfig mepInstance
setLM lmConfig lmAction
setLM lmConfig lmAction
setLM lmConfig lmAction
setLM lmConfig lmAction
setLM commit
exit
98
enable
enable
enable
enable
cast multi
frameRate fr1s
mode single
priority 7
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
326
Send 20Mbps traffic from TG2 on VLAN 1024 with DSCP set to af12
Controller-Switch(config-controller-OpearationsMepPortType)# showLM mepRequest mepInstance
98
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.mepInstance = 98
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.priority = 7
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.cast.t = 2
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.cast.u.multi = 'multi'
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.mode.t = 2
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.mode.u.single = 'single'
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.frameRate.t = 3
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.frameRate.u.fr1s = 'fr1s'
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.flr = 5
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.mepInstance = 98
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.tx = 85
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.rx = 85
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.nearCount = 180123
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.farCount = 0
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.nearRatio = 94
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.farRatio = 0
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
327
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.nearCount = 0
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.farCount = 1105217
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.nearRatio = 0
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.farRatio = 94
showLM Commit Success!!!
Controller-Switch(config-controller-OpearationsMepPortType)#
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
328
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.mode.t = 2
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.mode.u.single = 'single'
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.frameRate.t = 3
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.frameRate.u.fr1s = 'fr1s'
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.flr = 5
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.mepInstance = 98
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.tx = 358
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.rx = 358
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.nearCount = 0
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.farCount = 2052958
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.nearRatio = 0
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.farRatio = 0
showLM Commit Success!!!
Controller-config-controller-(OpearationsMepPortType)#
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
329
evcConfiguration
evcConfiguration
evcConfiguration
evcConfiguration
evcConfiguration
instance 1021
internal_vid 1021
learning enable
nni_ports GigabitEthernet_4_NNI enable
nni_vid 1021
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
330
Send 20Mbps traffic from TG2 on VLAN 1022 with DSCP set to af11
Controller-Switch(config-controller-ProvisionMepPortType)# controller nid 0/2
Controller-Switch(config-controller)#ProvisionMepPortType
Controller-Switch(config-controller-ProvisionMepPortType)# showMepConfig flush
Controller-Switch(config-controller-ProvisionMepPortType)# showMepalar mepRequest mepInstance
94
Controller-Switch(config-controller-ProvisionMepPortType)# showMepalar commit
ShowMepAlarms_Output.mepState.mepInst[0].mepInstance = 94
ShowMepAlarms_Output.mepState.mepInst[0].cLevel = false
ShowMepAlarms_Output.mepState.mepInst[0].cMeg = false
ShowMepAlarms_Output.mepState.mepInst[0].cMep = false
ShowMepAlarms_Output.mepState.mepInst[0].cAis = false
ShowMepAlarms_Output.mepState.mepInst[0].cLck = false
ShowMepAlarms_Output.mepState.mepInst[0].cSsf = false
ShowMepAlarms_Output.mepState.mepInst[0].aBlk = false
ShowMepAlarms_Output.mepState.mepInst[0].atsf = false
ShowMepAlarms_Output.mepState.mepInst[0].peerMepState[0].peerMepId = 102
ShowMepAlarms_Output.mepState.mepInst[0].peerMepState[0].cLoc = false
ShowMepAlarms_Output.mepState.mepInst[0].peerMepState[0].cRdi = false
ShowMepAlarms_Output.mepState.mepInst[0].peerMepState[0].cPeriod = false
ShowMepAlarms_Output.mepState.mepInst[0].peerMepState[0].cPrio = false
showMepAlarms Commit Success!!!
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
331
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.priority = 7
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.cast.t = 2
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.cast.u.multi = 'multi'
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.mode.t = 2
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.mode.u.single = 'single'
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.frameRate.t = 3
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.frameRate.u.fr1s = 'fr1s'
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.flr = 5
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.mepInstance = 98
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.tx = 137
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.rx = 137
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.nearCount = 0
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.farCount = 1105217
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.nearRatio = 0
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.farRatio = 94
showLM Commit Success!!!
Controller-Switch(config-controller-OpearationsMepPortType)#
Controller-Switch(config-controller-ProvisionMepPortType)#controller nid 0/1
Controller-Switch(config-controller)#ProvisionMepPortType
Controller-Switch(config-controller-ProvisionMepPortType)#showMepConfig flush
Controller-Switch(config-controller-ProvisionMepPortType)#showMepalar mepRequest mepInstance
94
Controller-Switch(config-controller-ProvisionMepPortType)#showMepalar commit
ShowMepAlarms_Output.mepState.mepInst[0].mepInstance = 94
ShowMepAlarms_Output.mepState.mepInst[0].cLevel = false
ShowMepAlarms_Output.mepState.mepInst[0].cMeg = false
ShowMepAlarms_Output.mepState.mepInst[0].cMep = false
ShowMepAlarms_Output.mepState.mepInst[0].cAis = false
ShowMepAlarms_Output.mepState.mepInst[0].cLck = false
ShowMepAlarms_Output.mepState.mepInst[0].cSsf = false
ShowMepAlarms_Output.mepState.mepInst[0].aBlk = false
ShowMepAlarms_Output.mepState.mepInst[0].atsf = false
ShowMepAlarms_Output.mepState.mepInst[0].peerMepState[0].peerMepId = 103
ShowMepAlarms_Output.mepState.mepInst[0].peerMepState[0].cLoc = false
ShowMepAlarms_Output.mepState.mepInst[0].peerMepState[0].cRdi = false
ShowMepAlarms_Output.mepState.mepInst[0].peerMepState[0].cPeriod = false
ShowMepAlarms_Output.mepState.mepInst[0].peerMepState[0].cPrio = false
showMepAlarms Commit Success!!!
Controller-Switch(config-controller-ProvisionMepPortType)#
Controller-Switch(config-controller-ProvisionMepPortType)#controller nid 0/1
Controller-Switch(config-controller)#OpearationsMepPortType
Controller-Switch(config-controller-OpearationsMepPortType)#showlm flush
Controller-Switch(config-controller-OpearationsMepPortType)#showlm mepRequest mepInstance
94
Controller-Switch(config-controller-OpearationsMepPortType)#showlm commit
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.mepInstance = 94
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.priority = 7
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.cast.t = 2
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.cast.u.multi = 'multi'
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.mode.t = 1
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.mode.u.dual = 'dual'
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.frameRate.t = 3
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.frameRate.u.fr1s = 'fr1s'
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.flr = 5
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.mepInstance = 94
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.tx = 64
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.rx = 47
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.nearCount = 1
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.farCount = 586684
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.nearRatio = 0
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.farRatio = 94
showLM Commit Success!!!
Controller-Switch(config-controller-OpearationsMepPortType)#controller nid 0/2
Controller-Switch(config-controller)#OpearationsMepPortType
Controller-Switch(config-controller-OpearationsMepPortType)#showlm flush
Controller-Switch(config-controller-OpearationsMepPortType)#showlm mepRequest mepInstance
94
Controller-Switch(config-controller-OpearationsMepPortType)#showlm commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
332
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.mepInstance = 94
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.priority = 7
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.cast.t = 2
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.cast.u.multi = 'multi'
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.mode.t = 1
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.mode.u.dual = 'dual'
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.frameRate.t = 3
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.frameRate.u.fr1s = 'fr1s'
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.flr = 5
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.mepInstance = 94
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.tx = 70
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.rx = 61
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.nearCount = 811684
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.farCount = 1
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.nearRatio = 94
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.farRatio = 0
showLM Commit Success!!!
Controller-Switch(config-controller-OpearationsMepPortType)#
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
333
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
334
CHAPTER
16
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
335
the ITU-T Y.1731 specification and interpreted by the Metro Ethernet Forum (MEF). Service providers offer
service level agreements (SLAs) that describe the level of performance customers can expect for services.
This document describes the Ethernet performance management aspect of SLAs.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
336
Note
The frame-delay and frame-delay variation measurement processes are aborted when faults related to
continuity and availability occur or when known network topology changes occur.
An MIP is transparent to the frames with ETH-DM information; therefore, an MIP does not require information
to support the ETH-DM function.
The figure below shows a functional overview of a typical network in which Y.1731 performance monitoring
is used.
Figure 10: Y.1731 Performance Monitoring
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
337
Step 2
Command or Action
Purpose
Example:
Switch(config)# controller nid 1/1
Step 3
OperationsMepPortType
Example:
Switch(config-controller)# OperationsMepPortType
Step 4
showLoopBack
showTst
request
updateDM
updateTst
Step 5
exit
Example:
Switch(config-controller-OperationsMepPortType)# exit
Configuration Example
The following example shows the supported PM configuration:
Switch(config-controller-OperationsMepPortType)# ?
OperationsMepPortType sub-mode commands:
clearMepStats Clear mep statistics request
default
Set a command to its defaults
exit
Exit from OpearationsMepPortType sub configuration mode
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
338
no
setAis
setDM
setLM
setLck
setLinkTrace
setLoopBack
setTst
showAis
showDM
showLM
showLck
showLinkTrace
showLoopBack
showTst
updateDM
updateTst
DETAILED STEPS
Command or Action
Purpose
Example:
Switch(config-controller-OperationsMepPortType)#
default ?
clearMepStats Clear mep statistics request
exit
Exit from OpearationsMepPortType sub
configuration mode
setAis
Enable or Disable AIS request
setDM
Enable or Disable delay measurement
request
setLM
Enable or Disable loss measurement
request
setLck
Enable or Disable lock signal request
setLinkTrace
setLoopBack
setTst
showAis
Show AIS configuration request
showDM
Show delay measurement statistics
request
showLM
Show LM statistics request
showLck
Show lock signal current configuration
request
showLinkTrace Show linktrace state and current
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
339
Command or Action
Purpose
showLoopBackDisplays current configured
loopback state.
configuration request
showLoopBack
Show loopback state and current
configuration request
showTst
Show test signal statistics and
current configuration request
updateDM
Update DM parameters request
updateTst
Update Tst signal request
Step 2 exit
Example:
Switch(config-controller-OperationsMepPortType)# exit
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-OperationsMepPortType)# setAis
?
aisConfig Enable or Disable AIS request
commit
commit setAis
flush
flush all setAis commands from qu
review
review setAis commands
Step 2
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
340
Command or Action
Purpose
enableEnables lock signal configuration.
Example:
Switch(config-controller-OperationsMepPortType)#
aisConfig aisaction enable frameRate fr1m
Switch(config-controller-OperationsMepPortType)#
aisConfig aisaction enable frameRate fr1s
Switch(config-controller-OperationsMepPortType)#
aisConfig aisaction enable protect enable
Switch(config-controller-OperationsMepPortType)#
aisConfig mepInstance 20
Step 3
setAis
setAis
setAis
setAis
setAis review
Example:
Switch(config-controller-OperationsMepPortType)# setAis
review
Commands in queue:
setAis aisConfig aisAction enable protect enable
setAis aisConfig aisAction enable frameRate
fr1s
setAis aisConfig aisAction enable frameRate
fr1m
setAis aisConfig mepInstance 20
Step 4
setAiscommit
Example:
Switch(config-controller-OperationsMepPortType)# setAis
commit
Step 5
exit
Example:
Switch(config-controller-OperationsMepPortType)# exit
Configuration Example
The example shows how to configure AIS on the controller:
Switch(config-controller-OperationsMepPortType)# setAis aisConfig aisaction enable frameRate
fr1m
Switch(config-controller-OperationsMepPortType)# setAis aisConfig aisaction enable frameRate
fr1s
Switch(config-controller-OperationsMepPortType)# setAis aisConfig aisaction enable protect
enable
Switch(config-controller-OperationsMepPortType)# setAis review
Switch(config-controller-OperationsMepPortType)# setAis aisConfig mepInstance 20
Commands in queue:
setAis aisConfig
setAis aisConfig
setAis aisConfig
setAis aisConfig
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
341
Commands in queue:
Commands in queue:
setAis aisConfig mepInstance 2
Switch(config-controller-OperationsMepPortType)# setAis commit
SetAis_Output.mepResponse = 34537474
SetAis Commit Success!!!
Switch(config-controller-OperationsMepPortType)#end
DETAILED STEPS
Command or Action
Purpose
Example:
Switch(config-controller-OperationsMepPortType)# setDM
?
commit
commit setDM
dmConfig Enable or Disable delay measurement request
flush
review
Sets DM parameters
Step 2 setDM dmConfig {dmaction {enable {calculation {flow |
rdtrp} | cast {mutli | uni mepId mep_Id } | interval interval_no
dmactionEnables or disables DM on the controller.
| lastN delay_calc | mode {oneway | twoway} | priority
priority_no } | disable } | mepInstance instance_no }
enableEnables delay measurement configuration.
disableDisables delay measurement configuration.
Example:
Switch(config-controller-OperationsMepPortType)#
dmConfig dmaction enable calculation flow
Switch(config-controller-OperationsMepPortType)#
dmConfig dmaction enable calculation rdtrp
Switch(config-controller-OperationsMepPortType)#
dmConfig dmaction enable cast multi
Switch(config-controller-OperationsMepPortType)#
dmConfig dmaction enable cast uni mepId 23
Switch(config-controller-OperationsMepPortType)#
dmConfig dmaction enable interval 20
Switch(config-controller-OperationsMepPortType)#
dmConfig dmaction enable lastN 200
Switch(config-controller-OperationsMepPortType)#
dmConfig dmaction enable mode oneway
Switch(config-controller-OperationsMepPortType)#
dmConfig dmaction enable mode twoway
setDM
setDM
setDM
setDM
calculationCalculates delay.
flowTwo-way delay is calculated as round trip
symmetrical flow. Far end resistance time is
subtracted.
setDM
setDM
setDM
setDM
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
342
Command or Action
Purpose
Switch(config-controller-OperationsMepPortType)# setDM
dmConfig dmaction enable priority 3
Switch(config-controller-OperationsMepPortType)# setDM
dmConfig dmaction enable calculation rdtrp
Switch(config-controller-OperationsMepPortType)# setDM
dmConfig mepInstance 1
Example:
Switch(config-controller-OperationsMepPortType)# setDM
review
Commands in queue:
setDM dmConfig
setDM dmConfig
setDM dmConfig
setDM dmConfig
flow
setDM dmConfig
rdtrp
setDM dmConfig
setDM dmConfig
flow
setDM dmConfig
rdtrp
setDM dmConfig
setDM dmConfig
23
setDM dmConfig
setDM dmConfig
setDM dmConfig
dmAction
dmAction
dmAction
dmAction
enable
enable
enable
enable
mode oneWay
interval 10
lastN 20
calculation
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
343
Command or Action
Purpose
Step 4 setDMcommit
Example:
Switch(config-controller-OperationsMepPortType)# setDM
commit
SetDM Commit Success!!!
Step 5 exit
Example:
Switch(config-controller-OperationsMepPortType)# exit
Configuration Example
The example shows how to configure DM on the controller:
Switch(config-controller-OperationsMepPortType)#
flow
Switch(config-controller-OperationsMepPortType)#
rdtrp
Switch(config-controller-OperationsMepPortType)#
Switch(config-controller-OperationsMepPortType)#
mepId 23
Switch(config-controller-OperationsMepPortType)#
20
Switch(config-controller-OperationsMepPortType)#
Switch(config-controller-OperationsMepPortType)#
Switch(config-controller-OperationsMepPortType)#
Switch(config-controller-OperationsMepPortType)#
Switch(config-controller-OperationsMepPortType)#
rdtrp
Switch(config-controller-OperationsMepPortType)#
Switch(config-controller-OperationsMepPortType)#
Commands in queue:
setDM dmConfig
setDM dmConfig
setDM dmConfig
setDM dmConfig
setDM dmConfig
setDM dmConfig
setDM dmConfig
setDM dmConfig
setDM dmConfig
setDM dmConfig
setDM dmConfig
setDM dmConfig
setDM dmConfig
dmAction enable
dmAction enable
dmAction enable
dmAction enable
dmAction enable
dmAction enable
dmAction enable
dmAction enable
dmAction enable
dmAction enable
dmAction enable
dmAction enable
mepInstance 2
mode oneWay
interval 10
lastN 20
calculation flow
calculation rdtrp
priority 2
calculation flow
calculation rdtrp
cast multi
cast uni mepId 23
interval 20
priority 3
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
344
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-OperationsMepPortType)#
setLM ?
commit
commit setLM
lmConfig Enable or Disable loss measurement
request
flush
flush all setLM commands from queue
review
review setLM commands
Step 2
Example:
Switch(config-controller-OperationsMepPortType)#
setLM lmConfig lmaction enable cast multi
Switch(config-controller-OperationsMepPortType)#
setLM lmConfig lmaction enable cast uni
Switch(config-controller-OperationsMepPortType)#
setLM lmConfig lmaction enable flr
Switch(config-controller-OperationsMepPortType)#
setLM lmConfig lmaction frameRate fr10s
Switch(config-controller-OperationsMepPortType)#
setLM lmConfig lmaction enable mode dual
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
345
Command or Action
Purpose
Switch(config-controller-OperationsMepPortType)#
setLM lmConfig lmaction enable priority 4
Switch(config-controller-OperationsMepPortType)#
setLM lmConfig mepInstance 1
Step 3
setLM review
Example:
Switch(config-controller-OperationsMepPortType)#
setLM review
Commands in queue:
setLM lmConfig
setLM lmConfig
setLM lmConfig
setLM lmConfig
fr10s
setLM lmConfig
setLM lmConfig
Step 4
lmAction
lmAction
lmAction
lmAction
enable
enable
enable
enable
cast multi
cast uni
flr 2
frameRate
setLMcommit
Example:
Switch(config-controller-OperationsMepPortType)#
setLM commit
SetLM Commit Success!!!
Step 5
exit
Example:
Switch(config-controller-OperationsMepPortType)#
exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
346
Configuration Example
The example shows how to configure LM on the controller:
Switch(config-controller-OperationsMepPortType)#
Switch(config-controller-OperationsMepPortType)#
Switch(config-controller-OperationsMepPortType)#
Switch(config-controller-OperationsMepPortType)#
Switch(config-controller-OperationsMepPortType)#
Switch(config-controller-OperationsMepPortType)#
Switch(config-controller-OperationsMepPortType)#
Switch(config-controller-OperationsMepPortType)#
Commands in queue:
setLM lmConfig
setLM lmConfig
setLM lmConfig
setLM lmConfig
setLM lmConfig
setLM lmConfig
lmAction
lmAction
lmAction
lmAction
lmAction
lmAction
enable
enable
enable
enable
enable
enable
setLM
setLM
setLM
setLM
setLM
setLM
setLM
setLM
lmConfig
lmConfig
lmConfig
lmConfig
lmConfig
lmConfig
lmConfig
review
cast multi
cast uni
flr 2
frameRate fr10s
mode dual
priority 4
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-OperationsMepPortType)#
setLck ?
commit
commit setLck
flush
flush all setLck commands from queue
lckConfig Enable or Disable lock signal request
review
review setLck commands
Step 2
setLck lckConfig {lckaction {enable frameRate {fr1m | Sets lock signal parameters.
fr1s} | disable} | mepInstance instance_no}
lckactionEnables or disables lock signal on the
controller.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
347
Command or Action
Purpose
enableEnables lock signal configuration.
Example:
Switch(config-controller-OperationsMepPortType)#
setlck lckConfig lckaction enable frameRate fr1m
Switch(config-controller-OperationsMepPortType)#
setlck lckConfig lckaction mepInstance 1
Step 3
setlck review
Example:
Switch(config-controller-OperationsMepPortType)#
setlck review
Commands in queue:
setLck lckConfig lckAction enable frameRate
fr1m
setLck lckConfig mepInstance 1
Step 4
setlckcommit
Example:
Switch(config-controller-OperationsMepPortType)#
setlck commit
Step 5
exit
Example:
Switch(config-controller-OperationsMepPortType)#
exit
Configuration Example
The example shows how to configure lock signal on the controller:
Switch(config-controller-OperationsMepPortType)# setlck lckConfig lckaction enable frameRate
frm1
Switch(config-controller-OperationsMepPortType)# setlck lckConfig lckaction mepInstance 1
Switch(config-controller-OperationsMepPortType)# setlck review
Commands in queue:
setLck lckConfig lckAction enable frameRate fr1m
setLck lckConfig mepInstance 1
Switch(config-controller-OperationsMepPortType)# setlck commit
SetLck_Output.mepResponse = 0
SetLck Commit Success!!!
Switch(config-controller-OperationsMepPortType)#end
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
348
DETAILED STEPS
Command or Action
Purpose
Configures loopback.
commitSends the configuration to NID.
Example:
Switch(config-controller-OperationsMepPortType)#
setLoopBack ?
commit
commit setLoopBack
flush
flush all setLoopBack commands from
queue
loopBackConfig Enable/Disable loopback
review
review setLoopBack commands
Step 2 setLoopBack loopBackConfig {lbAction {enable {cast {multi Sets loopback parameters.
| uni {destination {macAddress target_MAC | mepid mep_id}
lbactionEnables or disables loop back on the
} } | count count_no | dei { enable | disable} | interval interval
controller.
| priority priority_no | size bytes} | disable} | mepInstance
instance_no}
enableEnables loop back trace configuration.
castSpecifies the type of loop back configuration.
Example:
Switch(config-controller-OperationsMepPortType)#
setLoopBack loopbackConfig lbaction enable cast multi
Switch(config-controller-OperationsMepPortType)#
setLoopBack loopbackConfig lbaction enable cast uni
destination macAddress mac1
Switch(config-controller-OperationsMepPortType)#
setLoopBack loopbackConfig lbaction enable cast
unidestination mepId 3
Switch(config-controller-OperationsMepPortType)#
setLoopBack loopbackConfig lbaction enable count 345
Switch(config-controller-OperationsMepPortType)#
setLoopBack loopbackConfig lbaction enable dei enable
Switch(config-controller-OperationsMepPortType)#
setLoopBack loopbackConfig lbaction enable interval
20
Switch(config-controller-OperationsMepPortType)#
setLoopBack loopbackConfig lbaction enable priority 7
Switch(config-controller-OperationsMepPortType)#
setLoopBack loopbackConfig lbaction enable size 1400
Switch(config-controller-OperationsMepPortType)#
setLoopBack loopbackConfig mepInstance 125
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
349
Command or Action
Purpose
count count_noSpecifies the number of loop back
PDU sent in a single loop test .
interval interval_noSpecifies the interval time
between the PDU transmission in ms. The valid range
is from 0 to 65535. The minimum value is 10ms.
priority priority_noSpecifies the priority for tagged
OAM. In EVC domain, it indicates the COS-ID. The
valid range is from 0 to 7.
size framesSpecifies the number of bytes. The valid
range is from 1 to 1400.
disableDisables loop back configuration.
mepInstance instance_noIndicates the MEP
instance. The valid values are from 1 to 128.
Example:
Switch(config-controller-OperationsMepPortType)#
setloopback review
Commands in queue:
setLoopBack loopBackConfig lbAction enable
cast multi
setLoopBack loopBackConfig lbAction enable
cast uni destination macAddress mac1
setLoopBack loopBackConfig lbAction enable
cast uni destination mepId 3
setLoopBack loopBackConfig lbAction enable
count 345
setLoopBack loopBackConfig lbAction enable dei
enable
setLoopBack loopBackConfig lbAction enable
interval 20
setLoopBack loopBackConfig lbAction enable
priority 7
setLoopBack loopBackConfig lbAction enable
size 1400
setLoopBack loopBackConfig mepInstance 125
Step 4 setlckcommit
Example:
Switch(config-controller-OperationsMepPortType)#
setloopback commit
Step 5 exit
Example:
Switch(config-controller-OperationsMepPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
350
Configuration Example
The example shows how to configure loop back on the controller:
Switch(config-controller-OperationsMepPortType)#
cast multi
Switch(config-controller-OperationsMepPortType)#
cast uni destination macAddress mac1
Switch(config-controller-OperationsMepPortType)#
cast unidestination mepId 3
Switch(config-controller-OperationsMepPortType)#
count 345
Switch(config-controller-OperationsMepPortType)#
dei enable
Switch(config-controller-OperationsMepPortType)#
interval 20
Switch(config-controller-OperationsMepPortType)#
priority 7
Switch(config-controller-OperationsMepPortType)#
size 1400
Switch(config-controller-OperationsMepPortType)#
Switch(config-controller-OperationsMepPortType)#
Commands in queue:
setLoopBack
setLoopBack
ss mac1
setLoopBack
setLoopBack
setLoopBack
setLoopBack
setLoopBack
setLoopBack
setLoopBack
lbAction
lbAction
lbAction
lbAction
lbAction
lbAction
lbAction
enable
enable
enable
enable
enable
enable
enable
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-OperationsMepPortType)#
setLinkTrace ?
commit
commit setLinkTrace
flush
flush all setLinkTrace commands from
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
351
Command or Action
queue
linkTrace
review
Step 2
Purpose
reviewDisplays the configuration on the controller.
Step 3
setLinkTrace review
Example:
Switch(config-controller-OperationsMepPortType)#
setlinkTrace review
Step 4
setlckcommit
Example:
Switch(config-controller-OperationsMepPortType)#
setlinkTrace commit
Step 5
exit
Example:
Switch(config-controller-OperationsMepPortType)#
exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
352
Configuration Example
The example shows how to configure link trace on the controller:
Switch(config-controller-OperationsMepPortType)#
destination macAddress mac1
Switch(config-controller-OperationsMepPortType)#
destination mepId 3
Switch(config-controller-OperationsMepPortType)#
priority 2
Switch(config-controller-OperationsMepPortType)#
ttl 3
Switch(config-controller-OperationsMepPortType)#
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-OperationsMepPortType)#
setTst ?
commit
commit setTst
flush
flush all setTst commands from queue
review
review setTst commands
tstConfig Enable or Disable test signal request
Step 2
Example:
Switch(config-controller-OperationsMepPortType)#
setTst tstConfig dei enable
Switch(config-controller-OperationsMepPortType)#
setTst tstConfig mepid 2
Switch(config-controller-OperationsMepPortType)#
setTst tstConfig mepinstance 2
Switch(config-controller-OperationsMepPortType)#
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
353
Command or Action
setTst tstConfig pattern allOne
Switch(config-controller-OperationsMepPortType)#
setTst tstConfig pattern allZero
Switch(config-controller-OperationsMepPortType)#
setTst tstConfig sequence enable
Switch(config-controller-OperationsMepPortType)#
setTst tstConfig rate 400
Switch(config-controller-OperationsMepPortType)#
setTst tstConfig size 45
Purpose
priority priority_noSpecifies the priority for tagged
OAM. In EVC domain, it indicates the COS-ID. The
valid range is from 0 to 7.
pattern Specifies the sequence number is test PDU.
allOneSpecifies the test pattern to all one.
allZeroSpecifies the test pattern to all zero.
oneZeroSpecifies the test pattern to one zero.
rate bit_rateSpecifies the test frame transmission
rate in Megabits per second. The valid range is from
1 to 1518.
sequenceEnables or disables the sequence in test
PDU.
size framesSpecifies the test pattern size in frames.
The valid range is from 1 to 1518.
Step 3
setTst review
Example:
Switch(config-controller-OperationsMepPortType)#
setTst review
Commands in queue:
setTst tstConfig dei enable
setTst tstConfig mepId 2
setTst tstConfig mepInstance 2
setTst tstConfig pattern allOne
setTst tstConfig pattern allZero
setTst tstConfig priority 5
setTst tstConfig pattern allZero
setTst tstConfig rate 400
setTst tstConfig size 45
Step 4
setTstcommit
Example:
Switch(config-controller-OperationsMepPortType)#
setTst commit
Step 5
exit
Example:
Switch(config-controller-OperationsMepPortType)#
exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
354
Configuration Example
The example shows how to configure test signal on the controller:
Switch(config-controller-OperationsMepPortType)#
Switch(config-controller-OperationsMepPortType)#
Switch(config-controller-OperationsMepPortType)#
Switch(config-controller-OperationsMepPortType)#
Switch(config-controller-OperationsMepPortType)#
Switch(config-controller-OperationsMepPortType)#
Switch(config-controller-OperationsMepPortType)#
Switch(config-controller-OperationsMepPortType)#
setTst
setTst
setTst
setTst
setTst
setTst
setTst
setTst
tstConfig
tstConfig
tstConfig
tstConfig
tstConfig
tstConfig
tstConfig
tstConfig
dei enable
mepid 2
mepinstance 2
pattern allOne
pattern allZero
rate 400
sequence enable
size 45
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-OperationsMepPortType)#
showAis ?
commit
commit showAis
flush
flush all showAis commands from queue
mepRequest Show AIS configuration request
review
review showAis commands
Step 2
Example:
Switch(config-controller-OperationsMepPortType)#
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
355
Command or Action
Purpose
Step 3
showAis review
Example:
Switch(config-controller-OperationsMepPortType)#
showAis review
Commands in queue:
showAis mepRequest all
showAis mepRequest mepInstance 120
Step 4
showAis commit
Example:
Switch(config-controller-OperationsMepPortType)#
showAis commit
Step 5
exit
Example:
Switch(config-controller-OperationsMepPortType)# exit
Configuration Example
The example shows how to display the AIS on the controller:
Switch(config-controller-OperationsMepPortType)# showAis mepRequest all
Switch(config-controller-OperationsMepPortType)# showAis mepRequest mepInstance 120
Switch(config-controller-OperationsMepPortType)# showAis review
Commands in queue:
showAis mepRequest all
showAis mepRequest mepInstance 120
Switch(config-controller-OperationsMepPortType)# showAis commit
Ais_Output.aisInfo.mepInst[0].config.mepInstance = 100
ShowAis_Output.aisInfo.mepInst[0].config.frameRate.t = 2
ShowAis_Output.aisInfo.mepInst[0].config.frameRate.u.fr1s = 'fr1s'
ShowAis_Output.aisInfo.mepInst[0].config.protect.t = 1
ShowAis_Output.aisInfo.mepInst[0].config.protect.u.enable = 'enable'
showAis Commit Success!!!
Switch(config-controller-OperationsMepPortType)# end
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
356
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-OperationsMepPortType)# showDM
?
commit
commit showDM
flush
flush all showDM commands from queue
mepRequest Show delay measurement statistics request
review
Step 2
Example:
Switch(config-controller-OperationsMepPortType)# showDM
mepRequest all
Switch(config-controller-OperationsMepPortType)# showDM
mepRequest mepInstance 100
Step 3
showDM review
Example:
Switch(config-controller-OperationsMepPortType)# showDM
review
Commands in queue:
showDM mepRequest all
showDM mepRequest all
showDM mepRequest mepInstance 100
Step 4
showDM commit
Example:
Switch(config-controller-OperationsMepPortType)# showDM
commit
Step 5
exit
Example:
Switch(config-controller-OperationsMepPortType)# exit
Configuration Example
The example shows how to display the delay measurement statistics on the controller:
Switch(config-controller-OperationsMepPortType)# showDM mepRequest all
Switch(config-controller-OperationsMepPortType)# showDM mepRequest mepInstance 100
Switch(config-controller-OperationsMepPortType)# showDM review
Commands in queue:
showDM mepRequest all
showDM mepRequest all
showDM mepRequest mepInstance 100
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
357
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
358
0
0
0
0
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-OperationsMepPortType)#
showLM ?
commit
commit showLM
flush
flush all showLM commands from queue
mepRequest Show LM statistics request
review
review showLM commands
Step 2
Example:
Switch(config-controllerOperationsMepPortType)# showLM
mepRequest all
Switch(config-controller-OperationsMepPortType)#
showLM mepRequest mepInstance 100
Step 3
showLM review
Example:
Switch(config-controller-OperationsMepPortType)#
showLM review
Commands in queue:
showLM mepRequest all
showLM mepRequest mepInstance 100
Step 4
showLM commit
Example:
Switch(config-controller-OperationsMepPortType)#
showLM commit
Step 5
exit
Example:
Switch(config-controller-OperationsMepPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
359
Configuration Example
The example shows how to display the loss measurement statistics on the controller:
Switch(config-controller-OperationsMepPortType)# showLM mepRequest all
Switch(config-controller-OperationsMepPortType)# showLM mepRequest mepInstance 100
Switch(config-controller-OperationsMepPortType)# showLM review
CCommands in queue:
showLM mepRequest all
showLM mepRequest mepInstance 100
Switch(config-controller-OperationsMepPortType)# showLM commit
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.mepInstance = 98
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.priority = 7
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.cast.t = 2
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.cast.u.multi = 'multi'
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.mode.t = 2
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.mode.u.single = 'single'
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.frameRate.t = 3
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.frameRate.u.fr1s = 'fr1s'
ShowLM_Output.lossMeasurentInfo.mepInst[0].config.flr = 5
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.mepInstance = 98
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.tx = 137
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.rx = 137
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.nearCount = 0
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.farCount = 1105217
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.nearRatio = 0
ShowLM_Output.lossMeasurentInfo.mepInst[0].state.farRatio = 94
showLM Commit Success!!!
Switch(config-controller-OperationsMepPortType)# exit
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-OperationsMepPortType)#
showAis ?
commit
commit showLck
flush
flush all showLck commands from queue
mepRequest Show lock signal current configuration
request
review
review showLck commands
Step 2
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
360
Command or Action
Purpose
mepInstance instance_noIndicates the MEP
instance. The valid values are from 1 to 128.
Example:
Switch(config-controller-OperationsMepPortType)#
showlck mepRequest all
Switch(config-controller-OperationsMepPortType)#
showlck mepRequest mepInstance 20
Step 3
showlck review
Example:
Switch(config-controller-OperationsMepPortType)#
showlck review
Commands in queue:
showLck mepRequest all
showLck mepRequest mepInstance 20
Step 4
setlck commit
Example:
Switch(config-controller-OperationsMepPortType)#
showlck commit
Step 5
exit
Example:
Switch(config-controller-OperationsMepPortType)# exit
Configuration Example
The example shows how to display the lock signal on the controller:
Switch(config-controller-OperationsMepPortType)# showlck mepRequest all
Switch(config-controller-OperationsMepPortType)# showlck mepRequest mepInstance 20
Switch(config-controller-OperationsMepPortType)# showlck review
Commands in queue:
showLck mepRequest all
showLck mepRequest mepInstance 20
Switch(config-controller-OperationsMepPortType)# showlck commit
SetLck_Output.mepResponse = 0
SetLck Commit Success!!!
Switch(config-controller-OperationsMepPortType)# end
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
361
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-OperationsMepPortType)#
showLoopBack ?
commit
commit showLoopBack
flush
flush all showLoopBack commands from
queue
mepRequest Show loopback state and current
configuration request
review
review showLoopBack commands
Step 2
Example:
Switch(config-controller-OperationsMepPortType)#
showLoopBack mepRequest all
Switch(config-controller-OperationsMepPortType)#
showLoopBack mepRequest mepInstance 30
Step 3
showLoopBack review
Example:
Switch(config-controller-OperationsMepPortType)#
showLoopBack review
Commands in queue:
showLoopBack mepRequest all
showLoopBack mepRequest mepInstance 30
Step 4
showLoopBack commit
Example:
Switch(config-controller-OperationsMepPortType)#
showLoopBack commit
Step 5
exit
Example:
Switch(config-controller-OperationsMepPortType)# exit
Configuration Example
The example shows how to display the loop back state on the controller:
Switch(config-controller-OperationsMepPortType)# showLoopBack mepRequest all
Switch(config-controller-OperationsMepPortType)# showLoopBack mepRequest mepInstance 30
Switch(config-controller-OperationsMepPortType)# showLoopBack review
Commands in queue:
showLoopBack mepRequest all
showLoopBack mepRequest mepInstance 30
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
362
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-OperationsMepPortType)#
showLinkTrace ?
commit
commit showLinkTrace
flush
flush all showLinkTrace commands from
queue
mepRequest Show linktrace state and current
configuration request
review
review showLinkTrace commands
Step 2
Example:
Switch(config-controller-OperationsMepPortType)#
showLinkTrace mepRequest all
Switch(config-controller-OperationsMepPortType)#
showLinkTrace mepRequest mepInstance 40
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
363
Step 3
Command or Action
Purpose
showLinkTrace review
Example:
Switch(config-controller-OperationsMepPortType)#
showLinkTrace review
Commands in queue:
showLinkTrace mepRequest all
showLinkTrace mepRequest mepInstance 120
Step 4
showLinkTrace commit
Example:
Switch(config-controller-OperationsMepPortType)#
showLinkTrace commit
Step 5
exit
Example:
Switch(config-controller-OperationsMepPortType)# exit
Configuration Example
The example shows how to display the link trace state on the controller:
Switch(config-controller-OperationsMepPortType)# showLinkTrace mepRequest all
Switch(config-controller-OperationsMepPortType)# showLinkTrace mepRequest mepInstance 40
Switch(config-controller-OperationsMepPortType)# showLinkTrace review
Commands in queue:
showLinkTrace mepRequest all
showLinkTrace mepRequest mepInstance 40
Switch(config-controller-OperationsMepPortType)# showLinkTrace commit
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].config.mepInstance = 100
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].config.priority = 7
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].config.mepId = 101
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].config.macAddress = '00-00-00-00-00-00'
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].config.ttl = 1
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[0].transactionId = 1
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[0].reply[0].ttl = 0
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[0].reply[0].mode.t = 1
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[0].reply[0].mode.u.MEP = 'MEP'
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[0].reply[0].direction.t = 2
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[0].reply[0].direction.u.DOWN = 'DOWN'
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[0].reply[0].forwarded.t = 2
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[0].reply[0].forwarded.u.NO = 'Not
forwarded'
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[0].reply[0].relay = 1
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[0].reply[0].lastMac = '00-3A-99-FD-4A-53'
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[0].reply[0].nextMac = '00-3A-99-FD-47-2F'
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[1].transactionId = 2
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[1].reply[0].ttl = 0
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[1].reply[0].mode.t = 1
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[1].reply[0].mode.u.MEP = 'MEP'
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[1].reply[0].direction.t = 2
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[1].reply[0].direction.u.DOWN = 'DOWN'
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[1].reply[0].forwarded.t = 2
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[1].reply[0].forwarded.u.NO = 'Not
forwarded'
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
364
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[1].reply[0].relay = 1
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[1].reply[0].lastMac = '00-3A-99-FD-4A-53'
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[1].reply[0].nextMac = '00-3A-99-FD-47-2F'
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[2].transactionId = 3
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[2].reply[0].ttl = 0
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[2].reply[0].mode.t = 1
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[2].reply[0].mode.u.MEP = 'MEP'
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[2].reply[0].direction.t = 2
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[2].reply[0].direction.u.DOWN = 'DOWN'
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[2].reply[0].forwarded.t = 2
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[2].reply[0].forwarded.u.NO = 'Not
forwarded'
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[2].reply[0].relay = 1
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[2].reply[0].lastMac = '00-3A-99-FD-4A-53'
ShowLinkTrace_Output.linkTraceInfo.mepInst[0].state[2].reply[0].nextMac = '00-3A-99-FD-47-2F'
showLinkTrace Commit Success!!!
Switch(config-controller-OperationsMepPortType)# end
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-OperationsMepPortType)#
showTst ?
commit
commit showTst
flush
flush all showTst commands from queue
mepRequest Show test signal statistics and current
configuration request
review
review showTst commands
Step 2
Example:
Switch(config-controller-OperationsMepPortType)#
showTst mepRequest all
Switch(config-controller-OperationsMepPortType)#
showTst mepRequest mepInstance 50
Step 3
showTst review
Example:
Switch(config-controller-OperationsMepPortType)#
showTst review
Commands in queue:
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
365
Command or Action
Purpose
Step 4
showTstcommit
Example:
Switch(config-controller-OperationsMepPortType)#
showTst commit
Step 5
exit
Example:
Switch(config-controller-OperationsMepPortType)# exit
Configuration Example
The example shows how to display the test signal statistics on the controller:
Switch(config-controller-OperationsMepPortType)# showTst mepRequest all
Switch(config-controller-OperationsMepPortType)# showTst mepRequest mepInstance 120
Switch(config-controller-OperationsMepPortType)# showTst review
Commands in queue:
showTst mepRequest all
showTst mepRequest mepInstance 50
Switch(config-controller-OperationsMepPortType)# showTst commit
ShowTst_Output.tstInfo.mepInst[0].config.mepInstance = 100
ShowTst_Output.tstInfo.mepInst[0].config.dei.t = 2
ShowTst_Output.tstInfo.mepInst[0].config.dei.u.disable = 'Disable'
ShowTst_Output.tstInfo.mepInst[0].config.priority = 7
ShowTst_Output.tstInfo.mepInst[0].config.mepId = 101
ShowTst_Output.tstInfo.mepInst[0].config.rate = 1000
ShowTst_Output.tstInfo.mepInst[0].config.size = 64
ShowTst_Output.tstInfo.mepInst[0].config.pattern.t = 1
ShowTst_Output.tstInfo.mepInst[0].config.pattern.u.allZero = 'all-zero'
ShowTst_Output.tstInfo.mepInst[0].config.sequence.t = 1
ShowTst_Output.tstInfo.mepInst[0].config.sequence.u.enable = 'Enable'
ShowTst_Output.tstInfo.mepInst[0].config.Tx.t = 1
ShowTst_Output.tstInfo.mepInst[0].config.Tx.u.enable = 'Enable'
ShowTst_Output.tstInfo.mepInst[0].config.Rx.t = 1
ShowTst_Output.tstInfo.mepInst[0].config.Rx.u.enable = 'Enable'
ShowTst_Output.tstInfo.mepInst[0].state.txFrameCount.upper = 0
ShowTst_Output.tstInfo.mepInst[0].state.txFrameCount.lower = 241803
ShowTst_Output.tstInfo.mepInst[0].state.rxFrameCount.upper = 0
ShowTst_Output.tstInfo.mepInst[0].state.rxFrameCount.lower = 0
ShowTst_Output.tstInfo.mepInst[0].state.rxRate = 0
ShowTst_Output.tstInfo.mepInst[0].state.testTime = 162
showTst Commit Success!!!
Switch(config-controller-OperationsMepPortType)# end
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
366
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-OperationsMepPortType)# updateDM
?
commit
commit updateDM
flush
flush all updateDM commands from queue
review
updateDmConfig
Step 2
updateDM
updateDM
updateDM
updateDM
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
367
Command or Action
Purpose
unitSets the delay in units.
nsSpecifies nanoseconds.
usSets microseconds.
Step 3
updateDM review
Example:
Switch(config-controller-OperationsMepPortType)# updateDM
review
Commands in queue:
updateDM updateDmConfig mepInstance 1
updateDM updateDmConfig update overflowReset keep
updateDM updateDmConfig update overflowReset
reset
updateDM updateDmConfig update syncronized enable
updateDM updateDmConfig update txMode proprietary
updateDM updateDmConfig update txMode standardize
updateDM updateDmConfig update txMode standardize
updateDM updateDmConfig update unit ns
updateDM updateDmConfig update unit us
Step 4
updateDM commit
Example:
Switch(config-controller-OperationsMepPortType)# updateDM
commit
Step 5
exit
Example:
Switch(config-controller-OperationsMepPortType)# exit
Configuration Example
The example shows how to update the delay measurement parameters on the controller:
Switch(config-controller-OperationsMepPortType)# updateDM updateDmConfig mepInstance 100
Switch(config-controller-OperationsMepPortType)# updateDM updateDmConfig update overflowReset
keep
Switch(config-controller-OperationsMepPortType)# updateDM updateDmConfig update overflowReset
reset
Switch(config-controller-OperationsMepPortType)# updateDM updateDmConfig update synchronized
enable
Switch(config-controller-OperationsMepPortType)# updateDM updateDmConfig update overflowReset
keep
Switch(config-controller-OperationsMepPortType)# updateDM updateDmConfig update txMode
proprietary
Switch(config-controller-OperationsMepPortType)# updateDM updateDmConfig update txMode
standardize
Switch(config-controller-OperationsMepPortType)# updateDM updateDmConfig update unit ns
Switch(config-controller-OperationsMepPortType)# updateDM updateDmConfig update unit us
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
368
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-OperationsMepPortType)#
updateTst ?
commit
commit updateTst
flush
flush all updateTst commands from
queue
review
review updateTst commands
updateTstConfig Update Tst signal request
Step 2
Example:
Switch(config-controller-OperationsMepPortType)#
updateTst updatetstConfig mepInstance 100
Switch(config-controller-OperationsMepPortType)#
updateTst updatetstConfig update Rx enable
Switch(config-controller-OperationsMepPortType)#
updateTst updatetstConfig update Tx enable
Step 3
updateTst review
Example:
Switch(config-controller-OperationsMepPortType)#
updateTst review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
369
Command or Action
Commands in queue:
updateTst updateTstConfig
updateTst updateTstConfig
updateTst updateTstConfig
updateTst updateTstConfig
Step 4
Purpose
mepInstance 2
update Rx enable
update Tx enable
update Tx enable
updateTst commit
Example:
Switch(config-controller-OperationsMepPortType)#
updateTst commit
Step 5
exit
Example:
Switch(config-controller-OperationsMepPortType)# exit
Configuration Example
The example shows how to update the test signal parameters on the controller:
Switch(config-controller-OperationsMepPortType)# updateTst updatetstConfig mepInstance 100
Switch(config-controller-OperationsMepPortType)# updateTst updatetstConfig update Rx enable
Switch(config-controller-OperationsMepPortType)# updateTst updatetstConfig update Tx enable
Switch(config-controller-OperationsMepPortType)# updateTst review
Commands in queue:
updateTst updateTstConfig mepInstance 2
updateTst updateTstConfig update Rx enable
updateTst updateTstConfig update Tx enable
updateTst updateTstConfig update Tx enable
Switch(config-controller-OperationsMepPortType)# updateTst commit
Switch(config-controller-OperationsMepPortType)# end
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-OperationsMepPortType)#
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
370
Command or Action
Step 2
Purpose
clearMepStats ?
clearStats Clear mep statistics request
commit
commit clearMepStats
flush
flush all clearMepStats commands from
queue
review
review clearMepStats commands
Example:
Switch(config-controller-OperationsMepPortType)#
clearMepStats clearStats mepInstance 25
Switch(config-controller-OperationsMepPortType)#
clearMepStats clearStats statstype DM
Step 3
clearMepStats review
Example:
Switch(config-controller-OperationsMepPortType)#
clearMepStats review
Commands in queue:
clearMepStats clearStats mepInstance 23
Step 4
clearMepStats commit
Example:
Switch(config-controller-OperationsMepPortType)#
clearMepStats commit
Step 5
exit
Example:
Switch(config-controller-OperationsMepPortType)# exit
Configuration Example
The example shows how to clear the MEP statistics on the controller:
Switch(config-controller-OperationsMepPortType)# clearMepStats clearStats mepInstance 25
Switch(config-controller-OperationsMepPortType)# clearMepStats clearStats statstype DM
Switch(config-controller-OperationsMepPortType)# clearMepStats review
Commands in queue:
clearMepStats clearStats mepInstance 23
Switch(config-controller-OperationsMepPortType)# clearMepStats commit
Switch(config-controller-OperationsMepPortType)#end
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
371
DETAILED STEPS
Step 1
Command or Action
Purpose
no ?
Example:
Switch(config-controller-OperationsMepPortType)# no ?
clearMepStats
exit
setAis
setDM
setLM
setLck
setLinkTrace
setLoopBack
setTst
showAis
showDM
showLM
showLck
showLinkTrace
showLoopBack
showTst
request
updateDM
updateTst
Step 2
exit
Example:
Switch(config-controller-OperationsMepPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
372
This command displays the current loss measurement status The following is a sample output from the
command:
Switch# show perf-mon current feature lm
This command displays the delay measurement status for interval-id. The following is a sample output
from the command:
Switch# show perf-mon interval-id id 3 instance 4 feature dm
This command displays the loss measurement status for interval-info. The following is a sample output
from the command:
Switch# show perf-mon interval-info 5 feature lm
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
373
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
374
CHAPTER
17
Configuring EPS
This document describes the Ethernet Protection Switching (EPS) feature and configuration steps to implement
protection switching mechanisms for Ethernet layer topologies.
Prerequisites for Configuring EPS, page 375
Information About EPS, page 375
How to Provision EPS, page 376
Verifying EPS, page 408
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
375
Configuring EPS
How to Provision EPS
Purpose
Enters global configuration mode.
Example:
Switch# configure terminal
Example:
Switch(config)# contoller nid 1/2
Step 3 ProvisionMepPortType
Example:
Switch(config-controller)# ProvisionMepPortType
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
376
Configuring EPS
Creating MEP on NID-1
Command or Action
Purpose
vidIn case the MEP is a port Up-MEP or a EVC
customer MIP the VID must be given.
levelSpecifies the MEG level of the MEP.
level_numberMEG level number.
residencePortSpecifies the port monitored by MEP.
port_numberResidence port number.
mepldSpecifies MEP ID.
id_numberMEP ID number.
megdomainSpecifies the maintenance domain
configuration.
maNameSpecifies the ITU/IEEE MEG-ID (short MA
name).
ma_nameShort MA name.
megIdFormatSelects the MEG ID format.
ituMegSpecifies the MEG-ID using ITU format (ICC UMC).
ituCcMegSpecifies the MEG-ID using ITU Country
Code format (CC - ICC - UMC).
ieeeSpecifies the MEG-ID (Short MA Name) using IEEE
Character String format.
Example:
Switch(config-controller-ProvisionMepPortType)#
addPeerMepId peerMepConfig mepInstance 20
Switch(config-controller-ProvisionMepPortType)#
addPeerMepId peerMepConfig peerMepId 11
Step 6 addCcAps {commit | flush | mepFunctionalConfig {aps Adds CC/APS configuration request.
{enable | disable} | cc {enable | disable} | mepInstance
commitCommits addCcAps.
mep_instance_number} | review}
flushFlushes all addCcAps commands from queue.
Example:
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig mepInstance 20
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
377
Configuring EPS
Creating MEP on NID-1
Command or Action
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig cc enable priority
7
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig cc enable frameRate
fr1s
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig aps enable mode uni
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig aps enable priority
7
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig aps enable
switchingProtocol laps
Purpose
apsSpecifies APS protocol.
enableEnables APS.
disbaleDisables APS.
ccSpecifies continuity check.
enableEnables CC.
disbaleDisables CC.
mepInstanceSpecifies the mep instance number.
mep_instance_numberMEP instance number.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
378
Configuring EPS
Creating MEP on NID-1
Command or Action
Purpose
id_numberMEP ID number.
megdomainSpecifies the maintenance domain
configuration.
maNameSpecifies the ITU/IEEE MEG-ID(short MA
name)
ma_nameShort MA name.
megIdFormatSelects the MEG ID format.
ituMegSpecifies the MEG-ID using ITU format (ICC UMC).
ituCcMegSpecifies the MEG-ID using ITU Country
Code format (CC - ICC - UMC).
ieeeSpecifies the MEG-ID (Short MA Name) using IEEE
Character String format.
Example:
Switch(config-controller-ProvisionMepPortType)#
addPeerMepId peerMepConfig mepInstance 21
Switch(config-controller-ProvisionMepPortType)#
addPeerMepId peerMepConfig peerMepId 13
Step 9 addCcAps {commit | flush | mepFunctionalConfig {aps Adds CC/APS configuration request.
{enable | disable} | cc {enable | disable} | mepInstance
commitCommits addCcAps.
mep_instance_number} | review}
flushFlushes all addCcAps commands from queue.
Example:
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig mepInstance 21
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig cc enable priority
7
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig cc enable frameRate
fr1s
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig aps enable mode uni
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig aps enable priority
7
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig aps enable
switchingProtocol laps
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
379
Configuring EPS
Creating MEP on NID-1
Command or Action
Purpose
mepInstanceSpecifies the mep instance number.
mep_instance_numberMEP instance number.
Example:
Switch(config-controller-ProvisionMepPortType)#
addCcAps review
Example:
Switch(config-controller-ProvisionMepPortType)#
addCcAps commit
Step 12 exit
Example:
Switch(config-controller-ProvisionMepPortType)#
exit
Configuration Example
The example shows how to create MEP on NID-1:
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
nid-nid
Switch(config-controller-ProvisionMepPortType)#
megIdFormat ituMeg
Switch(config-controller-ProvisionMepPortType)#
createMep
createMep
createMep
createMep
createMep
createMep
createMep
createMep
createMepConfig
createMepConfig
createMepConfig
createMepConfig
createMepConfig
createMepConfig
createMepConfig
createMepConfig
mepInstance 20
mepId 12
direction DOWN
domain PORT
residencePort 4
mode MEP
level 0
megDomain maName
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
380
Configuring EPS
Creating MEP on NID-2
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
nid-nid
Switch(config-controller-ProvisionMepPortType)#
megIdFormat ituMeg
Switch(config-controller-ProvisionMepPortType)#
createMep
createMep
createMep
createMep
createMepConfig
createMepConfig
createMepConfig
createMepConfig
residencePort 5
mode MEP
level 0
megDomain maName
Purpose
Example:
Switch# configure terminal
Example:
Switch(config)# contoller nid 1/2
Step 3 ProvisionMepPortType
Example:
Switch(config-controller)# ProvisionMepPortType
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig mepInstance 20
Switch(config-controller-ProvisionMepPortType)#
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
381
Configuring EPS
Creating MEP on NID-2
Command or Action
createMep createMepConfig mepId 11
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig direction DOWN
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig domain PORT
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig residencePort 4
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig mode MEP
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig level 0
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig megDomain maName nid-nid
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig megDomain megIdFormat
ituMeg
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig vid 1112
Purpose
upSpecifies an Up MEP - monitoring egress OAM and
traffic on residence port.
downSpecifies a Down MEP - monitoring ingress OAM
and traffic on residence port.
domainSelects the domain of the MEP.
portSpecifies a MEP in the Port Domain. Flow Instance
is a Port.
evcSpecifies a MEP in the EVC Domain. Flow Instance
is a EVC. The EVC must be created.
vlanSpecifies a MEP in the VLAN Domain. Flow
Instance is a VLAN. The VLAN must be created.
flowIdSpecifies the flow related to the MEP.
vidIn case the MEP is a port Up-MEP or a EVC
customer MIP, the VID must be given.
levelSpecifies the MEG level of the MEP.
level_numberMEG level number.
residencePortSpecifies the port monitored by MEP.
port_numberResidence port number.
mepldSpecifies MEP ID.
id_numberMEP ID number.
megdomainSpecifies the maintenance domain
configuration.
maNameSpecifies the ITU/IEEE MEG-ID (short MA
name).
ma_nameShort MA name.
megIdFormatSelects the MEG ID format.
ituMegSpecifies the MEG-ID using ITU format (ICC UMC).
ituCcMegSpecifies the MEG-ID using ITU Country
Code format (CC - ICC - UMC).
ieeeSpecifies the MEG-ID (Short MA Name) using IEEE
Character String format.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
382
Configuring EPS
Creating MEP on NID-2
Command or Action
Purpose
flushFlushes all addPeerMepId commands from queue.
Example:
Switch(config-controller-ProvisionMepPortType)#
addPeerMepId peerMepConfig mepInstance 20
Switch(config-controller-ProvisionMepPortType)#
addPeerMepId peerMepConfig peerMepId 12
Step 6 addCcAps {commit | flush | mepFunctionalConfig {aps Adds CC/APS configuration request.
{enable | disable} | cc {enable | disable} | mepInstance
commitCommits addCcAps.
mep_instance_number} | review}
flushFlushes all addCcAps commands from queue.
Example:
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig mepInstance 20
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig cc enable priority
7
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig cc enable frameRate
fr1s
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig aps enable mode uni
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig aps enable priority
7
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig aps enable
switchingProtocol laps
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig mepInstance 21
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig mepId 13
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig direction DOWN
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig domain PORT
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig residencePort 5
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig mode MEP
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig level 0
Switch(config-controller-ProvisionMepPortType)#
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
383
Configuring EPS
Creating MEP on NID-2
Command or Action
createMep createMepConfig megDomain maName nid-nid
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig megDomain megIdFormat
ituMeg
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig vid 1112
Purpose
evcSpecifies a MEP in the EVC Domain. Flow Instance
is a EVC. The EVC must be created.
vlanSpecifies a MEP in the VLAN Domain. Flow
Instance is a VLAN. The VLAN must be created.
flowIdSpecifies the flow related to the MEP.
vidIn case the MEP is a port Up-MEP or a EVC
customer MIP the VID must be given.
levelSpecifies the MEG level of the MEP.
level_numberMEG level number.
residencePortSpecifies the port monitored by MEP.
port_numberResidence port number.
mepldSpecifies MEP ID.
id_numberMEP ID number.
megdomainSpecifies the maintenance domain
configuration.
maNameSpecifies the ITU/IEEE MEG-ID(short MA
name)
ma_nameShort MA name.
megIdFormatSelects the MEG ID format.
ituMegSpecifies the MEG-ID using ITU format (ICC UMC).
ituCcMegSpecifies the MEG-ID using ITU Country
Code format (CC - ICC - UMC).
ieeeSpecifies the MEG-ID (Short MA Name) using IEEE
Character String format.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
384
Configuring EPS
Creating MEP on NID-2
Command or Action
Purpose
Step 9 addCcAps {commit | flush | mepFunctionalConfig {aps Adds CC/APS configuration request.
{enable | disable} | cc {enable | disable} | mepInstance
commitCommits addCcAps.
mep_instance_number} | review}
flushFlushes all addCcAps commands from queue.
Example:
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig mepInstance 21
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig cc enable priority
7
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig cc enable frameRate
fr1s
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig aps enable mode uni
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig aps enable priority
7
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig aps enable
switchingProtocol laps
Example:
Switch(config-controller-ProvisionMepPortType)#
addCcAps review
Example:
Switch(config-controller-ProvisionMepPortType)#
addCcAps commit
Step 12 exit
Example:
Switch(config-controller-ProvisionMepPortType)#
exit
Configuration Example
The example shows how to create MEP on NID2:
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
nid-nid
createMep
createMep
createMep
createMep
createMep
createMep
createMep
createMep
createMepConfig
createMepConfig
createMepConfig
createMepConfig
createMepConfig
createMepConfig
createMepConfig
createMepConfig
mepInstance 20
mepId 11
direction DOWN
domain PORT
residencePort 4
mode MEP
level 0
megDomain maName
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
385
Configuring EPS
Configuring Bidirectional EPS on NID-2
createMep
createMep
createMep
createMep
createMep
createMep
createMep
createMep
createMepConfig
createMepConfig
createMepConfig
createMepConfig
createMepConfig
createMepConfig
createMepConfig
createMepConfig
mepInstance 21
mepId 13
direction DOWN
domain PORT
residencePort 5
mode MEP
level 0
megDomain maName
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
386
Configuring EPS
Configuring Bidirectional EPS on NID-2
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Step 3
EpsPortType
Example:
Switch(config-controller)# EpsPortType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
387
Configuring EPS
Configuring Bidirectional EPS on NID-2
Command or Action
Purpose
inst_numberProtect flow instance number.
portNoSpecifies port ID.
port_numberPort ID number.
mepWorkSpecifies working MEP instance.
mepWork_numberWorking MEP number.
mepProtectSpecifies protect MEP instance.
mepProtect_numberProtect MEP number.
mepApsSpecifies APS MEP instance.
mepAPS_numberAPS MEP number.
Step 5
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
388
Configuring EPS
Configuring Bidirectional EPS on NID-1
Step 6
Command or Action
Purpose
setEpsInstProperties review
Example:
Switch(config-controller-EpsPortType)#
setEpsInstProperties review
Step 7
setEpsInstProperties commit
Example:
Switch(config-controller-EpsPortType)#
setEpsInstProperties commit
Step 8
exit
Example:
Switch(config-controller-EpsPortType)# exit
Configuration Example
The example shows how to configure bidirectional EPS on NID-2:
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
setEpsInstance
setEpsInstance
setEpsInstance
setEpsInstance
setEpsInstance
setEpsInstance
setEpsInstance
setEpsInstance
epsConfig
epsConfig
epsConfig
epsConfig
epsConfig
epsConfig
epsConfig
epsConfig
epsInst 30
architecture a1plus1
domain port
mepAps 21
mepProtect 21
mepWork 20
protectFlow portNo 5
workFlow portNo 4
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
bi
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
389
Configuring EPS
Configuring Bidirectional EPS on NID-1
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
EpsPortType
Example:
Switch(config-controller)# EpsPortType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
390
Configuring EPS
Configuring Bidirectional EPS on NID-1
Command or Action
Purpose
inst_numberProtect flow instance number.
portNoSpecifies port ID.
port_numberPort ID number.
mepWorkSpecifies working MEP instance.
mepWork_numberWorking MEP number.
mepProtectSpecifies protect MEP instance.
mepProtect_numberProtect MEP number.
mepApsSpecifies APS MEP instance.
mepAPS_numberAPS MEP number.
Step 5
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
391
Configuring EPS
Configuring Unidirectional EPS on NID-2
Step 6
Command or Action
Purpose
setEpsInstProperties review
Example:
Switch(config-controller-EpsPortType)#
setEpsInstProperties review
Step 7
setEpsInstProperties commit
Example:
Switch(config-controller-EpsPortType)#
setEpsInstProperties commit
Step 8
exit
Example:
Switch(config-controller-EpsPortType)# exit
Configuration Example
The example shows how to configure bidirectional EPS on NID-1:
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
setEpsInstance
setEpsInstance
setEpsInstance
setEpsInstance
setEpsInstance
setEpsInstance
setEpsInstance
setEpsInstance
epsConfig
epsConfig
epsConfig
epsConfig
epsConfig
epsConfig
epsConfig
epsConfig
epsInst 30
architecture a1plus1
domain port
mepAps 21
mepProtect 21
mepWork 20
protectFlow portNo 5
workFlow portNo 4
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
bi
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
392
Configuring EPS
Configuring Unidirectional EPS on NID-2
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Step 3
EpsPortType
Example:
Switch(config-controller)# EpsPortType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
393
Configuring EPS
Configuring Unidirectional EPS on NID-2
Command or Action
Purpose
inst_numberProtect flow instance number.
portNoSpecifies port ID.
port_numberPort ID number.
mepWorkSpecifies working MEP instance.
mepWork_numberWorking MEP number.
mepProtectSpecifies protect MEP instance.
mepProtect_numberProtect MEP number.
mepApsSpecifies APS MEP instance.
mepAPS_numberAPS MEP number.
Step 5
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
394
Configuring EPS
Configuring Bidirectional EPS on NID-2
Step 6
Command or Action
Purpose
setEpsInstProperties review
Example:
Switch(config-controller-EpsPortType)#
setEpsInstProperties review
Step 7
setEpsInstProperties commit
Example:
Switch(config-controller-EpsPortType)#
setEpsInstProperties commit
Step 8
exit
Example:
Switch(config-controller-EpsPortType)# exit
Configuration Example
The example shows how to configure unidirectional EPS on NID-2:
Switch(config-controller-EpsPotType)# setEpsInstance epsConfig epsInst 30
Switch(config-controller-EpsPortType)# setEpsInstance epsConfig architecture a1plus1
Switch(config-controller-EpsPortType)# setEpsInstance epsConfig domain port
Switch(config-controller-EpsPortType)# setEpsInstance epsConfig mepAps 21
Switch(config-controller-EpsPortType)# setEpsInstance epsConfig mepProtect 21
Switch(config-controller-EpsPortType)# setEpsInstance epsConfig mepWork 20
Switch(config-controller-EpsPortType)# setEpsInstance epsConfig protectFlow portNo 5
Switch(config-controller-EpsPortType)# setEpsInstance epsConfig workFlow portNo 4
Switch(config-controller-EpsPortType)# setEpsInstProperties epsInstConfig epsInst 30
Switch(config-controller-EpsPortType)# setEpsInstProperties epsInstConfig aps enable
Switch(config-controller-EpsPortType)# setEpsInstProperties epsInstConfig protectionType
uni
Switch(config-controller-EpsPortType)# setEpsInstProperties review
Switch(config-controller-EpsPortType)# setEpsInstProperties commit
Switch(config-controller-EpsPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
395
Configuring EPS
Configuring Bidirectional EPS on NID-2
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Step 3
EpsPortType
Example:
Switch(config-controller)# EpsPortType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
396
Configuring EPS
Configuring Bidirectional EPS on NID-2
Command or Action
Purpose
inst_numberProtect flow instance number.
portNoSpecifies port ID.
port_numberPort ID number.
mepWorkSpecifies working MEP instance.
mepWork_numberWorking MEP number.
mepProtectSpecifies protect MEP instance.
mepProtect_numberProtect MEP number.
mepApsSpecifies APS MEP instance.
mepAPS_numberAPS MEP number.
Step 5
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
397
Configuring EPS
Displaying EPS
Step 6
Command or Action
Purpose
setEpsInstProperties review
Example:
Switch(config-controller-EpsPortType)#
setEpsInstProperties review
Step 7
setEpsInstProperties commit
Example:
Switch(config-controller-EpsPortType)#
setEpsInstProperties commit
Step 8
exit
Example:
Switch(config-controller-EpsPortType)# exit
Configuration Example
The example shows how to configure bidirectional EPS on NID-2:
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
setEpsInstance
setEpsInstance
setEpsInstance
setEpsInstance
setEpsInstance
setEpsInstance
setEpsInstance
setEpsInstance
epsConfig
epsConfig
epsConfig
epsConfig
epsConfig
epsConfig
epsConfig
epsConfig
epsInst 30
architecture a1for1
domain port
mepAps 21
mepProtect 21
mepWork 20
protectFlow portNo 5
workFlow portNo 4
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
bi
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Displaying EPS
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
398
Configuring EPS
Displaying EPS
Step 2
Command or Action
Purpose
Example:
Switch(config)# contoller nid 1/2
Step 3
EpsPortType
Example:
Switch(config-controller)# EpsPortType
Step 4
Step 5
Step 6
Switch(config-controller-EpsPortType)#
getEpsInstProperties epsRequest epsInst 30
Example:
Switch(config-controller-EpsPortType)#
getEpsInstance epsRequest epsInst 30
Switch(config-controller-EpsPortType)#
showEpsConfig showEpsReq epsInstList 30
Example:
Switch(config-controller-EpsPortType)#
showEpsState showEpsReq epsInstList 30
Step 8
Example:
Example:
Step 7
setEpsInstProperties review
Example:
Switch(config-controller-EpsPortType)#
setEpsInstProperties review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
399
Configuring EPS
Clearing EPS Wait-To-Restore Timer
Step 9
Command or Action
Purpose
setEpsInstProperties commit
Example:
Switch(config-controller-EpsPortType)#
setEpsInstProperties commit
Step 10
exit
Example:
Switch(config-controller-EpsPortType)# exit
Configuration Example
The example shows how to display EPS:
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Switch(config-controller-EpsPortType)#
Step 1
Command or Action
Purpose
EpsPortType
Example:
Switch(config-controller)# EpsPortType
Step 2
Step 3
exit
Example:
Switch(config-controller-EpsPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
400
Configuring EPS
Updating EPS
Configuration Example
The example shows how to clear EPS:
Switch(config-controller-EpsPortType)# clearEpsWtr clearEps epsInst 30
Switch(config-controller-EpsPortType)# exit
Updating EPS
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Step 3
EpsPortType
Example:
Switch(config-controller)# EpsPortType
Step 4
updateEpsInstance epsCommand {epsInst epsInst_number | Use only one of the following commands, as required:
command {lockout | forced | manualp | manualw | exercise | Sets EPS configuration.
freeze | localLockout}}
epsCommandSpecifies the EPS command
configuration.
Example:
Switch(config-controller-EpsPortType)#
updateEpsInstance epsCommand epsInst 1
Example:
Switch(config-controller-EpsPortType)#
updateEpsInstance epsCommand epsInst 1
Switch(config-controller-EpsPortType)#
updateEpsInstance epsCommand command exercise
Switch(config-controller-EpsPortType)#
updateEpsInstance epsCommand command forced
Switch(config-controller-EpsPortType)#
updateEpsInstance epsCommand command freeze
Switch(config-controller-EpsPortType)#
updateEpsInstance epsCommand command localLockout
Switch(config-controller-EpsPortType)#
updateEpsInstance epsCommand command lockout
Switch(config-controller-EpsPortType)#
updateEpsInstance epsCommand command manualp
Switch(config-controller-EpsPortType)#
updateEpsInstance epsCommand command manualw
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
401
Configuring EPS
Deleting EPS
Step 5
Command or Action
Purpose
updateEpsInstance review
Example:
Switch(config-controller-EpsPortType)#
updateEpsInstance review
Step 6
updateEpsInstance commit
Example:
Switch(config-controller-EpsPortType)#
updateEpsInstance commit
Step 7
exit
Example:
Switch(config-controller-EpsPortType)# exit
Configuration Example
The example shows how to update EPS:
Switch(config-controller-EpsPortType)# updateEpsInstance epsCommand epsInst 1
updateEpsInstance
updateEpsInstance
updateEpsInstance
updateEpsInstance
updateEpsInstance
updateEpsInstance
updateEpsInstance
epsCommand
epsCommand
epsCommand
epsCommand
epsCommand
epsCommand
epsCommand
Deleting EPS
Before You Begin
Architecture a1plus1 bidirectional
Domain port
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
402
command
command
command
command
command
command
command
exercise
forced
freeze
localLockout
lockout
manualp
manualw
Configuring EPS
Deleting EPS
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Step 3
EpsPortType
Example:
Switch(config-controller)# EpsPortType
Step 4
Example:
Switch(config-controller-EpsPortType)# deleteEps
deleteEpsConfig epsInst 30
Switch(config-controller-EpsPortType)# deleteEps
deleteEpsConfig delete eps
Step 5
deleteEps review
Example:
Switch(config-controller-EpsPortType)# deleteEps
review
Step 6
deleteEps commit
Example:
Switch(config-controller-EpsPortType)# deleteEps
commit
Step 7
exit
Example:
Switch(config-controller-EpsPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
403
Configuring EPS
Deleting EPS Command
Configuration Example
The example shows how to delete EPS:
Switch(config-controller-EpsPortType)# deleteEps deleteEpsConfig epsInst 30
Switch(config-controller-EpsPortType)# deleteEps deleteEpsConfig delete eps
Switch(config-controller-EpsPortType)# deleteEps review
Switch(config-controller-EpsPortType)# deleteEps commit
Switch(config-controller-EpsPortType)# exit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Step 3
EpsPortType
Example:
Switch(config-controller)# EpsPortType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
404
Configuring EPS
Deleting EPS Hold Off Timer
Step 5
Command or Action
Purpose
deleteEps review
Example:
Switch(config-controller-EpsPortType)# deleteEps
review
Step 6
deleteEps commit
Example:
Switch(config-controller-EpsPortType)# deleteEps
commit
Step 7
exit
Example:
Switch(config-controller-EpsPortType)# exit
Configuration Example
The example shows how to delete EPS command:
Switch(config-controller-EpsPortType)# deleteEps deleteEpsConfig epsInst 30
Switch(config-controller-EpsPortType)# deleteEps deleteEpsConfig delete command
Switch(config-controller-EpsPortType)# deleteEps review
Switch(config-controller-EpsPortType)# deleteEps commit
Switch(config-controller-EpsPortType)# exit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
405
Configuring EPS
Deleting EPS Hold Off Timer
Step 3
Command or Action
Purpose
EpsPortType
Example:
Switch(config-controller)# EpsPortType
Step 4
Example:
Switch(config-controller-EpsPortType)# deleteEps
deleteEpsConfig epsInst 30
Switch(config-controller-EpsPortType)# deleteEps
deleteEpsConfig delete holdoff
Step 5
deleteEps review
Example:
Switch(config-controller-EpsPortType)# deleteEps
review
Step 6
deleteEps commit
Example:
Switch(config-controller-EpsPortType)# deleteEps
commit
Step 7
exit
Example:
Switch(config-controller-EpsPortType)# exit
Configuration Example
The example shows how to delete EPS hold off timer:
Switch(config-controller-EpsPortType)# deleteEps deleteEpsConfig epsInst 30
Switch(config-controller-EpsPortType)# deleteEps deleteEpsConfig delete holdoff
Switch(config-controller-EpsPortType)# deleteEps review
Switch(config-controller-EpsPortType)# deleteEps commit
Switch(config-controller-EpsPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
406
Configuring EPS
Deleting EPS Revertive Timer
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Step 3
EpsPortType
Example:
Switch(config-controller)# EpsPortType
Step 4
Example:
Switch(config-controller-EpsPortType)# deleteEps
deleteEpsConfig epsInst 30
Switch(config-controller-EpsPortType)# deleteEps
deleteEpsConfig delete revertive
Step 5
deleteEps review
Example:
Switch(config-controller-EpsPortType)# deleteEps
review
Step 6
deleteEps commit
Example:
Switch(config-controller-EpsPortType)# deleteEps
commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
407
Configuring EPS
Verifying EPS
Step 7
Command or Action
Purpose
exit
Example:
Switch(config-controller-EpsPortType)# exit
Configuration Example
The example shows how to delete EPS revertive timer:
Switch(config-controller-EpsPortType)# deleteEps deleteEpsConfig epsInst 30
Switch(config-controller-EpsPortType)# deleteEps deleteEpsConfig delete revertive
Switch(config-controller-EpsPortType)# deleteEps review
Switch(config-controller-EpsPortType)# deleteEps commit
Switch(config-controller-EpsPortType)# exit
Verifying EPS
Use the following commands to verify the EPS status on the controller.
showEpsConfig showEpsReq epsInstList 1
This command displays the EPS configuration status on the NID. The following is a sample output from
the command:
Switch(config-controller-EpsPortType)# showEpsConfig showEpsReq epsInstList 1
Switch(config-controller-EpsPortType)# showEpsConfig review
Commands in queue:
showEpsConfig showEpsReq epsInstList 1
Switch(config-controller-EpsPortType)# showEpsConfig commit
Clearing Socket 5
xpinfo->value : 1Clearing Socket 5
ShowEpsConfig_Output.epsInfo.epsInstance[0].epsInst = 1
ShowEpsConfig_Output.epsInfo.epsInstance[0].config.domain.t = 1
ShowEpsConfig_Output.epsInfo.epsInstance[0].config.domain.u.port =
'Port'
ShowEpsConfig_Output.epsInfo.epsInstance[0].config.architecture.t =
1
ShowEpsConfig_Output.epsInfo.epsInstance[0].config.architecture.u.a1plus1
= '1plus1'
ShowEpsConfig_Output.epsInfo.epsInstance[0].config.workFlow.t = 2
ShowEpsConfig_Output.epsInfo.epsInstance[0].config.workFlow.u.portNo
= 1
ShowEpsConfig_Output.epsInfo.epsInstance[0].config.protectFlow.t = 2
ShowEpsConfig_Output.epsInfo.epsInstance[0].config.protectFlow.u.portNo
= 1
ShowEpsConfig_Output.epsInfo.epsInstance[0].config.mepWork = 1
ShowEpsConfig_Output.epsInfo.epsInstance[0].config.mepProtect = 1
ShowEpsConfig_Output.epsInfo.epsInstance[0].config.mepAps = 1
ShowEpsConfig_Output.epsInfo.epsInstance[0].instConfig.protectionType.t
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
408
Configuring EPS
Verifying EPS
= 1
ShowEpsConfig_Output.epsInfo.epsInstance[0].instConfig.protectionType.u.uni
= 'unidirectional'
ShowEpsConfig_Output.epsInfo.epsInstance[0].instConfig.revertive.t =
2
ShowEpsConfig_Output.epsInfo.epsInstance[0].instConfig.revertive.u.disable
= 'Disable'
ShowEpsConfig_Output.epsInfo.epsInstance[0].instConfig.aps.t = 2
ShowEpsConfig_Output.epsInfo.epsInstance[0].instConfig.aps.u.disable
= 'Disable'
ShowEpsConfig_Output.epsInfo.epsInstance[0].instConfig.wtrTime.t = 1
ShowEpsConfig_Output.epsInfo.epsInstance[0].instConfig.wtrTime.u.w10m
= ''
ShowEpsConfig_Output.epsInfo.epsInstance[0].instConfig.holdoff = 100
ShowEpsConfig_Output.epsInfo.epsInstance[0].command.t = 2
ShowEpsConfig_Output.epsInfo.epsInstance[0].command.u.forced = 'forced'
ShowEpsConfig Commit Success!!!
showEpsState showEpsReq epsInstList 1
This command displays the EPS status on the NID. The following is a sample output from the command:
Switch(config-controller-EpsPortType)# showEpsState showEpsReq epsInstList 1
Switch(config-controller-EpsPortType)# showEpsState review
Commands in queue:
showEpsState showEpsReq epsInstList 1
Switch(config-controller-EpsPortType)# showEpsState commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
409
Configuring EPS
Verifying EPS
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
410
CHAPTER
18
Configuring ERPS
This document describes the Ethernet Ring Protection Switching (ERPS) feature and configuration steps to
implement protection switching mechanisms for Ethernet layer ring topologies.
Prerequisites for Configuring ERPS, page 411
Restrictions for Configuring ERPS, page 411
Information About ERPS, page 411
How to Provision ERPS, page 412
Verifying ERPS, page 436
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
411
Configuring ERPS
How to Provision ERPS
The following figure shows the topology used for provisioning ERPS on NID-1 and NID-2 using a UPE NID
Controller.
Figure 12: ERPS Topology
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Step 3
ProvisionPortVlanPortType
Example:
Switch(config-controller)# ProvisionPortVlanPortType
Step 4
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanCommand createVlanReq vlan_list 2000
Step 5
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
412
Configuring ERPS
Creating VLAN on NID-1
Command or Action
Purpose
Interface IdSpecifies the interface ID.
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort modifySWPortConfig interface 3
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort modifySWPortConfig mode trunk native vlan 1
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort modifySWPortConfig mode trunk allowed vlan
add vlan_list 2000
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort modifySWPortConfig interface 4
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort modifySWPortConfig mode trunk native vlan 1
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort modifySWPortConfig mode trunk allowed vlan
add vlan-list 2000
Step 6
modifySwPort review
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort review
Step 7
modifySwPort commit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort commit
Step 8
exit
Example:
Switch(config-controller-ProvisionPortVlanPortType)# exit
Configuration Example
The example shows how to create VLAN on NID-1:
Switch(config-controller-ProvisionPortVlanPortType)# createVlanCommand createVlanReq vlan_list
2000
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig interface
3
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig mode
trunk native vlan 1
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig mode
trunk allowed vlan add vlan_list 2000
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig interface
4
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig mode
trunk native vlan 1
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig mode
trunk allowed vlan add vlan_list 2000
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
413
Configuring ERPS
Creating MEP on Port 1 of NID-1
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Step 3
ProvisionMepPortType
Example:
Switch(config-controller)# ProvisionMepPortType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
414
Configuring ERPS
Creating MEP on Port 1 of NID-1
Command or Action
Purpose
vidIn case the MEP is a port Up-MEP or a EVC
customer MIP the VID must be given.
levelSpecifies the MEG level of the MEP.
level_numberMEG level number.
residencePortSpecifies the port monitored by MEP.
port_numberResidence port number.
mepldSpecifies MEP ID.
id_numberMEP ID number.
megdomainSpecifies the maintenance domain
configuration.
maNameSpecifies the ITU/IEEE MEG-ID (short MA
name).
ma_nameShort MA name.
megIdFormatSelects the MEG ID format.
ituMegSpecifies the MEG-ID using ITU format (ICC
- UMC).
ituCcMegSpecifies the MEG-ID using ITU Country
Code format (CC - ICC - UMC).
ieeeSpecifies the MEG-ID (Short MA Name) using
IEEE Character String format.
Step 5
Example:
Switch(config-controller-ProvisionMepPortType)#
addPeerMepId peerMepConfig mepInstance 100
Switch(config-controller-ProvisionMepPortType)#
addPeerMepId peerMepConfig peerMepId 101
Step 6
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
415
Configuring ERPS
Creating MEP on Port 1 of NID-1
Command or Action
Purpose
flushFlushes all addCcAps commands from queue.
Example:
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig mepInstance 100
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig cc enable priority 7
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig cc enable frameRate
fr1s
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig aps enable mode multi
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig aps enable priority
7
Switch(config-controller-ProvisionMepPortType)#
addCcAps mepFunctionalConfig aps enable
switchingProtocol raps octet 1
Step 7
addCcAps review
Example:
Switch(config-controller-ProvisionMepPortType)#
addCcAps review
Step 8
addCcAps commit
Example:
Switch(config-controller-ProvisionMepPortType)#
addCcAps commit
Step 9
exit
Example:
Switch(config-controller-ProvisionMepPortType)#
exit
Configuration Example
The example shows how to create MEP on port 1 of NID-1:
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
ERPS-1
Switch(config-controller-ProvisionMepPortType)#
megIdFormat ituMeg
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
createMep
createMep
createMep
createMep
createMep
createMepConfig
createMepConfig
createMepConfig
createMepConfig
createMepConfig
mepInstance 100
direction DOWN
domain vlan
level 0
megDomain maName
createMepConfig
createMepConfig
createMepConfig
createMepConfig
mepId 100
mode MEP
residencePort 3
flow 2000
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
416
Configuring ERPS
Creating MEP on Port 2 of NID-1
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Step 3
ProvisionMepPortType
Example:
Switch(config-controller)# ProvisionMepPortType
Step 4
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig mepInstance 99
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig direction DOWN
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig domain vlan
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig level 0
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig megDomain maName
W-N-V2000
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig megDomain megIdFormat
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
417
Configuring ERPS
Creating MEP on Port 2 of NID-1
Command or Action
ieee name W-N-V2000
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig mepId 101
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig mode MEP
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig residencePort 4
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig flow 2000
Purpose
portSpecifies a MEP in the Port Domain. Flow
Instance is a Port.
evcSpecifies a MEP in the EVC Domain. Flow Instance
is a EVC. The EVC must be created.
vlanSpecifies a MEP in the VLAN Domain. Flow
Instance is a VLAN. The VLAN must be created.
flowIdSpecifies the flow related to the MEP.
vidIn case the MEP is a port Up-MEP or a EVC
customer MIP the VID must be given.
levelSpecifies the MEG level of the MEP.
level_numberMEG level number.
residencePortSpecifies the port monitored by MEP.
port_numberResidence port number.
mepldSpecifies MEP ID.
id_numberMEP ID number.
megdomainSpecifies the maintenance domain
configuration.
maNameSpecifies the ITU/IEEE MEG-ID (short MA
name).
ma_nameShort MA name.
megIdFormatSelects the MEG ID format.
ituMegSpecifies the MEG-ID using ITU format (ICC
- UMC).
ituCcMegSpecifies the MEG-ID using ITU Country
Code format (CC - ICC - UMC).
ieeeSpecifies the MEG-ID (Short MA Name) using
IEEE Character String format.
Step 5
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
418
Configuring ERPS
Creating MEP on Port 2 of NID-1
Command or Action
Purpose
mepInstanceSpecifies the mep instance number.
peerMepIdSpecifies the peer MEP-ID.
Step 6
Step 7
addCcAps review
Example:
Switch(config-controller-ProvisionMepPortType)#
addCcAps review
Step 8
addCcAps commit
Example:
Switch(config-controller-ProvisionMepPortType)#
addCcAps commit
Step 9
exit
Example:
Switch(config-controller-ProvisionMepPortType)#
exit
Configuration Example
The example shows how to create MEP on port2 of NID-1:
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
createMep
createMep
createMep
createMep
createMepConfig
createMepConfig
createMepConfig
createMepConfig
mepInstance 99
direction DOWN
domain vlan
level 0
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
419
Configuring ERPS
Configuring ERPS on NID-1
Switch(config-controller-ProvisionMepPortType)#
W-N-V2000
Switch(config-controller-ProvisionMepPortType)#
megIdFormat ieee name W-N-V2000
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
createMepConfig
createMepConfig
createMepConfig
createMepConfig
mepId 101
mode MEP
residencePort 4
flow 2000
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Step 3
ErpsPortType
Example:
Switch(config-controller)# ErpsPortType
Step 4
Example:
Switch(config-controller-ErpsPortType)#
setErpsInstConfig erpsConfig erpsInst 1
Switch(config-controller-ErpsPortType)#
setErpsInstConfig erpsConfig mep port0 aps 100
Switch(config-controller-ErpsPortType)#
setErpsInstConfig erpsConfig mep port0 sf 100
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
420
Configuring ERPS
Configuring ERPS on NID-1
Command or Action
Purpose
Switch(config-controller-ErpsPortType)#
setErpsInstConfig erpsConfig mep port1 aps 99
Switch(config-controller-ErpsPortType)#
setErpsInstConfig erpsConfig mep port1 sf 99
Switch(config-controller-ErpsPortType)#
setErpsInstConfig erpsConfig port0 3
Switch(config-controller-ErpsPortType)#
setErpsInstConfig erpsConfig port1 4
Switch(config-controller-ErpsPortType)#
setErpsInstConfig erpsConfig ringType major
Step 5
Step 6
setErpsInstProperties review
Example:
Switch(config-controller-ErpsPortType)#
setErpsInstProperties review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
421
Configuring ERPS
Creating VLAN on NID-2
Step 7
Command or Action
Purpose
setErpsInstProperties commit
Example:
Switch(config-controller-ErpsPortType)#
setErpsInstProperties commit
Step 8
exit
Example:
Switch(config-controller-ErpsPortType)# exit
Configuration Example
The example shows how to configure ERPS on NID-1:
Switch(config-controller-ErpsPortType)#
Switch(config-controller-ErpsPortType)#
Switch(config-controller-ErpsPortType)#
Switch(config-controller-ErpsPortType)#
Switch(config-controller-ErpsPortType)#
Switch(config-controller-ErpsPortType)#
Switch(config-controller-ErpsPortType)#
Switch(config-controller-ErpsPortType)#
setErpsInstConfig
setErpsInstConfig
setErpsInstConfig
setErpsInstConfig
setErpsInstConfig
setErpsInstConfig
setErpsInstConfig
setErpsInstConfig
erpsConfig
erpsConfig
erpsConfig
erpsConfig
erpsConfig
erpsConfig
erpsConfig
erpsConfig
Switch(config-controller-ErpsPortType)#
Switch(config-controller-ErpsPortType)#
Switch(config-controller-ErpsPortType)#
Switch(config-controller-ErpsPortType)#
Switch(config-controller-ErpsPortType)#
2-10
Switch(config-controller-ErpsPortType)#
setErpsInstProperties
setErpsInstProperties
setErpsInstProperties
setErpsInstProperties
setErpsInstProperties
erpsInst 1
mep port0 aps 100
mep port0 sf 100
mep port1 aps 99
mep port1 sf 99
port0 3
port1 4
ringType major
erpsInstconfig
erpsInstconfig
erpsInstconfig
erpsInstconfig
erpsInstconfig
wtrTime 1
erpsInst 1
rplPort port0
rplRole owner
vlan vlanList
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
422
Configuring ERPS
Creating VLAN on NID-2
Step 3
Command or Action
Purpose
ProvisionPortVlanPortType
Example:
Switch(config-controller)# ProvisionPortVlanPortType
Step 4
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanCommand createVlanReq vlan_list 2000
Step 5
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort modifySWPortConfig interface 3
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort modifySWPortConfig mode trunk native vlan 1
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort modifySWPortConfig mode trunk allowed vlan
add vlan_list 2000
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort modifySWPortConfig interface 5
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort modifySWPortConfig mode trunk native vlan 1
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort modifySWPortConfig mode trunk allowed vlan
add vlan_list 2000
Step 6
modifySwPort review
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort review
Step 7
modifySwPort commit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort commit
Step 8
exit
Example:
Switch(config-controller-ProvisionPortVlanPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
423
Configuring ERPS
Creating MEP on Port 1 of NID-2
Configuration Example
The example shows how to create VLAN on NID-2:
Switch(config-controller-ProvisionPortVlanPortType)# createVlanCommand createVlanReq vlan_list
2000
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig interface
3
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig mode
trunk native vlan 1
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig mode
trunk allowed vlan add vlan_list 2000
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig interface
5
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig mode
trunk native vlan 1
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort modifySWPortConfig mode
trunk allowed vlan add vlan_list 2000
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort review
Switch(config-controller-ProvisionPortVlanPortType)# modifySwPort commit
Switch(config-controller-ProvisionPortVlanPortType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Step 3
ProvisionMepPortType
Example:
Switch(config-controller)# ProvisionMepPortType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
424
Configuring ERPS
Creating MEP on Port 1 of NID-2
Command or Action
Purpose
Step 5
Example:
Switch(config-controller-ProvisionMepPortType)#
addPeerMepId peerMepConfig mepInstance 100
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
425
Configuring ERPS
Creating MEP on Port 1 of NID-2
Command or Action
Switch(config-controller-ProvisionMepPortType)#
addPeerMepId peerMepConfig peerMepId 100
Purpose
macAddressSpecifies the peer MAC. This is
overwritten by any learned MAC - through CCM
reception.
mepInstanceSpecifies the mep instance number.
peerMepIdSpecifies the peer MEP-ID.
Step 6
Step 7
addCcAps review
Example:
Switch(config-controller-ProvisionMepPortType)#
addCcAps review
Step 8
addCcAps commit
Example:
Switch(config-controller-ProvisionMepPortType)#
addCcAps commit
Step 9
exit
Example:
Switch(config-controller-ProvisionMepPortType)#
exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
426
Configuring ERPS
Creating MEP on Port 2 of NID-2
Configuration Example
The example shows how to create MEP on port 1 of NID-2:
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
ERPS-1
Switch(config-controller-ProvisionMepPortType)#
megIdFormat ituMeg
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
createMep
createMep
createMep
createMep
createMep
createMepConfig
createMepConfig
createMepConfig
createMepConfig
createMepConfig
mepInstance 100
direction DOWN
domain vlan
level 0
megDomain maName
createMepConfig
createMepConfig
createMepConfig
createMepConfig
mepId 101
mode MEP
residencePort 3
flow 2000
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Step 3
ProvisionMepPortType
Example:
Switch(config-controller)# ProvisionMepPortType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
427
Configuring ERPS
Creating MEP on Port 2 of NID-2
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig mepInstance 99
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig direction DOWN
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig domain vlan
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig level 0
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig megDomain maName
W-N-V2000
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig megDomain megIdFormat
ieee name W-N-V2000
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig mepId 103
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig mode MEP
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig residencePort 5
Switch(config-controller-ProvisionMepPortType)#
createMep createMepConfig flow 2000
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
428
Configuring ERPS
Creating MEP on Port 2 of NID-2
Command or Action
Purpose
ieeeSpecifies the MEG-ID (Short MA Name) using
IEEE Character String format.
Step 5
Example:
Switch(config-controller-ProvisionMepPortType)#
addPeerMepId peerMepConfig mepInstance 99
Switch(config-controller-ProvisionMepPortType)#
addPeerMepId peerMepConfig peerMepId 104
Step 6
Step 7
addCcAps review
Example:
Switch(config-controller-ProvisionMepPortType)#
addCcAps review
Step 8
addCcAps commit
Example:
Switch(config-controller-ProvisionMepPortType)#
addCcAps commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
429
Configuring ERPS
Configuring ERPS on NID-2
Step 9
Command or Action
Purpose
exit
Example:
Switch(config-controller-ProvisionMepPortType)#
exit
Configuration Example
The example shows how to create MEP on port 2 of NID-2:
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
W-N-V2000
Switch(config-controller-ProvisionMepPortType)#
megIdFormat ieee name W-N-V2000
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
Switch(config-controller-ProvisionMepPortType)#
createMep
createMep
createMep
createMep
createMep
createMepConfig
createMepConfig
createMepConfig
createMepConfig
createMepConfig
mepInstance 99
direction DOWN
domain vlan
level 0
megDomain maName
createMepConfig
createMepConfig
createMepConfig
createMepConfig
mepId 103
mode MEP
residencePort 5
flow 2000
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
430
Configuring ERPS
Configuring ERPS on NID-2
Step 2
Command or Action
Purpose
Example:
Switch(config)# contoller nid 1/2
Step 3
ErpsPortType
Example:
Switch(config-controller)# ErpsPortType
Step 4
Example:
Switch(config-controller-ErpsPortType)#
setErpsInstConfig erpsConfig erpsInst 1
Switch(config-controller-ErpsPortType)#
setErpsInstConfig erpsConfig mep port0 aps 100
Switch(config-controller-ErpsPortType)#
setErpsInstConfig erpsConfig mep port0 sf 100
Switch(config-controller-ErpsPortType)#
setErpsInstConfig erpsConfig mep port1 aps 99
Switch(config-controller-ErpsPortType)#
setErpsInstConfig erpsConfig mep port1 sf 99
Switch(config-controller-ErpsPortType)#
setErpsInstConfig erpsConfig port0 3
Switch(config-controller-ErpsPortType)#
setErpsInstConfig erpsConfig port1 5
Switch(config-controller-ErpsPortType)#
setErpsInstConfig erpsConfig ringType major
Step 5
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
431
Configuring ERPS
Configuring ERPS on NID-2
Command or Action
Purpose
neighbourSpecifies the RPL neighbour.
vlanSpecifies the VLAN configuration.
vlanListSpecifies the VLAN list.
vlan_list_number VLAN list number.
addAdds to the set of included VLANs.
removeRemoves from the set of included
VLANs.
none Does not include any VLANs.
Step 6
setErpsInstProperties review
Example:
Switch(config-controller-ErpsPortType)#
setErpsInstProperties review
Step 7
setErpsInstProperties commit
Example:
Switch(config-controller-ErpsPortType)#
setErpsInstProperties commit
Step 8
exit
Example:
Switch(config-controller-ErpsPortType)# exit
Configuration Example
The example shows how to configure ERPS on NID-2:
Switch(config-controller-ErpsPortType)#
Switch(config-controller-ErpsPortType)#
Switch(config-controller-ErpsPortType)#
Switch(config-controller-ErpsPortType)#
Switch(config-controller-ErpsPortType)#
Switch(config-controller-ErpsPortType)#
Switch(config-controller-ErpsPortType)#
Switch(config-controller-ErpsPortType)#
setErpsInstConfig
setErpsInstConfig
setErpsInstConfig
setErpsInstConfig
setErpsInstConfig
setErpsInstConfig
setErpsInstConfig
setErpsInstConfig
erpsConfig
erpsConfig
erpsConfig
erpsConfig
erpsConfig
erpsConfig
erpsConfig
erpsConfig
erpsInst 1
mep port0 aps 100
mep port0 sf 100
mep port1 aps 99
mep port1 sf 99
port0 3
port1 5
ringType major
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
432
Configuring ERPS
Configuring ERPS on the UPE NID Controller
DETAILED STEPS
Step 1
Command or Action
Purpose
enable
Example:
Device> enable
Step 2
configure terminal
Example:
Device# configure terminal
Step 3
Example:
Device(config)# ethernet ring g8032 ring1
Step 4
Example:
Device(config-erp-ring)# port0 interface
fastethernet 0/1/0
Step 5
Example:
Device(config-erp-ring-port)# monitor service
instance 1
Step 6
exit
Example:
Device(config-erp-ring-port)# exit
Step 7
Example:
Device(config-erp-ring)# port1 interface
fastethernet 0/1/1
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
433
Configuring ERPS
Configuring ERPS on the UPE NID Controller
Step 8
Command or Action
Purpose
Example:
Device(config-erp-ring-port)# monitor service
instance 2
Step 9
exit
Example:
Device(config-erp-ring-port)# exit
Step 10
Example:
Device(config-erp-ring)# exclusion-list vlan-ids
2
Step 11
open-ring
Example:
Device(config-erp-ring)# open-ring
Step 12
instance instance-id
Example:
Device(config-erp-ring)# instance 1
Step 13
description descriptive-name
Example:
Device(config-erp-inst)# description
cisco_customer_instance
Step 14
profile profile-name
Example:
Device(config-erp-inst)# profile profile1
Step 15
rpl {port0 | port1} {owner | neighbor | next-neighbor Specifies the Ethernet ring port on the local node as the
RPL owner, neighbor, or next neighbor.
}
Example:
Device(config-erp-inst)# rpl port0 neighbor
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
434
Configuring ERPS
Configuring ERPS on the UPE NID Controller
Step 16
Command or Action
Purpose
Example:
Device(config-erp-inst)# inclusion-list vlan-ids
11
Step 17
aps-channel
Example:
Device(config-erp-inst)# aps-channel
Step 18
level level-value
Example:
Device(config-erp-inst-aps)# level 5
Step 19
Example:
Device(config-erp-inst-aps)# port0 service
instance 100
Step 20
Example:
Device(config-erp-inst-aps)# port1 service
instance 100
Step 21
end
Example:
Device(config-erp-inst-aps)# end
Configuration Example
The example shows how to configure ERPS on the UPE NID Controller:
!
ethernet cfm domain W-N-V2000 level 0
service W-N-V2000 evc evc2000 vlan 2000 direction down
continuity-check
continuity-check interval 1s
efd notify g8032
!
!
interface GigabitEthernet0/1
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
435
Configuring ERPS
Verifying ERPS
Verifying ERPS
Use the following command to verify the ERPS status on the controller.
showErpsConfig showErpsReq erpsInstList 1
This command displays the ERPS status on the NID. The following is a sample output from the command:
Switch(config-controller-ErpsPortType)# showErpsConfig showErpsReq erpsInstList 1
Switch(config-controller-ErpsPortType)# showErpsConfig review
Stat = 0ShowErpsConfig_Output.erpsInfo.erpsInstance[0].grpId = 1
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.ringType.t = 1
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.ringType.u.major
= 'major'
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.virtualConnection.t
= 2
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.virtualConnection.u.disable
= 'Disable'
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.interconnect.t
= 2
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
436
Configuring ERPS
Verifying ERPS
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.interconnect.u.disable
= 'Disable'
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.instance = 0
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.port0 = 3
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.port1 = 4
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.mep.port0.sf =
100
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.mep.port0.aps
= 100
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.mep.port1.sf =
99
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].config.mep.port1.aps
= 99
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.guardTime
= 500
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.wtrTime =
1
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.revertive.t
= 1
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.revertive.u.enable
= 'Enable'
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.version.t
= 2
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.version.u.v2
= 'V2'
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.topologyChangePropagate.t
= 2
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.topologyChangePropagate.u.disable
= 'Disable'
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.holdoff =
0
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.rplRole.t
= 1
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.rplRole.u.owner
= 'owner'
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.rplPort.t
= 1
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.rplPort.u.port0
= 'port0'
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.vlan.t = 1
ShowErpsConfig_Output.erpsInfo.erpsInstance[0].instConfig.vlan.u.vlanList
=
'2,3,4,5,6,7,8,9,10,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,1023,1024,1022,1021,1013,1012'
ShowErpsConfig Commit Success!!!
showErpsStats erpsShowStateReq erpsInst 1
This command displays the ERPS status on the NID. The following is a sample output from the command:
Switch(config-controller-EpsPortType)# showErpsStats erpsShowStateReq erpsInst 1
Switch(config-controller-EpsPortType)# showErpsStats erpsShowStateReq show brief
Switch(config-controller-EpsPortType)# showErpsstats commit
ShowErpsStats_Output.erpsState.erpsInst[0].grpId = 1
ShowErpsStats_Output.erpsState.erpsInst[0].show.t = 1
ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.grpId = 1
ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.type = 'Maj'
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
437
Configuring ERPS
Verifying ERPS
ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.version = '2'
ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.port0 =
'GigabitEthernet 1/3'
ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.port0Lnk =
'U'
ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.port0Blk =
'B'
ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.majGrp = ''
ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.rplRole =
'Ownr'
ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.rplPort =
'Port0'
ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.rplBlk = 'Y'
ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.fsmState =
'IDLE'
ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.rApsTx = 'Y'
ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.rApsPort0Rx
= ' '
ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.fop = 'N'
ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.port1 =
'GigabitEthernet 1/4'
ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.port1Lnk =
'U'
ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.port1Blk =
'U'
ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.revertive =
'Rev'
ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.ringType =
'-'
ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.rplRole_1 =
''
ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.rplPort_1 =
''
ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.rplBlk_1 = ''
ShowErpsStats_Output.erpsState.erpsInst[0].show.u.brief.rApsPort1Rx
= ' '
ShowErpsStats Commit Success!!!
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
438
CHAPTER
19
Configuring L2CP
This document describes the Layer 2 Control Protocol (L2CP) feature and configuration steps to implement
L2CP.
Prerequisites for Configuring L2CP, page 439
Restrictions for Configuring L2CP, page 439
Information About L2CP, page 440
Configuring L2CP Using a UPE NID Controller, page 440
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
439
Configuring L2CP
Information About L2CP
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
440
Configuring L2CP
Configuring L2CP Using a UPE NID Controller
Step 3
Command or Action
Purpose
ProvisionL2CPPortType
Example:
Switch(config-controller)# ProvisionL2CPPortType
Step 4
Sub-command options.
defaultSets a command to its defaults.
exitExits from ProvisionL2CPPortType sub
configuration mode.
getL2CPPortConfigRetrieves current L2CP
configuration request.
noNegates a command or set its defaults.
setL2CPPortConfigConfigures L2CP forward on
EVCs on this port.
Step 5
Example:
Switch(config-controller-ProvisionL2CPPortType)#
getL2CPPortConfig l2cpPort 5
Step 6
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
441
Configuring L2CP
Configuring L2CP Using a UPE NID Controller
Command or Action
Purpose
peerRedirects L2CP frames to local protocol entity.
peerListSelects BPDU addresses and GARP
addresses.
peerList_range BPDU addresses (0-15) and GARP
addresses (16-31).
Step 7
setL2CPPortConfig review
Example:
Switch(config-controller-L2CPPortType)#
setL2CPPortConfig review
Step 8
setL2CPPortConfig flush
Example:
Switch(config-controller-L2CPPortType)#
setL2CPPortConfig flush
Step 9
setL2CPPortConfig commit
Example:
Switch(config-controller-L2CPPortType)#
setL2CPPortConfig commit
Step 10
Step 11
getL2CPPortConfig review
Example:
Switch(config-controller-ProvisionL2CPPortType)#
getL2CPPortConfig review
Step 12
getL2CPPortConfig flush
Example:
Switch(config-controller-ProvisionL2CPPortType)#
getL2CPPortConfig flush
Step 13
getL2CPPortConfig commit
Example:
Switch(config-controller-ProvisionL2CPPortType)#
getL2CPPortConfig commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
442
Configuring L2CP
Configuring L2CP Using a UPE NID Controller
Step 14
Command or Action
Purpose
exit
Example:
Switch(config-controller-ProvisionL2CPPortType)#
exit
Configuration Example
The example shows how to enable L2CP on a port:
Switch(config)#controller nid 1/1
Switch(config-controller)#
Switch(config-controller)#ProvisionL2CPPortType ?
<cr>
Switch(config-controller-ProvisionL2CPPortType)#?
ProvisionL2CPPortType sub-mode commands:
default
Set a command to its defaults
exit
Exit from ProvisionL2CPPortType sub configuration mode
getL2CPPortConfig Get current L2CP configuration request
no
Negate a command or set its defaults
setL2CPPortConfig Configure L2CP forward on EVCs on this port
Switch(config-controller-ProvisionL2CPPortType)#setL2CPPortConfig ?
commit
commit setL2CPPortConfig
flush
flush all setL2CPPortConfig commands from queue
l2cpPortConfiguration Configure L2CP forward on EVCs on this port
review
review setL2CPPortConfig commands
Switch(config-controller-ProvisionL2CPPortType)#setL2CPPortConfig l2
Switch(config-controller-ProvisionL2CPPortType)#$pPortConfiguration ?
discard
Discard L2CP frames
enabled
L2CP configuration enabled/disabled on this port
forward
Allow forwarding of L2CP frames
peer
Redirect L2CP frames to local protocol entity
portNumber Port number to configure L2CP
Switch(config-controller-ProvisionL2CPPortType)#$guration portNumber 3
Switch(config-controller-ProvisionL2CPPortType)#$guration enabled enable
Switch(config-controller-ProvisionL2CPPortType)#setL2CPPortConfig review
Commands in queue:
setL2CPPortConfig l2cpPortConfiguration portNumber 3
setL2CPPortConfig l2cpPortConfiguration enabled enable
Commands in queue:
setL2CPPortConfig l2cpPortConfiguration portNumber 3
setL2CPPortConfig l2cpPortConfiguration enabled enable
Switch(config-controller-ProvisionL2CPPortType)#setL2CPPortConfig commit
SetL2CPPortConfig Commit Success!!!
When SetL2CPPortConfig operation is executed on a NID from a CPE NID Controller, initially
GetL2CPPortConfig fetches the current configuration. This is followed by SetL2CPPortConfig to set
the new L2CP configuration. The following is a sample output on the NID.
#
Decoding of Request message was successful
Decoded record:
GetL2CPPortConfig_Output.l2cpPortConfiguration.enabled = true
GetL2CPPortConfig_Output.l2cpPortConfiguration.portNumber = 3
GetL2CPPortConfig_Output.l2cpPortConfiguration.discard.discardList =
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
443
Configuring L2CP
Configuring L2CP Using a UPE NID Controller
''
GetL2CPPortConfig_Output.l2cpPortConfiguration.forward.forwardList =
'16-31'
GetL2CPPortConfig_Output.l2cpPortConfiguration.peer.peerList = '0-15'
GetL2CPPortConfig_Output.xmlns:ns0 = "http://new.webservice.namespace"
GetL2CPPortConfig_Output.xmlns:http =
"http://schemas.xmlsoap.org/wsdl/http/"
GetL2CPPortConfig_Output.xmlns:mime =
"http://schemas.xmlsoap.org/wsdl/mime/"
GetL2CPPortConfig_Output.xmlns:soap =
"http://schemas.xmlsoap.org/wsdl/soap/"
GetL2CPPortConfig_Output.xmlns:soapenc =
"http://schemas.xmlsoap.org/soap/encoding/"
GetL2CPPortConfig_Output.xmlns:wsdl =
"http://schemas.xmlsoap.org/wsdl/"
Decoding of Request message was successful
Decoded record:
SetL2CPPortConfig_Input.l2cpPortConfiguration.enabled = true
SetL2CPPortConfig_Input.l2cpPortConfiguration.portNumber = 3
SetL2CPPortConfig_Input.l2cpPortConfiguration.discard.discardList =
''
SetL2CPPortConfig_Input.l2cpPortConfiguration.forward.forwardList =
'16-31'
SetL2CPPortConfig_Input.l2cpPortConfiguration.peer.peerList = '0-15'
Encoding of Response message was successful
Encoded record:
SetL2CPPortConfig_Output.l2cpPortConfigResponse = 0
SetL2CPPortConfig_Output.xmlns:ns0 = "http://new.webservice.namespace"
SetL2CPPortConfig_Output.xmlns:http =
"http://schemas.xmlsoap.org/wsdl/http/"
SetL2CPPortConfig_Output.xmlns:mime =
"http://schemas.xmlsoap.org/wsdl/mime/"
SetL2CPPortConfig_Output.xmlns:soap =
"http://schemas.xmlsoap.org/wsdl/soap/"
SetL2CPPortConfig_Output.xmlns:soapenc =
"http://schemas.xmlsoap.org/soap/encoding/"
SetL2CPPortConfig_Output.xmlns:wsdl =
"http://schemas.xmlsoap.org/wsdl/"
The examples shows how to enable L2CP Forward on a port.
Switch(config)#controller nid 1/1
Switch(config-controller)#
Switch(config-controller)#ProvisionL2CPPortType ?
<cr>
Switch(config-controller-ProvisionL2CPPortType)#?
ProvisionL2CPPortType sub-mode commands:
default
Set a command to its defaults
exit
Exit from ProvisionL2CPPortType sub configuration mode
getL2CPPortConfig Get current L2CP configuration request
no
Negate a command or set its defaults
setL2CPPortConfig Configure L2CP forward on EVCs on this port
Switch(config-controller-ProvisionL2CPPortType)#setL2CPPortConfig ?
commit
commit setL2CPPortConfig
flush
flush all setL2CPPortConfig commands from queue
l2cpPortConfiguration Configure L2CP forward on EVCs on this port
review
review setL2CPPortConfig commands
Switch(config-controller-ProvisionL2CPPortType)#setL2CPPortConfig l2
Switch(config-controller-ProvisionL2CPPortType)#$pPortConfiguration ?
discard
Discard L2CP frames
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
444
Configuring L2CP
Configuring L2CP Using a UPE NID Controller
enabled
forward
peer
portNumber
Switch(config-controller-ProvisionL2CPPortType)#$guration portNumber 3
Switch(config-controller-ProvisionL2CPPortType)#$guration enabled enable
Switch(config-controller-ProvisionL2CPPortType)#$guration forward for
Switch(config-controller-ProvisionL2CPPortType)#$orward forwardList 1-14
Switch(config-controller-ProvisionL2CPPortType)#
Switch(config-controller-ProvisionL2CPPortType)#setL2CPPortConfig review
Commands in queue:
setL2CPPortConfig l2cpPortConfiguration forward forwardList 1-14
setL2CPPortConfig l2cpPortConfiguration portNumber 3
setL2CPPortConfig l2cpPortConfiguration enabled enable
Switch(config-controller-ProvisionL2CPPortType)#setL2CPPortConfig commit
SetL2CPPortConfig Commit Success!!!
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
445
Configuring L2CP
Configuring L2CP Using a UPE NID Controller
"http://schemas.xmlsoap.org/wsdl/soap/"
SetL2CPPortConfig_Output.xmlns:soapenc =
"http://schemas.xmlsoap.org/soap/encoding/"
SetL2CPPortConfig_Output.xmlns:wsdl =
"http://schemas.xmlsoap.org/wsdl/"
#show running-config interface GigabitEthernet 1/3
Building configuration...
interface GigabitEthernet 1/3
switchport hybrid allowed vlan 1
switchport hybrid acceptable-frame-type untagged
switchport hybrid ingress-filtering
switchport hybrid port-type unaware
switchport mode trunk
lldp med type end-point
qos dscp-remark rewrite
evc l2cp forward 1-14
The examples shows how to enable L2CP Forward, Peer, Discard on a port.
Switch(config)#controller nid 1/1
Switch(config-controller)#
Switch(config-controller)#ProvisionL2CPPortType ?
<cr>
Switch(config-controller-ProvisionL2CPPortType)#?
ProvisionL2CPPortType sub-mode commands:
default
Set a command to its defaults
exit
Exit from ProvisionL2CPPortType sub configuration mode
getL2CPPortConfig Get current L2CP configuration request
no
Negate a command or set its defaults
setL2CPPortConfig Configure L2CP forward on EVCs on this port
Switch(config-controller-ProvisionL2CPPortType)#setL2CPPortConfig ?
commit
commit setL2CPPortConfig
flush
flush all setL2CPPortConfig commands from queue
l2cpPortConfiguration Configure L2CP forward on EVCs on this port
review
review setL2CPPortConfig commands
Switch(config-controller-ProvisionL2CPPortType)#setL2CPPortConfig l2
Switch(config-controller-ProvisionL2CPPortType)#$pPortConfiguration ?
discard
Discard L2CP frames
enabled
L2CP configuration enabled/disabled on this port
forward
Allow forwarding of L2CP frames
peer
Redirect L2CP frames to local protocol entity
portNumber Port number to configure L2CP
Switch(config-controller-ProvisionL2CPPortType)#$guration portNumber 3
Switch(config-controller-ProvisionL2CPPortType)#$guration enabled enable
Switch(config-controller-ProvisionL2CPPortType)#$guration forward for
Switch(config-controller-ProvisionL2CPPortType)#$orward forwardList 1-14
Switch(config-controller-ProvisionL2CPPortType)#$peer peerList 16-20
Switch(config-controller-ProvisionL2CPPortType)#$guration discard di
Switch(config-controller-ProvisionL2CPPortType)#$iscard discardList 19
Switch(config-controller-ProvisionL2CPPortType)#setL2CPPortConfig review
Commands in queue:
setL2CPPortConfig l2cpPortConfiguration portNumber 3
setL2CPPortConfig l2cpPortConfiguration enabled enable
setL2CPPortConfig l2cpPortConfiguration peer peerList 16-20
setL2CPPortConfig l2cpPortConfiguration discard discardList 19
setL2CPPortConfig l2cpPortConfiguration forward forwardList 1-14
Switch(config-controller-ProvisionL2CPPortType)#setL2CPPortConfig review
Commands in queue:
setL2CPPortConfig l2cpPortConfiguration portNumber 3
setL2CPPortConfig l2cpPortConfiguration enabled enable
setL2CPPortConfig l2cpPortConfiguration peer peerList 16-20
setL2CPPortConfig l2cpPortConfiguration discard discardList 19
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
446
Configuring L2CP
Configuring L2CP Using a UPE NID Controller
Building configuration...
interface GigabitEthernet 1/3
switchport hybrid allowed vlan 1
switchport hybrid acceptable-frame-type untagged
switchport hybrid ingress-filtering
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
447
Configuring L2CP
Configuring L2CP Using a UPE NID Controller
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
448
Configuring L2CP
Configuring L2CP Using a UPE NID Controller
GetL2CPPortConfig_Output.l2cpPortConfiguration.forward.forwardList =
'1-14'
GetL2CPPortConfig_Output.l2cpPortConfiguration.peer.peerList = '16-20'
GetL2CPPortConfig_Output.xmlns:ns0 = "http://new.webservice.namespace"
GetL2CPPortConfig_Output.xmlns:http =
"http://schemas.xmlsoap.org/wsdl/http/"
GetL2CPPortConfig_Output.xmlns:mime =
"http://schemas.xmlsoap.org/wsdl/mime/"
GetL2CPPortConfig_Output.xmlns:soap =
"http://schemas.xmlsoap.org/wsdl/soap/"
GetL2CPPortConfig_Output.xmlns:soapenc =
"http://schemas.xmlsoap.org/soap/encoding/"
GetL2CPPortConfig_Output.xmlns:wsdl =
"http://schemas.xmlsoap.org/wsdl/"
Decoding of Request message was successful
Decoded record:
SetL2CPPortConfig_Input.l2cpPortConfiguration.enabled = true
SetL2CPPortConfig_Input.l2cpPortConfiguration.portNumber = 3
SetL2CPPortConfig_Input.l2cpPortConfiguration.discard.discardList =
'no'
SetL2CPPortConfig_Input.l2cpPortConfiguration.forward.forwardList =
'1-14'
SetL2CPPortConfig_Input.l2cpPortConfiguration.peer.peerList = '16-20'
Encoding of Response message was successful
Encoded record:
SetL2CPPortConfig_Output.l2cpPortConfigResponse = 0
SetL2CPPortConfig_Output.xmlns:ns0 = "http://new.webservice.namespace"
SetL2CPPortConfig_Output.xmlns:http =
"http://schemas.xmlsoap.org/wsdl/http/"
SetL2CPPortConfig_Output.xmlns:mime =
"http://schemas.xmlsoap.org/wsdl/mime/"
SetL2CPPortConfig_Output.xmlns:soap =
"http://schemas.xmlsoap.org/wsdl/soap/"
SetL2CPPortConfig_Output.xmlns:soapenc =
"http://schemas.xmlsoap.org/soap/encoding/"
SetL2CPPortConfig_Output.xmlns:wsdl =
"http://schemas.xmlsoap.org/wsdl/"
# show running-config interface GigabitEthernet 1/3
Building configuration...
interface GigabitEthernet 1/3
switchport hybrid allowed vlan 1
switchport hybrid acceptable-frame-type untagged
switchport hybrid ingress-filtering
switchport hybrid port-type unaware
switchport mode trunk
lldp med type end-point
qos dscp-remark rewrite
evc l2cp peer 16-20 forward 1-14
The examples shows how to retrieve current configuration on a NID.
Switch(config-controller-ProvisionL2CPPortType)#getL2CPPortConfig ?
commit
commit getL2CPPortConfig
flush
flush all getL2CPPortConfig commands from queue
l2cpPort Get current L2CP configuration request
review
review getL2CPPortConfig commands
Switch(config-controller-ProvisionL2CPPortType)#getL2CPPortConfig l2cpPort ?
<1-6> Get L2CP Port Configuration Request
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
449
Configuring L2CP
Configuring L2CP Using a UPE NID Controller
Switch(config-controller-ProvisionL2CPPortType)#$Config l2cpPort 3 ?
<cr>
Switch(config-controller-ProvisionL2CPPortType)#getL2CPPortConfig review
Commands in queue:
getL2CPPortConfig l2cpPort 3
Switch(config-controller-ProvisionL2CPPortType)#
Switch(config-controller-ProvisionL2CPPortType)#getL2CPPortConfig commit
GetL2CPPortConfig_Output.l2cpPortConfiguration.enabled = true
GetL2CPPortConfig_Output.l2cpPortConfiguration.portNumber = 3
GetL2CPPortConfig_Output.l2cpPortConfiguration.discard.discardList = 'no'
GetL2CPPortConfig_Output.l2cpPortConfiguration.forward.forwardList = '1-14'
GetL2CPPortConfig_Output.l2cpPortConfiguration.peer.peerList = '16-20'
GetL2CPPortConfig Commit Success!!!
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
450
Configuring L2CP
Configuring L2CP Using a UPE NID Controller
The examples shows how to remove specific configuration CLI from a CPE NID controller.
Switch(config)#controller nid 1/1
Switch(config-controller)#
Switch(config-controller)#ProvisionL2CPPortType ?
<cr>
Switch(config-controller-ProvisionL2CPPortType)#?
ProvisionL2CPPortType sub-mode commands:
default
Set a command to its defaults
exit
Exit from ProvisionL2CPPortType sub configuration mode
getL2CPPortConfig Get current L2CP configuration request
no
Negate a command or set its defaults
setL2CPPortConfig Configure L2CP forward on EVCs on this port
Switch(config-controller-ProvisionL2CPPortType)#setL2CPPortConfig ?
commit
commit setL2CPPortConfig
flush
flush all setL2CPPortConfig commands from queue
l2cpPortConfiguration Configure L2CP forward on EVCs on this port
review
review setL2CPPortConfig commands
Switch(config-controller-ProvisionL2CPPortType)#setL2CPPortConfig review
Commands in queue:
setL2CPPortConfig l2cpPortConfiguration portNumber 3
setL2CPPortConfig l2cpPortConfiguration enabled enable
setL2CPPortConfig l2cpPortConfiguration forward forwardList 1-14
setL2CPPortConfig l2cpPortConfiguration peer peerList 16-20
Switch(config-controller-ProvisionL2CPPortType)#no setL2CPPortConfig l2cpPor$
Switch(config-controller-ProvisionL2CPPortType)#$n forward forwardList 1-14
Switch(config-controller-ProvisionL2CPPortType)#setL2CPPortConfig review
Commands in queue:
setL2CPPortConfig l2cpPortConfiguration portNumber 3
setL2CPPortConfig l2cpPortConfiguration enabled enable
setL2CPPortConfig l2cpPortConfiguration peer peerList 16-20
Switch(config-controller-ProvisionL2CPPortType)#setL2CPPortConfig review
Commands in queue:
setL2CPPortConfig l2cpPortConfiguration portNumber 3
setL2CPPortConfig l2cpPortConfiguration enabled enable
setL2CPPortConfig l2cpPortConfiguration peer peerList 16-20
Switch(config-controller-ProvisionL2CPPortType)#setL2CPPortConfig commit
SetL2CPPortConfig Commit Success!!!
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
451
Configuring L2CP
Configuring L2CP Using a UPE NID Controller
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
452
CHAPTER
20
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
453
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Step 3
ProvisionMacTableSecurityType
Example:
Switch(config-controller)# ProvisionMacTableSecurityType
Step 4
Switch(config-controller-ProvisionMacTableSecurityType)#
portSecurityGlobalConfig portSecurityGlobalConfigReq
agingTime time 60
Switch(config-controller-ProvisionMacTableSecurityType)#
portSecurityGlobalConfig portSecurityGlobalConfigReq
mode enable
Step 5
portSecurityGlobalConfig review
Example:
Switch(config-controller-ProvisionMacTableSecurityType)#
portSecurityGlobalConfig review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
454
Step 6
Command or Action
Purpose
portSecurityGlobalConfig commit
Example:
Switch(config-controller-ProvisionMacTableSecurityType)#
portSecurityGlobalConfig commit
Step 7
Example:
Switch(config-controller-ProvisionMacTableSecurityType)#
portSecurityInterfaceConfig
portSecurityInterfaceConfigReq interface_id 2
Switch(config-controller-ProvisionMacTableSecurityType)#
portSecurityInterfaceConfig
portSecurityInterfaceConfigReq port_security mode enable
Switch(config-controller-ProvisionMacTableSecurityType)#
portSecurityInterfaceConfig
portSecurityInterfaceConfigReq interface_id 2
Switch(config-controller-ProvisionMacTableSecurityType)#
portSecurityInterfaceConfig
portSecurityInterfaceConfigReq port_security mac_limit
maximum 100
Switch(config-controller-ProvisionMacTableSecurityType)#
portSecurityInterfaceConfig
portSecurityInterfaceConfigReq interface_id 2
Switch(config-controller-ProvisionMacTableSecurityType)#
portSecurityInterfaceConfig
portSecurityInterfaceConfigReq port_security violation
shutdown
Step 8
portSecurityInterfaceConfig review
Example:
Switch(config-controller-ProvisionMacTableSecurityType)#
portSecurityInterfaceConfig review
Step 9
portSecurityInterfaceConfig commit
Example:
Switch(config-controller-ProvisionMacTableSecurityType)#
portSecurityInterfaceConfig commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
455
Step 10
Command or Action
Purpose
exit
Example:
Switch(config-controller-ProvisionMacTableSecurityType)#
exit
Configuration Example
The example shows how to configure port security:
Switch(config-controller-ProvisionMacTableSecurityType)#
portSecurityGlobalConfigReq agingTime time 60
Switch(config-controller-ProvisionMacTableSecurityType)#
portSecurityGlobalConfigReq mode enable
Switch(config-controller-ProvisionMacTableSecurityType)#
Switch(config-controller-ProvisionMacTableSecurityType)#
portSecurityGlobalConfig
portSecurityGlobalConfig
portSecurityGlobalConfig review
portSecurityGlobalConfig commit
Switch(config-controller-ProvisionMacTableSecurityType)# portSecurityInterfaceConfig
portSecurityInterfaceConfigReq interface_id 2
Switch(config-controller-ProvisionMacTableSecurityType)# portSecurityInterfaceConfig
portSecurityInterfaceConfigReq port_security mode enable
Switch(config-controller-ProvisionMacTableSecurityType)# portSecurityInterfaceConfig
portSecurityInterfaceConfigReq interface_id 2
Switch(config-controller-ProvisionMacTableSecurityType)# portSecurityInterfaceConfig
portSecurityInterfaceConfigReq port_security mac_limit maximum 100
Switch(config-controller-ProvisionMacTableSecurityType)# portSecurityInterfaceConfig
portSecurityInterfaceConfigReq interface_id 2
Switch(config-controller-ProvisionMacTableSecurityType)# portSecurityInterfaceConfig
portSecurityInterfaceConfigReq port_security violation shutdown
Switch(config-controller-ProvisionMacTableSecurityType)# portSecurityInterfaceConfig review
Switch(config-controller-ProvisionMacTableSecurityType)# portSecurityInterfaceConfig commit
Switch(config-controller-ProvisionMacTableSecurityType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
456
Step 3
Command or Action
Purpose
ProvisionMacTableSecurityType
Example:
Switch(config-controller)# ProvisionMacTableSecurityType
Step 4
Switch(config-controller-ProvisionMacTableSecurityType)#
setMacGlobalConfig setMacGlobalConfigReq macAgingTime
setAgingTime 100
Step 5
setMacGlobalConfig review
Example:
Switch(config-controller-ProvisionMacTableSecurityType)#
setMacGlobalConfig review
Step 6
setMacGlobalConfig commit
Example:
Switch(config-controller-ProvisionMacTableSecurityType)#
setMacGlobalConfig commit
Step 7
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
457
Step 8
Command or Action
Purpose
setMacInterfaceConfig review
Example:
Switch(config-controller-ProvisionMacTableSecurityType)#
setMacInterfaceConfig review
Step 9
setMacInterfaceConfig commit
Example:
Switch(config-controller-ProvisionMacTableSecurityType)#
setMacInterfaceConfig commit
Step 10
exit
Example:
Switch(config-controller-ProvisionMacTableSecurityType)#
exit
Configuration Example
The example shows how to configure MAC table learning:
Switch(config-controller-ProvisionMacTableSecurityType)# setMacGlobalConfig
setMacGlobalConfigReq macAgingTime setAgingTime 100
Switch(config-controller-ProvisionMacTableSecurityType)# setMacGlobalConfig review
Switch(config-controller-ProvisionMacTableSecurityType)# setMacGlobalConfig commit
Switch(config-controller-ProvisionMacTableSecurityType)#
setMacInterfaceConfigReq interface_id 3
Switch(config-controller-ProvisionMacTableSecurityType)#
setMacInterfaceConfigReq mode learning enable
Switch(config-controller-ProvisionMacTableSecurityType)#
Switch(config-controller-ProvisionMacTableSecurityType)#
setMacInterfaceConfig
setMacInterfaceConfig
setMacInterfaceConfig review
setMacInterfaceConfig commit
Switch(config-controller-ProvisionMacTableSecurityType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
458
Step 3
Command or Action
Purpose
ProvisionMacTableSecurityType
Example:
Switch(config-controller)# ProvisionMacTableSecurityType
Step 4
Example:
Switch(config-controller-ProvisionMacTableSecurityType)#
clearMacTable clearMacTableReq clearAll
Step 5
clearMacTable review
Example:
Switch(config-controller-ProvisionMacTableSecurityType)#
clearMacTable review
Step 6
clearMacTable commit
Example:
Switch(config-controller-ProvisionMacTableSecurityType)#
clearMacTable commit
Step 7
exit
Example:
Switch(config-controller-ProvisionMacTableSecurityType)#
exit
Configuration Example
The example shows how to configure port security:
Switch(config-controller-ProvisionMacTableSecurityType)#
clearAll
Switch(config-controller-ProvisionMacTableSecurityType)#
Switch(config-controller-ProvisionMacTableSecurityType)#
Switch(config-controller-ProvisionMacTableSecurityType)#
clearMacTable clearMacTableReq
clearMacTable review
clearMacTable commit
exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
459
Commands in queue:
showMacTableLearning showMacTableLearningReq mode
Switch(config-controller-ProvisionMacTableSecurityType)# showmacTablelearning commit
Clearing Socket 4
ShowMacTableLearning_Output.showMacTableLearingResp.status[0].interface_
= 1
ShowMacTableLearning_Output.showMacTableLearingResp.status[0].mode =
'Auto'
ShowMacTableLearning_Output.showMacTableLearingResp.status[1].interface_
= 2
ShowMacTableLearning_Output.showMacTableLearingResp.status[1].mode =
'Auto'
ShowMacTableLearning_Output.showMacTableLearingResp.status[2].interface_
= 3
ShowMacTableLearning_Output.showMacTableLearingResp.status[2].mode =
'Auto'
ShowMacTableLearning_Output.showMacTableLearingResp.status[3].interface_
= 4
ShowMacTableLearning_Output.showMacTableLearingResp.status[3].mode =
'Auto'
ShowMacTableLearning_Output.showMacTableLearingResp.status[4].interface_
= 5
ShowMacTableLearning_Output.showMacTableLearingResp.status[4].mode =
'Auto'
ShowMacTableLearning_Output.showMacTableLearingResp.status[5].interface_
= 6
ShowMacTableLearning_Output.showMacTableLearingResp.status[5].mode =
'Auto'
ShowMacTableLearning Commit Success!!!
showMacTableEntriesReq all
This command displays the list of all MAC entries. The following is a sample output from the command:
Switch(config-controller-ProvisionMacTableSecurityType)# showMacTableEntries
showMacTableEntriesReq all
Switch(config-controller-ProvisionMacTableSecurityType)# showmacTableentries review
Commands in queue:
showMacTableEntries showMacTableEntriesReq all
Switch(config-controller-ProvisionMacTableSecurityType)# showmacTableentries commit
Clearing Socket 4
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[0].type
= 'Static '
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[0].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[0].mac_address
= '00:00:0c:07:ac:03'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[0].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[1].type
= 'Static '
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[1].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[1].mac_address
= '00:09:e8:74:36:c5'
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
460
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[1].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[2].type
= 'Static '
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[2].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[2].mac_address
= '00:14:1b:ec:18:00'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[2].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[3].type
= 'Static '
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[3].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[3].mac_address
= '00:19:a9:a2:9e:80'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[3].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[4].type
= 'Static '
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[4].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[4].mac_address
= '00:1c:b0:f5:b4:00'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[4].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[5].type
= 'Static '
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[5].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[5].mac_address
= '00:1c:b1:9a:00:00'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[5].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[6].type
= 'Static '
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[6].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[6].mac_address
= '00:1c:b1:f9:d0:00'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[6].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[7].type
= 'Static '
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[7].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[7].mac_address
= '00:1c:b1:fa:48:00'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[7].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[8].type
= 'Static '
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[8].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[8].mac_address
= '00:3a:99:fd:4b:1c'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[8].ports
= ' CPU'
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
461
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[9].type
= 'Static '
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[9].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[9].mac_address
= '18:9c:5d:a7:f4:1c'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[9].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[10].type
= 'Static '
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[10].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[10].mac_address
= '33:33:00:00:00:01'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[10].ports
= 'GigabitEthernet 1/1-6 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[11].type
= 'Static '
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[11].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[11].mac_address
= '33:33:00:00:00:02'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[11].ports
= 'GigabitEthernet 1/1-6 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[12].type
= 'Static '
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[12].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[12].mac_address
= '33:33:ff:fd:4b:1c'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[12].ports
= 'GigabitEthernet 1/1-6 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[13].type
= 'Static '
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[13].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[13].mac_address
= 'ff:ff:ff:ff:ff:ff'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[13].ports
= 'GigabitEthernet 1/1-6 CPU'
ShowMacTableEntries Commit Success!!!
showMacTableEntriesReq interface_id 2
This command displays the list of all MAC entries for a given interface. The following is a sample output
from the command:
Switch(config-controller-ProvisionMacTableSecurityType)# showMacTableEntries
showMacTableEntriesReq interface_id 2
Switch(config-controller-ProvisionMacTableSecurityType)# showmacTableentries review
Commands in queue:
showMacTableEntries showMacTableEntriesReq interface_id 2
Switch(config-controller-ProvisionMacTableSecurityType)# showmactableentries commit
Clearing Socket 4
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[0].type
= 'Static'
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
462
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[0].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[0].mac_address
= '33:33:00:00:00:01'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[0].ports
= 'GigabitEthernet 1/1-6 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[1].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[1].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[1].mac_address
= '33:33:00:00:00:02'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[1].ports
= 'GigabitEthernet 1/1-6 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[2].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[2].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[2].mac_address
= '33:33:ff:fd:4b:1c'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[2].ports
= 'GigabitEthernet 1/1-6 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[3].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[3].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[3].mac_address
= 'ff:ff:ff:ff:ff:ff'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[3].ports
= 'GigabitEthernet 1/1-6 CPU'
ShowMacTableEntries Commit Success!!!
showMacTableEntriesReq mac_address ff:ff:ff:ff:ff:ff
This command displays the list of all MAC entries for a given MAC address. The following is a sample
output from the command:
Switch(config-controller-ProvisionMacTableSecurityType)# showMacTableEntries
showMacTableEntriesReq mac-address ff:ff:ff:ff:ff:ff
Switch(config-controller-ProvisionMacTableSecurityType)# showmacTableentries review
Commands in queue:
showMacTableEntries showMacTableEntriesReq mac_address
ff:ff:ff:ff:ff:ff
Switch(config-controller-ProvisionMacTableSecurityType)# showmactableentries commit
Clearing Socket 4
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[0].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[0].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[0].mac_address
= 'ff:ff:ff:ff:ff:ff'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[0].ports
= 'GigabitEthernet 1/1-6 CPU'
ShowMacTableEntries Commit Success!!!
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
463
showMacTableEntriesReq static
This command displays all the static MAC entries. The following is a sample output from the command:
Switch(config-controller-ProvisionMacTableSecurityType)# showMacTableEntries
showMacTableEntriesReq static
Switch(config-controller-ProvisionMacTableSecurityType)# showmacTableentries review
Commands in queue:
showMacTableEntries showMacTableEntriesReq static
Switch(config-controller-ProvisionMacTableSecurityType)# showmactableentries commit
Clearing Socket 4
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[0].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[0].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[0].mac_address
= '00:00:0c:07:ac:03'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[0].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[1].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[1].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[1].mac_address
= '00:09:e8:74:36:c5'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[1].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[2].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[2].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[2].mac_address
= '00:14:1b:ec:18:00'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[2].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[3].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[3].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[3].mac_address
= '00:19:a9:a2:9e:80'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[3].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[4].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[4].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[4].mac_address
= '00:1c:b0:f5:b4:00'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[4].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[5].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[5].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[5].mac_address
= '00:1c:b1:9a:00:00'
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
464
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[5].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[6].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[6].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[6].mac_address
= '00:1c:b1:f9:d0:00'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[6].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[7].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[7].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[7].mac_address
= '00:1c:b1:fa:48:00'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[7].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[8].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[8].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[8].mac_address
= '00:3a:99:fd:4b:1c'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[8].ports
= ' CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[9].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[9].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[9].mac_address
= '18:9c:5d:a7:f4:1c'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[9].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[10].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[10].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[10].mac_address
= '33:33:00:00:00:01'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[10].ports
= 'GigabitEthernet 1/1-6 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[11].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[11].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[11].mac_address
= '33:33:00:00:00:02'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[11].ports
= 'GigabitEthernet 1/1-6 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[12].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[12].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[12].mac_address
= '33:33:ff:fd:4b:1c'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[12].ports
= 'GigabitEthernet 1/1-6 CPU'
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
465
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[13].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[13].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[13].mac_address
= 'ff:ff:ff:ff:ff:ff'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[13].ports
= 'GigabitEthernet 1/1-6 CPU'
ShowMacTableEntries Commit Success!!!
showMacTableEntriesReq vlan_id 1
This command displays all the MAC entries for a specified VLAN ID. The following is a sample output
from the command:
Switch(config-controller-ProvisionMacTableSecurityType)# showMacTableEntries
showMacTableEntriesReq vlan-id 1
Switch(config-controller-ProvisionMacTableSecurityType)# showmacTableentries review
Commands in queue:
showMacTableEntries showMacTableEntriesReq vlan_id 1
Switch(config-controller-ProvisionMacTableSecurityType)# showMacTableEntries commit
Clearing Socket 4
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[0].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[0].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[0].mac_address
= '00:00:0c:07:ac:03'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[0].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[1].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[1].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[1].mac_address
= '00:09:e8:74:36:c5'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[1].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[2].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[2].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[2].mac_address
= '00:14:1b:ec:18:00'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[2].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[3].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[3].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[3].mac_address
= '00:19:a9:a2:9e:80'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[3].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[4].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[4].vlan_id
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
466
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[4].mac_address
= '00:1c:b0:f5:b4:00'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[4].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[5].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[5].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[5].mac_address
= '00:1c:b1:9a:00:00'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[5].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[6].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[6].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[6].mac_address
= '00:1c:b1:f9:d0:00'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[6].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[7].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[7].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[7].mac_address
= '00:1c:b1:fa:48:00'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[7].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[8].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[8].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[8].mac_address
= '00:3a:99:fd:4b:1c'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[8].ports
= ' CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[9].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[9].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[9].mac_address
= '18:9c:5d:a7:f4:1c'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[9].ports
= 'GigabitEthernet 1/1 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[10].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[10].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[10].mac_address
= '33:33:00:00:00:01'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[10].ports
= 'GigabitEthernet 1/1-6 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[11].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[11].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[11].mac_address
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
467
= '33:33:00:00:00:02'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[11].ports
= 'GigabitEthernet 1/1-6 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[12].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[12].vlan0_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[12].mac_address
= '33:33:ff:fd:4b:1c'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[12].ports
= 'GigabitEthernet 1/1-6 CPU'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[13].type
= 'Static'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[13].vlan_id
= 1
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[13].mac_address
= 'ff:ff:ff:ff:ff:ff'
ShowMacTableEntries_Output.showMacTableEntriesResp.macEntries[13].ports
= 'GigabitEthernet 1/1-6 CPU'
ShowMacTableEntries Commit Success!!!
showMacAddressCountReq count
This command displays count of MAC addresses learnt per interface. The following is a sample output
from the command:
Switch(config-controller-ProvisionMacTableSecurityType)# showMacTableCount
showMacAddressCountReq count
Switch(config-controller-ProvisionMacTableSecurityType)# showmacTablecount review
Commands in queue:
showMacTableCount showMacAddressCountReq count
Switch(config-controller-ProvisionMacTableSecurityType)# showmacTablecount commit
Clearing Socket 4
ShowMacTableCount_Output.showMacAddressCountResp.macCount[0].Interface_id
= 1
ShowMacTableCount_Output.showMacAddressCountResp.macCount[0].count =
9
ShowMacTableCount_Output.showMacAddressCountResp.macCount[1].Interface_id
= 2
ShowMacTableCount_Output.showMacAddressCountResp.macCount[1].count =
0
ShowMacTableCount_Output.showMacAddressCountResp.macCount[2].Interface_id
= 3
ShowMacTableCount_Output.showMacAddressCountResp.macCount[2].count =
0
ShowMacTableCount_Output.showMacAddressCountResp.macCount[3].Interface_id
= 4
ShowMacTableCount_Output.showMacAddressCountResp.macCount[3].count =
0
ShowMacTableCount_Output.showMacAddressCountResp.macCount[4].Interface_id
= 5
ShowMacTableCount_Output.showMacAddressCountResp.macCount[4].count =
0
ShowMacTableCount_Output.showMacAddressCountResp.macCount[5].Interface_id
= 6
ShowMacTableCount_Output.showMacAddressCountResp.macCount[5].count =
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
468
0
ShowMacTableCount Commit Success!!!
showMacTableAgingReq agingTimeValue
This command displays the MAC aging time. The following is a sample output from the command:
Switch(config-controller-ProvisionMacTableSecurityType)# showMacTableAgingTime
showMacTableAgingReq agingTimeValue
Switch(config-controller-ProvisionMacTableSecurityType)# showmactableagingTime review
Commands in queue:
showMacTableAgingTime showMacTableAgingReq agingTimeValue
Switch(config-controller-ProvisionMacTableSecurityType)# showmactableagingTime commit
Clearing Socket 4
ShowMacTableAgingTime_Output.showMacTableAgingResp.macAgingTime = 'MAC
Age Time: 300'
ShowMacTableAgingTime Commit Success!!!
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
469
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
470
CHAPTER
21
Configuring NTP
The Network Time Protocol (NTP) synchronizes the time of day among a set of distributed time servers and
clients so that you can correlate events when you receive system logs and other time-specific events from
multiple network devices. NTP uses the User Datagram Protocol (UDP) as its transport protocol. All NTP
communications use Coordinated Universal Time (UTC).
Prerequisites for Configuring NTP, page 471
Restrictions for Configuring NTP, page 471
Information About NTP, page 471
How to Configure NTP, page 473
Verifying NTP, page 478
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
471
Configuring NTP
Network Time Protocol
An NTP network usually gets its time from an authoritative time source such as a radio clock or an atomic
clock attached to a time server. NTP then distributes this time across the network. NTP is extremely efficient;
no more than one packet per minute is necessary to synchronize two machines to the accuracy of within a
millisecond of one another.
NTP uses the concept of a stratum to describe how many NTP hops away a machine is from an authoritative
time source. A stratum 1 time server typically has an authoritative time source (such as a radio or atomic clock
or a Global Positioning System [GPS] time source) directly attached, a stratum 2 time server receives its time
via NTP from a stratum 1 time server, and so on.
NTP has two ways to avoid synchronizing to a machine whose time may not be accurate. NTP does not
synchronize to a machine that is not in turn synchronized with the NTP. NTP compares the time reported by
several machines and does not synchronize to a machine whose time is significantly different from others,
even if its stratum is lower. This strategy effectively builds a self-organizing tree of NTP servers.
Our implementation of NTP does not support stratum 1 service; that is, you cannot connect to a radio or atomic
clock (for some specific platforms, however, you can connect to a GPS time-source device). We recommend
that the time service you derive for your network from the public NTP servers that are available in the IP
Internet.
If the network is isolated from the Internet, our implementation of NTP allows a machine to be configured
so that it acts as though it is synchronized via NTP, when in fact the network has determined the time by using
other means. Other machines can then synchronize to that machine via NTP.
A number of manufacturers include NTP software for their host systems and a publicly available version for
systems running UNIX. This software also allows UNIX-derivative servers to acquire the time directly from
an atomic clock, which would subsequently propagate time information along to Cisco devices.
The communication between machines running NTP (known as associations) are usually statically configured;
each machine is given the IP address of all machines with which it should form associations. Accurate
timekeeping is made possible through exchange of NTP messages between each pair of machines with an
association.
However, in a LAN environment, NTP can be configured to use IP broadcast messages instead. This alternative
reduces configuration complexity because each machine can be configured to send or receive broadcast
messages. However, the accuracy of timekeeping is marginally reduced because the information flow is only
one way.
The time kept on a machine is a critical resource, so we strongly recommend that you use the security features
of NTP to avoid the accidental or malicious setting of incorrect time. Two security mechanisms are available:
an access-list-based restriction scheme and an encrypted authentication mechanism.
When multiple sources of time (VINES, hardware clock, manual configuration) are available, NTP is always
considered to be more authoritative. NTP time overrides the time set by any other method.
NTP services are disabled on all interfaces by default.
For more information about NTP, see the following sections:
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
472
Configuring NTP
How to Configure NTP
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Step 3
NtpPortType
Example:
Switch(config-controller)# NtpPortType
Step 4
Example:
Switch(config-controller)#-NtpPortType)# ?
NtpPortType sub-mode commands:
default
Set a command to its defaults
deleteNtpConfig delete NTP config request
exit
Exit from NtpPortType sub configuration
mode
getNtpConfig
get ntp properties request
no
Negate a command or set its defaults
setNtpConfig
Set Ntp Server Details
Step 5
exit
Example:
Switch(config-controller-NtpPortType)# exit
Configuration Example
The following example shows the supported NTP configuration:
Switch(config-controller-NtpPortType)# ?
NtpPortType sub-mode commands:
default
Set a command to its defaults
deleteNtpConfig delete NTP config request
exit
Exit from NtpPortType sub configuration mode
getNtpConfig
get ntp properties request
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
473
Configuring NTP
Configuring NTP on the Controller
no
setNtpConfig
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-NtpPortType)# setNtpConfig ?
commit
commit deleteNtpConfig
flush
flush all deleteNtpConfig commands from
queue
ntpConfig
Set Ntp Server Details
review
review deleteNtpConfig commands
Step 2
Configures NTP.
setNtpConfig ntpConfig {hostinfo {hostname host_name} |
ipv4address IPv4_address | ipv6address IPv6_address} | ntpmode
hostinfoSets the host information such as
{enable | number server_number}}
host name, IPv4 address and IPv6 address on
the controller.
Example:
Switch(config-controller-NtpPortType)# setNtpConfig
hostinfo hostname host1
Switch(config-controller-NtpPortType)# setNtpConfig
ipv4address 192.34.7.8
Switch(config-controller-NtpPortType)# setNtpConfig
ipv6address 2001:DB8:0:ABCD::1
Switch(config-controller-NtpPortType)# setNtpConfig ntpmode
enable
Switch(config-controller-NtpPortType)# setNtpConfig ntpmode
number 5
Step 3
setNtpconfig review
Example:
Switch(config-controller-NtpPortType)# setNtpconfig review
Commands in queue:
setNtpConfig ntpConfig hostInfo hostName host1
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
474
Configuring NTP
Configuring NTP with Default Configuration
Command or Action
Purpose
setNtpConfig
192.34.7.8
setNtpConfig
setNtpConfig
setNtpConfig
Step 4
setNtpconfigcommit
Example:
Switch(config-controller-NtpPortType)# setNtpconfig commit
Step 5
exit
Example:
Switch(config-controller-NtpPortType)# exit
Configuration Example
The example shows how to configure NTP on the controller:
Switch(config-controller-NtpPortType)#
Switch(config-controller-NtpPortType)#
Switch(config-controller-NtpPortType)#
Switch(config-controller-NtpPortType)#
Switch(config-controller-NtpPortType)#
Switch(config-controller-NtpPortType)#
Commands in queue:
setNtpConfig
setNtpConfig
setNtpConfig
setNtpConfig
setNtpConfig
ntpConfig
ntpConfig
ntpConfig
ntpConfig
ntpConfig
setNtpConfig
setNtpConfig
setNtpConfig
setNtpConfig
setNtpConfig
setNtpconfig
DETAILED STEPS
Command or Action
Step 1
Purpose
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
475
Configuring NTP
Viewing the NTP Configuration
Command or Action
Purpose
getNtpConfigView the configuration on the
controller.
Example:
Switch(config-controller-NtpPortType)# default ?
Step 2
exit
Example:
Switch(config-controller-NtpPortType)# exit
DETAILED STEPS
Command or Action
Step 1
Step 2
exit
Purpose
ntpStatusRequestRequest NTP configuration
properties.
commitSends the NTP configuration to NID.
flushFlushes all NTP configuration from the
queue.
reviewDisplays the configuration.
Example:
Switch(config-controller-NtpPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
476
Configuring NTP
Deleting the NTP Configuration
Configuration Example
The example shows how to view the configuration:
Switch(config-controller-NtpPortType)#
Switch(config-controller-NtpPortType)#
getNtpConfig ntpStatusRequest 1
getNtpConfig review
Commands in queue:
getNtpConfig ntpStatusRequest 1
getNtpConfig ntpStatusRequest 2
getNtpConfig ntpStatusRequest 3
Switch(config-controller-NtpPortType)#
Switch(config-controller-NtpPortType)#
getNtpConfig commmit
end
DETAILED STEPS
Command or Action
Step 1
Example:
Switch(config-controller-NtpPortType)#
deleteNtpConfig ?
commit
commit deleteNtpConfig
flush
flush all deleteNtpConfig commands
from queue
ntpDeleteConfig delete NTP config request
review
review deleteNtpConfig commands
Step 2
Example:
Switch(config-controller-NtpPortType)#
deleteNtpConfig ntpDeleteConfig ntpEnable
Switch(config-controller-NtpPortType)#
deleteNtpConfig ntpDeleteConfig ntpServer 1
Step 3
Purpose
ntpDeleteConfig review
Example:
Switch(config-controller-NtpPortType)#
deleteNtpConfig review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
477
Configuring NTP
Verifying NTP
Step 4
Command or Action
Purpose
ntpDeleteConfig commit
Example:
Switch(config-controller-NtpPortType)#
deleteNtpConfig commit
Step 5
exit
Example:
Switch(config-controller-NtpPortType)# exit
Configuration Example
The following example shows how to delete the NTP configuration:
Switch(config-controller-NtpPortType)# deleteNtpConfig ntpDeleteConfig
Switch(config-controller-NtpPortType)# deleteNtpConfig ntpDeleteConfig
Switch(config-controller-NtpPortType)# deleteNtpConfig review
Commands in queue:
deleteNtpConfig ntpDeleteConfig ntpEnable
deleteNtpConfig ntpDeleteConfig ntpServerNo 2
Switch(config-controller-NtpPortType)# deleteNtpConfig commit
DeleteNtpConfig Commit Success!!!
Switch(config-controller-NtpPortType)# deleteNtpConfig exit
ntpEnable
ntpServer 1
Verifying NTP
Use these commands to verify the NTP status on the controller.
show ntp status
This command displays the NTP status on the NID. The following is a sample output from the command:
Switch# show ntp status
NTP Mode : disabled
Idx
Server IP host address (a.b.c.d) or a host name string
-------------------------------------------------------1
2
3
4
5
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
478
CHAPTER
22
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
479
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Step 3
ProvisionStormControl
Example:
Switch(config-controller)# ProvisionStormControl
Step 4
ProvisionStormControl {getStormControlGlobal |
Displays the supported configurations for storm control.
setStormControlGlobal | showStormControl |no | exit}
getStormControlGlobalView the configuration,
see Retrieving the Storm Control Configuration, on
Example:
page 483.
Switch((config-controller)ProvisionStormControl)#
?
Step 5
exit
Example:
Switch((config-controller)ProvisionStormControl)#
exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
480
Configuration Example
The following example shows the supported storm control configuration:
Switch((config-controller)ProvisionStormControl)# ?
ProvisionStormControl sub-mode commands:
exit
Exit from ProvisionStormControl sub configuration mode
getStormControlGlobal Storm Control Global Configuration Get Request
no
Negate a command or set its defaults
setStormControlGlobal Storm Control Global Configuration Set Request
showStormControl
Display Storm Control Policer properties
DETAILED STEPS
Command or Action
Purpose
flush all
from queue
review
review setStormControlGlobal
commands
stormControlGlobalConfiguration Storm Control Global
Configuration Set
Request
Example:
Switch(config-controller-ProvisionStormControl)#
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
481
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionStormControl)#
setStormControlGlobal review
Commands in queue:
setStormControlGlobal
broadcast bc_enabled enable
setStormControlGlobal
broadcast level 64
setStormControlGlobal
broadcast mode bps
setStormControlGlobal
unicast uc_enabled enable
setStormControlGlobal
unicast level 16
setStormControlGlobal
unicast mode kbps
setStormControlGlobal
multicast mc_enabled enable
setStormControlGlobal
multicast mode bps
setStormControlGlobal
unicast level 8
stormControlGlobalConfiguration
stormControlGlobalConfiguration
stormControlGlobalConfiguration
stormControlGlobalConfiguration
stormControlGlobalConfiguration
stormControlGlobalConfiguration
stormControlGlobalConfiguration
stormControlGlobalConfiguration
stormControlGlobalConfiguration
Step 4 setStormControlGlobalcommit
Example:
Switch(config-controller-ProvisionStormControl)#
setStormControlGlobal commit
Step 5 exit
Example:
Switch((config-controller)ProvisionStormControl)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
482
Configuration Example
The example shows how to configure storm control on the controller:
Switch(config-controller-ProvisionStormControl)#
setStormControlGlobal
setStormControlGlobal
Commands in queue:
setStormControlGlobal
setStormControlGlobal
setStormControlGlobal
setStormControlGlobal
setStormControlGlobal
setStormControlGlobal
setStormControlGlobal
setStormControlGlobal
setStormControlGlobal
stormControlGlobalConfiguration
stormControlGlobalConfiguration
stormControlGlobalConfiguration
stormControlGlobalConfiguration
stormControlGlobalConfiguration
stormControlGlobalConfiguration
stormControlGlobalConfiguration
stormControlGlobalConfiguration
stormControlGlobalConfiguration
Switch(config-controller-ProvisionStormControl)# setStormControlGlobal
SetStormControlGlobal Commit Success!!!
Switch(config-controller-ProvisionStormControl)#end
commit
DETAILED STEPS
Command or Action
Purpose
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
483
Command or Action
Purpose
commitSends the storm control
configuration to NID.
Example:
Switch(config-controller-ProvisionStormControl)#getStormControlGlobal
getStormControlGlobalRequest
Switch(config-controller-ProvisionStormControl)#getStormControlGlobal
review
Switch(config-controller-ProvisionStormControl)#getStormControlGlobal
commit
Step 2 exit
Example:
Switch((config-controller)ProvisionStormControl)# exit
Configuration Example
The example shows how to retrieve the configuration on the ME1200:
Switch(config-controller-ProvisionStormControl)#getStormControlGlobal
getStormControlGlobalRequest
Switch(config-controller-ProvisionStormControl)#getStormControlGlobal review
Commands in queue:
getStormControlGlobal getStormControlGlobalRequest
getStormControlGlobal getStormControlGlobalRequest
Switch(config-controller-ProvisionStormControl)# getStormControlGlobal commmit
Switch(config-controller-ProvisionStormControl)# end
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionStormControl)#showStormControl
showStormControlReq
Switch(config-controller-ProvisionStormControl)#showStormControl
review
Switch(config-controller-ProvisionStormControl)#showStormControl
commit
showStormControlReqDisplays
storm control policer properties.
commitSends the show storm control
configuration to NID.
flushFlushes all show storm control
configuration from the queue.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
484
Command or Action
Purpose
reviewDisplays the show storm
configuration.
Step 2
exit
Example:
Switch((config-controller)ProvisionStormControl)# exit
Configuration Example
The example shows how to view the configuration:
Switch(config-controller-ProvisionStormControl)#showStormControl showStormControlReq
Switch(config-controller-ProvisionStormControl)#showStormControl review
Commands in queue:
showStormControl showStormControlReq
Switch(config-controller-ProvisionStormControl)#showStormControl commit
ShowStormControl_Output.stormControlGlobalConfiguration.broadcast.bc_enabled = true
ShowStormControl_Output.stormControlGlobalConfiguration.broadcast.level = 1024000
ShowStormControl_Output.stormControlGlobalConfiguration.broadcast.mode.t = 2
ShowStormControl_Output.stormControlGlobalConfiguration.broadcast.mode.u.kbps = 'kbps'
ShowStormControl_Output.stormControlGlobalConfiguration.multicast.mc_enabled = true
ShowStormControl_Output.stormControlGlobalConfiguration.multicast.level = 512000
ShowStormControl_Output.stormControlGlobalConfiguration.multicast.mode.t = 2
ShowStormControl_Output.stormControlGlobalConfiguration.multicast.mode.u.kbps = 'kbps'
ShowStormControl_Output.stormControlGlobalConfiguration.unicast.uc_enabled = true
ShowStormControl_Output.stormControlGlobalConfiguration.unicast.level = 1000
ShowStormControl_Output.stormControlGlobalConfiguration.unicast.mode.t = 2
ShowStormControl_Output.stormControlGlobalConfiguration.unicast.mode.u.kbps = 'kbps'
ShowStormControl Commit Success!!!
Switch(config-controller-ProvisionStormControl)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
485
DETAILED STEPS
Step 1
Command or Action
Purpose
no {getStormControlGlobal | setStormControlGlobal |
showStormControl | exit}
Example:
Switch(config-controller-ProvisionStormControl)# no ?
exit
Exit from ProvisionStormControl
sub configuration mode
getStormControlGlobal Storm Control Global
Configuration Get Request
setStormControlGlobal Storm Control Global
Configuration Set Request
showStormControl
Display Storm Control Policer
properties
getStormControlGlobalView the
configuration.
setStormControlGlobalSets the
configuration.
showStormControlDisplays the
configuration.
exitExits from ProvisionStormControl mode.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
486
Step 2
Command or Action
Purpose
exit
Example:
Switch((config-controller)ProvisionStormControl)# exit
Configuration Example
The following example is a sample output for negation:
Switch(config-controller-ProvisionStormControl)#showStormControl review
Commands in queue:
showStormControl showStormControlReq
Switch(config-controller-ProvisionStormControl)#no showStormControl showStormControlReq
Switch(config-controller-ProvisionStormControl)#showStormControl review
No commands in queue
Switch(config-controller-ProvisionStormControl)#setStormControlGlobal review
Commands in queue:
setStormControlGlobal stormControlGlobalConfiguration broadcast bc_enabled enable
setStormControlGlobal stormControlGlobalConfiguration broadcast level 64
setStormControlGlobal stormControlGlobalConfiguration broadcast level 128
Switch(config-controller-ProvisionStormControl)#no setStormControlGlobal
stormControlGlobalConfiguration broadcast level 64
Switch(config-controller-ProvisionStormControl)#stormControlGlobal review
Commands in queue:
setStormControlGlobal stormControlGlobalConfiguration broadcast bc_enabled enable
setStormControlGlobal stormControlGlobalConfiguration broadcast level 128
DETAILED STEPS
Command or Action
Step 1
Purpose
deleteNtpConfig {commit | flush | ntpDeleteConfig | review} Removes the storm control configuration.
commitSends the NTP configuration to NID.
Example:
Switch(config-controller-NtpPortType)#
deleteNtpConfig ?
commit
commit deleteNtpConfig
flush
flush all deleteNtpConfig commands
from queue
ntpDeleteConfig delete NTP config request
review
review deleteNtpConfig commands
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
487
Command or Action
Step 2
Step 3
exit
Purpose
ntpEnableDisables the NTP configuration.
ntpServerNoDisables the NTP server.
server_numSpecifies the NTP server. The valid
range is from 1 to 5.
Example:
Switch(config-controller-NtpPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
488
CHAPTER
23
Configuring Syslog
This document describes the Syslog feature and configuration steps to implement Syslog.
Prerequisites for Configuring Syslog, page 489
Information About Syslog, page 489
Enabling Syslog, page 490
Clearing Syslog, page 491
Verifying Syslog, page 493
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
489
Configuring Syslog
Enabling Syslog
Enabling Syslog
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Step 3
sysLog
Example:
Switch(config-controller)# sysLog
Step 4
Step 5
setSyslogProperties review
Example:
Switch(config-controller-sysLog)#
setSyslogProperties review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
490
Configuring Syslog
Clearing Syslog
Step 6
Command or Action
Purpose
setSyslogProperties commit
Example:
Switch(config-controller-sysLog)#
setSyslogProperties commit
Step 7
exit
Example:
Switch(config-controller-sysLog)# exit
Configuration Example
The example shows how to enable syslog:
Switch(config-controller-sysLog)#
Switch(config-controller-sysLog)#
Switch(config-controller-sysLog)#
Switch(config-controller-sysLog)#
10.78.101.221
setSyslogProperties
setSyslogProperties
setSyslogProperties
setSyslogProperties
Clearing Syslog
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Step 3
sysLog
Example:
Switch(config-controller)# sysLog
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
491
Configuring Syslog
Clearing Syslog
Command or Action
Purpose
errorSpecifies level error.
Example:
Switch(config-controller-sysLog)# clearSysLog
clearLogLevelConf info enable
Step 5
clearSysLog review
Example:
Switch(config-controller-sysLog)# clearSysLog
review
Step 6
clearSysLog commit
Example:
Switch(config-controller-sysLog)# clearSysLog
commit
Step 7
Example:
Switch(config-controller-sysLog)# clearSysLog
clearLogLevelConf error enable
Step 8
clearSysLog review
Example:
Switch(config-controller-sysLog)# clearSysLog
review
Step 9
clearSysLog commit
Example:
Switch(config-controller-sysLog)# clearSysLog
commit
Step 10
Example:
Switch(config-controller-sysLog)# clearSysLog
clearLogLevelConf warning enable
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
492
Configuring Syslog
Verifying Syslog
Command or Action
Purpose
enableEnables the clearing of log information.
disableDisables the clearing of log information.
Step 11
clearSysLog review
Example:
Switch(config-controller-sysLog)# clearSysLog
review
Step 12
clearSysLog commit
Example:
Switch(config-controller-sysLog)# clearSysLog
commit
Step 13
exit
Example:
Switch(config-controller-sysLog)# exit
Configuration Example
The example shows how to clear syslog:
Switch(config-controller-sysLog)#
Switch(config-controller-sysLog)#
Switch(config-controller-sysLog)#
Switch(config-controller-sysLog)#
Switch(config-controller-sysLog)#
Switch(config-controller-sysLog)#
Switch(config-controller-sysLog)#
Switch(config-controller-sysLog)#
Switch(config-controller-sysLog)#
Switch(config-controller-sysLog)#
clearSysLog
clearSysLog
clearSysLog
clearSysLog
clearSysLog
clearSysLog
clearSysLog
clearSysLog
clearSysLog
exit
clearLogLevelConf info
review
commit
clearLogLevelConf error
review
commit
clearLogLevelConf warning
review
commit
Verifying Syslog
Use the following command to verify the syslog status on the controller.
showLogLevelConf
This command displays the syslog configuration status on the NID. The following is a sample output
from the command:
Switch(config-controller-sysLog)# showSysLog showLogLevelConf
Switch(config-controller-sysLog)# showSysLog review
Commands in queue:
showSysLog showLogLevelConf
Switch(config-controller-sysLog)# showSysLog commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
493
Configuring Syslog
Verifying Syslog
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
494
CHAPTER
24
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
495
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
debugShell
Example:
Switch(config-controller)# debugShell
Configuration Example
The example shows how to configure an UPE NID Controller to Directly Access a Cisco ME 1200 NID:
Switch(config-controller)# debugShell
What to Do Next
Log on to the Cisco ME 1200 NID.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
496
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
NID-1# ?
apply
clear
configure
copy
delete
diagnostic
dir
disable
do
dot1x
enable
erps
exit
firmware
help
ip
link-oam
logout
more
no
ping
platform
ptp
reload
rfc2544
send
show
terminal
Step 2
exit
Reset functions
Enter configuration mode
Copy from source to destination
Delete one file in flash: file system
diagnostic mode
Directory of all files in flash: file system
Turn off privileged commands
To run exec commands in config mode
IEEE Standard for port-based Network Access Control
Turn on privileged commands
Ethernet Ring Protection Switching
Exit from EXEC mode
Firmware upgrade/swap
Description of the interactive help system
IPv4 commands
Link OAM configuration
Exit from EXEC mode
Display file
Negate a command or set its defaults
Send ICMP echo messages
Platform configuration
Misc non persistent 1588 settings
Reload system.
RFC2544 perfomance tests
Send a message to other tty lines
Show running system information
Set terminal line parameters
Exits the Cisco ME 1200
NID interface.
Example:
NID-1# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
497
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
498
CHAPTER
25
Configuring SPAN
This document describes the Switched Port Analyzer (SPAN) feature and configuration steps to implement
SPAN.
Prerequisites for Configuring SPAN, page 499
Restrictions for Configuring SPAN, page 499
Information About SPAN, page 500
How to Provision SPAN, page 500
Verifying Diagnostics POST, page 509
Additional References, page 510
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
499
Configuring SPAN
Information About SPAN
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
500
Configuring SPAN
Configuring SPAN Source Interface
Step 3
Command or Action
Purpose
span
Example:
Switch(config-controller)# span
Step 4
Example:
Switch(config-controller-SPAN)# setSpanGlobalConf
setSpanGlobalConfReq enable
Step 5
setSpanGlobalConf review
Example:
Switch(config-controller-SPAN)# setSpanGlobalConf
review
Step 6
setSpanGlobalConf commit
Example:
Switch(config-controller-SPAN)# setSpanGlobalConf
commit
Step 7
exit
Example:
Switch(config-controller-SPAN)# exit
Configuration Example
The example shows how to enable SPAN globally:
Switch(config)# controller nid 1/1
Switch(config-controller)# span
Switch(config-controller-SPAN)# setSpanGlobalConf setSpanGlobalConfReq enable
Switch(config-controller-SPAN)# setSpanGlobalConf review
Switch(config-controller-SPAN)# setSpanGlobalConf commit
Switch(config-controller-SPAN)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
501
Configuring SPAN
Configuring SPAN Source Interface
DETAILED STEPS
Command or Action
Step 1
Purpose
Step 2
setSpanSrcConfRequest {source {cpu {rx | tx | Configures SPAN source traffic type as both, receive and transmit.
both} | {vlan vlan_list} | interface {intf_range |
sourceMirrors source interface or VLAN.
traffic-type {rx | tx | both}}
cpuMirrors source CPU.
Example:
Switch(config-controller-SPAN)#
setSpanSrcConf commitsetSpanSrcConf
setSpanSrcConfRequest source interface
traffic-type both
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
502
Configuring SPAN
Configuring SPAN Source CPU
Step 3
Command or Action
Purpose
setSpanSrcConf review
Example:
Switch(config-controller-SPAN)#
setSpanSrcConf review
Step 4
setSpanGlobalConf commit
Example:
Switch(config-controller-SPAN)#
setSpanSrcConf commit
Step 5
exit
Example:
Switch(config-controller-SPAN)# exit
Configuration Example
The example shows how to configure SPAN on an interface range:
Switch(config)# controller nid 1/1
Switch(config-controller)# span
Switch(config-controller-SPAN)# setSpanGlobalConf setSpanGlobalConfReq enable
Switch(config-controller-SPAN)# setSpanGlobalConf review
Switch(config-controller-SPAN)# setSpanGlobalConf commit
Switch(config-controller-SPAN)# exit
Switch(config-controller-SPAN)# setSpanSrcConf commitsetSpanSrcConf setSpanSrcConfRequest
source interface intf_range 1-2
Switch(config-controller-SPAN)# setSpanSrcConf commitsetSpanSrcConf setSpanSrcConfRequest
source interface traffic-type both
Switch(config-controller-SPAN)# setSpanSrcConf review
Switch(config-controller-SPAN)# setSpanSrcConf commit
Switch(config-controller-SPAN)# exit
DETAILED STEPS
Step 1
Command or Action
Purpose
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
503
Configuring SPAN
Configuring SPAN Source CPU
Command or Action
Purpose
cpuMirrors source CPU.
Example:
Switch(config-controller-SPAN)#
setSpanSrcConf setSpanSrcConfRequest source
cpu both
Step 2
setSpanSrcConf review
Example:
Switch(config-controller-SPAN)#
setSpanSrcConf review
Step 3
setSpanGlobalConf commit
Example:
Switch(config-controller-SPAN)#
setSpanSrcConf commit
Step 4
exit
Example:
Switch(config-controller-SPAN)# exit
Configuration Example
The example shows how to configure SPAN on an interface range:
Switch(config)# controller nid 1/1
Switch(config-controller)# span
Switch(config-controller-SPAN)# setSpanGlobalConf setSpanGlobalConfReq enable
Switch(config-controller-SPAN)# setSpanGlobalConf review
Switch(config-controller-SPAN)# setSpanGlobalConf commit
Switch(config-controller-SPAN)# exit
Switch(config-controller-SPAN)# setSpanSrcConf setSpanSrcConfRequest source cpu both
Switch(config-controller-SPAN)# setSpanSrcConf review
Switch(config-controller-SPAN)# setSpanSrcConf commit
Switch(config-controller-SPAN)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
504
Configuring SPAN
Configuring SPAN Source VLAN
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-SPAN)#
setSpanSrcConf setSpanSrcConfRequest source
vlan vlan_list 100
Step 2
setSpanSrcConf review
Example:
Switch(config-controller-SPAN)#
setSpanSrcConf review
Step 3
setSpanGlobalConf commit
Example:
Switch(config-controller-SPAN)#
setSpanSrcConf commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
505
Configuring SPAN
Configuring SPAN Destination
Step 4
Command or Action
Purpose
exit
Example:
Switch(config-controller-SPAN)# exit
Configuration Example
The example shows how to configure SPAN on an interface range:
Switch(config)# controller nid 1/1
Switch(config-controller)# span
Switch(config-controller-SPAN)# setSpanGlobalConf setSpanGlobalConfReq enable
Switch(config-controller-SPAN)# setSpanGlobalConf review
Switch(config-controller-SPAN)# setSpanGlobalConf commit
Switch(config-controller-SPAN)# exit
Switch(config-controller-SPAN)# setSpanSrcConf setSpanSrcConfRequest source vlan
vlan_list 100
Switch(config-controller-SPAN)# setSpanSrcConf review
Switch(config-controller-SPAN)# setSpanSrcConf commit
Switch(config-controller-SPAN)# exit
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-SPAN)# setSpanDestConf
setSpanDestConfRequest destination intf_id 4
Step 2
setSpanDestConf review
Example:
Switch(config-controller-SPAN)# setSpanDestConf review
Step 3
setSpanDestConf commit
Example:
Switch(config-controller-SPAN)# setSpanDestConf commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
506
Configuring SPAN
Deleting SPAN Source Configuration
Step 4
Command or Action
Purpose
exit
Example:
Switch(config-controller-SPAN)# exit
Configuration Example
The example shows how to configure SPAN destination:
Switch(config)# controller nid 1/1
Switch(config-controller)# span
Switch(config-controller-SPAN)# setSpanGlobalConf setSpanGlobalConfReq enable
Switch(config-controller-SPAN)# setSpanGlobalConf review
Switch(config-controller-SPAN)# setSpanGlobalConf commit
Switch(config-controller-SPAN)# exit
Switch(config-controller-SPAN)# setSpanDestConf setSpanDestConfRequest destination
intf_id 4
Switch(config-controller-SPAN)# setSpanDestConf review
Switch(config-controller-SPAN)# setSpanDestConf commit
Switch(config-controller-SPAN)# exit
DETAILED STEPS
Command or Action
Step 1
Purpose
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
507
Configuring SPAN
Deleting SPAN Destination Configuration
Command or Action
Purpose
traffic-typeRemoves mirror of traffic type.
rxRemoves mirror of received traffic.
txRemoves mirror of transmitted traffic.
bothRemoves mirror of received and transmitted traffic.
Step 2
delSpanSrcConf review
Example:
Switch(config-controller-SPAN)#
delSpanSrcConf review
Step 3
delSpanSrcConf commit
Example:
Switch(config-controller-SPAN)#
delSpanSrcConf commit
Step 4
exit
Example:
Switch(config-controller-SPAN)# exit
Configuration Example
The example shows how to configure SPAN on an interface range:
Switch(config)# controller nid 1/1
Switch(config-controller)# span
Switch(config-controller-SPAN)# setSpanGlobalConf setSpanGlobalConfReq enable
Switch(config-controller-SPAN)# setSpanGlobalConf review
Switch(config-controller-SPAN)# setSpanGlobalConf commit
Switch(config-controller-SPAN)# exit
Switch(config-controller-SPAN)# delSpanSrcConf delSpanSrcConfRequest source cpu rx
Switch(config-controller-SPAN)# delSpanSrcConf review
Switch(config-controller-SPAN)# delSpanSrcConf commit
Switch(config-controller-SPAN)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
508
Configuring SPAN
Verifying Diagnostics POST
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-SPAN)# delSpanDstConf
delSpanDstConfRequest detination intf_id 4
Step 2
delSpanDstConf review
Example:
Switch(config-controller-SPAN)# delSpanDstConf review
Step 3
delSpanDstConf commit
Example:
Switch(config-controller-SPAN)# delSpanDstConf commit
Step 4
exit
Example:
Switch(config-controller-SPAN)# exit
Configuration Example
The example shows how to configure SPAN destination:
Switch(config)# controller nid 1/1
Switch(config-controller)# span
Switch(config-controller-SPAN)# setSpanGlobalConf setSpanGlobalConfReq enable
Switch(config-controller-SPAN)# setSpanGlobalConf review
Switch(config-controller-SPAN)# setSpanGlobalConf commit
Switch(config-controller-SPAN)# exit
Switch(config-controller-SPAN)# delSpanDstConf delSpanDstConfRequest detination intf_id
4
Switch(config-controller-SPAN)# delSpanDstConf review
Switch(config-controller-SPAN)# delSpanDstConf commit
Switch(config-controller-SPAN)# exit
showDiagResults showDiagTestResults
showDiagResults review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
509
Configuring SPAN
Additional References
Commands in queue:
showDiagResults showDiagTestResults
Switch(config-controller-Diagnostics)#
showDiagResults commit
ShowDiagResults_Output.diagTestResults.testresult[0]
Loopback Test =>'
ShowDiagResults_Output.diagTestResults.testresult[1]
ShowDiagResults_Output.diagTestResults.testresult[2]
Reference Source Clock Test =>'
ShowDiagResults_Output.diagTestResults.testresult[3]
ShowDiagResults_Output.diagTestResults.testresult[4]
Test =>'
ShowDiagResults_Output.diagTestResults.testresult[5]
ShowDiagResults Commit Success!!!
= 'External Port
= 'Passed'
= 'Sync-E
= 'Passed'
= 'PTP One PPS
= 'Passed'
Additional References
Related Documents
Related Topic
Document Title
MIBs
MIB
MIBs Link
To locate and download MIBs for selected platforms, Cisco IOS releases,
and feature sets, use Cisco MIB Locator found at the following URL:
http://www.cisco.com/go/mibs
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
510
Configuring SPAN
Additional References
Technical Assistance
Description
Link
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
511
Configuring SPAN
Additional References
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
512
CHAPTER
26
Configuring RSPAN
This document describes the Remote Switched Port Analyzer (RSPAN) feature and configuration steps to
implement RSPAN.
Prerequisites for Configuring RSPAN, page 513
Restrictions for Configuring RSPAN, page 513
Information About RSPAN, page 514
How to Provision RSPAN, page 514
Verifying RSPAN, page 521
Additional References, page 522
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
513
Configuring RSPAN
Information About RSPAN
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Step 3
span
Example:
Switch(config-controller)# span
Step 4
Example:
Switch(config-controller-SPAN)# setSpanGlobalConf
setSpanGlobalConfReq enable
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
514
Configuring RSPAN
Configuring SPAN Source Interface on NID-1
Command or Action
Purpose
disbaleDisables SPAN globally.
Step 5
setSpanGlobalConf review
Example:
Switch(config-controller-SPAN)# setSpanGlobalConf
review
Step 6
setSpanGlobalConf commit
Example:
Switch(config-controller-SPAN)# setSpanGlobalConf
commit
Step 7
exit
Example:
Switch(config-controller-SPAN)# exit
Configuration Example
The example shows how to enable SPAN globally:
Switch(config)# controller nid 1/1
Switch(config-controller)# span
Switch(config-controller-SPAN)# setSpanGlobalConf setSpanGlobalConfReq enable
Switch(config-controller-SPAN)# setSpanGlobalConf review
Switch(config-controller-SPAN)# setSpanGlobalConf commit
Switch(config-controller-SPAN)# exit
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-SPAN)# setSpanSrcConf
commitsetSpanSrcConf setSpanSrcConfRequest
source interface intf_range 1/4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
515
Configuring RSPAN
Configuring Destination VLAN on NID-1
Command or Action
Purpose
bothMirrors received and transmitted traffic.
vlanMirrors source VLAN.
vlan_listMirrors source VLAN.
interface Mirrors source interface and traffic type.
intf_rangeMirrors an interface number or a range from
1 to 6.
traffic-typeMirrors traffic type.
rxMirrors received traffic.
txMirrors transmitted traffic.
bothMirrors received and transmitted traffic.
Step 2
setSpanSrcConf review
Example:
Switch(config-controller-SPAN)# setSpanSrcConf
review
Step 3
setSpanGlobalConf commit
Example:
Switch(config-controller-SPAN)# setSpanSrcConf
commit
Step 4
exit
Example:
Switch(config-controller-SPAN)# exit
Configuration Example
The example shows how to configure SPAN source on NID-1:
Switch(config-controller-SPAN)# setSpanSrcConf commitsetSpanSrcConf setSpanSrcConfRequest
source interface intf_range 1/4
Switch(config-controller-SPAN)# setSpanSrcConf review
Switch(config-controller-SPAN)# setSpanSrcConf commit
Switch(config-controller-SPAN)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
516
Configuring RSPAN
Configuring Source VLAN on NID-2
DETAILED STEPS
Command or Action
Step 1
Example:
Switch(config-controller-SPAN)# setrSpandestConf
setRSpanDestConfRequest 500 vlan_id 500
Step 2
Purpose
setrSpandestConf review
Example:
Switch(config-controller-SPAN)# setrSpandestConf
review
Step 3
setrSpandestConf commit
Example:
Switch(config-controller-SPAN)# setrSpandestConf
commit
Step 4
exit
Example:
Switch(config-controller-SPAN)# exit
Configuration Example
The example shows how to configure destination VLAN on NID-1:
Switch(SPAN)# exit Switch(config-controller-SPAN)# setrSpandestConf
setRSpanDestConfRequest remote vlan_id 500
Switch(config-controller-SPAN)# setrSpandestConf review
Switch(config-controller-SPAN)# setrSpandestConf commit
Switch(config-controller-SPAN)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
517
Configuring RSPAN
Configuring Source VLAN on NID-2
Step 2
Command or Action
Purpose
Example:
Switch(config)# controller nid 1/2
Step 3
span
Example:
Switch(config-controller)# span
Step 4
Example:
Switch((config-controller)SPAN)# setrSpansrcConf
setRSpanSrcConfRequest remote vlan_id 500
Step 5
setrSpansrcConf review
Example:
Switch((config-controller)SPAN)# setrSpansrcConf
review
Step 6
setrSpansrcConf commit
Example:
Switch((config-controller)SPAN)# setrSpansrcConf
commit
Step 7
exit
Example:
Switch((config-controller)SPAN)# exit
Configuration Example
The example shows how to configure source VLAN on NID-2:
Switch(config)# controller nid 1/2
Switch(config-controller)# span
Switch(config-controller-SPAN)# setSpanGlobalConf setSpanGlobalConfReq enable
Switch(config-controller-SPAN)# setSpanGlobalConf review
Switch(config-controller-SPAN)# setSpanGlobalConf commit
Switch(config-controller-SPAN)# exit
Switch(config-controller-SPAN)# setrSpansrcConf setRSpanSrcConfRequest remote vlan_id
500
Switch(config-controller-SPAN)# setrSpansrcConf review
Switch(config-controller-SPAN)# setrSpansrcConf commit
Switch(config-controller-SPAN)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
518
Configuring RSPAN
Configuring Destination Interface on NID-2
DETAILED STEPS
Command or Action
Step 1
Purpose
Example:
Switch(config-controller-SPAN)# setSpanDestConf
setSpanDestConfRequest destination intf_id 5
Step 2
setSpanDestConf review
Example:
Switch(config-controller-SPAN)# setSpanDestConf review
Step 3
setSpanDestConf commit
Example:
Switch(config-controller-SPAN)# setSpanDestConf commit
Step 4
exit
Example:
Switch(config-controller-SPAN)# exit
Configuration Example
The example shows how to configure destination VLAN on NID-1:
Switch(config-controller-SPAN)#
intf_id 5
Switch(config-controller-SPAN)#
Switch(config-controller-SPAN)#
Switch(config-controller-SPAN)#
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
519
Configuring RSPAN
Deleting RSPAN Source Configuration on NID-2
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-SPAN)# delRSpanSrcConf
delRSpanSrcConfRequest remote vlan_id 500
Step 2
delRSpanSrcConf review
Example:
Switch(config-controller-SPAN)# delRSpanSrcConf
review
Step 3
delRSpanSrcConf commit
Example:
Switch(config-controller-SPAN)# delRSpanSrcConf
commit
Step 4
exit
Example:
Switch(config-controller-SPAN)# exit
Configuration Example
The example shows how to delete RSPAN source configuration on NID-2:
Switch(config-controller-SPAN)#
500
Switch(config-controller-SPAN)#
Switch(config-controller-SPAN)#
Switch(config-controller-SPAN)#
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
520
Configuring RSPAN
Deleting RSPAN Destination Configuration on NID-1
Step 1
Command or Action
Purpose
Example:
Switch(config-controller-SPAN)# delRSpanDstConf
delRSpanDstConfRequest remote vlan_id 500
Step 2
delSpanDstConf review
Example:
Switch(config-controller-SPAN)# delRSpanDstConf
review
Step 3
delSpanDstConf commit
Example:
Switch(config-controller-SPAN)# delRSpanDstConf
commit
Step 4
exit
Example:
Switch(config-controller-SPAN)# exit
Configuration Example
The example shows how to delete RSPAN destination configuration on NID-1:
Switch(config-controller-SPAN)#
500
Switch(config-controller-SPAN)#
Switch(config-controller-SPAN)#
Switch(config-controller-SPAN)#
Verifying RSPAN
Use the following commands to verify the RSPAN status on the controller.
showSpanConfig showSpanConfigReq
This command displays the SPAN configuration status on the NID, when source interface is 1/4 and
traffic type is both. The following is a sample output from the command:
Switch(config-controller-SPAN)# showSpanConfig showSpanConfigReq
Switch(config-controller-SPAN)# showSpanConfig review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
521
Configuring RSPAN
Additional References
Commands in queue:
showSpanConfig showSpanConfigReq
Switch(config-controller-SPAN)# showSpanConfig commit
ShowSpanConfig_Output.showSpanConfigResp.span_config[0] = 'Session:
1, Mode: Disabled'
ShowSpanConfig_Output.showSpanConfigResp.span_config[1] = 'Type: Remote
Source Session'
ShowSpanConfig_Output.showSpanConfigResp.span_config[2] = 'Dest RMIRROR
VLAN: 500'
ShowSpanConfig_Output.showSpanConfigResp.span_config[3] = 'Source
VLAN(s): '
ShowSpanConfig_Output.showSpanConfigResp.span_config[4] = 'Source
port(s): 1/5'
ShowSpanConfig_Output.showSpanConfigResp.span_config[5] = 'Traffic
Type: '
ShowSpanConfig_Output.showSpanConfigResp.span_config[6] = 'rx : 1/5'
ShowSpanConfig_Output.showSpanConfigResp.span_config[7] = 'Destination
Ports: 1/4'
ShowSpanConfig Commit Success!!!
Additional References
Related Documents
Related Topic
Document Title
MIBs
MIB
MIBs Link
To locate and download MIBs for selected platforms, Cisco IOS releases,
and feature sets, use Cisco MIB Locator found at the following URL:
http://www.cisco.com/go/mibs
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
522
Configuring RSPAN
Additional References
Technical Assistance
Description
Link
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
523
Configuring RSPAN
Additional References
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
524
CHAPTER
27
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
525
The RFC 2544 report can not be accessed on the Controller. You can save the report to a TFTP server.
Note
For RFC 2544 to function properly, the Remote Node must support looping of particular frames.
The RFC 2544 benchmarking can be done either on the Port MEP or Virtual Local Area Network (VLAN)
MEP. The following figure shows the topology used for provisioning RFC 2544 on two NIDs using a UPE
NID Controller.
Figure 16: RFC 2544 Topology
Before executing RFC 2544 test, you must prepare a test profile. The RFC 2544 test profile contains all the
parameters associated with one test, where one test may be a combination of one or more sub-tests (Throughput,
Latency, and Frame Loss, Back-to-Back).
Common and sub-test specific parameters in a test profile are listed below:
Common Parameters
Profile Name Name of each profile. Name can be up to 32 characters. Default name is New
profile.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
526
Profile DescriptionA text description up to 128 characters associated with the profile. Default
description is blank.
MEG Level Maintenance Entity Group (MEG) level on which the RFC 2544 test is run. Default
MEG level is 7.
Egress PortEgress port of the switch on which the RFC 2544 test frames are generated and
checked.
Sequence Number CheckChecks generated frame sequence number. Default is Disabled.
Dwell TimeNumber of seconds to wait after each trial for the system to settle before reading
statistics from the hardware. Default is 2 seconds.
TypeSelects between two types of traffic: Port Down_MEP and VLAN-based Down_MEP.
With VLAN-based Down_MEP, a configurable VLAN tag is inserted in the generated test frames.
VLAN IDSpecifies the VLAN ID if VLAN-based Down_MEP is configured.
PCPSpecifies the PCP value if VLAN-basedDown_MEP is configured.
DEISpecifies the DEI value if VLAN-based Down_MEP is configured.
DMACSpecifies the DMAC of the generated frames for both Port-based and VLAN-based
Down_MEP.
Frame SizeSpecifies the frame size each test must be repeated with, such as 64,128,256,512,
1024,1280,1518,2000, and 9600 bytes. Default frame size is all but 9600.
Sub-Tests To RunSpecifies the sub-tests to be run in the profile (Throughput, Latency, Frame
Loss, Back-to-Back). Default sub-tests to run is Throughput and Latency.
Throughput Test Parameters
Trial DurationDuration of a trial run in seconds. Valid range is from 1 to 1800 seconds. Default
trial duration is 60 seconds.
Minimum and Maximum RateSpecifies the maximum and minimum search rates.
Rate StepSpecifies the granularity of search within the minimum and maximum rates define
above. All three input parameters are specified in % of the egress ports actual link speed and must
be in the range from 1 to 1000% with a granularity of 1%. Default rate step is Minimum: 800%
of link speed, Maximum: 1000% of link speed, and Step size: 20% of link speed.
Allowed Frame LossSpecifies the allowable frame loss. Valid value is in range is from 0 to
100% with a granularity of 1%. Default allowable frame loss is 0.
Latency Test Parameters
Trial DurationDuration of a trial run in seconds. Valid range is from 10 to 1800 seconds. Default
trial duration is 120 seconds.
Delay Measurement IntervalSpecifies the number of seconds between each delay measurement.
Valid range is from 1 to 60 seconds in steps of 1 second. Default delay measurement interval is
10 seconds.
Allowed Frame LossSpecifies the pass criterion of an allowable frame loss. Valid range is from
0 to 10% with a granularity of 0.1%. Default allowed frame loss is 0.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
527
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Step 3
ProvisionLldpPortType
Example:
Switch(config-controller)# ProvisionLldpPortType
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
528
Command or Action
Step 4
Purpose
setLldpportconfig lldpPortConfiguration {lldp_receive_enable Sets the Link Layer Discovery Protocol (LLDP)
{disable | enable} | lldp_transmit_enable {disable | enable} | port configuration.
port_number port_number}
lldp_receive_enableWhether LLDP receive
is enabled or disabled.
Example:
lldp_transmit_enableWhether LLDP
transmit is enabled or disabled.
Switch(config-controller-ProvisionLldpPortType)#
setLldpPortConfig lldpPortConfiguration port_number 3
Switch(config-controller-ProvisionLldpPortType)#
setLldpPortConfig lldpPortConfiguration
lldp_receive_enable disable
Switch(config-controller-ProvisionLldpPortType)#
setLldpPortConfig lldpPortConfiguration
lldp_transmit_enable disable
Step 5
setLldpPortConfig review
Example:
Switch(config-controller-ProvisionLldpPortType)#
setLldpPortConfig review
Step 6
setLldpPortConfig commit
Example:
Switch(config-controller-ProvisionLldpPortType)#
setLldpPortConfig commit
Step 7
exit
Example:
Switch(config-controller-ProvisionLldpPortType)# exit
Configuration Example
The example shows how to disable LLDP port on NID-1:
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionLldpPortType
Switch(config-controller-ProvisionLldpPortType)#
port_number 3
Switch(config-controller-ProvisionLldpPortType)#
lldp_receive_enable disable
Switch(config-controller-ProvisionLldpPortType)#
lldp_transmit_enable disable
Switch(config-controller-ProvisionLldpPortType)#
Switch(config-controller-ProvisionLldpPortType)#
Switch(config-controller-ProvisionLldpPortType)#
setLldpPortConfig lldpPortConfiguration
setLldpPortConfig lldpPortConfiguration
setLldpPortConfig lldpPortConfiguration
setLldpPortConfig review
setLldpPortConfig commit
exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
529
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Step 3
ProvisionLldpPortType
Example:
Switch(config-controller)# ProvisionLldpPortType
Step 4
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanCommand createVlanReq vlan_list 2-4095
Step 5
createVlanCommand review
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanCommand review
Step 6
createVlanCommand commit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanCommand commit
Step 7
exit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
exit
Configuration Example
The example shows how to create Layer 2 VLANs on NID-1:
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionPortVlanPortType
Switch(config-controller-ProvisionPortVlanPortType)# createVlanCommand createVlanReq vlan_list
2-4095
Switch(config-controller-ProvisionPortVlanPortType)# createVlanCommand review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
530
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# contoller nid 1/2
Step 3
ProvisionPortVlanPortType
Example:
Switch(config-controller)# ProvisionPortVlanPortType
Step 4
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort modifySWPortConfig mode trunk native
vlan 3
Step 5
Step 6
modifySwPort review
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
531
Step 7
Command or Action
Purpose
modifySwPort commit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort commit
Step 8
exit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
exit
Configuration Example
The example shows how to assign VLANs to ports on NID-1:
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionPortVlanPortType
Switch(config-controller-ProvisionPortVlanPortType)#
interaface 3
Switch(config-controller-ProvisionPortVlanPortType)#
trunk native vlan 3
Switch(config-controller-ProvisionPortVlanPortType)#
trunk allowed vlan add vlan_list 2-4095
Switch(config-controller-ProvisionPortVlanPortType)#
Switch(config-controller-ProvisionPortVlanPortType)#
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort modifySWPortConfig
modifySwPort modifySWPortConfig mode
modifySwPort modifySWPortConfig mode
modifySwPort review
modifySwPort commit
exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Step 3
ProvisionStpPortType
Example:
Switch (config-controller)# ProvisionStpPortType
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
532
Command or Action
Step 4
Purpose
Note
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
533
Command or Action
Purpose
disableDisables the port-number.
enableEnables the port-number.
recoveryConfigures the error recovery timeout.
IntervalInterval. The range is from 30-86400
seconds.
transmitConfigures the BPDUs to transmit.
hold-countMaximum number of transmit BPDUs
per second. The range is from 1 to 10 seconds.
Step 5
setStpGlobalConfig review
Example:
Switch(config-controller-ProvisionStpPortType)#
setStpGlobalConfig review
Step 6
setStpGlobalConfig commit
Example:
Switch(config-controller-ProvisionStpPortType)#
setStpGlobalConfig commit
Step 7
exit
Example:
Switch(config-controller-ProvisionStpPortType)#
exit
Configuration Example
The example shows how to disable Spanning-Tree Protocol on NID-1:
Switch(config)# controller nid 1/1
Switch(config-controller)# ProvisionStpPortType
Switch(config-controller-ProvisionStpPortType)# setStpGlobalConfig stpGlobalConfig port-number
3 disable
Switch(config-controller-ProvisionStpPortType)# setStpGlobalConfig review
Switch(config-controller-ProvisionStpPortType)# setStpGlobalConfig commit
Switch(config-controller-ProvisionStpPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
534
Step 1
Command or Action
Purpose
Example:
Switch(config)# controller nid 1/2
Step 2
Example:
Switch(config)# controller nid 1/2
Step 3
ProvisionLldpPortType
Example:
Switch(config-controller)# ProvisionLldpPortType
Step 4
setLldpportconfig lldpPortConfiguration {lldp_receive_enable Sets the Link Layer Discovery Protocol (LLDP)
{disable | enable} | lldp_transmit_enable {disable | enable} | port configuration.
port_number port_number}
lldp_receive_enableWhether LLDP
receive is enabled or disabled.
Example:
Switch(config-controller-ProvisionLldpPortType)#
setLldpPortConfig lldpPortConfiguration port_number 3
Switch(config-controller-ProvisionLldpPortType)#
setLldpPortConfig lldpPortConfiguration
lldp_receive_enable disable
Switch(config-controller-ProvisionLldpPortType)#
setLldpPortConfig lldpPortConfiguration
lldp_transmit_enable disable
Step 5
setLldpPortConfig review
lldp_transmit_enableWhether LLDP
transmit is enabled or disabled.
port_numberThe target interface number.
The valid values are from 1 to 6.
Displays the setLldpPortConfig configuration.
Example:
Switch(config-controller-ProvisionLldpPortType)#
setLldpPortConfig review
Step 6
setLldpPortConfig commit
Example:
Switch(config-controller-ProvisionLldpPortType)#
setLldpPortConfig commit
Step 7
exit
Example:
Switch(config-controller-ProvisionLldpPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
535
Configuration Example
The example shows how to disable LLDP port on NID-2:
Switch(config)# controller nid 1/2
Switch(config-controller)# ProvisionLldpPortType
Switch(config-controller-ProvisionLldpPortType)#
port_number 3
Switch(config-controller-ProvisionLldpPortType)#
lldp_receive_enable disable
Switch(config-controller-ProvisionLldpPortType)#
lldp_transmit_enable disable
Switch(config-controller-ProvisionLldpPortType)#
Switch(config-controller-ProvisionLldpPortType)#
Switch(config-controller-ProvisionLldpPortType)#
setLldpPortConfig lldpPortConfiguration
setLldpPortConfig lldpPortConfiguration
setLldpPortConfig lldpPortConfiguration
setLldpPortConfig review
setLldpPortConfig commit
exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Step 3
ProvisionPortVlanPortType
Example:
Switch(config-controller)# ProvisionPortVlanPortType
Step 4
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanCommand createVlanReq vlan_list 2-4095
Step 5
createVlanCommand review
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanCommand review
Step 6
createVlanCommand commit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
createVlanCommand commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
536
Step 7
Command or Action
Purpose
exit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
exit
Configuration Example
The example shows how to create Layer 2 VLANs on NID-2:
Switch(config)# controller nid 1/2
Switch(config-controller)# ProvisionPortVlanPortType
Switch(config-controller-ProvisionPortVlanPortType)# createVlanCommand createVlanReq vlan_list
2-4095
Switch(config-controller-ProvisionPortVlanPortType)# createVlanCommand review
Switch(config-controller-ProvisionPortVlanPortType)# createVlanCommand commit
Switch(config-controller-ProvisionPortVlanPortType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Step 3
ProvisionPortVlanPortType
Example:
Switch(config-controller)# ProvisionPortVlanPortType
Step 4
modifySwPort modifySWPortConfig interface interface_id Modifies the switchport configuration on the defined
interface.
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort modifySWPortConfig interaface 3
Step 5
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
537
Command or Action
Purpose
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort modifySWPortConfig mode trunk native
vlan 3
Step 6
Step 7
modifySwPort review
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort review
Step 8
modifySwPort commit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort commit
Step 9
exit
Example:
Switch(config-controller-ProvisionPortVlanPortType)#
exit
Configuration Example
The example shows how to assign VLANs to ports on NID-2:
Switch(config)# controller nid 1/2
Switch(config-controller)# ProvisionPortVlanPortType
Switch(config-controller-ProvisionPortVlanPortType)#
interaface 3
Switch(config-controller-ProvisionPortVlanPortType)#
trunk native vlan 3
Switch(config-controller-ProvisionPortVlanPortType)#
trunk allowed vlan add vlan_list 2-4095
Switch(config-controller-ProvisionPortVlanPortType)#
Switch(config-controller-ProvisionPortVlanPortType)#
Switch(config-controller-ProvisionPortVlanPortType)#
modifySwPort modifySWPortConfig
modifySwPort modifySWPortConfig mode
modifySwPort modifySWPortConfig mode
modifySwPort review
modifySwPort commit
exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
538
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Step 3
ProvisionStpPortType
Example:
Switch (config-controller)# ProvisionStpPortType
Step 4
Note
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
539
Command or Action
Purpose
Prio Specifies the priority. The range is from
0 to 61440 seconds. The range should be given
in the sets of (0, 4096, 8192...) and so on.
WORDVLAN range.
MaxageMaximum age. The range is from 6 to 40
seconds.
MaxhopsMaximum hops. The range is from 6 to
40 hop counts.
NameName of the bridge. You can use 32 characters
to define.
RevisionRevision. The range is from 0-65535
revisions.
port-numberConfigures the port number in the range
from 1 to 6.
Port numberPort number. The range is from 1 to 6.
disableDisables the port-number.
enableEnables the port-number.
recoveryConfigures the error recovery timeout.
IntervalInterval. The range is from 30-86400
seconds.
transmitConfigures the BPDUs to transmit.
hold-countMaximum number of transmit BPDUs
per second. The range is from 1 to 10 seconds.
Step 5
setStpGlobalConfig review
Example:
Switch(config-controller-ProvisionStpPortType)#
setStpGlobalConfig review
Step 6
setStpGlobalConfig commit
Example:
Switch(config-controller-ProvisionStpPortType)#
setStpGlobalConfig commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
540
Step 7
Command or Action
Purpose
exit
Example:
Switch(config-controller-ProvisionStpPortType)#
exit
Configuration Example
The example shows how to disable Spanning-Tree Protocol on NID-2:
Switch(config)# controller nid 1/2
Switch(config-controller)# ProvisionStpPortType
Switch(config-controller-ProvisionStpPortType)# setStpGlobalConfig stpGlobalConfig port-number
3 disable
Switch(config-controller-ProvisionStpPortType)# setStpGlobalConfig review
Switch(config-controller-ProvisionStpPortType)# setStpGlobalConfig commit
Switch(config-controller-ProvisionStpPortType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Step 3
RFC2544PortType
Example:
Switch(config-controller)# RFC2544PortType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
541
Command or Action
setRfc2544Profile Rfc2544Profile description
profile1
Switch(config-controller-RFC2544PortType)#
setRfc2544Profile Rfc2544Profile egressPort 3
Switch(config-controller-RFC2544PortType)#
setRfc2544Profile Rfc2544Profile megLevel 5
Switch(config-controller-RFC2544PortType)#
setRfc2544Profile Rfc2544Profile mepType
portDownMep
Switch(config-controller-RFC2544PortType)#
setRfc2544Profile Rfc2544Profile seqNoCheck
disable
Purpose
seqNoCheckEnables sequence number checking of
looped TST PDUs.
enableEnables sequence number.
disableDisables sequence number.
dwellTimeControls the number of seconds that the
execution pauses after each trial, before reading counters
and status from hardware.
mepTypeSpecifies MEP type port. MEP or VLAN
MEP.
portDownMepCreates a port down MEP.
vlanDownMepCreates a VLAN down MEP. All
PDUs are then transmitted with a VLAN tag.
vlanIdSpecifies VLAN ID incase of VLAN down MEP.
pcpSpecifies PCP value used in the VLAN tag incase
of VLAN MEP.
deiSpecifies DEI value used in the VLAN tag incase
vlan mep.
dMacSpecifies destination MAC address used in
generation of the Y.1731 TST and 1DM frames.
Step 5
setRfc2544Profile review
Example:
Switch((config-controller)RFC2544PortType)#
setRfc2544Profile review
Step 6
setRfc2544Profile commit
Example:
Switch((config-controller)RFC2544PortType)#
setRfc2544Profile commit
Step 7
exit
Example:
Switch((config-controller)RFC2544PortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
542
Configuration Example
The example shows how to create Port MEP profile on NID-1:
Switch(config)# controller nid 1/1
Switch(config-controller)# RFC2544PortType
Switch(config-controller-RFC2544PortType)#
profile1
Switch(config-controller-RFC2544PortType)#
profile1
Switch(config-controller-RFC2544PortType)#
Switch(config-controller-RFC2544PortType)#
Switch(config-controller-RFC2544PortType)#
portDownMep
Switch(config-controller-RFC2544PortType)#
disable
Switch(config-controller-RFC2544PortType)#
Switch(config-controller-RFC2544PortType)#
Switch(config-controller-RFC2544PortType)#
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Step 3
RFC2544PortType
Example:
Switch(config-controller)# RFC2544PortType
Step 4
setTrafficTestLoop trafficTestLoopConfig
Creates traffic test loop on destination port on NID-2.
{instNum | adminState {enable | disable} | custVID
instNumSpecifies the traffic-test-loop instance number.
| name | type {macLoop | oamLoop} | interface |
direction {facility | terminal} | domain {evc | port
adminStateSpecifies the administrative state.
| vlan} | flowld | level}
enableCreates a loop if all required resources are
available and operational state is up.
Example:
Switch(config-controller-RFC2544PortType)#
setTrafficTestLoop trafficTestLoopConfig
interface 3
Switch(config-controller-RFC2544PortType)#
setTrafficTestLoop trafficTestLoopConfig type
macLoop
Switch(config-controller-RFC2544PortType)#
setTrafficTestLoop trafficTestLoopConfig
direction facility
Switch(config-controller-RFC2544PortType)#
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
543
Command or Action
setTrafficTestLoop trafficTestLoopConfig
domain port
Switch(config-controller-RFC2544PortType)#
setTrafficTestLoop trafficTestLoopConfig
adminState enable
Switch(config-controller-RFC2544PortType)#
setTrafficTestLoop trafficTestLoopConfig
instNum 1
Purpose
macLoopAll frames in the flow are looped with MAC
swap.
oamLoopY.1731 OAM aware and is looping the
following:
Loopback Messages (LBM) and Loopback Replies
(LBR)
Delay Measurement Message (DMM) and Delay
Measurement Reply (DMR)
interfaceSpecifies the residence port of the traffic-test-loop.
directionSpecifies the direction of the traffic-test-loop.
facilitySpecifies that this traffic-test-loop is pointing
to the port. Looping is done from ingress to egress.
terminalSpecifies that this traffic-test-loop is pointing
to the forwarding plane. Looping is done from egress to
ingress.
Note
The terminal option is not
supported.
domainThe domain of the traffic-test-loop.
evcThis traffic-test-loop is in the EVC domain.
portThis traffic-test-loop is in the Port domain.
vlanThis traffic-test-loop is in the VLAN domain.
Note
setTrafficTestLoop review
Example:
Switch((config-controller)RFC2544PortType)#
setTrafficTestLoop review
Step 6
setTrafficTestLoop commit
Example:
Switch((config-controller)RFC2544PortType)#
setTrafficTestLoop commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
544
Step 7
Command or Action
Purpose
exit
Example:
Switch((config-controller)RFC2544PortType)#
exit
Configuration Example
The example shows how to create traffic test loop on destination port on NID-2:
Switch(config)# controller nid 1/2
Switch(config-controller)# RFC2544PortType
Switch(config-controller-RFC2544PortType)# setTrafficTestLoop trafficTestLoopConfig interface
3
Switch(config-controller-RFC2544PortType)# setTrafficTestLoop trafficTestLoopConfig type
macLoop
Switch(config-controller-RFC2544PortType)# setTrafficTestLoop trafficTestLoopConfig direction
facility
Switch(config-controller-RFC2544PortType)# setTrafficTestLoop trafficTestLoopConfig domain
port
Switch(config-controller-RFC2544PortType)# setTrafficTestLoop trafficTestLoopConfig adminState
enable
Switch(config-controller-RFC2544PortType)# setTrafficTestLoop trafficTestLoopConfig instNum
1
Switch(config-controller-RFC2544PortType)# setTrafficTestLoop review
Switch(config-controller-RFC2544PortType)# setTrafficTestLoop commit
Switch(config-controller-RFC2544PortType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Step 3
RFC2544PortType
Example:
Switch(config-controller)# RFC2544PortType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
545
Command or Action
Purpose
trafficLoopDeletes traffic test loop configuration.
Example:
Switch((config-controller)RFC2544PortType)#
deleteTrafficTestLoop deleteLoopConfig loopPotect
interface 3
Step 5
deleteTrafficTestLoop review
Example:
Switch((config-controller)RFC2544PortType)#
deleteTrafficTestLoop review
Step 6
deleteTrafficTestLoop commit
Example:
Switch((config-controller)RFC2544PortType)#
deleteTrafficTestLoop commit
Step 7
exit
Example:
Switch((config-controller)RFC2544PortType)# exit
Configuration Example
The example shows how to disable loop protection on destination port on NID-2:
Switch(config)# controller nid 1/2
Switch(config-controller)# RFC2544PortType
Switch(config-controller-RFC2544PortType)# deleteTrafficTestLoop deleteLoopConfig loopPotect
interface 3
Switch(config-controller-RFC2544PortType)# deleteTrafficTestLoop review
Switch(config-controller-RFC2544PortType)# deleteTrafficTestLoop commit
Switch(config-controller-RFC2544PortType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
546
Step 2
Command or Action
Purpose
Example:
Switch(config)# controller nid 1/2
Step 3
RFC2544PortType
Example:
Switch(config-controller)# RFC2544PortType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
547
Step 5
Command or Action
Purpose
setReportParams review
Example:
Switch(config-controller-RFC2544PortType)#
setReportParams review
Step 6
setReportParams commit
Example:
Switch(config-controller-RFC2544PortType)#
setReportParams commit
Step 7
exit
Example:
Switch(config-controller-RFC2544PortType)# exit
Configuration Example
The example shows how to set the RFC 2544 reporting parameters on NID-1:
Switch(config)# controller nid 1/1
Switch(config-controller)# RFC2544PortType
Switch(config-controller-RFC2544PortType)# setReportParams rfc2544Reports reportAction start
profileName profile1
Switch(config-controller-RFC2544PortType)# setReportParams rfc2544Reports reportAction start
reportName profile1
Switch(config-controller-RFC2544PortType)# setReportParams rfc2544Reports reportAction start
description profile1
Switch(config-controller-RFC2544PortType)# setReportParams review
Switch(config-controller-RFC2544PortType)# setReportParams commit
Switch(config-controller-RFC2544PortType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
548
Step 3
Command or Action
Purpose
RFC2544PortType
Example:
Switch(config-controller)# RFC2544PortType
Step 4
Example:
Switch(config-controller-RFC2544PortType)#
showRfc2544 showRequest show profiles
Step 5
showRfc2544 review
Example:
Switch(config-controller-RFC2544PortType)#
showRfc2544 review
Step 6
showRfc2544 commit
Example:
Switch(config-controller-RFC2544PortType)#
showRfc2544 commit
Step 7
Example:
Switch(config-controller-RFC2544PortType)#
showRfc2544 showRequest show report
Step 8
showRfc2544 review
Example:
Switch(config-controller-RFC2544PortType)#
showRfc2544 review
Step 9
showRfc2544 commit
Example:
Switch(config-controller-RFC2544PortType)#
showRfc2544 commit
Step 10
exit
Example:
Switch(config-controller-RFC2544PortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
549
Configuration Example
The example shows how to display RFC 2544 profile and report on NID-1:
Switch(config)# controller nid 1/1
Switch(config-controller)# RFC2544PortType
Switch(config-controller-RFC2544PortType)# showRfc2544 showRequest show profiles
Switch(config-controller-RFC2544PortType)# showRfc2544 review
Switch(config-controller-RFC2544PortType)# showRfc2544 commit
ShowRfc2544_Output.showResponse.t = 1
ShowRfc2544_Output.showResponse.u.profile[0].profileName = 'profile1'
ShowRfc2544_Output.showResponse.u.profile[0].description = 'profile1'
ShowRfc2544 Commit Success!!!
Switch(config-controller)# RFC2544PortType
Switch(config-controller-RFC2544PortType)# showRfc2544 showRequest show report
Switch(config-controller-RFC2544PortType)# showRfc2544 review
Switch(config-controller-RFC2544PortType)# showRfc2544 commit
ShowRfc2544_Output.showResponse.t = 2
ShowRfc2544_Output.showResponse.u.report[0].reportName = 'Report1'
ShowRfc2544_Output.showResponse.u.report[0].created =
'1970-01-04T07:29:25+00:00'
ShowRfc2544_Output.showResponse.u.report[0].status = 'Succeeded'
ShowRfc2544_Output.showResponse.u.report[1].reportName = 'Rep15'
ShowRfc2544_Output.showResponse.u.report[1].created =
'1970-01-02T01:57:34+00:00'
ShowRfc2544_Output.showResponse.u.report[1].status = 'Failed'
ShowRfc2544_Output.showResponse.u.report[2].reportName = 'Rep16'
ShowRfc2544_Output.showResponse.u.report[2].created =
'1970-01-02T02:08:12+00:00'
ShowRfc2544_Output.showResponse.u.report[2].status = 'Succeeded'
ShowRfc2544_Output.showResponse.u.report[3].reportName = 'profile1'
ShowRfc2544_Output.showResponse.u.report[3].created =
'1970-01-02T03:48:16+00:00'
ShowRfc2544_Output.showResponse.u.report[3].status = 'Failed'
ShowRfc2544 Commit Success!!!
Switch(config-controller-RFC2544PortType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
550
Step 2
Command or Action
Purpose
Example:
Switch(config)# controller nid 1/2
Step 3
RFC2544PortType
Example:
Switch(config-controller)# RFC2544PortType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
551
Step 5
Command or Action
Purpose
setRfc2544Profile review
Example:
Switch(config-controllerRFC2544PortType)#
setRfc2544Profile review
Step 6
setRfc2544Profile commit
Example:
Switch(config-controllerRFC2544PortType)#
setRfc2544Profile commit
Step 7
exit
Example:
Switch(config-controllerRFC2544PortType)# exit
Configuration Example
The example shows how to create VLAN profile on NID-1:
Switch(config)# controller nid 1/1
Switch(config-controller)# RFC2544PortType
Switch(config-controller-RFC2544PortType)#
vlan-profile
Switch(config-controller-RFC2544PortType)#
Switch(config-controller-RFC2544PortType)#
vlanDownMep
Switch(config-controller-RFC2544PortType)#
Switch(config-controller-RFC2544PortType)#
Switch(config-controller-RFC2544PortType)#
vlanprofile
Switch(config-controller-RFC2544PortType)#
Switch(config-controller-RFC2544PortType)#
Switch(config-controller-RFC2544PortType)#
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
552
Step 3
Command or Action
Purpose
RFC2544PortType
Example:
Switch(config-controller)# RFC2544PortType
Step 4
Step 5
getRfc2544Profile review
Example:
Switch(config-controller-RFC2544PortType)#
getRfc2544Profile review
Step 6
getRfc2544Profile commit
Example:
Switch(config-controller-RFC2544PortType)#
getRfc2544Profile commit
Step 7
exit
Example:
Switch(config-controller-RFC2544PortType)# exit
Configuration Example
The example shows how to get RFC 2544 profile for VLAN on NID-1:
Switch(config)# controller nid 1/1
Switch(config-controller)# RFC2544PortType
Switch(config-controller-RFC2544PortType)# getRfc2544Profile rfc2544Request profileName
vlan-profile
Switch(config-controller-RFC2544PortType)# getRfc2544Profile review
Switch(config-controller-RFC2544PortType)# getRfc2544Profile commit
GetRfc2544Profile_Output.Rfc2544Profile.profileName = 'vlan-profile'
GetRfc2544Profile_Output.Rfc2544Profile.description = 'vlanprofile'
GetRfc2544Profile_Output.Rfc2544Profile.megLevel = 4
GetRfc2544Profile_Output.Rfc2544Profile.egressPort = 3
GetRfc2544Profile_Output.Rfc2544Profile.seqNoCheck.t = 2
GetRfc2544Profile_Output.Rfc2544Profile.seqNoCheck.u.disable = ''
GetRfc2544Profile_Output.Rfc2544Profile.dwellTime = 2
GetRfc2544Profile_Output.Rfc2544Profile.mepType.t = 2
GetRfc2544Profile_Output.Rfc2544Profile.mepType.u.vlanDownMep = ''
GetRfc2544Profile_Output.Rfc2544Profile.vlanId = 999
GetRfc2544Profile_Output.Rfc2544Profile.pcp = 0
GetRfc2544Profile_Output.Rfc2544Profile.dei = 0
GetRfc2544Profile_Output.Rfc2544Profile.dMac = '00-00-00-00-00-01'
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
553
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Step 3
RFC2544PortType
Example:
Switch(config-controller)# RFC2544PortType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
554
Command or Action
Purpose
stopStops the report.
reportNameSpecifies name of the report to
be stopped.
renameRenames the existing report.
oldNameSpecifies name of the old profile.
newNameSpecifies name of the new profile.
Step 5
setReportParams review
Example:
Switch(config-controller-RFC2544PortType)#
setReportParams review
Step 6
setReportParams commit
Example:
Switch(config-controller-RFC2544PortType)#
setReportParams commit
Step 7
exit
Example:
Switch(config-controller-RFC2544PortType)# exit
Configuration Example
The example shows how to set the RFC 2544 reporting parameters for VLAN on NID-1:
Switch(config)# controller nid 1/1
Switch(config-controller)# RFC2544PortType
Switch(config-controller-RFC2544PortType)# setReportParams rfc2544Reports reportAction start
profileName vlan-profile
Switch(config-controller-RFC2544PortType)# setReportParams rfc2544Reports reportAction start
reportName vlan-profile
Switch(config-controller-RFC2544PortType)# setReportParams rfc2544Reports reportAction start
description vlan-profile
Switch(config-controller-RFC2544PortType)# setReportParams review
Switch(config-controller-RFC2544PortType)# setReportParams commit
Switch(config-controller-RFC2544PortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
555
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Step 3
RFC2544PortType
Example:
Switch(config-controller)# RFC2544PortType
Step 4
Step 5
showRfc2544 review
Example:
Switch(config-controller-RFC2544PortType)#
showRfc2544 review
Step 6
showRfc2544 commit
Example:
Switch(config-controller-RFC2544PortType)#
showRfc2544 commit
Step 7
Step 8
showRfc2544 review
Example:
Switch(config-controller-RFC2544PortType)#
showRfc2544 review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
556
Step 9
Command or Action
Purpose
showRfc2544 commit
Example:
Switch(config-controller-RFC2544PortType)#
showRfc2544 commit
Step 10
exit
Example:
Switch(config-controller-RFC2544PortType)# exit
Configuration Example
The example shows how to display RFC 2544 report for VLAN on NID-1:
Switch(config)# controller nid 1/1
Switch(config-controller)# RFC2544PortType
Switch(config-controller-RFC2544PortType)# showRfc2544 showRequest show report
Switch(config-controller-RFC2544PortType)# showRfc2544 review
Switch(config-controller-RFC2544PortType)# showRfc2544 commit
ShowRfc2544_Output.showResponse.t = 2
ShowRfc2544_Output.showResponse.u.report[0].reportName = 'Report1'
ShowRfc2544_Output.showResponse.u.report[0].created =
'1970-01-04T07:29:25+00:00'
ShowRfc2544_Output.showResponse.u.report[0].status = 'Succeeded'
ShowRfc2544_Output.showResponse.u.report[1].reportName = 'Rep15'
ShowRfc2544_Output.showResponse.u.report[1].created =
'1970-01-02T01:57:34+00:00'
ShowRfc2544_Output.showResponse.u.report[1].status = 'Failed'
ShowRfc2544_Output.showResponse.u.report[2].reportName = 'Rep16'
ShowRfc2544_Output.showResponse.u.report[2].created =
'1970-01-02T02:08:12+00:00'
ShowRfc2544_Output.showResponse.u.report[2].status = 'Succeeded'
ShowRfc2544_Output.showResponse.u.report[3].reportName = 'profile1'
ShowRfc2544_Output.showResponse.u.report[3].created =
'1970-01-02T03:48:16+00:00'
ShowRfc2544_Output.showResponse.u.report[3].status = 'Failed'
ShowRfc2544 Commit Success!!!
Switch(config-controller-RFC2544PortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
557
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Step 3
RFC2544PortType
Example:
Switch(config-controller)# RFC2544PortType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
558
Step 5
Command or Action
Purpose
deleteRfc2544 review
Example:
Switch(config-controller-RFC2544PortType)#
deleteRfc2544 review
Step 6
deleteRfc2544 commit
Example:
Switch(config-controller-RFC2544PortType)#
deleteRfc2544 commit
Step 7
exit
Example:
Switch(config-controller-RFC2544PortType)# exit
Configuration Example
The example shows how to delete RFC 2544 profile on NID-1:
Switch(config)# controller nid 1/1
Switch(config-controller)# RFC2544PortType
Switch(config-controller-RFC2544PortType)#
profile1
Switch(config-controller-RFC2544PortType)#
Switch(config-controller-RFC2544PortType)#
Switch(config-controller-RFC2544PortType)#
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Step 3
RFC2544PortType
Example:
Switch(config-controller)# RFC2544PortType
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
559
Command or Action
Step 4
Purpose
SetRfc2544TestToRun testParameters
Modifies RFC 2544 with Frameloss and Backtoback.
{profileName profileName | frameSizes | testToRun
testParametersSpecifies RFC 2544 test parameters.
{throughput | latency | frameLoss | backToBack}
| thoughputTParams {trialDuration | minRate |
profileNameSpecifies RFC 2544 profile name.
maxRate | accuracy | allowedFrameLoss} |
profileNameName of the RFC 2544 profile.
latencyTParams {trialDuration | delayMessInterval
| allowedFrameLoss} | frameLossTParams
frameSizesSpecifies frame sizes separated by a comma, for
{trialDuration | minRate | maxRate | rateStep} |
example, 1024,128,1280,1518, 2000, 256, 512, 64, 9600.
backToBackTParams {trialDuration | trialCount}}
testToRunTest to be run.
Example:
Switch(config-controller-RFC2544PortType)#
setRfc2544TestToRun testParameters profileName
vlan-profile
Switch(config-controller-RFC2544PortType)#
setRfc2544TestToRun testParameters
backToBackTParams trialCount 2
Switch(config-controller-RFC2544PortType)#
setRfc2544TestToRun testParameters
frameLossTParams minRate 100
Switch(config-controller-RFC2544PortType)#
setRfc2544TestToRun testParameters
frameLossTParams maxRate 200
Switch(config-controller-RFC2544PortType)#
setRfc2544TestToRun testParameters
frameLossTParams rateStep 10
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
560
Command or Action
Purpose
rateStepSets the step rate.
backToBackTParamsSpecifies back to back test parameters.
trialDurationSpecifies the time (in milliseconds) to
transmit a burst of Y.1731 test frames at line rate and
frame size.
trialCountSpecifies the number of times to repeat the
burst.
Step 5
SetRfc2544TestToRun review
Example:
Switch(config-controller-RFC2544PortType)#
SetRfc2544TestToRun review
Step 6
SetRfc2544TestToRun commit
Example:
Switch(config-controller-RFC2544PortType)#
SetRfc2544TestToRun commit
Step 7
SetRfc2544TestToRun testParameters
Modifies RFC 2544 with Frameloss and Backtoback.
{profileName profileName | frameSizes | testToRun
testParametersSpecifies RFC 2544 test parameters.
{throughput | latency | frameLoss | backToBack}
| thoughputTParams {trialDuration | minRate |
profileNameSpecifies RFC 2544 profile name.
maxRate | accuracy | allowedFrameLoss} |
profileNameName of the RFC 2544 profile.
latencyTParams {trialDuration | delayMessInterval
| allowedFrameLoss} | frameLossTParams
frameSizesSpecifies frame sizes separated by a comma, for
{trialDuration | minRate | maxRate | rateStep} |
example, 1024,128,1280,1518, 2000, 256, 512, 64, 9600.
backToBackTParams {trialDuration | trialCount}}
testToRunTest to be run.
Example:
Switch(config-controller-RFC2544PortType)#
setRfc2544TestToRun testParameters testToRun
backToBack enable
Switch(config-controller-RFC2544PortType)#
setRfc2544TestToRun testParameters testToRun
frameLoss enable
Switch(config-controller-RFC2544PortType)#
setRfc2544TestToRun testParameters testToRun
latency disable
Switch(config-controller-RFC2544PortType)#
setRfc2544TestToRun testParameters testToRun
throughput disable
Switch(config-controller-RFC2544PortType)#
setRfc2544TestToRun testParameters profileName
vlan-profile
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
561
Command or Action
Purpose
accuracySets the accuracy (stop criterion).
allowedFrameLossSets the maximum allowed test
protocol data unit (PDU) loss at which the test is
considered successful.
latencyTParamsSpecifies latency test parameters.
trialDurationSets the duration of one trial.
delayMessIntervalSpecifies interval between sending
delay measurement frames.
allowedFrameLossSets the maximum allowed test
PDU loss at which the test is considered successful.
frameLossTParamsSpecifies frame loss test parameters.
trialDurationSets the duration of one trial.
minRate Sets the minimum rate.
maxRate Sets the maximum rate.
rateStepSets the step rate.
backToBackTParamsSpecifies back to back test parameters.
trialDurationSpecifies the time (in milliseconds) to
transmit a burst of Y.1731 test frames at line rate and
frame size.
trialCountSpecifies the number of times to repeat the
burst.
Step 8
SetRfc2544TestToRun review
Example:
Switch(config-controller-RFC2544PortType)#
SetRfc2544TestToRun review
Step 9
SetRfc2544TestToRun commit
Example:
Switch(config-controller-RFC2544PortType)#
SetRfc2544TestToRun commit
Step 10 exit
Example:
Switch(config-controller-RFC2544PortType)#
exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
562
Configuration Example
The example shows how to modify and enable RFC 2544 with Frameloss and Backtoback:
Switch(config)# controller nid 1/1
Switch(config-controller)# RFC2544PortType
Switch(config-controller-RFC2544PortType)# setRfc2544TestToRun testParameters profileName
vlan-profile
Switch(config-controller-RFC2544PortType)# setRfc2544TestToRun testParameters
backToBackTParams trialCount 2
Switch(config-controller-RFC2544PortType)# setRfc2544TestToRun testParameters frameLossTParams
minRate 100
Switch(config-controller-RFC2544PortType)# setRfc2544TestToRun testParameters frameLossTParams
maxRate 200
Switch(config-controller-RFC2544PortType)# setRfc2544TestToRun testParameters frameLossTParams
rateStep 10
Switch(config-controller-RFC2544PortType)# setRfc2544TestToRun review
Switch(config-controller-RFC2544PortType)# setRfc2544TestToRun commit
Switch(config-controller-RFC2544PortType)#
backToBack enable
Switch(config-controller-RFC2544PortType)#
frameLoss enable
Switch(config-controller-RFC2544PortType)#
latency disable
Switch(config-controller-RFC2544PortType)#
throughput disable
Switch(config-controller-RFC2544PortType)#
vlan-profile
Switch(config-controller-RFC2544PortType)#
Switch(config-controller-RFC2544PortType)#
Switch(config-controller-RFC2544PortType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Step 3
RFC2544PortType
Example:
Switch(config-controller)# RFC2544PortType
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
563
Step 4
Command or Action
Purpose
Example:
Switch(config-controller-RFC2544PortType)#
getRfc2544TestToRun rfc2544Request profileName
vlan-profile
Step 5
getRfc2544TestToRun review
Example:
Switch(config-controller-RFC2544PortType)#
getRfc2544TestToRun review
Step 6
getRfc2544TestToRun commit
Example:
Switch(config-controller-RFC2544PortType)#
getRfc2544TestToRun commit
Step 7
exit
Example:
Switch(config-controller-RFC2544PortType)# exit
Configuration Example
The example shows how to get RFC 2544 Profile after modifying frameloss and backtoback:
Switch(config)# controller nid 1/1
Switch(config-controller)# RFC2544PortType
Switch(config-controller-RFC2544PortType)# getRfc2544TestToRun rfc2544Request profileName
vlan-profile
Switch(config-controller-RFC2544PortType)# getRfc2544TestToRun review
Switch(config-controller-RFC2544PortType)# getRfc2544TestToRun commit
GetRfc2544TestToRun_Output.testParameters.profileName = 'vlan-profile'
GetRfc2544TestToRun_Output.testParameters.frameSizes =
'64-128-256-512-1024-1280-1518-2000'
GetRfc2544TestToRun_Output.testParameters.testToRun.throughput = false
GetRfc2544TestToRun_Output.testParameters.testToRun.latency = false
GetRfc2544TestToRun_Output.testParameters.testToRun.frameLoss = true
GetRfc2544TestToRun_Output.testParameters.testToRun.backToBack = true
GetRfc2544TestToRun_Output.testParameters.thoughputTParams.trialDuration
= 60
GetRfc2544TestToRun_Output.testParameters.thoughputTParams.minRate = 800
GetRfc2544TestToRun_Output.testParameters.thoughputTParams.maxRate = 1000
GetRfc2544TestToRun_Output.testParameters.thoughputTParams.accuracy = 2
GetRfc2544TestToRun_Output.testParameters.thoughputTParams.allowedFrameLoss
= 0
GetRfc2544TestToRun_Output.testParameters.latencyTParams.trialDuration =
120
GetRfc2544TestToRun_Output.testParameters.latencyTParams.delayMessInterval
= 10
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
564
GetRfc2544TestToRun_Output.testParameters.latencyTParams.allowedFrameLoss
= 0
GetRfc2544TestToRun_Output.testParameters.frameLossTParams.trialDuration
= 60
GetRfc2544TestToRun_Output.testParameters.frameLossTParams.minRate = 800
GetRfc2544TestToRun_Output.testParameters.frameLossTParams.maxRate = 1000
GetRfc2544TestToRun_Output.testParameters.frameLossTParams.rateStep = 5
GetRfc2544TestToRun_Output.testParameters.backToBackTParams.trialDuration
= 2000
GetRfc2544TestToRun_Output.testParameters.backToBackTParams.trialCount =
50
GetRfc2544TestToRun Commit Success!!!
Switch(config-controller-RFC2544PortType)# exit
Commands in queue:
showRfc2544 com
Switch(config-controller-SPAN)# showSpanConfig commit
ShowRfc2544_Output.showResponse.t = 2
ShowRfc2544_Output.showResponse.u.report[0].reportName = 'Jul3'
ShowRfc2544_Output.showResponse.u.report[0].created =
'1970-01-04T01:02:24+00:00'
ShowRfc2544_Output.showResponse.u.report[0].status = 'Failed'
ShowRfc2544_Output.showResponse.u.report[1].reportName = 'July3'
ShowRfc2544_Output.showResponse.u.report[1].created =
'1970-01-04T01:15:37+00:00'
ShowRfc2544_Output.showResponse.u.report[1].status = 'Failed'
ShowRfc2544_Output.showResponse.u.report[2].reportName = 'repjuly3'
ShowRfc2544_Output.showResponse.u.report[2].created =
'1970-01-04T01:52:07+00:00'
ShowRfc2544_Output.showResponse.u.report[2].status = 'Succeeded'
ShowRfc2544_Output.showResponse.u.report[3].reportName = 'Report1'
ShowRfc2544_Output.showResponse.u.report[3].created =
'1970-01-04T07:29:25+00:00'
ShowRfc2544_Output.showResponse.u.report[3].status = 'Succeeded'
ShowRfc2544_Output.showResponse.u.report[4].reportName = 'rep-vlan'
ShowRfc2544_Output.showResponse.u.report[4].created =
'1970-01-04T21:01:59+00:00'
ShowRfc2544_Output.showResponse.u.report[4].status = 'Failed'
ShowRfc2544_Output.showResponse.u.report[5].reportName = 'Report20'
ShowRfc2544_Output.showResponse.u.report[5].created =
'1970-01-01T08:15:17+00:00'
ShowRfc2544_Output.showResponse.u.report[5].status = 'Failed'
ShowRfc2544_Output.showResponse.u.report[6].reportName = 'Rep22'
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
565
ShowRfc2544_Output.showResponse.u.report[6].created =
'1970-01-01T09:36:14+00:00'
ShowRfc2544_Output.showResponse.u.report[6].status = 'Failed'
ShowRfc2544_Output.showResponse.u.report[7].reportName = 'profile2'
ShowRfc2544_Output.showResponse.u.report[7].created =
'1970-01-02T00:55:43+00:00'
ShowRfc2544_Output.showResponse.u.report[7].status = 'Failed'
ShowRfc2544 Commit Success!!!
Additional References
Related Documents
Related Topic
Document Title
MIBs
MIB
MIBs Link
To locate and download MIBs for selected platforms, Cisco IOS releases,
and feature sets, use Cisco MIB Locator found at the following URL:
http://www.cisco.com/go/mibs
Technical Assistance
Description
Link
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
566
CHAPTER
28
Configuring sFlow
This document describes the sampled flow (sFlow) feature and configuration steps to implement sFlow.
Prerequisites for Configuring sFlow, page 567
Restrictions for Configuring sFlow, page 567
Information About sFlow, page 567
How to Provision sFlow, page 568
Verifying sFlow, page 578
Additional References, page 580
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
567
Configuring sFlow
How to Provision sFlow
sFlow InstancesThere may be one or more sFlow Instances associated with a single data source.
Each sFlow instance operates independently of other sFlow instances. For example, Packet Flow
Sampling instances have their own sampling rates and Counter Sampling instances have their own
sampling intervals.
sFlow CollectorThe sFlow Collector is a software application that can receive sFlow datagrams and
present a view of traffic and other network parameters which are output as type, length, and value (TLV)
in the datagrams. The sFlow collectors can also read and configure sFlow-managed objects. Both counter
and packet flow statistics are collected and sent as sFlow Datagrams (defined by maximum datagram
size of 200-1468) to a sFlow Collector.
sFlow DatagramThe sFlow Datagram format specifies a standard format for the sFlow Agent
to send sampled data to a remote sFlow Collector. The sFlow Datagram version 5 is supported.
The format of the sFlow Datagram is specified using the External Data Representation (XDR)
standard. This makes it simpler for the sFlow Agent to encode and the sFlow Collector to decode.
Samples are sent as User Datagram Protocol (UDP) packets to the host and port specified in the
SFLOW MIB or CLI. The assigned port for sFlow (and the default specified in the SFLOW MIB)
is port 6343. All sFlow Agents and applications by default must use UDP port 6343.
By default, sFlow is disabled on ME 1200 NID. You can enable sFlow on a specific interface or port.
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Step 3
sflow
Example:
Switch(config-controller)# sflow
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
568
Configuring sFlow
Enabling sFlow Globally
Command or Action
Purpose
ipv4Specifies IPv4 address.
Example:
Switch(config-controller-SFlow)# setsFlowGlobalConfig
sFlow_global agent-ip ipv4 7.25.16.63
Switch(config-controller-SFlow)# setsFlowGlobalConfig
sFlow_global collector-ip ipv4 7.25.16.253
Switch(config-controller-SFlow)# setsFlowGlobalConfig
sFlow_global collector-port 2033
Switch(config-controller-SFlow)# setsFlowGlobalConfig
sFlow_global datagram-maxsize 512
Switch(config-controller-SFlow)#setsFlowGlobalConfig
sFlow_global rx-timeout 50000
Step 5
setsFlowGlobalConfig review
Example:
Switch(config-controller-SFlow)# setsFlowGlobalConfig
review
Step 6
setsFlowGlobalConfig commit
Example:
Switch(config-controller-SFlow)# setsFlowGlobalConfig
commit
Step 7
exit
Example:
Switch(config-controller-SFlow)# exit
Configuration Example
The example shows how to enable sFlow globally:
Switch(config)# controller nid 1/1
Switch(config-controller)# sflow
Switch(config-controller-SFlow)# setsFlowGlobalConfig
7.25.16.63
Switch(config-controller-SFlow)# setsFlowGlobalConfig
7.25.16.253
Switch(config-controller-SFlow)# setsFlowGlobalConfig
Switch(config-controller-SFlow)# setsFlowGlobalConfig
512
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
569
Configuring sFlow
Enabling sFlow on a Port
Commands in queue:
setsFlowGlobalConfig sFlow_global agent-ip ipv4 7.25.16.63
setsFlowGlobalConfig sFlow_global collector-ip ipv4 7.25.16.253
setsFlowGlobalConfig sFlow_global collector-port 6343
setsFlowGlobalConfig sFlow_global datagram-maxsize 512
setsFlowGlobalConfig sFlow_global rx-timeout 50000
Switch(config-controller-SFlow)# setsFlowGlobalConfig commit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Step 3
sflow
Example:
Switch(config-controller)# sflow
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
570
Configuring sFlow
Enabling sFlow on a Port
Command or Action
Purpose
sampling-maxsizeSpecifies maximum number
of bytes to transmit per flow sample. The valid
range is from 14 to 200.
counter-pollerSpecifies Interface counter poller
configuration.
enableEnables counter poller.
intervalSpecifies counter poll interval. The
valid range is from 1 to 3600 seconds.
Step 5
setsFlowPortConfig review
Example:
Switch(config-controller-SFlow)#
setsFlowPortConfig review
Step 6
setsFlowPortConfig commit
Example:
Switch(config-controller-SFlow)#
setsFlowPortConfig commit
Step 7
exit
Example:
Switch(config-controller-SFlow)# exit
Configuration Example
Note
sFlow configuration does not persist on the NID. Running show running-config.xml command does not
display the sFlow configuration globally or per-port. This is working as designed.
The example shows how to enable sFlow on a port with default values enabled:
Switch(config)# controller nid 1/1
Switch(config-controller)# sflow
Switch(config-controller-SFlow)# setsFlowPortConfig
Switch(config-controller-SFlow)# setsFlowPortConfig
Switch(config-controller-SFlow)# setsFlowPortConfig
enable-defaults enable
Switch(config-controller-SFlow)# setsFlowPortConfig
sFlow_port interface-id 3
sFlow_port enable enable
sFlow_port flow-sampler
review
Commands in queue:
setsFlowPortConfig sFlow_port interface-id 3
setsFlowPortConfig sFlow_port enable enable
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
571
Configuring sFlow
Enabling sFlow on a Port
The example shows how to enable sFlow on a port without any default values set:
Switch(config)# controller nid 1/1
Switch(config-controller)# sflow
Switch(config-controller-SFlow)# setsFlowPortConfig
Switch(config-controller-SFlow)# setsFlowPortConfig
Switch(config-controller-SFlow)# setsFlowPortConfig
enable-defaults disable
Switch(config-controller-SFlow)# setsFlowPortConfig
sFlow_port interface-id 1
sFlow_port enable enable
sFlow_port flow-sampler
review
Commands in queue:
setsFlowPortConfig sFlow_port interface-id 1
setsFlowPortConfig sFlow_port enable enable
setsFlowPortConfig sFlow_port flow-sampler enable-defaults
disable
Switch(config-controller-SFlow)# setsFlowPortConfig commit
The example shows how enable sFlow on a port with user-configured parameters:
Switch(config)# controller nid 1/1
Switch(config-controller)# sflow
Switch(config-controller-SFlow)# setsFlowPortConfig sFlow_port interface-id 1
Switch(config-controller-SFlow)# setsFlowPortConfig sFlow_port enable enable
Switch(config-controller-SFlow)# setsFlowPortConfig sFlow_port flow-sampler
enable-defaults disable
Switch(config-controller-SFlow)# setsFlowPortConfig sFlow_port flow-sampler
sampling-maxsize 512
Switch(config-controller-SFlow)# setsFlowPortConfig sFlow_port flow-sampler sampling-rate
200
Switch(config-controller-SFlow)# setsFlowPortConfig sFlow_port counter-poller enable
enable
Switch(config-controller-SFlow)# setsFlowPortConfig sFlow_port counter-poller interval
30
Switch(config-controller-SFlow)# setsFlowPortConfig review
Commands in queue:
setsFlowPortConfig
setsFlowPortConfig
setsFlowPortConfig
disable
setsFlowPortConfig
512
setsFlowPortConfig
sFlow_port interface-id 1
sFlow_port enable enable
sFlow_port flow-sampler enable-defaults
sFlow_port flow-sampler sampling-maxsize
sFlow_port flow-sampler sampling-rate 200
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
572
Configuring sFlow
Getting Current Global sFlow Values
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Step 3
sflow
Example:
Switch(config-controller)# sflow
Step 4
sFlow_global_req
Example:
Switch(config-controller-SFlow)# getsFlowGlobalConfig
sFlow_global_req
Step 5
getsFlowGlobalConfig review
Example:
Switch(config-controller-SFlow)# getsFlowGlobalConfig
review
Step 6
getsFlowGlobalConfig commit
Example:
Switch(config-controller-SFlow)# getsFlowGlobalConfig
commit
Step 7
exit
Example:
Switch(config-controller-SFlow)# exit
Configuration Example
The example shows how to get current global sFlow values:
Switch(config)# controller nid 1/1
Switch(config-controller)# sflow
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
573
Configuring sFlow
Getting Current Global sFlow Values
Commands in queue:
getsFlowGlobalConfig sFlow_global_req
Switch(config-controller-SFlow)# getsFlowGlobalConfig commit
GetsFlowGlobalConfig_Output.sFlow_global.agent_ip.t = 1
GetsFlowGlobalConfig_Output.sFlow_global.agent_ip.u.ipv4 = '0.0.0.0'
GetsFlowGlobalConfig_Output.sFlow_global.collector_ip.t = 1
GetsFlowGlobalConfig_Output.sFlow_global.collector_ip.u.ipv4 =
'0.0.0.0'
GetsFlowGlobalConfig_Output.sFlow_global.collector_port = 65535
GetsFlowGlobalConfig_Output.sFlow_global.datagram-maxsize = 1468
GetsFlowGlobalConfig_Output.sFlow_global.rx-timeout = 50000
GetsFlowGlobalConfig Commit Success!!!
Switch(config-controller-SFlow)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
574
Configuring sFlow
Getting Current Port Specific sFlow Values
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Step 3
sflow
Example:
Switch(config-controller)# sflow
Step 4
sflowPortConfigReq port id
Example:
Switch(config-controller-SFlow)# getsFlowPortConfig
sflowPortConfigReq 2
Step 5
getsFlowGlobalConfig review
Example:
Switch(config-controller-SFlow)# getsFlowGlobalConfig
review
Step 6
getsFlowGlobalConfig commit
Example:
Switch(config-controller-SFlow)# getsFlowGlobalConfig
commit
Step 7
exit
Example:
Switch(config-controller-SFlow)# exit
Configuration Example
The example shows how to get current port-specific sFlow values:
Switch(config)# controller nid 1/1
Switch(config-controller)# sflow
Switch(config-controller-SFlow)# getsFlowPortConfig sflowPortConfigReq 2
Switch(config-controller-SFlow)# getsFlowGlobalConfig review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
575
Configuring sFlow
Getting Current Port Specific sFlow Values
Commands in queue:
getsFlowPortConfig sFlowPortConfigReq 2
Switch(config-controller-SFlow)# getsFlowGlobalConfig commit
GetsFlowPortConfig_Output.sFlow_port.interface_id = 2
GetsFlowPortConfig_Output.sFlow_port.enable = false
GetsFlowPortConfig_Output.sFlow_port.flow_sampler.enable_defaults =
true
GetsFlowPortConfig_Output.sFlow_port.flow_sampler.sampling_rate = 4096
GetsFlowPortConfig_Output.sFlow_port.flow_sampler.sampling-maxsize =
128
GetsFlowPortConfig_Output.sFlow_port.counter_poller.enable = false
GetsFlowPortConfig_Output.sFlow_port.counter_poller.interval = 60
GetsFlowPortConfig Commit Success!!!
Switch(config-controller-SFlow)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
576
Configuring sFlow
Clearing sFlow Statistics
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Step 3
sflow
Example:
Switch(config-controller)# sflow
Step 4
clear_sflow_stats
Example:
Switch(config-controller-SFlow)# clearsFlowStatistics
clear_sflow_stats
Step 5
clearsFlowStatistics review
Example:
Switch(config-controller-SFlow)# clearsFlowStatistics
review
Step 6
clearsFlowStatistics commit
Example:
Switch(config-controller-SFlow)# clearsFlowStatistics
commit
Step 7
exit
Example:
Switch(config-controller-SFlow)# exit
Configuration Example
The example shows how to clear sFlow statistics:
Switch(config)# controller nid 1/1
Switch(config-controller)# sflow
Switch(config-controller-SFlow)# clearsFlowStatistics clear_sflow_stats
Switch(config-controller-SFlow)# clearsFlowStatistics review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
577
Configuring sFlow
Verifying sFlow
Commands in queue:
clearsFlowStatistics clear_sflow_stats
Switch(config-controller-SFlow)# clearsFlowStatistics commit
Verifying sFlow
Use the following commands to verify the sFlow status on the controller.
showsFlowStatistics sFlow_stats_req
This command displays the sFlow statistics on the NID. The following is a sample output from the
command:
Switch(config-controller-SFlow)#
Switch(config-controller-SFlow)#
showsFlowStatistics sFlow_stats_req
showsFlowStatistics review
Commands in queue:
showsFlowStatistics sFlow_stats_req
Switch(config-controller-SFlow)#
showsFlowStatistics commit
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[0].interface_id
= 1
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[0].tx_flow_samples
= 0
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[0].counter_samples
= 42
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[1].interface_id
= 2
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[1].tx_flow_samples
= 0
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[1].counter_samples
= 0
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[2].interface_id
= 3
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[2].tx_flow_samples
= 1
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[2].counter_samples
= 0
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[3].interface_id
= 4
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[3].tx_flow_samples
= 0
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[3].counter_samples
= 0
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[4].interface_id
= 5
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[4].tx_flow_samples
= 0
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[4].counter_samples
= 0
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[5].interface_id
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
578
Configuring sFlow
Verifying sFlow
= 6
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[5].tx_flow_samples
= 0
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[5].counter_samples
= 0
ShowsFlowStatistics_Output.sFlow_stats.receiver.statistics[0].tx_successes
= 0
ShowsFlowStatistics_Output.sFlow_stats.receiver.statistics[0].tx_errors
= 43
ShowsFlowStatistics_Output.sFlow_stats.receiver.statistics[0].flow_samples
= 1
ShowsFlowStatistics_Output.sFlow_stats.receiver.statistics[0].counter_samples
= 42
ShowsFlowStatistics Commit Success!!!
The following is a sample output on the NID.
Decoding of Request message was successful urn:#showsFlowStatistics
Decoded record:
ShowsFlowStatistics_Input.sFlow_stats_req = '0'
Encoding of Response message was successful
Encoded record:
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[0].interface_id
= 1
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[0].tx_flow_samples
= 0
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[0].counter_samples
= 42
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[1].interface_id
= 2
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[1].tx_flow_samples
= 0
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[1].counter_samples
= 0
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[2].interface_id
= 3
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[2].tx_flow_samples
= 1
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[2].counter_samples
= 0
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[3].interface_id
= 4
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[3].tx_flow_samples
= 0
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[3].counter_samples
= 0
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[4].interface_id
= 5
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[4].tx_flow_samples
= 0
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[4].counter_samples
= 0
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[5].interface_id
= 6
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[5].tx_flow_samples
= 0
ShowsFlowStatistics_Output.sFlow_stats.samplers.interface_[5].counter_samples
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
579
Configuring sFlow
Additional References
= 0
ShowsFlowStatistics_Output.sFlow_stats.receiver.statistics[0].tx_successes
= 0
ShowsFlowStatistics_Output.sFlow_stats.receiver.statistics[0].tx_errors
= 43
ShowsFlowStatistics_Output.sFlow_stats.receiver.statistics[0].flow_samples
= 1
ShowsFlowStatistics_Output.sFlow_stats.receiver.statistics[0].counter_samples
= 42
ShowsFlowStatistics_Output.xmlns:ns0 =
"http://new.webservice.namespace"
ShowsFlowStatistics_Output.xmlns:http =
"http://schemas.xmlsoap.org/wsdl/http/"
ShowsFlowStatistics_Output.xmlns:mime =
"http://schemas.xmlsoap.org/wsdl/mime/"
ShowsFlowStatistics_Output.xmlns:soap =
"http://schemas.xmlsoap.org/wsdl/soap/"
ShowsFlowStatistics_Output.xmlns:soapenc =
"http://schemas.xmlsoap.org/soap/encoding/"
ShowsFlowStatistics_Output.xmlns:wsdl =
"http://schemas.xmlsoap.org/wsdl/"
Additional References
Related Documents
Related Topic
Document Title
MIBs
MIB
MIBs Link
To locate and download MIBs for selected platforms, Cisco IOS releases,
and feature sets, use Cisco MIB Locator found at the following URL:
http://www.cisco.com/go/mibs
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
580
Configuring sFlow
Additional References
Technical Assistance
Description
Link
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
581
Configuring sFlow
Additional References
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
582
CHAPTER
29
Configuring UDLD
This document describes the Unidirectional Link Detection (UDLD) feature and configuration steps to
implement UDLD.
Prerequisites for Configuring UDLD, page 583
Restrictions for Configuring UDLD, page 583
Information About UDLD, page 583
How to Provision UDLD, page 584
Verifying UDLD, page 595
Additional References, page 597
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
583
Configuring UDLD
How to Provision UDLD
local device. When a unidirectional link is detected, the affected port is disabled and user is alerted. This can
help prevent spanning tree topology loops.
UDLD supports two operation modes:
NormalIn this mode, UDLD detects a unidirectional link due to misconnected fibers on a fiber-optic
link that is not detected by Layer 1 mechanisms.
Note
If port connections are correct and traffic is one way, UDLD does not detect the
unidirectional link. In this case, no action is taken and link is considered undetermined.
AggressiveIn this mode, unidirectional link due to one-way traffic on fiber-optic and twisted pair
links, and misconnected ports on fiber-optic links can be detected. Specifically, if one end of the link
cannot send or receive traffic, or one of the ports is down and the other is up, the unidirectional link can
be detected. Using the loss of hello packets as indication to detect bi-directional link that cannot be
re-established, UDLD disables the affected port.
In addition, UDLD can detect the identities of neighbors by caching the information contained in UDLD hello
packet.
By default, UDLD is disabled on ME 1200 NID. The normal or aggressive mode can be
enabled globally on all ports or
enabled or modified on the individual ports
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
UDLDPortType
Example:
Switch(config-controller)# UDLDPortType
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
584
Configuring UDLD
Enabling UDLD Mode Globally
Step 4
Command or Action
Purpose
Example:
Switch(config-controller-UDLDPortType)#
setGlobalUDLDConfig udldGlobalConfig mode normal
enable
Switch(config-controller-UDLDPortType)#
setGlobalUDLDConfig udldGlobalConfig
message-interval 10
Step 5
setGlobalUDLDConfig review
Example:
Switch(config-controller-UDLDPortType)#
setGlobalUDLDConfig review
Step 6
setGlobalUDLDConfig commit
Example:
Switch(config-controller-UDLDPortType)#
setGlobalUDLDConfig commit
Step 7
exit
Example:
Switch(config-controller-UDLDPortType)# exit
Configuration Example
The example shows how to enable UDLD globally in normal mode:
Switch(config)# controller nid 1/1
Switch(config-controller)# UDLDPortType
Switch(config-controller-UDLDPortType)# setGlobalUDLDConfig udldGlobalConfig mode normal
enable
Switch(config-controller-UDLDPortType)# setGlobalUDLDConfig udldGlobalConfig
message-interval 10
Switch(config-controller-UDLDPortType)# setGlobalUDLDConfig review
Commands in queue:
setGlobalUDLDConfig udldGlobalConfig mode normal enable
setGlobalUDLDConfig udldGlobalConfig message-interval 10
Switch(config-controller-UDLDPortType)# setGlobalUDLDConfig commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
585
Configuring UDLD
Disabling UDLD Mode Globally
This enables UDLD on all ports of ME 1200 NID with a time interval of 10 seconds.
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Step 3
UDLDPortType
Example:
Switch(config-controller)# UDLDPortType
Step 4
Step 5
setGlobalUDLDConfig review
Example:
Switch((config-controller)UDLDPortType)#
setGlobalUDLDConfig review
Step 6
setGlobalUDLDConfig commit
Example:
Switch(config-controller)UDLDPortType)#
setGlobalUDLDConfig commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
586
Configuring UDLD
Enabling UDLD Mode on a Port
Step 7
Command or Action
Purpose
exit
Example:
Switch((config-controller)UDLDPortType)# exit
Configuration Example
The example shows how to disable UDLD globally in normal mode:
Switch(config)# controller nid 1/1
Switch(config-controller)# UDLDPortType
Switch(config-controller-UDLDPortType)# setGlobalUDLDConfig udldGlobalConfig mode normal
disable
Switch(config-controller-UDLDPortType)# setGlobalUDLDConfig review
Commands in queue:
setGlobalUDLDConfig udldGlobalConfig mode normal disable
Switch((config-controller)UDLDPortType)# setGlobalUDLDConfig commit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Step 3
UDLDPortType
Example:
Switch(config-controller)# UDLDPortType
Step 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
587
Configuring UDLD
Enabling UDLD Mode on a Port
Command or Action
Purpose
modeSpecifies UDLD configuration mode.
Example:
Switch(config-controller-UDLDPortType)#
setIntfUDLDConfig udldInterfaceConfig mode
aggressive enable
Switch(config-controller-UDLDPortType)#
setIntfUDLDConfig udldInterfaceConfig
message-interval 20
Switch(config-controller-UDLDPortType)#
setIntfUDLDConfig udldInterfaceConfig port 3
Step 5
setIntfUDLDConfig review
Example:
Switch(config-controller-UDLDPortType)#
setIntfUDLDConfig review
Step 6
setIntfUDLDConfig commit
Example:
Switch(config-controller-UDLDPortType)#
setIntfUDLDConfig commit
Step 7
exit
Example:
Switch(config-controller-UDLDPortType)# exit
Configuration Example
The example shows how to enable UDLD on a specific port in an aggressive mode:
Switch(config)# controller nid 1/1
Switch(config-controller)# UDLDPortType
Switch(config-controller-UDLDPortType)#
aggressive enable
Switch(config-controller-UDLDPortType)#
message-interval 20
Switch(config-controller-UDLDPortType)#
Switch(config-controller-UDLDPortType)#
Commands in queue:
Switch(config-controller-UDLDPortType)# setIntfUDLDConfig
udldInterfaceConfig mode aggressive enable
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
588
Configuring UDLD
Disabling UDLD Mode on a Port
Switch(config-controller-UDLDPortType)# setIntfUDLDConfig
udldInterfaceConfig message-interval 20
Switch(config-controller-UDLDPortType)# setIntfUDLDConfig
udldInterfaceConfig port 3
Switch(config-controller-UDLDPortType)# setIntfUDLDConfig commit
This enables UDLD in aggressive mode only on port 3 of ME 1200 NID with a time interval of 20 seconds.
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Step 3
UDLDPortType
Example:
Switch(config-controller)# UDLDPortType
Step 4
Example:
Switch(config-controller-UDLDPortType)#
setIntfUDLDConfig udldInterfaceConfig port 3
Switch(config-controller-UDLDPortType)#
setIntfUDLDConfig udldInterfaceConfig mode
aggressive disable
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
589
Configuring UDLD
Disabling UDLD Mode on a Port
Command or Action
Purpose
port numberSpecifies number of the selected
port.
Step 5
setIntfUDLDConfig review
Example:
Switch(config-controller-UDLDPortType)#
setIntfUDLDConfig review
Step 6
setIntfUDLDConfig commit
Example:
Switch(config-controller-UDLDPortType)#
setIntfUDLDConfig commit
Step 7
exit
Example:
Switch(config-controller-UDLDPortType)# exit
Configuration Example
The example shows how to disable UDLD on a specific port in an aggressive mode:
Switch(config)# controller nid 1/1
Switch(config-controller)# UDLDPortType
Switch(config-controller-UDLDPortType)# setIntfUDLDConfig udldInterfaceConfig port 3
Switch(config-controller-UDLDPortType)# setIntfUDLDConfig udldInterfaceConfig mode
aggressive disable
Switch(config-controller-UDLDPortType)# setIntfUDLDConfig review
Commands in queue:
setIntfUDLDConfig udldInterfaceConfig port 3
setIntfUDLDConfig udldInterfaceConfig mode aggressive disable
Switch(config-controller-UDLDPortType)# setIntfUDLDConfig commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
590
Configuring UDLD
Getting Current Global UDLD Values
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Step 3
UDLDPortType
Example:
Switch(config-controller)# UDLDPortType
Step 4
getGlobalUDLDConfReq
Example:
Switch(config-controller-UDLDPortType)#
getGlobalUDLDConfig getGlobalUDLDConfReq
Step 5
getGlobalUDLDConfig review
Example:
Switch(config-controller-UDLDPortType)#
getGlobalUDLDConfig review
Step 6
getGlobalUDLDConfig commit
Example:
Switch(config-controller-UDLDPortType)#
getGlobalUDLDConfig commit
Step 7
exit
Example:
Switch(config-controller-UDLDPortType)# exit
Configuration Example
The example shows how to get current global UDLD values:
Switch(config)# controller nid 1/1
Switch(config-controller)# UDLDPortType
Switch(config-controller-UDLDPortType)# getGlobalUDLDConfig getGlobalUDLDConfReq
Switch(config-controller-UDLDPortType)# getGlobalUDLDConfig review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
591
Configuring UDLD
Getting Current Port Specific UDLD Values
Commands in queue:
getGlobalUDLDConfig getGlobalUDLDConfReq
Switch(config-controller-UDLDPortType)# getGlobalUDLDConfig commit
GetGlobalUDLDConfig_Output.udldGlobalConfig.mode.t = 1
GetGlobalUDLDConfig_Output.udldGlobalConfig.mode.u.normal = false
GetGlobalUDLDConfig_Output.udldGlobalConfig.message_interval = 7
GetGlobalUDLDConfig Commit Success!!!
Switch(config-controller-UDLDPortType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/2
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
592
Configuring UDLD
Getting Current Port Specific UDLD Values
Step 3
Command or Action
Purpose
UDLDPortType
Example:
Switch(config-controller)# UDLDPortType
Step 4
etGlobalUDLDConfReq
Example:
Switch(config-controller-UDLDPortType)#
getIntfUDLDConfig udldPhyPort 3
Step 5
setGlobalUDLDConfig review
Example:
Switch(config-controller-UDLDPortType)#
getIntfUDLDConfig review
Step 6
setGlobalUDLDConfig commit
Example:
Switch(config-controller-UDLDPortType)#
getIntfUDLDConfig commit
Step 7
exit
Example:
Switch(config-controller-UDLDPortType)# exit
Configuration Example
The example shows how to get current port specific UDLD values when UDLD is disabled:
Switch(config)# controller nid 1/1
Switch(config-controller)# UDLDPortType
Switch(config-controller-UDLDPortType)# getIntfUDLDConfig udldPhyPort 3
Switch(config-controller-UDLDPortType)# getIntfUDLDConfig review
Commands in queue:
getIntfUDLDConfig udldPhyPort 3
Switch(config-controller-UDLDPortType)# getIntfUDLDConfig commit
GetIntfUDLDConfig_Output.udldInterfaceConfig.mode.t = 1
GetIntfUDLDConfig_Output.udldInterfaceConfig.mode.u.enable = false
GetIntfUDLDConfig_Output.udldInterfaceConfig.message_interval = 7
GetIntfUDLDConfig_Output.udldInterfaceConfig.port = 3
GetIntfUDLDConfig Commit Success!!!
Switch(config-controller-UDLDPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
593
Configuring UDLD
Getting Current Port Specific UDLD Values
Commands in queue:
getIntfUDLDConfig udldPhyPort 3
Switch(config-controller-UDLDPortType)# getIntfUDLDConfig commit
GetIntfUDLDConfig_Output.udldInterfaceConfig.mode.t = 1
GetIntfUDLDConfig_Output.udldInterfaceConfig.mode.u.enable = true
GetIntfUDLDConfig_Output.udldInterfaceConfig.message_interval = 7
GetIntfUDLDConfig_Output.udldInterfaceConfig.port = 3
GetIntfUDLDConfig Commit Success!!!
Switch(config-controller-UDLDPortType)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
594
Configuring UDLD
Verifying UDLD
GetIntfUDLDConfig_Output.xmlns:soap =
"http://schemas.xmlsoap.org/wsdl/soap/"
GetIntfUDLDConfig_Output.xmlns:soapenc =
"http://schemas.xmlsoap.org/soap/encoding/"
GetIntfUDLDConfig_Output.xmlns:wsdl =
"http://schemas.xmlsoap.org/wsdl/"
Verifying UDLD
Use the following command to verify the UDLD status on the controller.
showUDLDStatusReq
This command displays the UDLD configuration status on the NID. The following is a sample output
from the command:
Switch(config-controller-UDLDPortType)# showUDLDStatus showUDLDStatusReq
Switch(config-controller-UDLDPortType)# showUDLDStatus review
Commands in queue:
showUDLDStatus showUDLDStatusReq
Switch(config-controller-UDLDPortType)# showUDLDStatus commit
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[0].port = 1
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[0].mode =
'Disable'
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[0].messageInterval
= 7
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[0].adminState
= false
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[0].localDeviceId
= 'B8-38-61-68-7B-BC'
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[0].localDeviceName
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[0].bidirState
= 'Indeterminant'
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[0].nbrPortID
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[0].nbrDeviceID
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[0].nbrDeviceName
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[0].nbrLinkState
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[1].port = 2
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[1].mode =
'Disable'
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[1].messageInterval
= 7
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[1].adminState
= false
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[1].localDeviceId
= 'B8-38-61-68-7B-BC'
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[1].localDeviceName
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[1].bidirState
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
595
Configuring UDLD
Verifying UDLD
= 'Indeterminant'
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[1].nbrPortID
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[1].nbrDeviceID
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[1].nbrDeviceName
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[1].nbrLinkState
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[2].port = 3
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[2].mode =
'Normal'
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[2].messageInterval
= 10
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[2].adminState
= true
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[2].localDeviceId
= 'B8-38-61-68-7B-BC'
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[2].localDeviceName
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[2].bidirState
= 'Indeterminant'
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[2].nbrPortID
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[2].nbrDeviceID
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[2].nbrDeviceName
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[2].nbrLinkState
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[3].port = 4
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[3].mode =
'Normal'
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[3].messageInterval
= 10
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[3].adminState
= true
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[3].localDeviceId
= 'B8-38-61-68-7B-BC'
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[3].localDeviceName
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[3].bidirState
= 'Indeterminant'
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[3].nbrPortID
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[3].nbrDeviceID
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[3].nbrDeviceName
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[3].nbrLinkState
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[4].port = 5
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[4].mode =
'Normal'
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[4].messageInterval
= 10
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[4].adminState
= true
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
596
Configuring UDLD
Additional References
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[4].localDeviceId
= 'B8-38-61-68-7B-BC'
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[4].localDeviceName
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[4].bidirState
= 'Indeterminant'
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[4].nbrPortID
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[4].nbrDeviceID
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[4].nbrDeviceName
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[4].nbrLinkState
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[5].port = 6
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[5].mode =
'Disable'
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[5].messageInterval
= 7
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[5].adminState
= false
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[5].localDeviceId
= 'B8-38-61-68-7B-BC'
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[5].localDeviceName
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[5].bidirState
= 'Indeterminant'
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[5].nbrPortID
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[5].nbrDeviceID
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[5].nbrDeviceName
= ''
ShowUDLDStatus_Output.showUDLDStatusResp.udldStatusList[5].nbrLinkState
= ''
Additional References
Related Documents
Related Topic
Document Title
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
597
Configuring UDLD
Additional References
MIBs
MIB
MIBs Link
To locate and download MIBs for selected platforms, Cisco IOS releases,
and feature sets, use Cisco MIB Locator found at the following URL:
http://www.cisco.com/go/mibs
Technical Assistance
Description
Link
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
598
CHAPTER
30
Note
Flex Links does not currently support stacking, duo switches structure, or VLAN separation.
Prerequisites for Configuring Flex Links, page 599
Restrictions for Configuring Flex Links, page 599
Information about Flex Links, page 600
MAC Address Table Move Update, page 600
How to Configure Flex Links, page 601
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
599
The backup link does not have to be the same type as the active link. However, they should be configured
with similar characteristics so that there are no loops or changes in operation if the standby link becomes
active.
An active link cannot belong to another Flex Links pair.
The Flex Links pair cannot belong to the same port channel. However, a Flex Links pair can be a port
channel and a physical interface, or two port channels or physical interfaces.
The port channel interface should be active when included in the Flex Links pair, for it to be configured
properly.
Note
MAC address table move update enables fast recovery of network connectivity but consumes CPU
resources.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
600
Purpose
Example:
Switch# configure terminal
Example:
Switch(config)# controller nid 1/1
Step 3 FlexlinksPortType
Enters FlexlinksPortType
mode to provision Flex
Links.
Example:
Switch(config-controller)# FlexlinksPortType
Step 4 flexlinkPortConfiguration|flexlinksConfiguration{activePort|backupPort|flexlinkEnabled}
Example:
Switch(config-controller-FlexlinkPortType)# flexlinkPortConfiguration
flexlinksConfiguration activePort activePortId 4
flexlinkPortConfiguration flexlinksConfiguration backupPort backupPortId 6
flexlinkPortConfiguration flexlinksConfiguration flexlinkEnabled enable
activePort Enter
the Port number of
interface to be
configured .
backupPort Enter
the backup interface
port number. It can
be a physical port
number or
LLAG/LACP group
ID.
flexlinkEnabled
Enter enable or
disable to configure
Flexlink port
number.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
601
Command or Action
Purpose
Example:
Switch(config-controller-FlexlinksPotType)# flexlinkPortConfiguration commit
Step 7 exit
Example:
Switch(config-controller-FlexLinksPortType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
FlexlinksPortType
Example:
Switch(config-controller)# FlexlinksPortType
Step 4
getFlexlinksConfiguration
Gets the activeport configuration
getFlexlinkConfigRequest{llagGroupIdllagGroup-Id|phyPortIdphyPort-Id} using getcommand.
Example:
Switch(config-controller-FlexlinksPotType)#
getFlexlinksConfiguration
Switch(config-controller-FlexlinksPotType)#
getFlexlinksConfiguration getFlexlinkConfigRequest port phyPortId
4
Switch(config-controller-FlexlinksPotType)#
getFlexlinksConfiguration getFlexlinkConfigRequest llagGroupId 2
Step 5
getFlexlinksConfiguration review
Example:
Switch(config-controller-FlexlinksPotType)#
getFlexlinksConfiguration review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
602
Step 6
Command or Action
Purpose
getFlexlinksConfiguration commit
Example:
Switch(config-controller-FlexlinksPotType)#
getFlexlinksConfiguration commit
Step 7
exit
Example:
Switch(config-controller-FlexLinksPortType)# exit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
FlexlinksPortType
Example:
Switch(config-controller)# FlexlinksPortType
Step 4
getFlexlinksConfiguration
getFlexlinkConfigRequestportllagGroupId phyPortId
Example:
Switch(config-controller-FlexlinksPortType)#
getFlexlinksConfiguration getFlexlinkConfigRequest port
llagGroupId 2
Switch(config-controller-FlexlinksPortType)#
getFlexlinksConfiguration getFlexlinkConfigRequest port
phyPortId 4
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
603
Step 5
Command or Action
Purpose
getFlexlinksConfiguration review
Example:
Switch(config-controller-FlexlinksPortType)#
getFlexlinksConfiguration review
Commands in queue:
getFlexlinksConfiguration flexlinksPhysicalPort
4
Step 6
getFlexlinksConfiguration commit
Example:
Switch(config-controller-FlexlinksPortType)#
getFlexlinksConfiguration commit
Step 7
exit
Example:
Switch(config-controller-FlexLinksPortType)# exit
Configuration Example
The example retrieves the Flex Links configuration for port 4 on the NID:
Switch(config-controller-FlexlinksPortType)# getFlexlinksConfigRequestportphyPortId 4
Switch(config-controller-FlexlinksPortType)# getFlexlinksConfiguration review
Commands in queue:
getFlexlinksConfigRequestportphyPortId 4
Switch(config-controller-FlexlinksPortType)# getFlexlinksConfiguration commit
GetFlexlinksConfiguration_Output.getFlexlinksConfiguration.portNumber = 4
GetFlexlinksConfiguration_Output.getFlexlinksConfiguration.flexlinksEnable = false
GetFlexlinksConfiguration_Output.getFlexlinksConfiguration.key = 4
GetFlexlinksConfiguration_Output.getFlexlinksConfiguration.role.t = 4
GetFlexlinksConfiguration_Output.getFlexlinksConfiguration.role.u.active = true
GetFlexlinksConfiguration_Output.getFlexlinksConfiguration.portPriority = 32768
GetFlexlinksConfiguration_Output.getFlexlinksConfiguration.timeout.t = 4
getFlexlinksConfiguration_Output.getFlexlinksConfiguration.timeout.u.fast = true
GetFlexlinksConfiguration Commit Success!!!
Switch(config-controller-FlexlinksPortType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
604
Step 2
Command or Action
Purpose
Example:
Switch(config)# controller nid 1/1
Step 3
FlexlinksPortType
Example:
Switch(config-controller)# FlexlinksPortType
Step 4
showFlexlinksConfigdisplayFlexlinksConfigport{llagGroupID|phyPortId}
Example:
Switch(config-controller-FlexlinksPortType)# showFlexlinksConfig
displayFlexlinksConfig port phyPortId 4
showFlexlinksConfig review
Example:
Switch(config-controller-FlexlinksPotType)# showFlexlinksConfig
review
Step 6
showFlexlinksConfig commit
Example:
Switch(config-controller-FlexlinksPotType)# showFlexlinksConfig
commit
Step 7
exit
Example:
Switch(config-controller-FlexLinksPortType)# exit
Configuration Example
The example shows the flexlink configuration in active ports.
Switch(config-controller)# FlexlinksPortType
Switch(config-controller-FlexlinksPortType)# showFlexlinksConfig displayFlexlinksConfig
port phyPortId 4
(config-controller-FlexlinksPortType)# showFlexlinksConfig commit
ShowFlexlinksConfig_Output.displayFlexlinksConfigResp[0].backupPort = 'GigabitEthernet 1/6'
ShowFlexlinksConfig_Output.displayFlexlinksConfigResp[0].activePort = 'GigabitEthernet 1/4'
ShowFlexlinksConfig_Output.displayFlexlinksConfigResp[0].backupState = 'Active Up/Backup
Standby'
ShowFlexlinksConfig_Output.displayFlexlinksConfigResp[0].macUpdateEnabled = 'enabled'
(config-controller-FlexlinksPortType)# showFlexlinksConfig commit
ShowFlexlinksConfig_Output.displayFlexlinksConfigResp[0].backupPort = 'GigabitEthernet 1/6'
ShowFlexlinksConfig_Output.displayFlexlinksConfigResp[0].activePort = 'GigabitEthernet 1/4'
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
605
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
FlexlinksPortType
Example:
Switch(config-controller)# FlexlinksPortType
Step 4
macMoveUpdatePortConfig macMoveUpdateConfig {
Displays the macMoveUpdateConfig mode.
User can enable macMoveUpdate, only after
llagGroupId llagGroup-Id | mmuEnabled { enable|disable } Note
flex link is configured.
| portNumber portNumber }
llagGroupId Configures llag as an active
port in flex link. The range is from 1-4
Example:
Switch(config-controller-FlexlinksPortType)#
macMoveUpdatePortConfig macMoveUpdateConfig
Switch(config-controller-FlexlinksPortType)#
macMoveUpdatePortConfig macMoveUpdateConfig llagGroup
id 2
Switch(config-controller-FlexlinksPortType)#
macMoveUpdatePortConfig macMoveUpdateConfig portNumber
4
Switch(config-controller-FlexlinksPortType)#
macMoveUpdatePortConfig macMoveUpdateConfig mmuEnabled
enable
Step 5
macMoveUpdatePortConfig review
Example:
Switch(config-controller-FlexlinksPotType)#
macMoveUpdatePortConfig review
Step 6
macMoveUpdatePortConfig commit
Example:
Switch(config-controller-FlexlinksPotType)#
macMoveUpdatePortConfig commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
606
Step 7
Command or Action
Purpose
exit
Example:
Switch(config-controller-FlexLinksPortType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
FlexlinksPortType
Example:
Switch(config-controller)# FlexlinksPortType
Step 4
getMACMoveUpdateConfiggetFlexlinkConfigRequestport{llagGroupId|phyPortId}
Example:
llagGroupID Displays
the active llagGroupID
number.
Switch(config-controller-FlexlinksPortType)# getMACMoveUpdateConfig
getFlexlinkConfigRequest port phyPortId 4
phyPortId Displays
the active physical port
number.
Step 5
getMACMoveUpdateConfig review
Example:
Switch(config-controller-FlexlinksPotType)# getMACMoveUpdateConfig review
Step 6
getMACMoveUpdateConfig commit
Example:
Switch(config-controller-FlexlinksPotType)# getMACMoveUpdateConfig review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
607
Step 7
Command or Action
Purpose
exit
Example:
Switch(config-controller)FlexLinksPortType)# exit
Configuration Example
The example shows the flexlink configuration in active ports.
Switch(config-controller)# FlexlinksPortType
Switch(config-controller-FlexlinksPortType)# getMACMoveUpdateConfig getFlexlinkConfigRequest
port phyPortId 4
(config-controller-FlexlinksPortType)# getMACMoveUpdateConfig review
Commands in queue: 1
getMACMoveUpdateConfig getFlexlinkConfigRequest port phyPortId 4
(config-controller-FlexlinksPortType)# getMACMoveUpdateConfig commit
GetMACMoveUpdateConfig_Output.macMoveUpdateConfig._choice1.t = 1
GetMACMoveUpdateConfig_Output.macMoveUpdateConfig._choice1.u.portNumber = 4
GetMACMoveUpdateConfig_Output.macMoveUpdateConfig.mmuEnabled = true
GetMACMoveUpdateConfig Commit Success!!!(config-controller-FlexlinksPortType)#
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
608
CHAPTER
31
Configuring Y.1564
This document describes the Y.1564 test feature and configuration steps to execute Y.1564 feature.
Prerequisites for Configuring Y.1564 , page 609
Information About Y.1564, page 609
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
609
Configuring Y.1564
Configuring New Y.1564 Profile
Purpose
Enters global configuration mode.
Example:
Switch# configure terminal
Example:
Switch(config)# controller nid 1/1
Step 3 ciscoY1564
Example:
Switch(config-controller)# ciscoY1564
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
610
Configuring Y.1564
Configuring New Y.1564 Profile
Command or Action
Purpose
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
611
Configuring Y.1564
Getting the Profile Configuration using Profile Name
Command or Action
Purpose
user-defined-frame-size Enter the frame size if emix
is set to 'U'.
Step 5 review
Example:
Switch(config-controller-ciscoY1564)#
setY1564Profile review
Step 6 commit
Example:
Switch(config-controller-ciscoY1564)#
setY1564Profile commit
Step 7 exit
Example:
Switch(config-controller-ciscoY1564)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
controller nid1/NID_ID
Example:
Switch(config)# controller nid 1/1
Step 3
ciscoY1564
Example:
Switch(config-controller)# ciscoY1564
Step 4
getY1564ProfilegetY1564ProfileReq
Example:
Switch(config-controller-ciscoY1564)# getY1564Profile
getY1564ProfileReq
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
612
Configuring Y.1564
Getting the Profile Configuration using Profile Name
Step 5
Command or Action
Purpose
getY1564Profilereview
Example:
Switch(config-controller-ciscoY1564)# getY1564Profile
review
Step 6
getY1564Profilecommit
Example:
Switch(config-controller-ciscoY1564)# getY1564Profile
commit
Step 7
exit
Example:
Switch(config-controller-ciscoY1564)# exit
The following example shows the Profile Configuration using the Profile Name:
Switch(config-controller)# getY1564Profile commit
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.profileName = 'cisco123456'
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.description = 'oamunaware'
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.acceptable_fdv = 0
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.acceptable_ftd = 0
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.acceptable_flr = 0
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.dst_oam_aware = false
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.dwell_time = 500
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.emix = '1024'
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.meg_level = 7
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.traffic_type.t = 1
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.traffic_type.u.oam = '0'
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.user_defined_frame_size = 2000
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.cir_test.start = true
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.cir_test.duration = 60
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.cir_test.dm_interval = 500
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.cir_test.step_count = 4
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.eir_test.start = true
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.eir_test.duration = 60
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.eir_test.dm_interval = 500
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.performance_test.start = true
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.performance_test.duration = 10
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.performance_test.dm_interval = 100
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.traffic_policing_test.start = true
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.traffic_policing_test.duration =
10
GetY1564Profile_Output.y1564Profile.y1564Profile_ELEM_0.traffic_policing_test.dm_interval
= 100
GetY1564Profile Commit Success
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
613
Configuring Y.1564
Viewing Profile Names
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
controller nid1/NID_ID
Example:
Switch(config)# controller nid 1/1
Step 3
ciscoY1564
Example:
Switch(config-controller)# ciscoY1564
Step 4
showY1564showY1564Req{profiles|reports}
Example:
Switch(config-controller-ciscoY1564)# showY1564
showY1564Req
Step 5
showY1564review
Example:
Switch(config-controller-ciscoY1564)# showY1564 review
Step 6
exit
Example:
Switch(config-controller-ciscoY1564)# exit
The following example shows the configurations to display a particular Profiles using the profile name or
description:
Switch(config-controller-ciscoy1564)#showY1564 commit
ShowY1564_Output.showY1564Resp.t = 1
ShowY1564_Output.showY1564Resp.u.profile[0].profileName
ShowY1564_Output.showY1564Resp.u.profile[0].description
ShowY1564_Output.showY1564Resp.u.profile[1].profileName
ShowY1564_Output.showY1564Resp.u.profile[1].description
ShowY1564 Commit Success
=
=
=
=
'NewProfile1'
''
'cisco123456'
'oamunaware'
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
614
Configuring Y.1564
Viewing Profile Names
Purpose
Enters global
configuration mode.
Example:
Switch# configure terminal
Enters the
controller
configuration mode.
Example:
Switch(config)# controller nid 1/1
Step 3 ciscoY1564
Enters ciscoY1564
configuration mode.
Example:
Switch(config-controller)# ciscoY1564
Step 4 y1564ProfileManagement|old-y1564ProfileManagmentReq{delete|rename{new-name|old-name}}
Example:
Switch(config-controller-ciscoY1564)# y1564ProfileManagement y1564ProfileManagmentReq
rename old-name cisco123456
Switch(config-controller-ciscoY1564)# y1564ProfileManagement y1564ProfileManagmentReq
rename new-name cisco
Switch(config-controller-ciscoY1564)# y1564ProfileManagement y1564ProfileManagmentReq
delete cisco
Step 5 review
renameSet
rename to
rename a old
profile name.
deleteSet
delete to
delete an
existing
profile.
Reviews the
ciscoY1564 profile
names.
Example:
Switch(config-controller-ciscoY1564)# y1564ProfileManagement review
Step 6 commit
Example:
Switch(config-controller-ciscoY1564)# y1564ProfileManagement commit
Step 7 exit
Example:
Switch(config-controller-ciscoY1564)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
615
Configuring Y.1564
Configuring Y.1564 Test Parameters
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
controller nid1/NID_ID
Example:
Switch(config)# controller nid 1/1
Step 3
ciscoY1564
Example:
Switch(config-controller)# ciscoY1564
Step 4
Switch(config-controller-ciscoY1564)#
setY1564TestParams y1564TestsReq profile-name
cisco123456
Switch(config-controller-ciscoY1564)#
setY1564TestParams y1564TestsReq report-name
controllerreport123456
Switch(config-controller-ciscoY1564)#
setY1564TestParams y1564TestsReq description dstmodeno
Switch(config-controller-ciscoY1564)#
setY1564TestParams y1564TestsReq evc 1
Switch(config-controller-ciscoY1564)#
setY1564TestParams y1564TestsReq ece 1
Switch(config-controller-ciscoY1564)#
setY1564TestParams y1564TestsReq interface 3
Switch(config-controller-ciscoY1564)#
setY1564TestParams y1564TestsReq peer-mac
00-00-00-00-00-01
Switch(config-controller-ciscoY1564)#
setY1564TestParams y1564TestsReq pcp 2
Switch(config-controller-ciscoY1564)#
setY1564TestParams y1564TestsReq vlan untagged
Switch(config-controller-ciscoY1564)#
setY1564TestParams y1564TestsReq dei 0
Switch(config-controller-ciscoY1564)#
setY1564TestParams review
Switch(config-controller-ciscoY1564)#
setY1564TestParams commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
616
Configuring Y.1564
Configuring Y.1564 Test Parameters
Step 5
Command or Action
Purpose
review
Example:
Switch(config-controller-ciscoY1564)#
setY1564TestParams review
Step 6
commit
Example:
Switch(config-controller-ciscoY1564)#
setY1564TestParams commit
Step 7
exit
Example:
Switch(config-controller-ciscoY1564)# exit
Configuration Example
when profile is configured as DST, then OAM-aware port and peer-mac address need to be specified in
setY1564TestParams.
Switch(config-controller)# ciscoY1564
Switch(config-controller-ciscoY1564)# setY1564TestParams y1564TestsReq
Switch(config-controller-ciscoY1564)# setY1564TestParams y1564TestsReq profile-name
cisco123456
Switch(config-controller-ciscoY1564)# setY1564TestParams y1564TestsReq report-name
controllerreport123456
Switch(config-controller-ciscoY1564)# setY1564TestParams y1564TestsReq description dstmodeno
Switch(config-controller-ciscoY1564)# setY1564TestParams y1564TestsReq peer-mac
00-02:01:00:01:03
Switch(config-controller-ciscoY1564)# setY1564TestParams y1564TestsReq evc 1
Switch(config-controller-ciscoY1564)# setY1564TestParams y1564TestsReq ece 1
Switch(config-controller-ciscoY1564)# setY1564TestParams y1564TestsReq interface 3
Switch(config-controller-ciscoY1564)# setY1564TestParams review
Switch(config-controller-ciscoY1564)# setY1564TestParams commit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
controller nid1/NID_ID
Example:
Switch(config)# controller nid 1/1
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
617
Configuring Y.1564
Configuring Y.1564 Test Parameters
Step 3
Command or Action
Purpose
ciscoY1564
Example:
Switch(config-controller)# ciscoY1564
Step 4
getY1564TestParamsgetY1564TestsReq
Example:
Switch(config-controller-ciscoY1564)#
getY1564TestParams getY1564TestsReq
Step 5
review
Example:
Switch(config-controller-ciscoY1564)#
getY1564TestParams review
Step 6
commit
Example:
Switch(config-controller-ciscoY1564)#
getY1564TestParams commit
Step 7
exit
Example:
Switch(config-controller-ciscoY1564)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
controller nid1/NID_ID
Example:
Switch(config)# controller nid 1/1
Step 3
ciscoY1564
Example:
Switch(config-controller)# ciscoY1564
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
618
Configuring Y.1564
Configuring Y.1564 Test Parameters
Command or Action
Step 4
Purpose
y1564ReportManagement y1564ReportManagementReqsave|stop
Example:
Switch(config-controller-ciscoY1564)# y1564ReportManagemen
y1564ReportManagementReq save reportName controllerreport
Switch(config-controller-ciscoY1564)# y1564ReportManagemen
y1564ReportManagementReq save tftpPath
tftp://202.153.144.25/auto/tftp-blr-users1/sharsh
Step 5
review
Example:
Switch(config-controller-ciscoY1564)#y1564ReportManagement
review
Step 6
commit
Example:
Switch(config-controller-ciscoY1564)#y1564ReportManagement
commit
Step 7
exit
Example:
Switch(config-controller-ciscoY1564)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
controller nid1/NID_ID
Example:
Switch(config)# controller nid 1/1
Step 3
ciscoY1564
Example:
Switch(config-controller)# ciscoY1564
Step 4
y1564ReportManagement
y1564ReportManagementReq{delete|stop}
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
619
Configuring Y.1564
Configuring Y.1564 Test Parameters
Command or Action
Example:
Purpose
StopSet stop to stop an ongoing profile test
.
Switch(config-controller-ciscoY1564)#
y1564ReportManagemen y1564ReportManagementReq delete
controlerreport
Step 5
review
Example:
Switch(config-controller-ciscoY1564)#
y1564ReportManagement review
Step 6
commit
Example:
Switch(config-controller-ciscoY1564)#
y1564ReportManagement commit
Step 7
exit
Example:
Switch(config-controller-ciscoY1564)# exit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
620
CHAPTER
32
Configuring LST
This chapter describes how to configure Link State Tracking on theCisco ME 1200 NID
Prerequisites for Configuring LST , page 621
Understanding How Link State Tracking Works, page 621
Note
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
621
Configuring LST
Configuring mepTLV
Configuring mepTLV
DETAILED STEPS
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
LSTPortType
Example:
Switch(config-controller)# LSTPortType
Step 4
mepTLVConfiguration
Example:
Switch(config-controller-LSTPortType)# mepTLVConfiguration
Step 5
ccmTLVConfigccmEnabled{enable|disable}
Example:
Switch(config-controller-LSTPortType)# mepTLVConfiguration
Switch# mepTLVConfiguration ccmTLVConfig ccmEnabled enable
Step 6
Step 7
mepTLVConfiguration review
Example:
Switch(config-controller-LSTPortType)# mepTLVConfiguration
review
Step 8
mepTLVConfiguration commit
Example:
Switch(config-controller-LSTPortType)# mepTLVConfiguration
commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
622
Configuring LST
Checking ccmTLV Configuration
Step 9
Command or Action
Purpose
exit
Example:
Switch(config-controller-LSTPortType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
LSTPortType
Example:
Switch(config-controller)# LSTPortType
Step 4
Step 5
getmepTLVConfiguration review
Example:
Reviews the
mepTLVConfiguration
mode.
Step 6
getmepTLVConfiguration commit
Example:
Sends the
mepTLVConfiguration to the
controller.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
623
Configuring LST
Configuring LST
Configuring LST
DETAILED STEPS
Command or Action
Step 1 configure terminal
Purpose
Enters global configuration
mode.
Example:
Switch# configure terminal
Example:
Switch(config)# controller nid 1/1
Step 3 LSTPortType
Example:
Switch(config-controller)# LSTPortType
Step 4 LinkStateTrackingConfiguration
Example:
Enters
LinkStateTrackingConfiguration
mode.
Switch(config-controller-LSTPortType)# LinkStateTrackingConfiguration
Reviews the
LinkStateTrackingConfiguration
mode.
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
624
Sends the
LinkStateTrackingConfiguration
to thecontroller.
Configuring LST
Checking LST Configuration
Command or Action
Purpose
Step 9 exit
Example:
Switch(config-controller-LSTPortType)# exit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
LSTPortType
Example:
Switch(config-controller)# LSTPortType
Step 4
getLSTConfiguration
Example:
Switch(config-controller-LSTPortType)# getLSTConfiguration
Step 5
getLSTConfigurationmepInstancemepInstance_id
Example:
Switch(config-controller-LSTPortType)#getLSTConfiguration
Switch(config-controller-LSTPortType)#getLSTConfiguration
mepInstance 1-100
Step 6
getLSTConfiguration review
Example:
Switch(config-controller-LSTPortType)# getLSTConfiguration
review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
625
Configuring LST
Viewing LST Configuration
Step 7
Command or Action
Purpose
getLSTConfiguration commit
Example:
Switch(config-controller-LSTPortType)# getLSTConfiguration
commit
Step 1
Command or Action
Purpose
configure terminal
Example:
Switch# configure terminal
Step 2
Example:
Switch(config)# controller nid 1/1
Step 3
LSTPortType
Example:
Switch(config-controller)# LSTPortType
Step 4
displayLSTConfiguration
Example:
Switch(config-controller-LSTPortType)#
displayLSTConfiguration
Step 5
displayLSTConfigurationmepInstancemepInstance_id
Example:
Switch(config-controller-LSTPortType)#
displayLSTConfiguration
Switch(config-controller-LSTPortType)#
displayLSTConfiguration mepInstance 1-100
Step 6
displayLSTConfiguration review
Example:
Switch(config-controller-LSTPortType)#
displayLSTConfiguration review
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
626
Configuring LST
Viewing LST Configuration
Step 7
Command or Action
Purpose
displayLSTConfiguration commit
Example:
Switch(config-controller-LSTPortType)#
displayLSTConfiguration commit
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
627
Configuring LST
Viewing LST Configuration
Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
628