Use the following procedure to remove existing SPBM configurations, disable CFM, and return the CFM MEP-ID and level configurations to default values.
Enable SPBM before running this script.
If the switch uses Zero Touch Fabric Configuration, you must run the following commands before you perform this procedure:
no auto-sense onboarding i-sid
no vlan i-sid <1-4059>
enable
configure terminal
run spbm clean
Note
If the script causes a configuration conflict or cannot run a command, an error message displays and the script stops.
Run the script:
Switch:1(config)#no auto-sense onboarding i-sid Switch:1(config)#no vlan i-sid Switch:1(config)#run spbm clean The following will delete all SPBM and interfaces and default the CFM configurations. Do you want to continue? <y/n>[n]:y Switch:1(config)#no router isis enable Switch:1(config)#interface gigabitethernet 1/10 Switch:1(config-if)#no isis Switch:1(config-if)#interface gigabitethernet 1/11 Switch:1(config-if)#no isis Switch:1(config-if)#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch:1(config)#no vlan 4051 Switch:1(config)#no vlan 4052 Switch:1(config)#router isis Switch:1(config-isis)#no spbm 1 Switch:1(config-isis)#router isis Switch:1(config-isis)#no ip-source-address Switch:1(config-isis)#no system-id Switch:1(config-isis)#no manual-area 49.0000 Switch:1(config-isis)#no cfm spbm enable Switch:1(config)#cfm spbm level 4 Switch:1(config)#cfm spbm mepid 1 Switch:1(config)#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch:1(config)# **SPBM configurations have been removed**