exam questions

Exam 300-115 All Questions

View all questions & answers for the 300-115 exam

Exam 300-115 topic 5 question 1 discussion

Actual exam question from Cisco's 300-115
Question #: 1
Topic #: 5
[All 300-115 Questions]

SIMULATION -

Instructions -
To configure a switch click on the console host icon in the topology.
You can click on the buttons below to view the different windows.
Each of the windows can be minimized by clicking on the [-]. You can also reposition a window by dragging it by the title bar.
Most commands that use the "Control" or "Escape" keys are not supported and are not necessary to complete this simulation. The help command does not display all commands of the help system.
Scenario:
You work for SWITCH.com. They have just added a new switch (SwitchB) to the existing network as shown in the topology diagram. You have been tasked with completing the needed configuring of SwitchA and SwitchB.
RouterA is currently configured correctly and is providing the routing function for devices on SwitchA and SwitchB. SwitchA is currently configured correctly, but will need to be modified to support the addition of SwitchB. SwitchB has a minimal configuration. SwitchA and SwitchB use Cisco as the enable password.
All interface commands must be entered at the physical interface level.
When entering the range command, add a space between the interface numbers (e.g., fa0/1-2)
Configuration Requirements for SwitchA
✑ The VTP and STP configuration models on Switch A should not be modified.
✑ SwitchA needs to be the root switch for vlans 11, 12, 13, 21, 22, and 23.
✑ All other vlans should be left at their default values.
Configuration Requirements for SwitchB
✑ Vlan21
- Name: Marketing
- will support two servers attached to fa0/9 and fa0/10
✑ Vlan22
- Name: Sales
- will support two servers attached to fa0/13 and fa0/14
✑ Vlan23
- Name: Engineering
- will support two servers attached to fa0/15 and fa0/16
✑ Access ports that connect to server should transition immediately to forwarding state upon detecting the connection of a device
✑ SwitchB VTP mode needs to be the same as SwitchA.
✑ SwitchB must operate in the same spanning tree mode as SwitchA.
✑ No routing is to be configured on SwitchB.
✑ Only the SVI Vlan 1 is to be configured and it is to use address 192.168.1.11/24.
Inter-switch Connectivity Configuration Requirements
✑ For operational and security reasons trunking should be unconditional and Vlans 1, 21, 22 and23 should be tagged when traversing the trunk link.
✑ The two trunks between SwitchA and SwitchB need to be configured in a mode that allows for the maximum use of their bandwidth for all vlans. This mode should be done with a non-proprietary protocol, with SwitchA controlling activation.
✑ Propagation of unnecessary broadcasts should be limited using manual pruning on this trunk link.



Show Suggested Answer Hide Answer
Suggested Answer: Here are steps
(some lines have been removed)

Initial Configuration -


Solution -
SW-A (close to router)
Note: If Sw-A does not have Vlan 11, 12, 13 we have to create them first with command "SW-A(config)#vlan 11,12,13"
SW-A(config)#spanning-tree vlan 11-13,21-23 root primary

SW-A(config)#vlan 21 -
SW-A(config-vlan)#name Marketing

SW-A(config-vlan)#exit -

SW-A(config)#vlan 22 -

SW-A(config-vlan)#name Sales -

SW-A(config-vlan)#exit -

SW-A(config)#vlan 23 -
SW-A(config-vlan)#name Engineering

SW-A(config-vlan)#exit -
SW-A(config)#interface range fa0/3 "" 4
SW-A(config-if-range)#no switchport mode access
SW-A(config-if-range)#no switchport access vlan 98 (These two commands must be deleted to form a trunking link)
SW-A(config-if-range)#channel-group 1 mode active
SW-A(config-if-range)#channel-protocol lacp
SW-A(config-if-range)#no shutdown
SW-A(config-if)#interface port-channel 1
SW-A(config-if)#switchport mode trunk
SW-A(config-if)#switchport trunk native vlan 99 //this command will prevent the "Native VLAN mismatched" error on both switches
SW-A(config-if)#switchport trunk allowed vlan 1,21-23

SW-A(config-if)#no shut -
When you apply commands under "interface port-channel 1", the same commands will be automatically applied to the physical member interfaces (of port-
Note:
channel 1) so you don't need to type them under physical member interfaces again. """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
SW-B (far from router)

