Common configuration templates for ZTE, Huawei, and beacon Switches

Source: Internet
Author: User


ZTE, Huawei, frequently-used configuration template of beacon switch ZXDSL8210 frequently-used command www.2cto.com view board type and software and hardware version number showcard enter DSL mode dsl view port status showinfo view ADSL speed detection board showprof change port application speed detection board linecfg view ADSL Port line quality showperf open ADSL port enable disable ADSL port disable restart ADSL port resetport enter atm view PVC showvcx all ZXDSL8220 common command www.2cto.com view card type and software/hardware version sh card view ADSL Port status show adsl status view ADSL speed detection Board show adsl profile view speed detection board D3M details show adsl profile d3m update port traffic information updat E adsl-perf card_list/port_list disable ADSL port shutdown interface open ADSL port no shutdown interface ZXDSL9210 Common commands for devices view card configuration and version number show card view device version number show version view ADSL port status show interface view port status of a card show adsl status slot 1 view ADSL port line quality show adsl physical view ADSL line layout type show adsl profile view D3M board configuration show adsl profile d3m enter ADSL port int adsl -mpvc card/port close ADSL port shutdown open ADSL port no shutdown ZTE SU3 view Board status show card All view port status show port view Speed Touch Board show adsl lineprofile all view line quality show adsl port number option physical open port number enable off port number disable Huawei MA5100 & MA5103 common command Save System configure data to FLASH memory save view board status show board blocking port block unblocking port no block activation port activate port deactivate set chip reset chipset reset 0 MA5300 Common commands save system configuration 3 write View show board status show board 0 view adsl port status show adsl port state view vdsl port status show vdsl port state view alert show alarm History all view board type and running status show board view vlan show vlan all configuration touch board adsl line-profile add 3 activation port adsl activate adsl Port 3 MA5600 Common commands save system preparation data to FLASH memory save view board status display board 0 view all configuration information disp running-config view ADSL port Status display adsl port state view vdsl port Status display vdsl port state view xdsl configuration touch board display adsl line-profile all view vlan display vlan all view alarm displayalarm history all view uplink board port Status display port state view Display vlan Number of the downlink ports bound to the VLAN view vlan display port bound to the uplink board port vlan configuration touch board adsl line-profile add display interface adsl 0/1/1 ZTE Switch configuration personal experience: pay attention to various user modes when using commands. With a common switch: Port 2-24 is assigned to VLAN1. If Port 2-24 is isolated from each other, you can use PVLAN to delete the isolation port. 2852s and 2826s configurations: the command for creating a VLAN is as follows: set vlan 10 enable // create vlanset vlan 10 add port 1-24 untag // add User port 10 add port 25 tag in the created vlan // set vlan 10 add port 25 tag add the connection port to vlan10, tag the port, that is, the trunk port. Set port 1-24 pvid 10 // Add the user port to vlan10 and pvid to vlan10. The user port of the vswitch must be used in the added vlan. (The default pvid is vlan10) the command to delete a vlan is as follows: set vlan 10 delete port 1-24 // delete user port set vlan 10 delete port 25 // delete cascade port set vlan 10 disable // delete vlanset port 1-24 pvid 1 // restore the default settings, this command must be added. Otherwise, the "set port 1-24 pvid 10" information will be displayed in the "show running-config" command. This will cause abnormal use of vlan users. ENABLE password configuration: zte> enable // enter global configuration mode password: ***** // enter the password for entering global configuration mode. By default, there is no password for zte (cfg) # adminpass zxr10 // The password used to enter the global configuration mode is zxr10TELNET username and password configuration. (to facilitate device maintenance, you may need to modify the logon username or password as follows: zte (cfg) # create user zxr10 // create a user zte (cfg) named zxr10 # loginpass zxr10 // set the logon password to zxr10zte (cfg) # show user // display the telnet logon user information and the current user name configuration layer-3 management or business address: config router // enter config router mode set ipport 0 ipaddress 10.20.20.1 255.255.255.0 // set the layer-3 interface IP address and mask set ippo Rt 0 vlan 10 // layer-3 Port binding vlanset ipport 0 enable // enable Layer-3 Port iproute 0.0.0.0 0.0.0 10.20.20.1 // set the default route pointing to the gateway T40G and 5228 Switch configuration: how to Create VLANs in batches: zxr10 # vlan databasezxr10 (vlan) # vlan 10-20 this way, 10-20 consecutive vlan is created, suitable for creating VLANs in batches. Add a user port to the vlan: zxr10 (config) vlan 10 // enter vlan10zxr10 (config-vlan) switchport pvid fei_1/1-24 // Add Port 1-24 to vlan10 as the user port. The default mode is access. Configure the trunk cascade port (in global mode ): interface fei_1/1 // enter the interface mode of the cascade port switchport mode trunk // set the port mode to trunkswitchport trunk vlan 10 // bind the cascade port with the vlan layer-3 interface address configuration: interface vlan 10 // enter layer-3 vlan interface mode ip address 10.20.20.1 255.255.255.0 // configure Layer-3 ip address 28 series switches pvlan Configuration: set pvlan session 1 add isolated-port 1-24 // add the isolation port set pvlan session 1 add promiscuous port 25 /// add the shared port 32 Series Switch pvlan Configuration: vlan private-map session-id 1 isolate fei_1/1-24 Promis gei_3/1 // Add isolation port and sharing port Huawei Switch configuration vlan 65 vlan 69 vlan 24 quitinterface Ethernet 0/0/1 port default vlan 69 port trunk allow-pass vlan 24 69 quitinterface Ethernet 0/0/2 port default vlan 69 port trunk allow-pass vlan 24 69 quitinterface Ethernet 0/0/3 port default vlan 69 port trunk allow-pass vlan 24 69 quitinterface Ethernet 0/0/4 port default vlan 69 port trunk allow-pass vlan 24 69 quitinter Face Ethernet 0/0/5 port default vlan 69 port trunk allow-pass vlan 24 69 quitinterface Ethernet 0/0/6 port default vlan 69 port trunk allow-pass vlan 24 69 quitinterface Ethernet 0/0/7 port default vlan 69 port trunk allow-pass vlan 24 69 quitinterface Ethernet 0/0/8 port default vlan 69 port trunk allow-pass vlan 24 69 quitinterface Ethernet 0/0/9 port default vlan 69 port trunk allow -pass vlan 24 69 Quitinterface Ethernet 0/0/10 port default vlan 69 port trunk allow-pass vlan 24 69 quitinterface Ethernet 0/0/11 port default vlan 69 port trunk allow-pass vlan 24 69 quitinterface Ethernet 0/0/12 port default vlan 69 port trunk allow-pass vlan 24 69 quitinterface Ethernet 0/0/13 port default vlan 69 port trunk allow-pass vlan 24 69 quitinterface Ethernet 0/0/14 port default vlan 69 port trunk allow- Pass vlan 24 69 quitinterface Ethernet 0/0/15 port default vlan 69 port trunk allow-pass vlan 24 69 quitinterface Ethernet 0/0/16 port default vlan 69 port trunk allow-pass vlan 24 69 quitinterface Ethernet 0/0/17 port default vlan 69 port trunk allow-pass vlan 24 69 quitinterface Ethernet 0/0/18 port default vlan 69 port trunk allow-pass vlan 24 69 quitinterface Ethernet 0/0/19 port default vlan 69 po Rt trunk allow-pass vlan 24 69 quitinterface Ethernet 0/0/20 port default vlan 69 port trunk allow-pass vlan 24 69 quitinterface Ethernet 0/0/21 port default vlan 69 port trunk allow-pass vlan 24 69 quitinterface Ethernet 0/0/22 port default vlan 69 port trunk allow-pass vlan 24 69 quitinterface Ethernet 0/0/23 port default vlan 69 port trunk allow-pass vlan 24 69 quitinterface Ethernet 0/0/ 24 port def Ault vlan 69 port trunk allow-pass vlan 24 69 quitinterface subnet/0/1 undo port default vlan port link-type trunkport trunk allow-pass vlan 1 24 69 quitinterface Vlanif65 ip address 10.14.28.62 route 255.254.0 quitip route -static 0.0.0.0 0.0.0.0 10.14.28.1 interface GigabitEthernet0/0/2 undo port default vlan port link-type trunkport trunk allow-pass vlan 1 24 69 quitaaa local-user huawei p Assword simple huawei local-user huawei level 3 local-user huawei ftp-directory flash: local-user huawei service-type telnet quituser-interface con 0 user-interface vty 0 4 authentication-mode aaa quitquitsave Delete configuration reset savereset beacon switch with PTN configure S2200ME-PAF # config hostna XXXX inter vlan 2802 outer VLAN label mem 1-16 untag mem 17-18 tag q inter vlan 27 inner VLAN label mem 1-16 tag q inter vlan 65 POE switch management VLANmem 17-1 8 tag q inter vlan 69 AP management VLANmem 1-16 untag mem 17-18 tag apply 1-16 q system ip add X. x. x. x. x. x. X switch management Address gate X. x. x. X man vlan 65 q dtag protocol 33024 dtag enable int eth 1 dtag flexible enable dtag dot1q enable dtag flexible inner 27 outer 2802 int eth 2 dtag flexible enable dtag dot1q enable dtag flexible inner 27 outer 2802 int eth 3 dtag flexible enable dtag dot1q enable dtag flexible inn Er 27 outer 2802 int eth 4 dtag flexible enable dtag dot1q enable dtag flexible inner 27 outer 2802 int eth 5 dtag flexible enable dtag dot1q enable dtag flexible inner 27 outer 2802 int eth 6 dtag flexible enable dtag dot1q enable dtag flexible inner 27 outer 2802 int eth 7 dtag flexible enable dtag dot1q enable dtag flexible inner 27 outer 2802 till 16 port int eth 17 dtag enable int eth 18 dtag enabl E beacon switch configuration S2200ME-PAF # config enters the config mode that is the configuration mode S2200ME-PAF (config) # hostname PTN named switch: PTNS2200ME-PAF (config) # int vlan 98 create management VLAN 98 and enter VLAN 98 configuration mode S2200ME-PAF (config-vlan-98) # member 9-10 tagged add Management port 9, 10 to VLAN 98 S2200ME-PAF (config-vlan-98) # quit exit VLAN 98 configuration mode S2200ME-PAF (config) # int vlan 3502 create business VLAN 3502 and enter VLAN 3502 configuration mode S2200ME-PAF (config-vlan-3698) # member 1-8 untagged add Ports 1-8 to vlan 3502 S2200 ME-PAF (config-vlan-3698) # apply-as-pvid 1-8 will be 1-8 port made-pvidS2200ME-PAF (config-vlan-3698) # member 9-10 tagged add 9-10 ports to business VLAN 3502 S2200ME-PAF (config-vlan-3698) # quit exit VLAN 3502 configuration mode S2200ME-PAF (config) # system Enter system Configuration Mode S2200ME-PAF (config-system) # ip address 10.89.16.241 255.255.255.255.0 configure the switch address: 10.89.16.241 mask: 255.255.255.0S2200ME-PAF (config-system) # gateway 10.89.16.254: 10.89.0.254S2200ME-PAF (Config-system) # management vlan 98 configure VLAN 98 to manage VLAN S2200ME-PAF # q exit system configuration mode S2200ME-PAF (config) # int ethernet 10 into port 10 S2200ME-PAF (config-eth-10) # pvid 98 will port 10 into pvid 98S2200ME-PAF (config-eth-10) # duplex full speed 100 force port 10 to a Mbit rate S2200ME-PAF (config-eth-10) quit exit port 10 S2200ME-PAF (config) # int ethernet 9 into port 9 S2200ME-PAF (config-eth-9) # pvid 98 add Port 9 to pvid 98S2200ME-PAF (config-eth-9) # d Uplex full speed 100 forces port 9 to a Mbit rate S2200ME-PAF (config-eth-10) quit to exit port 9 S2200ME-PAF (config) # int eth1 to enter port 1 S2200ME-PAF (config-eth-1) # pse enable port POE Power Supply S2200ME-PAF (config-eth-1) # quit exit port 1 S2200ME-PAF (config) # int eth2 enter port 2 S2200ME-PAF (config-eth-2) # pse enable port POE power supply and so on, plug which ports are connected to the AP and which ports are enabled, or enable all the ports to connect to the POE Power Supply Module, you do not need to configure these five lines of commands, if you do not connect to the POE Power Supply Module, you need. S2200ME-PAF # wr file Save all configurations attached: Common switch command: S2200ME-PAF # show run view Switch configuration S2200ME-PAF # show interface dynamic-mac view port device MAC address S2200ME-PAF (config) # erase startup-config clear switch configuration

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.