Category: Cisco

A Few Easy Steps: Cisco Switch, Name a VLAN

In this session of A Few Easy Steps, we will naming a VLAN in a Cisco Switch.
In General this will work on any Cisco Switch.

Session Prerequisites:

  • You have terminal or console access to your Cisco device.

Session Assumptions:

  • We are naming VLAN 20
  • The Name for VLAN 20 is SessionTEST

Our goals of this session are:

  • Name VLAN

Name VLAN

!
conf t
!
vlan 20
!
name vlan SessionTest
!
end
!
copy running-config startup-config

A Few Easy Steps: Cisco Switch, Setup Trunk Port

In this session of A Few Easy Steps, we will Setup Trunk Port on a Cisco Switch.
In General this will work on any Cisco Switch.

Session Prerequisites:

  • You have terminal or console access to your Cisco device.

Session Assumptions:

  • We are using Interface Fastethernet 0/14
  • We are trunking All VLANs
  • Native VLAN is 200
  • We are building a dot1q trunk

Our goals of this session are:

  • Change port trunk encapsulation
  • Change Switchport mode
  • Allow all VLANs on Trunk
  • Set native VLAN

Read more

A Few Easy Steps: Cisco Switch, Setup Access Port

In this session of A Few Easy Steps, we will be setting up an Access Port on a Cisco Switch. In General this will work on any Cisco Switch.

Session Prerequisites:

  • You have terminal or console access to your Cisco device.

Session Assumptions:

  • VLAN 291 is our target VLAN
  • Interface FastEthernet 0/4 is our target port (This should be adjusted for your situation)

Our goals of this session are:

  • Setup VLAN 291
  • Setup Access Port

Setup VLAN 291

!
conf t
!
vlan 291
!
end
!

Setup Access Port

!
conf t
!
interface fastethernet 0/4
!
switchport mode access
!
switchport access vlan 291
!
end
!
copy running-config startup-config
!

Entire Session:

!
conf t
!
vlan 291
!
exit
!
interface fastethernet 0/4
!
switchport mode access
!
switchport access vlan 291
!
end
!
copy running-config startup-config
!

A Few Easy Steps: Cisco Switch, Disable VTP

In this session of A Few Easy Steps, we will be disabling VTP on a Cisco Switch. In General this will work on any Cisco Switch.

Session Prerequisites:

  • You have terminal or console access to your Cisco device.

Session Assumptions:

  • You do not use VTP in your Network
  • You want your Network to NOT implode

Our goals of this session are:

  • Set VTP to Transparent
  • Set VTP Domain to SwitchName

Set VTP to Transparent

!
conf t
!
vtp mode transparent
!
exit
!
copy running-config startup-config

Set VTP Domain to SwitchName

!
conf t
!
vtp domain SessionTestSW1
!
exit
!
copy running-config startup-config

Entire Session:

!
conf t
!
vtp mode transparent
!
vtp domain SessionTestSW1
!
exit
!
copy running-config startup-config

A Few Easy Steps: Cisco IOS, Setup Authentication on Console Port

In this session of A Few Easy Steps, we will be setting up Authentication on the console port on a Cisco Router. In General this will work on any Cisco Switch or Router that runs on IOS.

Session Prerequisites:

  • You have terminal or console access to your Cisco device.

Session Assumptions:

  • Console port is 0
  • Login Credentials will be Local

Our goals of this session are:

  • Setup local User Account
  • Setup authentication on console port

Setup local User Account

conf t
!
username sessiontest password session test
!
end
!
copy running-config startup-config

Setup authentication on console port

conf t
!
line con 0
!
login local
!
end
!
copy running-config startup-config
! 

Entire Session:

conf t
!
username sessiontest password session test
!
exit
!
line con 0
!
login local
!
end
!
copy running-config startup-config