Discussion on:
View:
Show:
I think the most important interface command is 'show int ' because without knowing what the interface is currently doing, you can't know what needs to be done. Perhaps a future article might focus on all the things a 'show int' can tell you about the interface.
Hi Pwright,
That is a good idea for a future article. Be on the lookout for that.
Thanks for reading TechRepublic and for taking time to post!
-David Davis
That is a good idea for a future article. Be on the lookout for that.
Thanks for reading TechRepublic and for taking time to post!
-David Davis
A quick way to save the config while working on the interface:
Router(config-if)# do wri mem
Cheers,
Router(config-if)# do wri mem
Cheers,
Good article, I do think that a little more detail on trunking can come usefull. I`ve been strugling with my routers and trunking whenever I want to forward packets from one vlan to the other. It will be great to have some extra info on trunking
A List of the Trunking Commands and Commands to trouble shoot them. I had a co-worker plug a new switch into the network and expeceted it to work with the clients in the default vlan. The command "SHOW INTERFACE TRUNK" showed that the connected ports on the switches went into trunking mode as they were set to autonegotiate and negotiated the trunking protocol.
Also of use would be to show the sub-interface commands and uses on a router in creating a trunk.
And last but not least the commands to set up Spanning-Tree (Portfast, BPDUGuard, setting the root switch).
Father M
Also of use would be to show the sub-interface commands and uses on a router in creating a trunk.
And last but not least the commands to set up Spanning-Tree (Portfast, BPDUGuard, setting the root switch).
Father M
I agree on the trunking. The sub interface commands get tedious sometimes.. And I can never remember if I need to do a no-shut command on them. I do anyway and it doesent hurt anything, but if I can get away with a few less lines I will. The STP info would br very helpful to me, I have never had an occasion to use such.
I've configured a 3750 switch to do dhcp on multiple Vlan, I have 5 Vlans but I cannot seem to find where I am going wrong, all configurations as stated on this site have been followed none by one, but I can seem to breakthrough, the server/ switch is still not able to assign addresses automatically, Can any one advise?
I have followed the steps below:
1. Enabled DHCP globally
Router(config)# service dhcp
2. Configure a database agent.
3. Disable logging of DHCP address conflicts on the DHCP server.
Router(config)#no ip dhcp conflict logging
3. Confiugure a dhcp address pool
Router(config)#ip dhcp pool mypool
4. Configure DHCP address pool subnet and Mask
Router(dhcp-config)#network 10.1.0.0 /24
OR
Router(dhcp-config)#network 10.1.0.0 255.255.255.0
5. Configure the domain name for the clients
Router(dhcp-config)#domain-name newvision.co.ug
6. Configure the primary & secondary DNS servers
Router(dhcp-config)#dns-server 10.1.0.7 10.1.0.52
7. Configure the default router( default gateway) for the client
Router(dhcp-config)#default-router 10.1.0.1
8. Configure the address leasetime
Router(config)#lease 10
NB: The default lease is one day
9. Exit pool configuration mode
Router(dhcp-config)#exit
10. Exclude IP addresses
Router(config)#ip dhcp excluded-address 10.1.0.1 10.1.0.100
I have followed the steps below:
1. Enabled DHCP globally
Router(config)# service dhcp
2. Configure a database agent.
3. Disable logging of DHCP address conflicts on the DHCP server.
Router(config)#no ip dhcp conflict logging
3. Confiugure a dhcp address pool
Router(config)#ip dhcp pool mypool
4. Configure DHCP address pool subnet and Mask
Router(dhcp-config)#network 10.1.0.0 /24
OR
Router(dhcp-config)#network 10.1.0.0 255.255.255.0
5. Configure the domain name for the clients
Router(dhcp-config)#domain-name newvision.co.ug
6. Configure the primary & secondary DNS servers
Router(dhcp-config)#dns-server 10.1.0.7 10.1.0.52
7. Configure the default router( default gateway) for the client
Router(dhcp-config)#default-router 10.1.0.1
8. Configure the address leasetime
Router(config)#lease 10
NB: The default lease is one day
9. Exit pool configuration mode
Router(dhcp-config)#exit
10. Exclude IP addresses
Router(config)#ip dhcp excluded-address 10.1.0.1 10.1.0.100
It looks like you have the DHCP server configured correctly. Keep in mind if you want the switch to be able to handout addresses to devices the switch either needs to have a VLAN interface in the same VLAN as the devices requesting addresses or the default gateway for the VLAN needs to have DHCP relay over to the switch. If you need to troubleshoot DHCP issues use a protocol analyzer such as Wireshark and have it sniff the VLAN for traffic on UDP port 68. You should see DHCP traffic this way and you can tell if the DHCP client requests are being answered by the server. Good Luck...
why should Switchport not be used on a router to map an interface to a vlan?
ta
ta
please, i really need to know how to enter adminmode in my router (cisco) im am not so good at this so i would appreciate it if you would help me
The assigning of the bandwidth speed is used by Link State protocols to determine the true 'cost' of a route on that segment.
Can any one tell me that if i can use some commands to make router's interface act as switch interface..
- Keyboard Shortcuts:
- Prev
- Next
- Toggle

































