Access Interface
On Cisco switches, an "access interface" typically refers to an interface that is configured to carry traffic for a single VLAN. In other words, it's an interface that is not participating in VLAN trunking and is associated with a specific VLAN.
Here's a brief overview of how you would configure an access interface on a Cisco switch:
- Enter Interface Configuration Mode: Access the interface you want to configure using the following command:
- Configure as an Access Interface: Specify that the interface should operate as an access interface and assign it to a VLAN:
Replace
interface-id
with the actual interface identifier (e.g., Ethernet0/1
) and vlan-id
with the VLAN number you want to assign to the interface.- (Optional) Assign other parameters: You might want to configure other parameters for the interface, such as speed, duplex mode, or description:
- Exit Configuration Mode: Once you've finished configuring the interface, exit interface configuration mode:
Remember to save your configuration changes afterward using the write memory
or copy running-config startup-config
command to ensure they persist across reboots.
By configuring an interface as an access interface, you're essentially setting it up to belong to a specific VLAN and carry traffic only for that VLAN, without any VLAN tagging. This is commonly done for devices that are only part of a single VLAN, such as workstations or printers.