cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
509
Views
0
Helpful
2
Replies

Regarding rectification of mis-configuration on a L3 switch interface

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

 

 

2 Replies 2

Seb Rupik
VIP Alumni
VIP Alumni

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.

balaji.bandi
Hall of Fame
Hall of Fame

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)

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card