Configuration as below :
dial-peer voice 1023 pots
According to the above configuration if I WANT TO delete a defined dial peer by using
# no dial-peer voice 1023 pots
It will also deleted the services and port 0/2/3 which are running under this dial-peer without any effect to other dial peer configuration at gateway. or else its enough this command to delete the dial peer along .
Thanks i advance .
'no dial-peer voice 1023 pots' will remove the entire dial-peer, and all of it's sub-configuration.
If you just need to remove the 'service mgcpapp' config, 'default service' should do that.