CCNA Enterprise 200 301 Modul2
CCNA Enterprise 200 301 Modul2
• Lesson 1: Configure and verify VLANs (normal • Lesson 6: Compare Cisco Wireless Architectures
range) spanning multiple switches and AP modes
• Trunk Ports
• 802.1q
• Native VLAN
• Inter-VLAN Routing
• Configuring VLANs
Module 2: Network Access
Lesson 2: Configure and verify interswitch connectivity
IEEE 802.1Q
• Created by the IEEE as standard
method of frame tagging
• Inserts a field into the frame with
VLAN information
• Use 802.1Q when trunking between
switches
• 12 bit VLAN ID field 212 - 2 = 4094
VLANs
• Define each port that will be
trunking with 802.1q encapsulation
• Traffic for native VLAN is untagged
(VLAN 1 is default)
Module 2: Network Access
Lesson 2: Configure and verify interswitch connectivity
Inter-VLAN Routing
• Devices can communicate with other devices in
their own VLAN
• A layer 3 interface is needed for devices to
communicate outside of their VLAN
• Layer 3 device could be a router or Layer 3 switch
• Router could have an interface for each VLAN, or
one interface divided int sub-interfaces for each
VLAN (this option is known as router on a stick).
• Traffic would go from device on a VLAN, to its
gateway on the router, then to the destination
VLANs gateway, and finally to the destination
device
Module 2: Network Access
Lesson 2: Configure and verify interswitch connectivity
Switch(config)#vlan ?
<1-4094> ISL VLAN IDs 1-1005
Configuration of VLANs Switch(config)#vlan 2
Switch(config-vlan)#name Data
• Configure vlans on a 2960 switch Switch(config-vlan)#vlan 3
Switch(config-vlan)#name Voice
• Use a show command to display the VLANs Switch(config-vlan)#vlan 4
Switch(config-vlan)#name
• Notice they are not tied to any interfaces yet Printer Switch(config-vlan)#exit
Switch(config)#exit
• Since VLAN1 is default interface, it is applied Switch#
unless another VLAN is specified %SYS-5-CONFIG_I: Configured from console by
console
show vlan
Switch#show vlan
sh ip interface brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES unset up up
GigabitEthernet0/0.2 10.10.2.1 YES manual up up
GigabitEthernet0/0.3 10.10.3.1 YES manual up up
GigabitEthernet0/0.4 10.10.4.1 YES manual up up
GigabitEthernet0/1 unassigned YES unset administratively down
Module 2: Network Access
• Lesson 1: Configure and verify VLANs • Lesson 6: Compare Cisco Wireless
(normal range) spanning multiple switches Architectures and AP modes
interface GigabitEthernet0/1
no ip address
channel-group 2 mode on
duplex auto
speed auto
Module 2: Network Access
• Lesson 1: Configure and verify VLANs (normal • Lesson 6: Compare Cisco Wireless Architectures
range) spanning multiple switches and AP modes
Port cost Determines the best path when there are multiple links between two switches.
Path cost Calculated by adding each port cost between the switch and the root bridge. Deciding factor used by
every bridge to find the most efficient path to root bridge.
Module 2: Network Access
Lesson 5: Describe the need for and basic operations of Rapid
PVST+ Spanning Tree Protocol and identify basic operations
Spanning Tree Bridge Port Roles
Role Description
Root port Link with the lowest path cost to the root bridge. If more than one link connects to root bridge, then a
port cost is found by checking the bandwidth of each link. Root bridge never has root ports. Each
other switch will have 1 root port. When multiple links connect to the same device, the port
connected to the lowest port number on the upstream switch will be the one that is used.
Designated port Best cost on a given network segment compared to other ports on that segment. Will be marked as
forwarding. Only one designated port on a given segment
Non-designated port Higher cost than designated port. Will be in blocking or discarding mode.
Forwarding port Forwards frames and will be either a designated port or root port
Blocked port Won’t forward frames in order to prevent loops. Will listen to BPDU frames but will drop all other
frames received and will not transmit a frame.
Alternate port Same as blocking state of 802.1d (IEEE standard). Used with 802.1w (Cisco Rapid Spanning Tree).
Alternate port is on a switch connected to a segment with two or more switches and one of the other
switches has the designated port.
Backup port Same as blocking state of 802.1d (IEEE standard). Used with 802.1w (Cisco Rapid Spanning Tree).
Another port on the switch is acting as the designated port.
Module 2: Network Access
Lesson 5: Describe the need for and basic operations of Rapid
PVST+ Spanning Tree Protocol and identify basic operations
Spanning Tree Bridge Port States
• Causes what feels like a delay when you connect a new device to the network. Is actually STP running through the
below states to ensure a loop is not created.
State Description
Disabled Administratively disabled and does not participate in the STP process. Non-operational.
Blocking Does not forward frames. Listens to BPDUs. Prevents loops. All ports start in blocking state initially.
Listening Listens to BPDUs to make sure no loops occur before forwarding frames. Prepares to forward frames
without populating the MAC address table.
Learning Listens to BPDUs and learns all paths in the network. Port learning state populates MAC address table.
Does not forward frames. Forward delay is the time between listening and learning state or learning
and forwarding. 15 seconds by default
Forwarding Sends and receives all data frames on the bridged port. If port is designated or root by end of learning
state, it will enter the forwarding state.
Module 2: Network Access
Lesson 5: Describe the need for and basic operations of Rapid
PVST+ Spanning Tree Protocol and identify basic operations
Spanning Tree Link Costs
• Port cost is based on the speed of the link, a single link. Path cost is the sum of the various port costs leading to the
root bridge.
Speed Cost
10 Mbps 100
100 Mbps 19
1000 Mbps 4
10000 Mbps 2
Module 2: Network Access
Lesson 5: Describe the need for and basic operations of Rapid
PVST+ Spanning Tree Protocol and identify basic operations
Convergence
• Occurs when all ports on all bridges or switches
have transitioned to either forwarding or blocking
mode.
• No frames are forwarded until convergence is
complete.
• So, everything stops until all devices have a
workable STP database. Goal is to have this
happen as quickly as possible.
• 802.1d STP takes 50 seconds by default
• Other versions of STP are faster
Module 2: Network Access
Lesson 5: Describe the need for and basic operations of Rapid
PVST+ Spanning Tree Protocol and identify basic operations
Spanning Tree Operation
• Root Bridge is determined by priority. MAC
address is the tie breaker, lowest MAC wins
• All ports on Root Bridge are forwarding
• Root Port is best Path Cost to Root Bridge from
each switch. Path Cost is determined by adding
up the Port Cost on each link.
• Remaining ports need to determine if they are
going to be forwarding or blocking. Lower Bridge
ID is forwarding, higher is blocking
Module 2: Network Access
Lesson 5: Describe the need for and basic operations of Rapid
PVST+ Spanning Tree Protocol and identify basic operations
Types of Spanning Tree
• IEEE 802.1d – Common Spanning Tree (CST)
• PVST+ - Per VLAN Spanning Tree (Cisco default)
• IEEE 802.1w Rapid Spanning Tree Protocol (RSTP)
• IEEE 802.1s – Multiple Spanning Tree Protocol
(MSTP)
• Rapid PVST+ - Cisco version of RSTP and also uses
PVST+
Module 2: Network Access
Lesson 5: Describe the need for and basic operations of Rapid
PVST+ Spanning Tree Protocol and identify basic operations
Common Spanning Tree 802.1d
• Slowest form of spanning tree when it comes to
convergence (50 seconds)
• In a network with redundant links, an election
happens to determine root bridge.
• The switch that becomes root bridge will be so for
ALL VLANs.
• Each switch in the network will create a path to
the root bridge.
• Root bridge may not be the best for all VLANs
Module 2: Network Access
Lesson 5: Describe the need for and basic operations of Rapid
PVST+ Spanning Tree Protocol and identify basic operations
Per VLAN Spanning Tree+
• Cisco proprietary
• Provides SEPARATE spanning tree instance for
each VLAN
• Convergence time is still as slow as CST (50
seconds)
• Root bridge for each VLAN
• Provides better optimal path for each VLAN
• Field added into the BPDU called Sys-id-ext so
there can be a root bridge configured on a per
VLAN basis
Module 2: Network Access
Lesson 5: Describe the need for and basic operations of Rapid
PVST+ Spanning Tree Protocol and identify basic operations
Rapid Spanning Tree Protocol 802.1w
• Evolution of 802.1d, and backwards
compatible
802.1d CST 802.1w RSTP
• Much faster convergence (can be under 10 Disabled Discarding
seconds)
Blocking Discarding
• One root bridge for all VLANs, still has
suboptimal traffic for some VLANs Listening Discarding
Learning Learning
• Moderately more CPU and RAM needed
Forwarding Forwarding
• Some terminology
• Discarding adjustments
-> Learning -> Forwarding
• Alternate Port, Backup Port (both blocking)
• The process of choosing root bridge, root ports,
designated ports does not change
Module 2: Network Access
Lesson 5: Describe the need for and basic operations of Rapid
PVST+ Spanning Tree Protocol and identify basic operations
Rapid Per VLAN Spanning Tree+
• Cisco proprietary
• Like a combination or PVST and RST
• Separate instance of 802.1w for each VLAN
• Much faster convergence (can be under 10
seconds)
• Provides SEPARATE spanning tree instance for
each VLAN
• Significantly more CPU and RAM needed
• The process of choosing root bridge, root ports,
designated ports does not change
Module 2: Network Access
Lesson 5: Describe the need for and basic operations of Rapid
PVST+ Spanning Tree Protocol and identify basic operations
Multiple Spanning Tree Protocol
(MSTP) 802.1s
• Fast convergence like RSTP
• Maps multiple VLANs into the same spanning tree
instance
• Much faster convergence (can be under 10
seconds)
• Moderately to significantly more CPU and RAM
needed
• The process of choosing root bridge, root ports,
designated ports does not change
Module 2: Network Access
Lesson 5: Describe the need for and basic operations of Rapid
PVST+ Spanning Tree Protocol and identify basic operations
Configuring Spanning Tree
• Viewing Spanning Tree
• Show spanning-tree summary
• Show spanning-tree
Module 2: Network Access
Lesson 5: Describe the need for and basic operations of Rapid
PVST+ Spanning Tree Protocol and identify basic operations
Configuring Spanning Tree
• Viewing Spanning Tree
• Show spanning-tree
• Blocking port
• Show spanning-tree vlan X
• Modifying Bridge ID
Module 2: Network Access
Lesson 5: Describe the need for and basic operations of Rapid
PVST+ Spanning Tree Protocol and identify basic operations
Configuring Spanning Tree
• Changing Spanning Tree mode to Rapid PVST+
• Spanning-tree mode rapid-pvst
Module 2: Network Access
Lesson 5: Describe the need for and basic operations of Rapid
PVST+ Spanning Tree Protocol and identify basic operations
Configuring Spanning Tree
• Portfast
• Used on ports that do not need to go through
the spanning-tree election process (50 seconds)
• Usually access mode ports where end user devices (PCs,
phones, printers, etc) are connected
• Port will come right up instead of spending the
50 seconds converging
• BPDU Guard
• When using Portfast, use BPDU Guard
• A switchport enabled with Portfast that receives a BPDU
will go into error-disabled state (basically shut down)
• This guards against someone connecting a switch into a
port that is meant for an end user device
• Global command is:
• Spanning-tree portfast bpduguard default
• Interface specific command is:
• Spanning-tree bpduguard enable
Module 2: Network Access
• Lesson 1: Configure and verify VLANs (normal • Lesson 6: Compare Cisco Wireless Architectures
range) spanning multiple switches and AP modes
Autonomous AP Architecture
• An AP in autonomous mode is a self
sufficient device that will be on a wired
network and capable of broadcasting out
SSID(s) for wireless clients to connect
• Each autonomous AP needs to be
manually configured with an IP for
management purposes. This type of AP is
individually managed.
• Management platform such as Cisco DNA
center is able to manage autonomous APs
Module 2: Network Access
Lesson 6: Compare Cisco Wireless Architectures and AP modes
AP Modes
• Local Mode: Default mode where the LAP has a
CAPWAP tunnel to the WLC where all traffic passes
• Bridged Mode: Utilize AP to connect two networks
together. For example two networks in physically
separate buildings that are close to each other. AP
in bridged mode is authenticated to remote
wireless network
• FlexConnect Mode: LAPs can pass traffic directly
between clients and to the LAN. This traffic would
normally all go back to the WLC. Used in branch
office setups where the WLC is located across the
WAN. APs can still operate even if CAPWAP goes
down!
Module 2: Network Access
Lesson 6: Compare Cisco Wireless Architectures and AP modes
AP Modes
• Mesh Mode: One WAP connects to another WAP,
extending the wireless network without using a
cable. AP in mesh mode is known as a mesh access
point (MAP)
• Monitor Mode: Used for security purposes.
Watches activity on the wireless network for
situations such as rogue APs. Does not transmit
wireless signals, only receives them.
• Sniffer Mode: Used for troubleshooting purposes.
Captures the wireless traffic and sends to remote
computer for packet/frame analysis.
Module 2: Network Access
• Lesson 1: Configure and verify VLANs (normal • Lesson 6: Compare Cisco Wireless Architectures
range) spanning multiple switches and AP modes
• TACACS+/RADIUS
• WLC is capable of
utilizing an
authentication service
such as TACACS+ or
RADIUS
• This provides the
security of having
someone who wants to
connect to be
authenticated by an
external authentication
system
Module 2: Network Access
• Lesson 1: Configure and verify VLANs (normal • Lesson 6: Compare Cisco Wireless Architectures
range) spanning multiple switches and AP modes
• WLAN creation
• Create Dynamic Interface
• Controller -> Interfaces -> New
• Enter Interface Name
• Enter VLAN ID
• Enter IP address within the
range of the network
Module 2: Network Access
Lesson 9: Configure the components of a wireless LAN access for
client connectivity using GUI
• WLAN creation
• Create WLAN
• WLANs -> Create New
• Enter profile name
• Enter SSID
• Click Apply
Module 2: Network Access
Lesson 9: Configure the components of a wireless LAN access for
client connectivity using GUI
• Security settings
• Security -> WPA+WPA2 on
Layer 2 tab
• Select WPA2 Policy, AES and
PSK
• Select ASCII and fill in PSK
Module 2: Network Access
Lesson 9: Configure the components of a wireless LAN access for
client connectivity using GUI
• QoS profiles
• Helps to dictate how traffic
is prioritized:
• Platinum - voice
• Gold - video
• Silver – regular traffic
• Bronze – background traffic
Module 2: Network Access
Lesson 9: Configure the components of a wireless LAN access for
client connectivity using GUI