Logging Changes in Peership StatesTo log changes in peership states, use the following command.• Log peership state changes.CONFIGURATION modeip 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_E600(conf)#ip msdp shutdown 192.168.0.1R3_E600(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_E600(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-addressMulticast Source Discovery Protocol (MSDP) 503