# Editing `TiUP` Topology Configuration File (If Needed)

+ Skip this step if one of the following situations applies:
  + You have not modified the configuration parameters of the original cluster. Or you have modified the configuration parameters using **`tiup cluster`** but no more modification is needed.
  + After the upgrade, you want to use the default parameter values for the unmodified configuration items.

+ Enter the vi edit mode of the topology file
  + **`tiup cluster edit-config {cluster_name}`**
+ Topology files contain the following parameters:
  + user
  + SSH port
  + Hosts for PD Servers, TiDB Servers, TiKV Servers, TiFlash Servers
  + etc.

-------------------------------------------------------------
Refer to the format of topology configuration template - `https://github.com/pingcap/tiup/blob/master/embed/examples/cluster/topology.example.yaml` and fill the parameters you want to modify in the `server_configs` section of the topology file.

Before you upgrade the cluster to `v6.1.0`, make sure that the parameters you have modified in `v4.0` are compatible in `v6.1.0`. For details, see `TiKV` Configuration File.

The following three `TiKV` parameters are obsolete in `TiDB` `v5.0`. If the following parameters have been configured in your original cluster, you need to delete these parameters through edit-config:
- `pessimistic-txn.enabled`
- `server.request-batch-enable-cross-command`
- `server.request-batch-wait-duration`