service-instance

Use service-instance to create a service instance on a Layer 2 Ethernet interface or enter service instance view.

Use undo service-instance to delete a service instance.

Syntax

service-instance instance-id

undo service-instance instance-id

Default

No service instances are created on a Layer 2 Ethernet interface.

Views

Layer 2 Ethernet interface view

Predefined user roles

network-admin

Parameters

instance-id: Specifies a service instance ID, in the range of 1 to 4096.

Examples

# Create service instance 1 on FortyGigE 1/0/1 or enter service instance view.

<Sysname> system-view
[Sysname] interface fortygige 1/0/1
[Sysname-FortyGigE1/0/1] service-instance 1
[Sysname-FortyGigE1/0/1-srv1]