When there is suspicion that a SONiC device is dropping traffic and behaving abnormally, you may want to isolate the device from the network. Before isolating the device, please generate SONiC tech-support first.
You can shut down BGP sessions to neighbors using a form of theconfig bgp shutdown
command. There are a few variations of this command, examples follow.
- Shutdown BGP session with neighbor by neighbor's hostname:
- Example:
admin@sonic:~$ config bgp shutdown neighbor SONIC02SPINE
- Shutdown BGP session with neighbor by neighbor's IP address:
- Example:
admin@sonic:~$ config bgp shutdown neighbor 192.168.1.124