Joke Collection Website - News headlines - Cisco Cisco switch configuration please ask experts for advice. Urgent! Urgent! Urgent!
Cisco Cisco switch configuration please ask experts for advice. Urgent! Urgent! Urgent!
User mode hostname #;
Privileged Mode Hostname (Configuration) #;
Global configuration mode hostname (config-if) #;
Switch password settings:
Switch & gt is enabled; Enter privileged mode
Switch # configures the terminal; Enter global configuration mode
Switch (Configuration) # Hostname csico Sets the hostname of the switch.
Switch (configuration) # enables encryption csico1; Set privileged encryption password
Switch (Configuration) # Enable Password csico8 Set Privileged Unsecured Password
Switch (Configuration) # Line Console 0; Input console port
Switch (configuration line) # line vty04; Enter the virtual terminal
Switch (configuration line) # login; Virtual terminal allows login.
Switch (configuration line) # password csico6 sets the virtual terminal login password csico6.
Switch # exit to release instructions.
Create and delete vlan of switch, set port properties, configure trunk ports, add ports to VLAN, and configure VTP:
Switch #vlan database; Enter VLAN settings
Switch (VLAN )# VLAN 2;; Building VLAN 2
Switch (VLAN)# VLAN 3 Name VLAN 3; Build vlan3 and name it VLAN 3.
Switch (VLAN)# does not have VLAN 2;; Delete vlan 2
Switch (configuration) # intf0/1; Input port 1
Switch (configuration) speed? View the subcommands of the speed command.
Switch (Configuration) # Speed 100 Set the port speed to 100mb/s( 10/ auto).
Switch (Configuration) # Duplex? View duplex subcommand
Switch (Configuration) # Full Duplex Sets the port to full duplex (automatic/half duplex).
Switch (configuration) # Description TO_PC 1 This is a port described as to _ pc 1.
Switch (configuration -if)# Switch port is connected to VLAN 2;; The current port joins vlan 2.
Switch(config-if)# switch port mode relay; Set to relay mode (access mode)
Switch (configuration -if)# vlan 1 allowed for switch port relay, 2; Set the allowed vlan
Switch (configuration -if)# Switch port relay encapsulation dot1q; Set vlan trunking
Switch (Configuration) #vtp Domain vtpserver sets the vtp domain name to the same.
Switch (configuration) #vtp password; Set the vtp password.
Switch (configuration) #vtp server; Set vtp server mode
Switch (configuration) #vtp client; Set vtp client mode
Switch sets IP address, default gateway, domain name and domain name server, and configures and views MAC address table:
Switch (configuration) # interface VLAN1; Enter vlan 1.
Switch (config-if)# IP address192.168.1.1255.255.0; Set IP address
Switch (configuration) #ip default-gateway192.168.1.6; Set the default gateway
Switch (configuration) # IP domain name cisco.com sets the domain name.
Switch (configuration) # ip name-server192.168.1.18 Set the domain name server.
Switch (configuration) #mac address table? View the subcommand of the mac address table.
Switch (configuration) # MAC-address-tableaging-time 100 sets the timeout to100 milliseconds.
Switch (configuration) # MAC-address-table permanent 0000.0c01.bbccf0/3 adds a permanent address to f0/3 port.
Switch (configuration) # MAC address table restricted static 0000.0c02.bbcc f0/6f0/7 Add static address target port F0/6 source port f0/7.
Switch (Configuration) # End
Switch #show mac-address-table to view the whole mac address table.
Switch # clearmac-address-table restricted static clears the restricted static address.
Switch display command:
Switch # write saves configuration information.
Switch # show vtp to view vtp configuration information.
Switch # show run to view the current configuration information.
Switch # show vlan View vlan configuration information
Switch # display interface; View port information
Switch # show int f0/0; View the specified port information
Switch #show int f0/0 status; View the specified port status
Switch # dirflash:; View flash memory
- Previous article:What is Cadillac's service slogan?
- Next article:What is the pattern on the helmets of speed skaters at the 2022 Beijing Winter Olympics?
- Related articles
- 1 environmental protection slogans?
- Who can describe the Yellow Crane Tower?
- How do debt collection companies collect debts?
- What does the postcard convey?
- Mid-Autumn Festival activities background
- The college entrance examination slogan is domineering. The inspirational slogan for senior high school students is domineering and short.
- How to introduce charity books for primary school students
- Sentences about saying goodbye to your alma mater
- Slogan in school gymnasium
- What public account is suitable to write in March?