show encap

Displays encap information for all or specified encap.

Syntax

show encap [ all | encap-name ]

Parameters

all
Displays all encaps.
encap-name
Specifies the name of the encap.

Modes

Exec mode

Usage Guidelines

Valid encap name must be provided.

Examples

The following example shows encap information for encap-1.

device# show encap encap-1
 encap encap-1
 encap-type		: erspan
 encap-id		: 123456
 source-ipv4-addr	: 10.10.10.1
 destination-ipv4-addr	: 20.20.20.1
 destination-mac-addr	: 00:01:02:03:04:05
 vlan-id		: 1234
 vlan-pcp		: 6