SW-B(config)#vlan 21 -
SW-B(config-vlan)#name Marketing

SW-B(config-vlan)#exit -

SW-B(config)#vlan 22 -

SW-B(config-vlan)#name Sales -

SW-B(config-vlan)#exit -

SW-B(config)#vlan 23 -
SW-B(config-vlan)#name Engineering

SW-B(config-vlan)#exit -

SW-B(config)#vlan 99 -
SW-B(config-vlan)#name TrunkNative // not necessary to name it but just name it same as SwitchA

SW-B(config-vlan)#exit -
SW-B(config)#interface range fa0/9 "" 10
SW-B(config-if-range)#switchport mode access
SW-B(config-if-range)#switchport access vlan 21
SW-B(config-if-range)#spanning-tree portfast
SW-B(config-if-range)#no shutdown

SW-B(config-if-range)#exit -
SW-B(config)#interface range fa0/13 "" 14
SW-B(config-if-range)#switchport mode access
SW-B(config-if-range)#switchport access vlan 22
SW-B(config-if-range)#spanning-tree portfast
SW-B(config-if-range)#no shutdown

SW-B(config-if-range)#exit -
SW-B(config)#interface range fa0/15 "" 16
SW-B(config-if-range)#switchport mode access
SW-B(config-if-range)#switchport access vlan 23
SW-B(config-if-range)#spanning-tree portfast
SW-B(config-if-range)#no shutdown

SW-B(config-if-range)#exit -
SW-B(config)#vtp mode transparent
SW-B(config)#spanning-tree mode rapid-pvst //Same as Sw-A
SW-B(config)#ip default-gateway 192.168.1.1 (you can get this IP from SW-A with command show cdp neighbour detail)

SW-B(config)#interface vlan 1 -
SW-B(config-if)#ip address 192.168.1.11 255.255.255.0

SW-B(config-if)#no shutdown -

SW-B(config-if)#exit -
SW-B(config)#interface range fa0/3 "" 4
SW-B(config-if-range)#channel-group 1 mode passive //mode passive because "SwitchA controlling activation"
SW-B(config-if-range)#channel-protocol lacp
SW-B(config-if-range)#no shutdown
SW-B(config-if)#interface port-channel 1
SW-B(config-if)#switchport trunk encapsulation dot1q
SW-B(config-if)#switchport mode trunk
SW-B(config-if)#switchport trunk native vlan 99 //this command will prevent the "Native VLAN mismatched" error on both switches
SW-B(config-if)#switchport trunk allowed vlan 1,21-23

SW-B(config-if)#no shut -
Note: For Sw-B we have to set the 802.1q trunking protocol (switchport trunk encapsulation dot1q) before converting it into a trunk because it is a 3500 series (or higher) switch which supports both ISL and 802.1Q and we have to explicitly set which trunking protocol to be used. Sw-A is a 2900x series (or lower) switch and does not support ISL trunking protocol (802.1Q is the only supported trunking protocol) so we can apply "switchport mode trunk" directly. """"""""""""""""""""""""""""""""""""""
Some guidelines for configuring SwitchA & SwitchB:
Configuration Requirements for SwitchA

Configuration Requirements for SwitchB

Inter-switch Connectivity Configuration Requirements:

Some notes for this sim:
+ You should check the initial status of both switches with these commands: show vtp status (transparent mode on switchA and we have to set the same mode on switchB), show spanning-tree [summary] (rapid-pvst mode on switchA and we have to set the same mode on switchB), show vlan (check the native vlan and the existence of vlan99), show etherchannel 1 port-channel and show ip int brief(check if Port-channel 1 has been created and make sure it is up),show
(to check everything again).
run
+ When using "int range f0/x "" y" command hit space bar before and after "-" otherwise the simulator does not accept it.
+ You must create vlan 99 for the switchB. SwitchA already have vlan 99 configured.
+ At the end, you can try to ping from SwitchB to RouterA (you can get the IP on RouterA via the show cdp neighbors detail on SwitchA), not sure if it can ping or not. If not, you can use the "ip default-gateway 192.168.1.1" on SwitchB.
+ The name of SwitchA and SwitchB can be swapped or changed so be careful to put your configuration into appropriate switch.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
DimS
5 years, 8 months ago
Should we enter command "switchport trunk nonegotiate" for the trunk interface?
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago