Cisco vswitch 3548 Configuration

Source: Internet
Author: User

When you connect to the vswitch for the first time, configure the terminal parameters as follows:
Baud Rate: 9600; Data bit: 8; stop bit: 1; Parity: none; flow control: none.
After connecting the vro through a serial port, press enter to see the Configuration Wizard:
(If this is not the first configuration, you can enter the superuser mode and use the command setup to call the following process)
--- System Configuration Dialog ---
At any point you may enter a question mark '? 'For help. Can I call it at any time? Get help
Use ctrl-c to abort configuration dialog at any prompt. Press Ctrl-C to cancel and exit
Default settings are in square brackets '[]'. The Default parameters are in [].
Continue with configuration dialog? [Yes/no]: Does y continue interactive configuration? Answer: y
Enter IP address: 10.1.1.249ip address
Enter IP netmask: 255.255.255.0 Subnet Mask
Wocould you like to enter a default gateway address? [Yes]: How does y set the default gateway? Y
IP address of default gateway: 10.1.1.254 default gateway
Enter host name [3548_9A]:
The enable secret is a one-way cryptographic secret used
Instead of the enable password when it exists.
Enter enable secret: _ password Enter the superuser password
Wocould you like to configure a Telnet password? [Yes]: y
Enter Telnet password: _ password Enter the telnet password
Wocould you like to enable as a cluster command switch? [Yes/no]: n cluster mode? N
The following configuration command script was created: The following configuration information has been created
Ip subnet-zero
Interface VLAN1
Ip address 10.1.1.249 255.255.255.0
Ip default-gateway 10.1.1.254
Enable secret 5 $1 $ biZ3 $ AOLb9cMTtBwMtGB9lyBzr.
Line vty 0 15
Password _ domainwlzx
Snmp community private rw
Snmp community public ro
!
End
Use this configuration? [Yes/no]: Is this configuration used? Y
Modify Configuration:
Snmp management is prohibited:
3548> enable
Password:
3548 # config term
3548 (config) # no snmp community private
3548 (config) # no snmp community public
Configure the trunk: Make sure the corresponding port of the upper-level switch is set to trunk mode)
3548 (config) # inter g0/1 select the first Gigabit Port
3548 (config if) # Set switchport mode to trunk mode
If g0/2 is used to connect to another 3548
3548 (config) # inter g0/2
3548 (config if) # switchport mode trunk
Return
3548 (config if) # exit
3548 (config) # exit
3548 #
Verification: ping 10.1.1.254
Configure Vlan data:
3548 # vlan database
3548 (vlan) # Clear previous configurations in reset
3548 (vlan) # vtp client is set to vtp customer Mode
3548 (vlan) # The vtp domain _ domainvtp domain is _ domain
3548 (vlan) # vtp password ******** set the vtp domain password
3548 (vlan) # exit
3548 #
Verify: show vtp status displays vlan data
Show vtp counters
Show vlan
The number and name of VLANs displayed after synchronization should be the same as those listed on 6506.
Specify the port to the Vlan and configure the port to the portfast mode (fast connection establishment ):
Method 1: Command
3548 # config term
3548 (config) # inter f0/1 Configure port 1 for Fast Ethernet
3548 (config if) # switchport access vlan 2 Specify the port to Vlan 2
3548 (config if) # spanning-tree portfast
3548 (config) # inter f0/2 Configure port 1 for Fast Ethernet
3548 (config if) # switchport access vlan 2 Specify the port to Vlan 2
3548 (config if) # spanning-tree portfast
... Repeat the preceding steps for each port to be set.
3548 (config if) # exit
3548 (config) # exit
3548 #
Method 1: Web
Plug-ins to be installed: jre-1-2-2-005-win-i-09-mar-2000.exe)
Open a browser to connect to the device: Enter the management page url of the device in the address bar, for example, 3548_9a (10.1.1.248) is http: // 10.1.1.249/basiccfg.html
Select port> port configure> set port fast to Enable.
Select vlan-> vlan membership-> specify the Vlan ID to which the port belongs. You can specify multiple ports at the same time.
! Note: If a port is specified to a non-existent VLAN, the VLAN synchronization of the 3548 switch will be abnormal. In this case, the correct VLAN should be configured and the Vlan data should be reconfigured"
Save configuration information:
Method 1: Command
3548 # write (or copy running-config startup-config)
Method 1: Web
Select a device (instead of a single port) and click save configure.
3548_9A # show run
Building configuration...
Current configuration:
!
Version 12.0 # Software version
No service pad
Service timestamps debug uptime
Service timestamps log uptime
No service password-encryption
!
Hostname 3548_9A # system name
!
Enable secret 5 $1 $ 4ZMs $ rfC. g/nN. owt3eW2uoCL/0 # encrypted enable password
!
!
!
!
!
!
Ip subnet-zero
!
!
!
Interface FastEthernet0/1 # Module 0's 1 Fast Ethernet interface
Switchport access vlan 5 # specify port 0/1 to vlan 5
Spanning-tree portfast # If the workstation is connected, specify the port as portfast without running the spanning tree Protocol to speed up connection establishment)
!
Interface FastEthernet0/2
Spanning-tree portfast # default port belongs to vlan 1
!
Interface FastEthernet0/3
Spanning-tree portfast
!
Interface FastEthernet0/4
Spanning-tree portfast
!
Interface FastEthernet0/5
Spanning-tree portfast
!
Interface FastEthernet0/6
Spanning-tree portfast
!
Interface FastEthernet0/7
Spanning-tree portfast
!
Interface FastEthernet0/8
Spanning-tree portfast
!
Interface FastEthernet0/9
Spanning-tree portfast
!
Interface FastEthernet0/10
Spanning-tree portfast
!
Interface FastEthernet0/11
Spanning-tree portfast
!
Interface FastEthernet0/12
Spanning-tree portfast
!
Interface FastEthernet0/13
Spanning-tree portfast
!
Interface FastEthernet0/14
Spanning-tree portfast
!
Interface FastEthernet0/15
Spanning-tree portfast
!
Interface FastEthernet0/16
Spanning-tree portfast
!
Interface FastEthernet0/17
Spanning-tree portfast
!
Interface FastEthernet0/18
Spanning-tree portfast
!
Interface FastEthernet0/19
Spanning-tree portfast
!
Interface FastEthernet0/20
Spanning-tree portfast
!
Interface FastEthernet0/21
Spanning-tree portfast
!
Interface FastEthernet0/22
Spanning-tree portfast
!
Interface FastEthernet0/23
Spanning-tree portfast
!
Interface FastEthernet0/24
Spanning-tree portfast
!
Interface FastEthernet0/25
Spanning-tree portfast
!
Interface FastEthernet0/26
Spanning-tree portfast
!
Interface FastEthernet0/27
Spanning-tree portfast
!
Interface FastEthernet0/28
Spanning-tree portfast
!
Interface FastEthernet0/29
Spanning-tree portfast
!
Interface FastEthernet0/30
Spanning-tree portfast
!
Interface FastEthernet0/31
Spanning-tree portfast
!
Interface FastEthernet0/32
Spanning-tree portfast
!
Interface FastEthernet0/33
Spanning-tree portfast
!
Interface FastEthernet0/34
Spanning-tree portfast
!
Interface FastEthernet0/35
Spanning-tree portfast
!
Interface FastEthernet0/36
Spanning-tree portfast
!
Interface FastEthernet0/37
Spanning-tree portfast
!
Interface FastEthernet0/38
Spanning-tree portfast
!
Interface FastEthernet0/39
Spanning-tree portfast
!
Interface FastEthernet0/40
Spanning-tree portfast
!
Interface FastEthernet0/41
Spanning-tree portfast
!
Interface FastEthernet0/42
Spanning-tree portfast
!
Interface FastEthernet0/43
Spanning-tree portfast
!
Interface FastEthernet0/44
Spanning-tree portfast
!
Interface FastEthernet0/45
Spanning-tree portfast
!
Interface FastEthernet0/46
Spanning-tree portfast
!
Interface FastEthernet0/47
Spanning-tree portfast
!
Interface FastEthernet0/48
Spanning-tree portfast
!
Interface GigabitEthernet0/1
Switchport mode trunk # Set G0/1 to run the isl protocol. By default, all VLANs are allowed to pass through
!
Interface GigabitEthernet0/2
!
Interface VLAN1
Ip address 10.1.1.249 255.255.255.0 # ip address of the vswitch
No ip directed-broadcast
No ip route-cache
!
Ip default-gateway 10.1.1.254 # default gateway
Snmp-server engineID local 00000009020000036BC
!
Line con 0
Transport input none
Stopbits 1
Line vty 0 4
Password _ password # telnet password
Login
Line vty 5 15
Password _ password # telnet password
Login
!
End

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.