What Is The Purpose Of The Switch Command Switchport Access Vlan 99?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What Is The Purpose Of The Switch Command Switchport Access Vlan 99?
In order to assign the port to the particular VLAN, we use the switch command. Today, let us learn about the VLAN in detail. We also learn about the configuration of the VLAN along with the verification of the VLAN and assigning the different ports to the different VLANs on a switch.
Now, let us able to configure three different types of VLANs. Assume that we have three different types of the VLANs like VLAN 5, VLAN 6, and VLAN 7. And in order to create some VLANs on the switch, we need to enter the configuration mode. we use the command VLAN and VLAN id. And then we need to simply press the enter button and create Vlan 5, VLAN 6, and then VLAN 7.
Now, after creating the VLANs and we can also try to verify the VLANs. Now, for verifying the VLANs, we use the command called the show command. In this show command, we can see the VLANs that we have created and the names we are given to them.
We can also able to see all the ports that are present on the switch. These are assigned by default by the default VLAN. Now, if we want to assign some of the VLANs, we simply should move into the configuration terminal, and then we move into the interface configuration mode by simply typing the command interface. And then we will assign the faculty VLAN 5 first. Before we assign the port to the VLAN, firstly, we should configure the port to an access port.
hence, the command to configure this is called switch port mode access, after this, we can able to assign the VLAN by simply using the switch port access VLAN command, and then we simply need to assign the port to the VLAN 5.
Here, we also have another command which will help to assign multiple ports all together to the VLAN. This command is called the interface range fa0/. Let us take an example to understand this concept in detail.
For suppose, if we want to assign two ports to any particular VLAN we will use 0/1 – 2 and then we need to configure this port like the access port, and then we need to assign it to the VLAN 6. In the same way, we need to perform to the VLAN 7.
Now, let us know what is actually the access port means?. Let say, we have four different VLANS each of them with them are connected to the switch. And the port which is connecting the computer to the switch will be called the access port. The main reason here is that the access port will only allow one VLAN at a single time.
The VLANs are mostly used in order to maintain communication between one computer to the other computer. hence, after establishing the link between the two computers, the communication will be maintained. Hence, the VLAN will play a crucial between the two computers communication.