when y extend the servers subnet to onother data center over dark fiber ,so the port will be configured as trunk and only allow the vlan server to cross the trunk,let say the vlan server is VLAN 10,so command will be like below
desc L2 Link to DC2
switchport trunk encapsulation dot1q
switchport mode trunk
switchport allow vlan 10
is it correct?
what is the command to isolate STP domain each other?
You are not specific in your description. What do you mean when you say you want to "isolate STP domains from each other"?
There are many ways to do this. You can convert the link to a pure L3 link, and route the traffic between the sites using IP.
You can also do what sharifimr mentioned, convert the access port in each end to an access-port (switchport access vlan xxx / switchport mode access).
If you need to share bridged traffic in the form of a VLAN between the sites, but you do not want to exchange BPDUs between switches, you can enable BPDUFilter on the interfaces (spanning-tree bpdufilter enable), but DO NOT do this if you have redundant links, unless they are part of a port-channel/etherchannel.
If you have ASR1Ks or a Nexus 7K laying around, you can configure an OTV link, in which case you don't have to think about those pesky L2 issues associated with classic Ethernet...
We are pleased to announce availability of Beta software for 16.6.3.
16.6.3 will be the second rebuild on the 16.6 release train targeted
towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are
looking for early feedback from customers befor...
Introduction Featured Speakers Luis Espejel is the Telecommunications
Manager of IENova, an Oil & Gas company. Currently he works with Cisco
IOS® and Cisco IOS XE platforms, and NX to some extent. He has also
worked as a Senior Engineer with the Routing P...
In this session you can learn more about Layer 3 multicast and the best
practices to identify possible threats and take security measures. It
provides an overview of basic multicast, the best security practices for
use of this technology, and recommendati...