IT/CCNA: Udemy

Sec: 5 Switch CLI, Vlan

Last72 2018. 2. 16. 17:07

CCNA 200-125, ICND1, Sec 4: Config Modes, IOS Help, Intro To VLANs


//change host name

Switch>enable
Switch#configure terminal
Enter configuration commands, one per line.
End with CNTL/Z.
Switch(config)#hostname S1

//usage of tab and ?

S1(config)#ho?
hostname  
S1(config)#ho
S1(config)#hostname ?
  WORD  This system's network name
S1(config)#hostname S2
S2(config)#

//exec-timeout 0 0

Switch(config)#line console 0
Switch(config-line)#exec-timeout 0 0

 

 

Vlan


Vlan.pkt


Vlan CLI

interface f0/0

switchport mode access

switchport access vlan 10


or


interfacef0/0

switchport mode trunk

switchport trunk vlan all