04-11-2019 02:22 AM - edited 04-11-2019 02:48 AM
Hello,
I try to copy a config file from my tftp server to a switch, but even after the copy, there are still differences between the new config file and the "original".
here is the file i want to copy:
! version 12.2 no service pad service timestamps debug datetime msec service timestamps log datetime msec service password-encryption ! hostname switch ! boot-start-marker boot-end-marker ! enable password 7 014254570F ! ! ! no aaa new-model switch 1 provision ws-c3750-48p system mtu routing 1500 vtp mode transparent ! ! ! ! ! ! ! ! spanning-tree mode pvst spanning-tree extend system-id ! vlan internal allocation policy ascending ! vlan 2,99 ! ! ! interface FastEthernet1/0/1 ...
and the file I got after the copy:
! version 12.2 no service pad service timestamps debug datetime msec service timestamps log datetime msec service password-encryption ! hostname switch ! boot-start-marker boot-end-marker ! enable password 7 014254570F ! ! ! no aaa new-model switch 1 provision ws-c3750-48p system mtu routing 1500 vtp mode transparent ! ! ! ! crypto pki trustpoint TP-self-signed-4272934528 enrollment selfsigned subject-name cn=IOS-Self-Signed-Certificate-4272934528 revocation-check none rsakeypair TP-self-signed-4272934528 ! ! crypto pki certificate chain TP-self-signed-4272934528 certificate self-signed 01 nvram:IOS-Self-Sig#3839.cer ! ! ! spanning-tree mode pvst spanning-tree extend system-id ! vlan internal allocation policy ascending ! vlan 2,99 ! ! ! interface FastEthernet1/0/1 ...
We clearly see there is a crypto paraghraph that shouldn't be there.
How to have exactly the same file? And of course without reconfigure the switch after the copy.
Edit: i reload before to look the running-config
Solved! Go to Solution.
04-11-2019 03:21 AM
04-11-2019 02:31 AM
Hi
So you transferred a file from TFTP to flash yes , how are you reading it through command --- more flash:
or are you pushing it to running config and reading it ?
04-11-2019 02:35 AM
04-11-2019 03:21 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide