set interface ethernet-switching-options analyzer erspan output dest-ip


The set interface ethernet-switching-options analyzer erspan output dest-ip command configures the destination IP address for ERSPAN encapsulation.

The delete interface ethernet-switching-options analyzer erspan output dest-ip command deletes the configuration.

NOTEs:

  • The configured source IPv4 address and destination IPv4 address are used for the IP header encapsulation in the outer layer of the GRE message. Users have to configure the routing protocol to ensure the devices at both ends of the GRE tunnel are route reachable.
  • The specified destination IP address should be configured the same as the IP address of the remote Data Monitoring Server to ensure the destination is reachable for the mirrored messages.


Command Syntax

set interface ethernet-switching-options analyzer <mirror-name> erspan output dest-ip <dest-ipv4>


Parameters

Parameter

Description

analyzer <mirror-name>

Specifies a name of the ERSPN. The value is a string.

dest-ip <dest-ipv4>

Specifies the destination IPv4 address for the IP header encapsulation in the outer layer of the GRE message.


Example

  • The following example commands mirror all packets that te-1/1/4 receives, and copy and transmit the packets from source IP address 100.1.1.1 to destination IP address 200.1.1.2 through a GRE tunnel:
admin@Xorplus# set interface ethernet-switching-options analyzer 111 erspan input ingress te-1/1/4
admin@Xorplus# set interface ethernet-switching-options analyzer 111 erspan output source-ip 100.1.1.1
admin@Xorplus# set interface ethernet-switching-options analyzer 111 erspan output dest-ip 200.1.1.2
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.