Configuration File: 3Com 4200 3c17300a, which can be connected to wayos, Ros, and sea spider multi-wan

Source: Internet
Author: User

Recently, some netizens asked me on the internet how to configure the 3Com Switch. Because of the many questions, I guess this switch is more cost-effective, and there is a 3com 4200 3c17300a, so I will save his configuration code for you!

Usage:

1. Save the following code to a file, for example, 3 comvlan.

2. Use the com line to enter the 3Com Configuration

3. Click the restore command to restore the file to the vswitch. Restart the file.

Configuration File description:

1. After recovery, the IP address is 192.168.1.254 and can be connected through Telnet.

2. After recovery, the username is admin, And the password is admin or empty.

3. After recovery, Ports 1-25 are VLAN 1-25, and ports 26 are WAN ports connected to wayos, hzz, and ROS respectively.

The following figure shows a similar picture of the vswitch:

Copy the following code to a file. The following code begins and ends:

# <Header> 3com_device # <Key> 3c17300m1: </key>
# <Version> 1 </version>
# <Description> ip address 192.168.1.254, 3Com SuperStack 3, Lome-VLAN </description>
# <Usernotes> </usernotes>
# <Mode> error_check_on </mode>

#
# Warning: this file is automatically generated and follows specific
# Command ordering rules. Users may add or alter commands in this file
# But must do so with caution as it may affect the ability to restore
# Configuration of the device.
#
# The following items are not automatically saved by the system to avoid
# Breaches of security and to avoid disconnection during restore
# Operations :-
#-User details (including password, SSH keys *, SNMP community strings)
#-Device management IP address and VLAN *
#-SSH user authentication method *
#-Radius Shared Secret *
#-Rip password *
#-OSPF password *
# (* Applicable to Certain products only)
#
# If commands to configure these items are to be added please add them
# The End of the file.
#

#--------------------------------------------------------------
# Product Information Section
#--------------------------------------------------------------
# Unit number: 1
# Description: Switch 4200
# Product number: 3c17300a
# MAC address: 00: 1A: C1: B9: BC: 20
# Serial number: l3zv8lkb9bc20
# Software Version: 3.00
# Hardware version: 04.01.01
#

#--------------------------------------------------------------
# Feature safe backup Section
#--------------------------------------------------------------
Bridge spanningtree stpstate enable
Bridge port lacpstate-Disable
Bridge linkaggregation modify partnerid 1 0x8000 none
Bridge linkaggregation modify partnerid 2 0x8000 none
Bridge linkaggregation modify partnerid 3 0x8000 none
Bridge linkaggregation modify partnerid 4 0x8000 none

#--------------------------------------------------------------
# Bridge port section
#--------------------------------------------------------------
Bridge port stpcost-, AL1-AL4 auto
Bridge port linktrap-enable
Bridge port linktrap AL1-AL4 disable
Bridge port stpfaststart-auto
Bridge port stpfaststart-Disable
Bridge port stpfaststart AL1-AL4 (disable)

#--------------------------------------------------------------
# Physicalinterface Ethernet Section
#--------------------------------------------------------------
Physicalinterface Ethernet flowcontrol-on
Physicalinterface Ethernet portmode-enable 100 half
Physicalinterface Ethernet portstate-enable
Physicalinterface Ethernet smartautosense enable

#--------------------------------------------------------------
# Bridge VLAN Section
#--------------------------------------------------------------
Bridge VLAN create 2 "VLAN 2"
Bridge VLAN create 3 "VLAN 3"
Bridge VLAN create 4 "VLAN 4"
Bridge VLAN create 5 "VLAN 5"
Bridge VLAN create 6 "VLAN 6"
Bridge VLAN create 7 "VLAN 7"
Bridge VLAN create 8 "VLAN 8"
Bridge VLAN create 9 "VLAN 9"
Bridge VLAN create 10 "VLAN 10"
Bridge VLAN create 11 "VLAN 11"
Bridge VLAN create 12 "VLAN 12"
Bridge VLAN create 13 "VLAN 13"
Bridge VLAN create 14 "VLAN 14"
Bridge VLAN create 15 "VLAN 15"
Bridge VLAN create 16 "VLAN 16"
Bridge VLAN create 17 "VLAN 17"
Bridge VLAN create 18 "VLAN 18"
Bridge VLAN create 19 "VLAN 19"
Bridge VLAN create 20 "VLAN 20"
Bridge VLAN create 21 "VLAN 21"
Bridge VLAN create 22 "VLAN 22"
Bridge VLAN create 23 "VLAN 23"
Bridge VLAN create 24 "VLAN 24"
Bridge VLAN create 25 "VLAN 25"
Bridge VLAN create 26 "VLAN 26"

