US Region

Grandmetric LLC
Lewes DE 19958
16192 Coastal Hwy USA
EIN: 98-1615498
+1 302 691 94 10

EMEA Region

ul. Metalowa 5, 60-118 Poznań, Poland
NIP 7792433527
+48 61 271 04 43


Grandmetric LTD
Office 584b
182-184 High Street North
E6 2JA
+44 20 3321 5276

  • en
  • pl
  • Access port configuration (Cisco)

    Design & Configure

    Access port configuration (Cisco)

    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 can have only one VLAN configured on the interface; it can carry traffic for only one VLAN.
    • A trunk port can have more VLANs configured on the interface; it can carry traffic for many VLANs simultaneously.

    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.

    Author: Marcin Bialy