cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
995
Views
0
Helpful
7
Replies

Command Status

ray_stone
Level 1
Level 1

Hi,

Please confirm the following commands are using for which purpose?

interface FastEthernet0/4
description User Connection
switchport trunk encapsulation dot1q
switchport mode access
switchport voice vlan 102
no cdp enable
spanning-tree portfast

Is Switch Port configured as a Trunk Port or Access port and what V-LAN traffic being bypass via this port,

7 Replies 7

ray_stone
Level 1
Level 1

The last question was for the following commands. I used the wrong one commands:

interface FastEthernet0/5
description Uplink to WAN router
switchport access vlan 4
switchport trunk encapsulation dot1q
switchport mode access
switchport voice vlan 102
no cdp enable
spanning-tree portfast

Please confirm about the above commands and same question is applied in my previous post.

This post should be on Lan switching. Im not quite sure, you can do a show interface trunk, if you see fastethernet listed, the port is functioning on trunk. Also, you can do a show vlan, and if the switchport is not assigned to vlan 4 as depicted, the port definetly is on trunk.

Mike.

Mike

If the switch port is connected with router interface and the given commands are configured on switch port then is it possible that we could allow two V-LAN traffic through the router even you have tested that it's still in access mode.

I have fetch out this switch info from one of new customer and understanding why the given commands are using for which purpose as i also think that it should be working in a access mode until we configure switch port in trunk port.

Please confirm.

Just tested, the port is in access.

Mike

Mike

If the switch port is connected with router interface and the given commands are configured on switch port then is it possible that we could allow two V-LAN traffic through the router even you have tested that it's still in access mode.

I have fetch out this switch info from one of new customer and understanding why the given commands are using for which purpose as i also think that it should be working in a access mode until we configure switch port in trunk port.

Please confirm.

Hi Bro

The configuration provided is done by someone who has no idea what they are doing. A trunk port would like like this, and like this only.

interface FastEthernet0/4

description Uplink Trunk Port

switchport trunk encapsulation dot1q

switchport mode trunk

switchport nonegotiate

spanning-tree portfast trunk

and a access port would look like this and like this only.

interface FastEthernet0/5

description User Connection (Voice / Data) --> Access Port

switchport access vlan 4

switchport mode access

switchport voice vlan 102

no cdp enable

spanning-tree portfast

interface FastEthernet0/6

description Uplink to WAN Router --> Access Port

switchport access vlan 4

switchport mode access

P/S: If you think this comment is helpful, please do rate them nicely :-)

Warm regards,
Ramraj Sivagnanam Sivajanam

nkarthikeyan
Level 7
Level 7

Hi Ray,

This is not a valid trunk configuration. You cannot have trunk and access configured for the same interface.

Please do rate if the given information helps.

By

Karthik

Review Cisco Networking for a $25 gift card