service

Use service to specify an IRF member device for forwarding the traffic on the current VLAN interface.

Use undo service to restore the default.

Syntax

service slot slot-number

undo service slot

Default

No IRF member devices are specified for forwarding the traffic on the VLAN interface.

Views

VLAN interface view

Predefined user roles

network-admin

Parameters

slot slot-number: Specifies an IRF member device by its member ID.

Usage guidelines

If no IRF member devices are specified for forwarding the traffic on the current VLAN interface, the traffic is processed on the IRF member device that receives the traffic.

Some features, such as IPsec anti-replay, require that traffic for the same VLAN interface be processed on the same IRF member device. If such a feature is configured, you must use this command to specify an IRF member device for forwarding the traffic on a VLAN interface.

If the specified IRF member device is removed from the IRF fabric, traffic on the VLAN interface cannot be forwarded even if the VLAN interface is up. After the specified IRF member device rejoins the IRF fabric, traffic forwarding recovers.

Examples

# Specify IRF member device 2 for forwarding traffic on VLAN-interface 200.

<Sysname> system-view
[Sysname] interface vlan-interface 200
[Sysname-Vlan-interface200] service slot 2