#--------------------------------------------------------------
# Bridge VLAN Modify Section
#--------------------------------------------------------------
Bridge VLAN modify removeport 1-
Bridge VLAN modify addport 1 :26 tagged
Bridge VLAN modify addport 2 untagged
Bridge VLAN modify addport 2 tagged
Bridge VLAN modify addport 3 untagged
Bridge VLAN modify addport 3 tagged
Bridge VLAN modify addport 4 untagged
Bridge VLAN modify addport 4 tagged
Bridge VLAN modify addport 5 untagged
Bridge VLAN modify addport 5 :26 tagged
Bridge VLAN modify addport 6 untagged
Bridge VLAN modify addport 6 tagged
Bridge VLAN modify addport 7 untagged
Bridge VLAN modify addport 7 tagged
Bridge VLAN modify addport 8 untagged
Bridge VLAN modify addport 8 tagged
Bridge VLAN modify addport 9 untagged
Bridge VLAN modify addport 9 tagged
Bridge VLAN modify addport 10 untagged
Bridge VLAN modify addport 10 tagged
Bridge VLAN modify addport 11 :11 untagged
Bridge VLAN modify addport 11 :26 tagged
Bridge VLAN modify addport 12 :12 untagged
Bridge VLAN modify addport 12 :26 tagged
Bridge VLAN modify addport 13 :13 untagged
Bridge VLAN modify addport 13 :26 tagged
Bridge VLAN modify addport 14 :14 untagged
Bridge VLAN modify addport 14 tagged
Bridge VLAN modify addport 15:15 untagged
Bridge VLAN modify addport 15:26 tagged
Bridge VLAN modify addport 16 untagged
Bridge VLAN modify addport 16 tagged
Bridge VLAN modify addport 17 :17 untagged
Bridge VLAN modify addport 17:26 tagged
Bridge VLAN modify addport 18 :18 untagged
Bridge VLAN modify addport 18 tagged
Bridge VLAN modify addport 19 :19 untagged
Bridge VLAN modify addport 19 :26 tagged
Bridge VLAN modify addport 20 :20 untagged
Bridge VLAN modify addport 20 :26 tagged
Bridge VLAN modify addport 21 :21 untagged
Bridge VLAN modify addport 21 :26 tagged
Bridge VLAN modify addport 22 untagged
Bridge VLAN modify addport 22 :26 tagged
Bridge VLAN modify addport 23 :23 untagged
Bridge VLAN modify addport 23 tagged
Bridge VLAN modify addport 24 untagged
Bridge VLAN modify addport 24 :26 tagged
Bridge VLAN modify addport 25 tagged

#--------------------------------------------------------------
# Bridge addressdatabase Section
#--------------------------------------------------------------
Bridge addressdatabase agingtime 300

#--------------------------------------------------------------
# Bridge linkaggregation Section
#--------------------------------------------------------------
Bridge linkaggregation modify linkstate 1 enable
Bridge linkaggregation modify linkstate 2 enable
Bridge linkaggregation modify linkstate 3 enable
Bridge linkaggregation modify linkstate 4 enable
Bridge port lacpstate-Disable

#--------------------------------------------------------------
# Bridge spanningtree Section
#--------------------------------------------------------------
Bridge spanningtree stpversion 2
Bridge spanningtree stpdefapathpathcost 1
Bridge spanningtree stppriority 32768
Bridge spanningtree stphellotime 2
Bridge spanningtree stpmaxage 20
Bridge spanningtree stpforwarddelay 15
Bridge spanningtree stpstate enable

#--------------------------------------------------------------
# Bridge muliticastfilter IGMP Section
#--------------------------------------------------------------
Bridge multicastfilter IGMP querymode disable
Bridge multicastfilter IGMP snoopmode disable
Bridge multicastfilter IGMP modify fastleave disable

#--------------------------------------------------------------
# Bridge multicastfilter routerport Section
#--------------------------------------------------------------
Bridge multicastfilter routerport autodiscovery enable

#--------------------------------------------------------------
# Bridge broadcaststormcontrol Section
#--------------------------------------------------------------
Bridge broadcaststormctrl disable

#--------------------------------------------------------------
# Protocol IP interface Section
#--------------------------------------------------------------

#--------------------------------------------------------------
# Protocol IP Route Section
#--------------------------------------------------------------

