Solved

Cisco 4507 most commonly used commands?

Posted on 2004-08-09
10
1,981 Views
Last Modified: 2008-01-09
Could you share a few most commonly used and most useful Cisco 4507 CLI commands that you use day in day out when manage this switch. (with description of what it does)

Suppose you do have vlans on the network.

What features do you find neat?

e.g.:
Switchname(config-if)#"switchport access vlan 50" -used when you want to put a port in vlan 50

I get seasick when I look at the whole list :)

Thank you
0
Comment
Question by:howei
  • 5
  • 4
10 Comments
 
LVL 3

Expert Comment

by:fatlad
ID: 11753978
Are you using Native or hybrid mode (IOS or CatOS)
0
 

Author Comment

by:howei
ID: 11755297
that would be IOS.
0
 

Author Comment

by:howei
ID: 11762467
If you want to start using vlans for the first time on this switch, what is the prep work you need to do?
What would be syntax to create vlan 20?
0
 
LVL 3

Expert Comment

by:fatlad
ID: 11770316
howei,

You say that you want to start using VLANs for the first time, can you give me a bit of background as to what you are trying to do? Dividing up a network into VLANs can range from very simple to extremely complex :).

If you are using a Supervisor II Plus card (or lower) you pretty much have the syntax in your original post, you set the access port to the VLAN you want it to be (assuming you have created the VLAN first):

Switchname(config-if)# shutdown
Switchname(config-if)#switchport mode access
Switchname(config-if)#switchport access vlan 20
Switchname(config-if)#no shutdown

This will separate the network into two broadcast domains and so traffic from vlan 20 will not be able to reach other vlans. It is recommended that you therefore have the VLANs as their own subnet. If you wish to enable intervlan routing then you will need a layer 3 device, either separate or as part of the Supervisor IV and V's feature set.

Hope that helps
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 3

Expert Comment

by:fatlad
ID: 11818314
howei,

Does that answer your question?

Regards

FatLad
0
 

Author Comment

by:howei
ID: 11821035
We are in the proces of making smaller logical networks out of one big network. Some vlans are allready created for us.
Each vlan has its own default gataway IP address. How this is done?
Thanks
0
 
LVL 3

Accepted Solution

by:
fatlad earned 50 total points
ID: 11821629
Well if you imagine that every VLAN is logically separate from others at layer 2 it will have to have its own default gateway.

To create the interface on your router to do this enter global configuration mode on the router (or layer 3 module) and simply type "interface vlan x" where x is the number of the vlan you are creating a default gateway for. Then enter the ip address you want it to have.

For example if I have created vlan 20 on my switches and I now want to create a layer 3 interface of 10.0.0.1 255.0.0.0 that will be the default gateway for the clients on this vlan:

switchname#conf t
switchname# interface vlan20
switchname(conf-int)#ip address 10.0.0.1 255.0.0.0.0
switchname(conf-int)#no shutdown
switchname(conf-int)#exit
switchname#ip routing

I will then need to point my clients at this ip address as the default gateway. This can be done by altering the static configs on each one or by changeing the scope on my DHCP server (remeber that the initial DHCP request is broadcast so if the server is now on a different subnet to the client you will need to implement a helper address*).

Follow a similar syntax for all the VLANs and they will be able to route packets out of the VLAN, to ones that touch the switch. To restrict where they can and can't go you will need to explore Access Control Lists.

To verify that this is all working type: "show ip route" and you should see all of the subnetworks that make up your VLANs as directly connected int he routing table.

*To implement DHCP helper or DHCP relay as it is sometimes called add this line to the interface config:"ip helper-address w.x.y.z" where w.x.y.z is the ip address of the DHCP server e.g. if my server is at address  192.168.1.254 I will add the following line after I have entered the IP address for my vlan interface

switchname(conf-int)#ip helper-address 192.168.1.254

Let me know how you get on or if there is anything you don't understand!

Regards

FatLad
0
 
LVL 3

Expert Comment

by:fatlad
ID: 11821685
Howie,
Don't forget to save the changes by typing:
switchname#copy run start

Cheers

Fatlad
0
 

Author Comment

by:howei
ID: 12561094
Outstanding answer! Sorry for delay. Thanks a lot.
0

Featured Post

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Layer 2 versus layer 3 10 48
Booster, Repeater, or Wireless Access Point 9 44
Linksys 4 port wireless router 62 43
Viber-Only Restriction 6 23
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now