Cisco switch basic command + Win Server08 R2 multi-nic configuration link Aggregation

Source: Internet
Author: User
Tags password protection cisco switch

Vswitches need to be configured for the recently merged server link set...

I have never obtained a vswitch before. I want to sell it now...

 

Generally, the vswitch supports telnet. If you have configured an ip address, you can directly telnet the vswitch. If you do not have any configuration, you need to use the Serial port. Choose Serial for the Serial port...

Fortunately, we support all the omnipotent putty tools. If you use a tool, you can also choose Secure CRT...

 

Enter the password after logon, and then the first command is required:

Enable // enter privileged Mode

 

Add password modification, from: http://zhumeng8337797.blog.163.com/blog/static/1007689142012630103131956/

Modify the password in privileged mode:

Route> enableRoute # config terminalRoute (config) # enable secret CISCO ---- set the encryption password to "CISCO" (if you change "secret" to "password", it is displayed as civilized, in show running-config, we can clearly see the difference between the two.) Route (config) # exit

Delete the privileged mode password:

Route>enableRoute#config terminalRoute(config)#no enable secret CISCORoute(config)#exit

 

Change the logon password:

Console port: (this is the password for entering the vro)
            Route>enable
            Route#config terminal
Route (config) # line console 0 ---- enter the console port Mode
Route (config-line) # password CISCO ---- set the password to "CISCO" (to encrypt the password before: service pass-encryption enable vro password protection-but this command is not found in the Boson Netsim environment. You can discuss it if you know it)
Route (config-line) # login ---- encrypted upon login
            Route(config-line)#exit
 
Aux port:
            Route>enable
            Route#config terminal
Route (config) # line aux 0 ---- enter the aux port Mode
Route (config-line) # password CISCO ---- set the password to "CISCO" (to encrypt the password, enable vro password protection before: service pass-encryption)
Route (config-line) # login ---- encrypted upon login
            Route(config-line)#exit
 
Vty (telnet Remote Login port ):
            Route>enable
            Route#config terminal
Route (config) # line vty 0 4 ---- enter telnet remote login port mode (0 4 allows 5 Users)
Route (config-line) # password CISCO ---- set the password to "CISCO" (to encrypt the password, enable vro password protection before: service pass-encryption)
Route (config-line) # login ---- encrypted upon login
            Route(config-line)#exit

 

Continue to enter the privileged mode and what can be done after entering the privileged mode. However, you should check the switch information first:

show run      //show running-config

 

If you need to view the port configuration information, you need:

Show run inter port name // show run interface port name

Interface port name

For example, here is show interfaces gigabitEthernet1/0/45, which can be abbreviated to show inter g1/0/45 (I have multiple switch stacks, so I need the switch name + port)

If) # deluplex auto full/half/auto

After modification:

If) # shutdown

If) # no shutdown

 

 

Set the vlan of the Port:

Switch#conf tSwitch(config)#inter g1/0/45Switch(config-if)#switchport access vlan 999

Set vlan to 999

Switch (config) # inter port-channel 21
Switch (config-if) # switchport mode access
Switch (config-if) # switchport access vlan 123
Switch (config-if) # description test port channel

Check the setting result:

If) # channel-group 21 mode onSwitch (config-if) # description test group

Then, add the ports in sequence. (I added only two ports in the test ):

 

Finally, don't forget to write the configuration file with wr, or the restart will become invalid...

Dir to check whether the file date is correct

 

Then the configuration of the switch is complete, and the following is the configuration of the server. I am using server08 r2, and Lenovo's server uses the NIC Inter I350.

Update the NIC Driver first, and you will see the "Group" in the tab"

 

Create a group and select the NIC

 

Multiple types are supported and can be selected as needed

 

Then plug in the two NICs into the network, and fix the problem...

 

:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.