Joke Collection Website - Bulletin headlines - How to configure a switch on Cisco Simulator?

How to configure a switch on Cisco Simulator?

Hello, landlord \ x0d \ x0d \ Enter \ x0d \ user mode hostname # for CLI and add a Cisco switch \ x0d \ x0d \ to the simulator; \x0d\ Privileged mode hostname (configuration) #; \x0d\ Global Configuration Mode Hostname (config-if) #; \x0d\\x0d\ Switch password setting: \ x0d \ switch & gt enabled; Enter privileged mode \ x0d \ switch # configterminal \ x0d \ switch (config) # hostnamecsico; Set the host name of the switch \ x0d \ switch (config) # enable secret csico1; Set the privileged encryption password \ x0d \ switch (config) # enablepassword csico8; Set the privileged non-secret password \ x0d \ switch (config) # lineconsole0; Enter the console port \ x0d \ switch (config-line) # linevty04; Enter virtual terminal \ x0d \ switch (config-line) # login; Allow the virtual terminal to log in \ x0d \ switch (config-line) # passwordcsico6; Set virtual terminal login password csico6 \ x0d \ switch # exit return command \x0d\ switch vlan creation, deletion, port attribute setting, configure trunk port, add port to vlan, and configure VTP: \ x0d \ switch # VLAN database; Enter VLAN settings \ x0d \ switch (VLAN) # VLAN 2; Establish VLAN 2 \ x0d \ switch (VLAN) # VLAN 3;; Establish VLAN 3 and name it VLAN 3 \ x0d \ switch (VLAN) # novaln2; Delete VLAN 2 \ x0d \ switch (config) # intf0/1; Input port1\ x0d \ switch (config) # speed? Check the subcommand \ x0d \ switch (config) # speed100 of the speed command and set the port speed to100 MB/s (10/auto) \ x0d \ switch (config) # duplex? See the duplex subcommand \x0d\switch(config)#duplex full to set the port to full duplex (automatic/half duplex) \ x0d \ switch (config) # description to _ PC1\ x0d \ switch (config-if) # switch. The current port joins VLAN 2 \ x0d \ switch (config-if) # switchport mode trunk is set to trunk mode (access mode) \ x0d \ switch (config-if) # switchport trunk allowed VLAN1,2; Set the allowed VLAN \ x0d \ switch (config-if) # switchport trunk encapdot1q; Set VLAN trunk \ x0d \ switch (config) # VTP domain VTP server; Set the same vtp domain name \ x0d \ switch (config) # VTP password; Set the password for sending vtp \ x0d \ switch (config) # VTP server; Set vtp server mode \ x0d \ switch (config) # vtpclient; Set vtp client mode \ x0d \ x0d \ switch, set IP address, default gateway, domain name and domain name server, and configure and view MAC address table: \ x0d \ switch (config) # interface VLAN1; Enter VLAN1\ x0d \ switch (config-if) # ipaddress192.168.1.1255.255.0; Set the IP address \ x0d \ switch (config) # ipdefault-gateway192.168.1.6; Set the default gateway \ x0d \ switch (config) # ipdomain-name cisco.com set the domain name \ x0d \ switch (config) # ipname-server192.168.18 set the domain name server \ x0d \ switch (config) # Check the subcommand \ x0d \ switch (config) # MAC-address-tableage-time100 of MAC-address-table and set the timeout to 100 ms \ x0d \ Switch (config) # MAC-address-tablepermanent 0000.0c01.bbccf0/3 Add permanent address to f0/3 port \ x0d \ Switch (config) # MAC-address-table restricted static 0000.0 c 00. bbccf 0/66 Save configuration information \ x0d \ switch # showvtp view vtp configuration information \ x0d \ switch # showrun view current configuration information \ x0d \ x0d \ Switch # showvlan view vlan configuration information \ x0d \ switch # showinterface check port information \ x0d \ switch # show int F0/0; View the specified port information \ x0d \x0d\switch#show int f0/0 status; ; View the specified port status \ x0d \ switch # dirflash:; View flash memory