Category: Networking

Cisco – Port Security

You may use the following method to configure port security on a Cisco switch. Additionally, this configuration will not use the switchport port-security violation {protect | restrict | shutdown} command in order to accept the default action of shutdown.

1. Verify the existing configuration, if any, exists on the switch port.

01

 

 

2. Navigate to the interface configuration prompt of the interface you would like to configure.

02

 

 

 

3. Enter the switchport mode access command.

03

 

 

 

 

4. Enter the switchport port-security command to enable port security.

04

 

 

 

 

5. Enter the switchport port-security maximum x command to define the maximum number of MAC addresses to define where x is the number of MAC address to define. The default value is to accept a maximum of (1) MAC address. In this example the maximum number is (2).

05

 

 

 

 

6. Enter the switchport port-security mac-address sticky to allow the switch to dynamically learn the first (2) MAC addresses.

06

 

 

 

 

 

7. Verify the port security configuration using the show running-config command or the show port-security interface FastEthernet 0/1 command.

07-1

 

 

 

07-2

 

 

 

 

 

 

 

 

 

Enjoy!


VMware ESXi 5.5 – Management Network Configuration

You may use the following method to configure the management network on a VMware ESXi 5.5 host.

 

1. On the VMware Direct Console User Interface (DCUI) press F2.

09

2. In the Authentication Required dialog box enter the root password then hit enter.

10

 

 

 

 

 

 

3. On the System Customization screen select Configure Management Network.

11

4. On the Configure Management Network screen verify the Network Adapters.

12

5. On the Configure Management Network screen select IP Configuration.

13

6. In the IP Configuration dialog box configure the static Internet Protocol (IP) address.

14

 

 

 

 

 

 

 

 

7. On the Configure Management Network screen hit Esc.

15

8. In the Configure Management Network: Confirm dialog box hit Y to apply the changes to the management network.

16

 

 

 

 

 

 

 

9. On the System Customization screen select Test Management Network.

17

10. In the Test Management Network dialog box enter up to (3) IP addresses to test network connectivity then hit Enter.

18

 

 

 

 

 

 

18-2

 

 

 

 

 

 

11. Verify that the IP address on the DCUI is correct.

19

 

Enjoy!


Microsoft Windows PowerShell – Configuring iSCSI Initiator Connections with Windows Server 2012 R2

You may modify the script below to automate the process of configuring an iSCSI Initiator with the Windows Server 2012 R2 operating system.

01


Linux – Configure a BIND Zone File

Domain Name System (DNS) is an essential part of any network. Berkeley Internet Name Domain (BIND) may be installed and configured on Linux CentOS and provide DNS name resolution. The configuration of BIND includes zone files. Below you will find a sample zone file for the domain name example.com. You may use this sample as a template and input the DNS records for your corresponding domain name.
01


Microsoft Windows PowerShell – Enable IMCPv4 Ping Requests

You may use the following (2) commands to enable IMCPv4 ping requests for Windows Server 2012 R2 with Microsoft Windows PowerShell.

01


Microsoft Windows PowerShell – Configure IP Address(es) and DNS Server(s)

You may modify the following Microsoft PowerShell (.ps1) script to configure the Internet Protocol (IP) and Domain Name System (DNS) servers for a Network Interface Card (NIC) in Windows Server 2012 R2.

01

 


Microsoft Hyper-V – Create a Virtual Switch using a PowerShell Script

Microsoft Hyper-V allows you to create (3) types of virtual switches (External, Internal and Private). These virtual switches may be created manually using the Hyper-V Manager or you may use a PowerShell (.ps1) script to automate the process. Below you will find a script to create an External virtual switch.

1. Issue the Get-NetAdapter command to provide a list of physical network interface (NIC) card(s) on the host. Take note of the name of the NIC that will be used for the external virtual switch.
01

2. You may modify the script below to create an external virtual switch.

02

3. Run Microsoft Powershell (as an Administrator) to create the external virtual switch.

03

4. Lastly, verify the creation of the virtual switch using the Hyper-V Manager > Virtual Switch Manager.

04


Linksys – Default Parameters for WAP54G Wireless Access Point

If you ever find yourself configuring a Linksys WAP54G wireless access point you will need to use the following information to connect to the device.

IP: 192.168.1.245/24

Username: none

Password: admin

After you login to the wireless access point you may change the administrator’s password, configure an SSID and change the IP address of the device.

00

Enjoy!


Cisco – Configure Cisco Catalyst 3560 VLANs

You may use the following method to configure Virtual LANs (VLANs) on a Cisco Catalyst 3560 switch. VLANs allow you to segment a layer 2 switched network by increasing the number of layer 2 broadcast domains and decreasing their size. Additionally, VLANs provide an added measure of network security.

Begin by entering global configuration mode with the configure terminal command.

Cisco – Configure Cisco Catalyst 3560 VLANs - 00

Next, use the vlan # command where the # sign is the number of the VLAN. Additionally, use the name “name” command to provide a custom description of the VLAN. In this example there are three created VLANS, 2 (Sales), 3 (Marketing) and 4 (Accounting).

Cisco – Configure Cisco Catalyst 3560 VLANs - 01

Lastly, you may verify the creation of the VLANs with the show vlan command.

Cisco – Configure Cisco Catalyst 3560 VLANs - 02

Enjoy!


Cisco – Configure Cisco Catalyst 3560 Switch Trunk

You may use the following method to configure a Cisco Catalyst3560 switch port as a trunk. In this example we will use the FastEthernet 0/24 port.

Begin by entering global configuration mode and specifying the port, FastEthernet 0/24, that will be configured as a trunk port.

Cisco - Configure Cisco 3560 Switch Trunk Port - 00

Next, we must specify the version of trunking we will implement. In this example we will implement IEEE 802.1q trunking which is specified by the switchport trunk encapsulation dot1q command.

Cisco - Configure Cisco 3560 Switch Trunk Port - 01

Next, we enable the trunk with the switchport mode trunk command. Note that this command will automatically negotiates to convert the link on the other end to a trunk link.

Cisco - Configure Cisco 3560 Switch Trunk Port - 02

Lastly, you may verify the trunk port with the show interface trunk command.

Cisco - Configure Cisco 3560 Switch Trunk Port - 03

Enjoy!