Symptom
[+] After configuring the monitor session, IPv6 related configs are getting populated
ASR1002HX-(config)#monitor session 10 type erspan-source
ASR1002HX-(config-mon-erspan-src)# no shutdown
ASR1002HX-(config-mon-erspan-src)# source interface Te0/1/4
ASR1002HX-(config-mon-erspan-src)# destination
ASR1002HX-(config-mon-erspan-src-dst)# erspan-id 10
ASR1002HX-(config-mon-erspan-src-dst)# mtu 1464
ASR1002HX-(config-mon-erspan-src-dst)# ip address 192.168.1.2
ASR1002HX-(config-mon-erspan-src-dst)#end
ASR1002HX#show running-config | sec monitor session
monitor session 10 type erspan-source
no shutdown
source interface Te0/1/4
destination
erspan-id 10
mtu 1464
ip address 192.168.1.2
ipv6 dscp 0 >>>>>>
ipv6 ttl 0 >>>>>>
[+] While trying to delete the cli is throwing the error
ASR1002HX-(config-mon-erspan-src-dst)#no ipv6 dscp 0
^
% Invalid input detected at '^' marker.
ASR1002HX-(config-mon-erspan-src-dst)#no ipv6 ttl 0
^
% Invalid input detected at '^' marker.
[+] The CLI itself doesn't list any available option to configure IPv6 lines
ASR1002HX-(config-mon-erspan-src-dst)#?
ERSPAN DST Session Source Commands:
erspan-id Enter ERSPAN Identifier
exit Exit monitor erspan destination session source property mode
ip IP Properties
mtu Set the limitation size of ERSPAN encapsulation
no Negate a command or set its defaults
origin Origin IP Properties
vrf Enter VRF number
ASR1002HX-(config-mon-erspan-src-dst)#ip ?
address Enter IP Address
dscp IP QOS DSCP
prec IP QOS PREC
ttl IP TTL
Conditions
- The issue is seen on ASR1k platform
- The stale entires of "IPv6" related configs can be seen in show run output
- Reload will remove the stale entries but for any new monitor session configurations, it will again shows up
Workaround
Reload of the device will remove the IPv6 related stale entries from monitor session configs
Further Problem Description