How to Configure Access in VLAN Dynamic Mode

104 13
    • 1). Connect to the switch using either the console cable or a telnet connection. The console cable connection must have flow control set to "none," baud rate to "9600," data bits to "8" and parity to "1." Telnet connections require only that your computer be able to reach the management IP address of the switch.

    • 2). Type "ena" and press "enter" to begin enabled mode. Enter the password if prompted and press "enter."

    • 3). Enter global configuration mode by entering "config t" or "configure terminal."

    • 4). Type the command "vmps server [IP address] primary" and press "enter." The "[IP address]" is the address (for example, 192.168.2.1) of a switch or computer storing the VLAN-to-MAC assignment information.

    • 5). Type "interface [interface name]" and press "enter" to begin configuring the first interface. Cisco assigns interface names based on the type of interface, followed by the blade number and then followed by the actual port numbers. For example, fast Ethernet port 24 on a switch with no additional blades would be accessed by typing "interface fa0/24" (without the quotation marks).

    • 6). Type "switchport mode access" and press "enter." This will place that port into VLAN access mode.

    • 7). Type "switchport access vlan dynamic" and press "enter." This allows that port to perform dynamic VLAN assignments, based on the MAC address of the device plugged into it.

    • 8). Repeat steps 5 through 7 for each interface you wish to configure for dynamic access.

    • 9). Type "end" and press "enter" to leave global configuration.

    • 10

      Type "copy run start" or "copy running-config startup-config" and press "enter" to commit configuration to NVRAM (non-volatile random-access memory).

Source...

Leave A Reply

Your email address will not be published.