To bind a service instance to a bridge domain instance, use the bridge-domain command in service instance configuration mode. To unbind a service instance from a bridge domain instance, use the no form of this command.
bridge-domainbridge-id [split-horizon]
no bridge-domain
Syntax Description
bridge-id
Numerical ID of the bridge domain instance. The range is from 1 to 16384.
split-horizon
(Optional) Configures a port or service instance as a member of a split-horizon group.
Command Default
Service instances are not bound to a bridge domain instance.
Command Modes
Service instance configuration (config-if-svc)
Command History
Release
Modification
9.3.0
This command was introduced.
Usage Guidelines
Use the bridge-domain command to bind a service instance to a bridge domain.
Examples
The following example shows how to bind a bridge domain to a service instance using the bridge-domain command
To clear Ethernet service instance attributes such as MAC addresses and statistics or to purge Ethernet service instance errors, use the clear ethernet service instance command in privileged EXEC mode.
clear ethernet service instance {ididentifierinterfacetype number {errdisable | mac table [address] | stats} | interfacetype numberstats}
Syntax Description
ididentifier
Indicates that a service instance is specified.
interface
Indicates that a specific interface is specified.
type
Type of interface.
number
Number of the interface.
errdisable
Indicates that a clear action for an error-disabled state is specified.
mac table
Indicates that a MAC table is specified.
address
Address in the specified MAC table.
stats
Indicates that the service instance statistics are specified.
Command Modes
Privileged EXEC (#)
Command History
Release
Modification
9.3.0
This command was introduced.
Usage Guidelines
Use the clear ethernet service instance command to clear the service instance attributes that are not needed and to purge service instance errors.
Examples
The following example shows how to clear an error-disabled state on service instance 100 on interface TenGigabitEthernet 4/1 using the clear ethernet service instance command:
Router# clear ethernet service instance id 100 interface TenGigabitEthernet 4/1 errdisable
Related Commands
Command
Description
show ethernet service instance
Displays information about Ethernet service instances.
encapsulation
To define the matching criteria that maps the ingress dot1q, QinQ, or untagged frames on an interface to the appropriate service instance, use the encapsulation dot1q command in service instance configuration mode.
To configure the bridge domain, use the mode command in global configuration mode. To remove the bridge domain from p2p mode, use the no form of this command.
mode [p2p]
Syntax Description
p2p
(Optional) Configures the bridge domain in point-to-point (p2p) mode.
Command Default
The default mode of the bridge domain is point-to-multipoint (p2mp).
Command Modes
Global configuration (config)
Command History
Release
Modification
9.3.0
This command was introduced.
Usage Guidelines
The p2p bridge domain can be used for Ethernet Private Line (EPL) and Ethernet Virtual Private Line (EVPL) services. The p2mp bridge domain can be used for Ethernet Private LAN (EPLAN) and Ethernet Virtual Private LAN (EVPLAN) services.
Examples
The following example shows how to configure the bridge domain in p2p mode.
Binds a service instance to a bridge domain instance.
rewrite ingress tag
To specify the rewrite operation to be applied on the frame ingress to the service instance, use the rewrite ingress tag command in service instance configuration mode. To remove the rewrite operation, use the no form of this command.
Integer in the range 1 to 4094 that identifies the VLAN.
second-dot1q
Specifies a different 802.1Q tag at the ingress service instance.
dot1ad
Specifies an IEEE 802.1ad tag.
pop
Removes a tag from a packet.
{1 | 2}
Specifies either the outermost tag or the two outermost tags for removal from a packet.
translate
Translates, by VLAN ID, a tag or a pair of tags defined in the encapsulation command.
1-to-1
Translates a single tag defined by the encapsulation command to a single tag defined in the rewrite ingress tag command.
1-to-2
Translates a single tag defined by the encapsulation command to a pair of tags defined in the rewrite ingress tag command.
2-to-1
Translates, by VLAN ID, a pair of tags defined by the encapsulation command to a single tag defined in the rewrite ingress tag command.
2-to-2
Translates, by VLAN ID, a pair of tags defined by the encapsulation command to a pair of tags defined in the rewrite ingress tag command.
symmetric
(Optional) Indicates a reciprocal adjustment to be done in the egress direction. For example, if the ingress pops a tag, the egress pushes a tag and if the ingress pushes a tag, the egress pops a tag.
Command Default
The frame is left intact on ingress.
Command Modes
Service instance configuration (config-if-srv)
Command History
Release
Modification
9.3.0
This command was introduced.
Usage Guidelines
The EFP point–to–point service does not support the rewrite egress operation. It supports only the symmetric rewrite operation.
The EFP multipoint–to–multipoint service supports rewrite ingress with the symmetric option. It does not support the rewrite egress operation.
Rewrite Push 1 tag operation is not supported for encapsulations with double tag.
Rewrite Push 2 tag operation is not supported for encapsulations with single or double tag.
Translate rewrite operations are not supported for encapsulations, such as untagged, any, default, and for encapsulations involving VLAN range and list.
Examples
The following example shows how to specify the rewrite operation to be applied on the frame ingress to the service instance.
Sets the encapsulation method used by an interface.
service instance ethernet
To configure an Ethernet service instance on an interface and to enter Ethernet service configuration mode, use the service instance ethernet command in interface configuration mode. To delete a service instance, use the no form of this command.
service instanceidethernet [evc-name]
no service instanceid
Syntax Description
id
Integer from 1 to 4294967295 that uniquely identifies a service instance on an interface.
evc-name
(Optional) String of a maximum of 100 bytes that associates an Ethernet virtual connection (EVC) to the service instance.
Command Default
No Ethernet service instances are defined.
Command Modes
Interface configuration (config-if)
Command History
Release
Modification
9.3.0
This command was introduced.
Usage Guidelines
A service instance is a configuration object that holds all the management and control-plane attributes and parameters that apply to that service instance on a per-port basis. Different service instances that correspond to the same EVC must share the same name. Service instances are associated with a global EVC object through their shared name.
Examples
The following example shows how to define an Ethernet service instance and enter Ethernet service configuration mode for an EVC:
(Optional) Displays the port channel EFPs that are currently using the manual or platform load balancing and the egress link.
stats
(Optional) Displays statistics for a specified service instance.
summary
(Optional) Displays summary information about service instances.
policy-map
(Optional) Displays the policy map for service instances.
Command Modes
Privileged EXEC (#)
Command History
Release
Modification
9.3.0
This command was introduced.
Usage Guidelines
This command is useful for system monitoring and troubleshooting.
Examples
The following example shows how to view EFP statistics.
Router> show ethernet service instance stats
System maximum number of service instances: 32768
Service Instance 2, Interface TenGigabitEthernet3/1
Pkts In Bytes In Pkts Out Bytes Out
0 0 0 0
Service Instance 2, Interface Port-channel15
Pkts In Bytes In Pkts Out Bytes Out
0 0 0 0
The following example shows how to display manual load balancing configuration.
Router# show ethernet service instance load-balance
Manually Assigned Load-Balancing Status for Port-channel1
Link ID 1: TenGigabitEthernet4/1 (Active)
Backup: Link ID 2 TenGigabitEthernet3/2
Service instances: 10
Link ID 2: TenGigabitEthernet3/2 (Active)
Backup: Link ID 1 TenGigabitEthernet4/1
Service instances: 20
The following example shows how to display the port channel EFPs that are currently using the manual or platform load balancing and the egress link.