Poland
GRANDMETRIC Sp. z o.o.
ul. Metalowa 5, 60-118 Poznań, Poland
NIP 7792433527
+48 61 271 04 43
info@grandmetric.com
Sweden
Drottninggatan 86
111 36 Stockholm
+46 762 041 514
info@grandmetric.com
UK
Grandmetric LTD
Office 584b
182-184 High Street North
London
E6 2JA
+44 20 3321 5276
info@grandmetric.com
US Region
Grandmetric LLC
Lewes DE 19958
16192 Coastal Hwy USA
EIN: 98-1615498
+1 302 691 94 10
info@grandmetric.com
Technology: Switching
Area: VLANs
Vendor: Cisco
Software: 12.X , 15.X
Platform: Catalyst platforms, Nexus platforms
Ethernet interfaces can be configured either as access ports or a trunk ports, as follows:
An access port transmits packets on only one VLAN (traffic is not tagged on this type of port).
To set FastEthernet 1/10 as an Ethernet access port that carries traffic for VLAN 5 only:
switch# configure terminal
switch(config)# interface FastEthernet 0/10
switch(config-if)# switchport mode access
switch(config-if)# switchport access vlan 5
There is also method to set “user/host-facing” port with one handy command for setting few features at once. Switchport host command makes: the port an access port, sets the Spanning Tree portfast feature, disables port-channel.
switch# configure terminal
switch(config)# interface FastEthernet 0/1
switch(config-if)# switchport host
switch(config-if)# switchport access vlan 5
Check how to configure trunk port.