layer 2/3 switches

50 pts.
Tags:
Default gateway problem
Layer 2 switches
Layer 3 switches
Routers
Routing and switching
Switches
When I am trying to put the default gateway in layer 2 switches with ip default-gateway xxxxx commnd it ok. But If I'm trying to put the default-gateway in 3560(layer 3) switches with ip default-gateway xxxxxxx command its giving me error that invalid command

Software/Hardware used:
Switches , Routers

Answer Wiki

Thanks. We'll let you know when a new response is added.

Where do you put the command? You have to put the <pre>ip default-gateway xxxxx</pre> in the global configuration mode not in the Vlan interface.

This is <a href=”http://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/release/12.2_25_se/configuration/guide/swipaddr.html#wp1037806″>manual IP assign guide</a>.

This <a href=”http://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/release/12.2_25_se/configuration/guide/3560SCG.pdf”>E-Book</a> is Catalyst 3560 Switch Software Configuration Guide from cisco.

May be you have enabled ip routing if so disable ip routing (no ip routing) and use the command ip default-gateway xxxxxxx .

Cheers
Follow me at my <a href=”http://itknowledgeexchange.techtarget.com/network-technologies/”>Network Technologies and Trends Blog</a>

———————-

Or, if you need IP routing enabled, just add a default route to your router…

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following