Celestica Documentation Portal

Find your product documents here

Everflow ERSPAN session config

Except the mirror session source interface, GRE tunnel mirror encap fields such as destination IP, source IP, DSCP, GRE, TTL field values have to be given to make the mirror session as an everflow mirror session. ACL rules are used to match source port(s). Upon removal, ACL rules must be removed before the deletion of mirror session.

Syntaxdestination Ethernet <interface-number>
Command mode Mirror session
Parameters
  • interface-number – Mirror source Ethernet interface number.

UsageUse no mirror-session <session-name> to delete flow-based mirror session.
Supported Releases 1.0.0 or later
Click commandconfig mirror_session [erspan] add <session_name> <src_ip> <dst_ip> <dscp> <ttl> [gre_type] [queue]
Example
sonic(config)# mirror-session m1
sonic(config-mirror-m1)# erspan dst-ip 1.1.1.1 src-ip 2.2.2.2 dscp 0 gre 0x1234 ttl 63
sonic(config)# no mirror-session m1