Created
December 17, 2023 00:31
-
-
Save kmplsv/5c517996ecb6fa22efd619d140b87118 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
switch1#conf t | |
Enter configuration commands, one per line. End with CNTL/Z. | |
switch1(config)#line con 0 | |
switch1(config-line)#logg syn | |
switch1(config-line)#exit | |
switch1(config)# | |
switch1(config)#int range g0/1-24 | |
switch1(config-if-range)#no shut | |
switch1(config-if-range)#sw m a | |
switch1(config-if-range)# | |
switch1(config-if-range)#int range g0/1-5 | |
switch1(config-if-range)#sw ac vla 100 | |
switch1(config-if-range)#span portfast | |
%Warning: portfast should only be enabled on ports connected to a single | |
host. Connecting hubs, concentrators, switches, bridges, etc... to this | |
interface when portfast is enabled, can cause temporary bridging loops. | |
Use with CAUTION | |
%Portfast will be configured in 5 interfaces due to the range command | |
but will only have effect when the interfaces are in a non-trunking mode. | |
switch1(config-if-range)# | |
switch1(config-if-range)#int g0/6 | |
switch1(config-if)#sw ac vla 101 | |
switch1(config-if)#span portfast | |
%Warning: portfast should only be enabled on ports connected to a single | |
host. Connecting hubs, concentrators, switches, bridges, etc... to this | |
interface when portfast is enabled, can cause temporary bridging loops. | |
Use with CAUTION | |
%Portfast has been configured on GigabitEthernet0/6 but will only | |
have effect when the interface is in a non-trunking mode. | |
switch1(config-if)# | |
switch1(config-if)#int g0/7 | |
switch1(config-if)#sw m t | |
Command rejected: An interface whose trunk encapsulation is "Auto" can not be configured to "trunk" mode. | |
switch1(config-if)#sw t enc dot | |
switch1(config-if)#sw t al vla none | |
switch1(config-if)#sw t al vla add 99 | |
switch1(config-if)#sw t al vla add 100 | |
switch1(config-if)#sw t al vla add 101 | |
switch1(config-if)#sw t al vla add 199 | |
switch1(config-if)#sw t na vla 666 | |
switch1(config-if)# | |
switch1(config-if)#int range g0/8-9,g0/11-12,g0/14-15,g0/18 | |
switch1(config-if-range)#sw ac vla 10 | |
switch1(config-if-range)#span portfast | |
%Warning: portfast should only be enabled on ports connected to a single | |
host. Connecting hubs, concentrators, switches, bridges, etc... to this | |
interface when portfast is enabled, can cause temporary bridging loops. | |
Use with CAUTION | |
%Portfast will be configured in 2 interfaces due to the range command | |
but will only have effect when the interfaces are in a non-trunking mode. | |
switch1(config-if-range)# | |
switch1(config-if-range)#int g0/17 | |
switch1(config-if)#sw ac vla 20 | |
switch1(config-if)#span portfast | |
%Warning: portfast should only be enabled on ports connected to a single | |
host. Connecting hubs, concentrators, switches, bridges, etc... to this | |
interface when portfast is enabled, can cause temporary bridging loops. | |
Use with CAUTION | |
%Portfast has been configured on GigabitEthernet0/17 but will only | |
have effect when the interface is in a non-trunking mode. | |
switch1(config-if)# | |
switch1(config-if)#int range g0/10,g0/13,g0/16 | |
switch1(config-if-range)#sw ac vla 99 | |
switch1(config-if-range)#span portfast | |
%Warning: portfast should only be enabled on ports connected to a single | |
host. Connecting hubs, concentrators, switches, bridges, etc... to this | |
interface when portfast is enabled, can cause temporary bridging loops. | |
Use with CAUTION | |
%Portfast will be configured in 1 interfaces due to the range command | |
but will only have effect when the interfaces are in a non-trunking mode. | |
switch1(config-if-range)# | |
switch1(config-if-range)#int gi0/24 | |
switch1(config-if)#sw m t | |
Command rejected: An interface whose trunk encapsulation is "Auto" can not be configured to "trunk" mode. | |
switch1(config-if)#sw t enc dot | |
switch1(config-if)#sw t al vla all | |
switch1(config-if)#sw t na vla 666 | |
switch1(config-if)#exit | |
switch1(config)#exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment