12-17-2019 11:04 PM
Dear Concerned,
I had configured a cisco L3 switch interface G1/0/1 with "switchport trunk encapsulation dot1q" in my IT room, which was connected to a L2 switch which had a pc and a DHCP server, which was providing IP's to entire office network.
I by mistake configured the same interface i.e. G1/0/1 with "no switchport" and provided a Public IP which i had to do with some other interface that was connected to internet router. Now my office network is down and i would like to reconfigure to G1/0/1 interface to its normal configurations which were as follows :
1) Bring back the no-switchport to switchport mode
2) Configure switchport trunk encapsulation dot1q.
Could i please get help on this matter?
Looking forward to your response.Switching
Best Regards,
Cisco User
12-18-2019 01:07 AM
Hi there,
Try the following:
! int gi1/0/1 switchport switchport trunk encap dot1q switchport mode trunk switchport trunk vlan all no shut !
cheers,
Seb.
12-18-2019 07:49 AM
If you have not issued write command - check show startup-config. (take out the config in to notepad)
The default interface gi 0/0 and paste the interface config
exit and clear the ARP entry the one created IP address
test it- if all working as expected - write and ( periodically take backup config)
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