Monday, April 6, 2020

Newb in need of a little help regarding port type on Cisco Nexus switches

I'll start this off by stating I am by no means a networking expert if this a repost please forgive me.

I currently work in an environment with a multi datacenter setup. We are connecting the datacenters via private cross connects using the colo's backbone. On the initial setup we ran into spanning tree issues that were beyond my understanding (tri node colo setup).

After further investigation we noticed that the VLAN we were using for the cross colo connection was identifying its root bridge as being on both switches in each datacenter. We resolved this by setting the spanning-tree priority on the VLAN lower on one of the datacenters. It was also recommended that instead of using access ports for the cross datacenter connection we use trunk ports and only allow the particular VLAN across.

IE: Instead of switchport access vlan 1000

we were recommended to change the port type to:

switchport trunk allowed vlan 1000

switchport trunk native vlan 1000

I know this is a very poorly described scenario but would someone be able to explain the difference between an access port and a trunk port where you are only allowing 1 vlan across? Is there a difference or preferred method?

Lastly,

Say i have two Cisco Nexus switches in a VPC domain in each datacenter(1 vpc domain per DC). If i am going to set the root bridge priority on one side(IE: Datacenter A) should that priority be specified on both switches in the vpc domain or just the switch the particular link is connected to? (Note the cross datacenter links are orphaned ports, it only uplinks to 1 switch and is not in a port channel as it is not a dual handoff setup)

Sorry for the lack of details. If anyone has any questions feel free to ask. If anyone is able to shed some light on this it would be greatly appreciated!



No comments:

Post a Comment