roxis13
New Contributor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2014
04:21 PM
hello this is my first time configuring a switch and router.
i just have a few questions on the right cmds to be using in the terminal while setting them up. i am using putty for my terminal.
1. how to remove a dhcp scope that is not needed?
2. how do i know what ports to shutdown? i was told to shutdown all unused ports. since this is a brand new basic setup and nothing with be pluged into this except in the end. i need to be able to plug a phone into the switch and then a laptop into that and be able to get onto the internet.
3. firewall setup ( i have been trying to look into this more but i cant seem to figure out where to start?
4.how to negate a config?
thank you so much for all who can help.
1 Solution
Accepted Solutions

Anonymous
Not applicable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Not the Solution
- Report Inappropriate Content
05-20-2014
05:43 PM
Hi roxis13:
- no ip dhcp pool "<pool name>"
- What kind of ports do you mean?
- Switch ports
- interface switchport 0/12 (for example)
- shutdown (to disable)
- no shutdown (to enable)
- TCP/UDP ports
- The firewall will block all inbound traffic (sourced from the public) by default
- The firewall will allow all outbound traffic (source from the LAN) by default
- Maybe check out this document for starters on how to modify these default behaviors (to allow some traffic in or block some traffic heading out)
- Switch ports
- The document just mentioned is great, but here's one about the firewall menu in the web GUI, and here's a video about port forwarding, which is the most common modification when configuring firewalls
- Suggestions
- You can normally prepend "no" to undo a particular command (such as no shutdown to revert a disabled interface into available state after you shut it down)
- It's a good idea to save your configs as you go. You can copy running-config example-config-1.cfg, for example, to save to flash (non-volatile/permanent) memory. Later, you can copy example-config-1.cfg startup-config (then reboot) to revert to the previous snapshot at next power-up. Of course, the web GUI makes it easy to save your config and download a copy to your computer. Here's a thread about doing the same using CLI (such as PuTTY).
Best,
CJ
1 Reply

Anonymous
Not applicable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Not the Solution
- Report Inappropriate Content
05-20-2014
05:43 PM
Hi roxis13:
- no ip dhcp pool "<pool name>"
- What kind of ports do you mean?
- Switch ports
- interface switchport 0/12 (for example)
- shutdown (to disable)
- no shutdown (to enable)
- TCP/UDP ports
- The firewall will block all inbound traffic (sourced from the public) by default
- The firewall will allow all outbound traffic (source from the LAN) by default
- Maybe check out this document for starters on how to modify these default behaviors (to allow some traffic in or block some traffic heading out)
- Switch ports
- The document just mentioned is great, but here's one about the firewall menu in the web GUI, and here's a video about port forwarding, which is the most common modification when configuring firewalls
- Suggestions
- You can normally prepend "no" to undo a particular command (such as no shutdown to revert a disabled interface into available state after you shut it down)
- It's a good idea to save your configs as you go. You can copy running-config example-config-1.cfg, for example, to save to flash (non-volatile/permanent) memory. Later, you can copy example-config-1.cfg startup-config (then reboot) to revert to the previous snapshot at next power-up. Of course, the web GUI makes it easy to save your config and download a copy to your computer. Here's a thread about doing the same using CLI (such as PuTTY).
Best,
CJ