ip msdp log-adjacency-changesTerminating a PeershipMSDP uses TCP as its transport protocol. In a peering relationship, the peer with the lower IP addressinitiates the TCP session, while the peer with the higher IP address listens on port 639.• Terminate the TCP connection with a peer.CONFIGURATION modeip msdp shutdownExample of the Verifying that Peering State is DisabledAfter the relationship is terminated, the peering state of the terminator is SHUTDOWN, while the peeringstate of the peer is INACTIVE.[Router 3]R3(conf)#ip msdp shutdown 192.168.0.1R3(conf)#do show ip msdp peerPeer Addr: 192.168.0.1Local Addr: 0.0.0.0(0) Connect Source: Lo 0State: Shutdown Up/Down Time: 00:00:18Timers: KeepAlive 30 sec, Hold time 75 secSourceActive packet count (in/out): 0/0SAs learned from this peer: 0SA Filtering:Input (S,G) filter: myremotefilterOutput (S,G) filter: none[Router 1]R1(conf)#do show ip msdp peerPeer Addr: 192.168.0.3Local Addr: 0.0.0.0(0) Connect Source: Lo 0State: Inactive Up/Down Time: 00:00:03Timers: KeepAlive 30 sec, Hold time 75 secSourceActive packet count (in/out): 0/0SAs learned from this peer: 0SA Filtering:Clearing Peer StatisticsTo clear the peer statistics, use the following command.• Reset the TCP connection to the peer and clear all peer statistics.CONFIGURATION modeclear ip msdp peer peer-addressExample of the clear ip msdp peer Command and Verifying Statistics are ClearedR3(conf)#do show ip msdp peerPeer Addr: 192.168.0.1Local Addr: 192.168.0.3(639) Connect Source: Lo 0State: Established Up/Down Time: 00:04:26Timers: KeepAlive 30 sec, Hold time 75 secSourceActive packet count (in/out): 5/0SAs learned from this peer: 0Multicast Source Discovery Protocol (MSDP) 569