#--------------------------------------------------------------
# Security radius Section
#--------------------------------------------------------------
Security RADIUS Authentication modify 0.0.0.0 1812 0.0.0.0 1812
Security RADIUS accounting modify 0.0.0.0 1813 0.0.0.0 1813 reject
Security radius retries 4 2
Security radius polltime 120

#--------------------------------------------------------------
# Security Device Access Section
#--------------------------------------------------------------
Security Device Access modify monitor enable
Security Device Access modify manager enable
Security Device Access modify Security enable
#--------------------------------------------------------------
# Security device user section
#--------------------------------------------------------------

#--------------------------------------------------------------
# Security network access section
#--------------------------------------------------------------
Security Network Access systemmode enable
Security Network Access portsecurity-nosecurity 1 noaction

#--------------------------------------------------------------
# Security Network Access secureaddresses Section
#--------------------------------------------------------------
Security Network Access secureaddresses remove 1:1 all
Security Network Access secureaddresses remove all
Security Network Access secureaddresses remove 1:3 all
Security Network Access secureaddresses remove 1:4 all
Security Network Access secureaddresses remove 1:5 all
Security Network Access secureaddresses remove 1:6 all
Security Network Access secureaddresses remove 1:7 all
Security Network Access secureaddresses remove 1:8 all
Security Network Access secureaddresses remove 1:9 all
Security Network Access secureaddresses remove 1:10 all
Security Network Access secureaddresses remove 1:11 all
Security Network Access secureaddresses remove 1:12 all
Security Network Access secureaddresses remove :13 all
Security Network Access secureaddresses remove 1:14 all
Security Network Access secureaddresses remove 1:15 all
Security Network Access secureaddresses remove 1:16 all
Security Network Access secureaddresses remove 1:17 all
Security Network Access secureaddresses remove 1:18 all
Security Network Access secureaddresses remove 1:19 all
Security Network Access secureaddresses remove 1:20 all
Security Network Access secureaddresses remove 1:21 all
Security Network Access secureaddresses remove 1:22 all
Security Network Access secureaddresses remove 1:23 all
Security Network Access secureaddresses remove 1:24 all
Security Network Access secureaddresses remove 1:25 all
Security Network Access secureaddresses remove 1:26 all

#--------------------------------------------------------------
# System Management Section
#--------------------------------------------------------------
System Management name "LOME-VLAN"
System Management location ""
System Management Contact ""
System Management RemoteAccess enable

#--------------------------------------------------------------
# System Management SNMP Trap Section
#--------------------------------------------------------------

#--------------------------------------------------------------
# System Management alert Section
#--------------------------------------------------------------

#--------------------------------------------------------------
# System management monitor Section
#--------------------------------------------------------------
System Management monitor modify systemdevice off none
System Management monitor modify port-off none

#--------------------------------------------------------------
# Trafficmanagement QoS classifier Section
#--------------------------------------------------------------
Trafficmanagement QoS classifier modify 3 "3Com nbx voice-IP" 46
Trafficmanagement QoS classifier modify 7 "Internetwork control" 48
Trafficmanagement QoS classifier modify 8 "Network Control" 56

#--------------------------------------------------------------
# Trafficmanagement QoS Profile Section
#--------------------------------------------------------------
Trafficmanagement QoS profile modify 1 "No classifiers"
Trafficmanagement QoS profile modify 2 "default"
Trafficmanagement QoS profile addclassifier 2 3 5
Trafficmanagement QoS profile addclassifier 2 7 6
Trafficmanagement QoS profile addclassifier 2 8 7
Trafficmanagement QoS profile assign 1: 1: 26 2
Trafficmanagement QoS trafficqueue holprotection QoS Yes

#
# End of automatically generated configuration.
# You can enter further commands, if they are supported on the product, after these comments:
#
# Note: If you restore radius configuration you can add the shared secret below.
# You can also change the Authentication Mode to radius with the following
# Command:
# Security device authentication systemmode radius Yes
#
# Examples:
# Physical Ethernet portcapabilities 1:1 10 h
# Protocol IP basicconfig manual 10.16.25.26 255.255.255.0 10.16.25.250
# Protocol IP rip authentication 10.16.25.32 password "My rip password" "My rip password"
# Security device user create "my name" Monitor "My password" "My password" "My community"
# Security device user modify admin "secret" "secret" "private"
# Security radius sharedsecret "this is my shared secret"
# System Management SNMP community "private" "manager" "public"

 

# ----------------- End of configuration file ------------------

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.