2013年8月29日星期四

The configuration of the H3C S3600 switch

The H3C S3600 switch configuration case:
(network environment is divided into: vlan101 vlan104 six VLAN, vlan1 vlan1 IP
192.168.0.30/24, and a DHCP server in vlan1 (Windows2003 build), IP is 192.168.0.10, the other five VLAN respectively for VLAN 1 subnets, each VLAN request can be exchanged, the other VLAN shared VLAN DHCP server
Automatic access to IP; in addition, the environment in exchange there is a firewall, the firewall and the switch port must be configured
In trunk mode, and some with four static routing on the firewall, respectively reach four VLAN subnet, gateway to vlan1
IP, IP and vlan1 firewall in a network segment)
<h3c-3600>display current-configuration # view configuration information for all
<h3c-3600>display version # view version information
<h3c-3600>system-viem # enter the system view
[h3c-3600]vlan 101 # create VLAN 101 (mass created: VLAN 101 to 5)
[h3c-3600-vlan101]name testvlan # to named VLAN
[h3c-3600-vlan101]port e1/0/1 to e1/0/5 e1/0/7 e/1/011# batch the port is added to the vlan101
[h3c-3600-vlan101]quit
[h3c-3600]interface vlan-interface 101
[h3c-3600-vlan-interface101]ip address 192.168.2.1 255.255.255.192
[h3c-3600-vlan-interface101]quit
[h3c-3600]vlan 102
[h3c-3600-vlan102]name guanglivlan
[h3c-3600-vlan102]quit
[h3c-3600]interface vlan-interface 102
[h3c-3600-vlan-interface102]ip address 192.168.2.65 255.255.255.192
[h3c-3600-vlan-interface102]quit
[h3c-3600]int e1/0/1
[h3c-3600-e1/0/1]port link-type trunk
[h3c-3600-e1/0/1]port trunk permit VLAN all VLAN # allows all through,otherwise only allowed by VLAN 1
...................................... Other configurations are omitted.
Configure DHCP Relay
This section introduces the DHCP Server configuration, for example in the DHCP Relay device configuration, only the most simple introduction,guarantee
It can be DHCP requests to DHCP Server.
<H3C> System-View
[H3C] dhcp-server 1 IP 192.168.0.10 (DHCP server IP)
[H3C] interface Vlan-interface 101
[H3C-Vlan-interface5] dhcp-server 1
[H3C] interface Vlan-interface 102
[H3C-Vlan-interface102] dhcp-server 1
.....................
Because the original switch version of IOS is relatively low, leading to third VLAN, is configured not to take the IP test, and even lead to other
VLAN also gets less than IP, to manually with IP did not reach VLAN, the final upgrade version of IOS in the following way, problem solving.
1.1 through the command line remote upgrade
Users running FTP Server on the local computer, note that the configuration of a user name and password, as well as the correct file directory (assuming IP
Address 10.10.110.1). At the same time, the user through the Telnet remote login to a switch, FTP will use the host program to switch
On the.
Host a program for the SWITCH.bin, the BOOTROM program for the SWITCH.btm. In the user to switch on the Telnet remote login, do the following.
The first step: Download software to switch using FTP.
<H3C> FTP 10.10.110.1
Trying...
Press CTRL+K to abort
Connected.
220 WFTPD 2 service (by Texas Imperial Software ready for new user)
User (none): Lyt
331 Give me your password, please
Password:
230 Logged in successfully
[ftp] get SWITCH.bin SWITCH.bin
[ftp] get SWITCH.btm SWITCH.btm
(if insufficient space, you can delete the original IOS, in system modecommand:
[h3c]delete flash:/SWITCH.bin
[ftp] bye
The second step, load BOOTROM.
<H3C> boot bootrom SWITCH.btm
Please wait...
Bootrom is updated!
The third step, load the host software.
<H3C> boot boot-loader SWITCH.bin
<H3C> display boot-loader
The app to boot at the next time is: flash:/SWITCH.bin
<H3C> reboot (please confirm other configuration is saved, restart restart after the loss caused by preventing configuration)
Through the above operation can be completed BOOTROM and host software loading. Need to pay attention to is, load host software must be through the reboot command reset switch can make the success of loading. If not Flashmemory space, you can complete the BOOTROM loading first, and then delete the program file is part of flash (proposed to delete have not used a host program), then load the host program through the FTP upload to switch to complete the host program loading. Note, do not power off during the loading process.
Note: if Flash memory is not enough space, can complete the upgrade of the BOOTROM first, then the host program through the FTP upload to a switchmainframe program to upgrade.
The specific configuration information on s3600:

<H3C3600>        
<H3C3600>dis cu              
#
 sysname H3C3600               
#
 dhcp-server 1 ip  192.168.0.10                              
#
radius scheme system                   
#
domain system            
#
local-user admin               
 password simple shineit                       
 service-type telnet                   
 level 3       
#
acl number 2000              
 rule 1 permit             
#
vlan 1     
#
vlan 101 to 104              
#
interface Vlan-interface1                        
 ip address 192.168.0.30 255.255.255.0                                     
#
interface Vlan-interface101                          
 ip address 192.168.2.1 255.255.255.192                                      
 dhcp-server 1             
#
interface Vlan-interface102                          
 ip address 192.168.2.65 255.255.255.192                                      
<H3C3600>dis cu              
#
 sysname H3C3600               
#
 dhcp-server 1 ip  192.168.0.10                              
#
radius scheme system                   
#
domain system            
#
local-user admin               
 password simple shineit                       
 service-type telnet                   
 level 3       
#
acl number 2000              
 rule 1 permit             
#
vlan 1     
#
vlan 101 to 104              
#
interface Vlan-interface1                        
 ip address 192.168.0.30 255.255.255.0                                     
#
interface Vlan-interface101                          
 ip address 192.168.2.1 255.255.255.192                                       
 dhcp-server 1             
#
interface Vlan-interface102                          
 ip address 192.168.2.65 255.255.255.192                                       
 dhcp-server 1             
#
interface Vlan-interface103                           
 ip address 192.168.2.129 255.255.255.192                                        
 dhcp-server 1             
#
interface Vlan-interface104                          
 ip address 192.168.2.193 255.255.255.192                                         
 dhcp-server 1             
#
interface Aux1/0/0                 
#
interface Ethernet1/0/1                      
 port access vlan 103                    
#
interface Ethernet1/0/2                      
 port access vlan 102                     
#
interface Ethernet1/0/3                      
#
interface Ethernet1/0/4                      
 port access vlan 101                    
#
interface Ethernet1/0/5                      
#
interface Ethernet1/0/6                      
 port access vlan 104                    
#
interface Ethernet1/0/7                      
#
interface Ethernet1/0/8                      
#
interface Ethernet1/0/9                      
#
interface Ethernet1/0/10                       
#
interface Eth           
#
interface Ethernet1/0/12                       
#
interface Ethernet1/0/13                       
#
interface Ethernet1/0/14                       
#
interface Ethernet1/0/15                       
#
interface Ethernet1/0/16                        
#
interface Ethernet1/0/17                       
#
interface Ethernet1/0/18                       
#
interface Ethernet1/0/19                       
 port link-type trunk                    
 port trunk permit vlan all                           
#
interface Ethernet1/0/20                       
#
interface Ethernet1/0/21                       
#
interface Ethernet1/0/22                       
 port link-type trunk                    
 port trunk permit vlan all                           
#
interface Ethernet1/0/23                       
 port link-type trunk                    
 port trunk permit vlan all                          
#
interface Ethernet1/0/24                       
 port link-type trunk                    
 port trunk permit vlan all                          
#
interface GigabitEthernet1/1/1                             
#
interface GigabitEthernet1/1/2                             
#
interface GigabitEthernet1/1/3                             
 port link-type trunk                    
 port trunk permit vlan all                          
#
interface GigabitEthernet1/1/4                             
#
 undo irf-fabric authentication-mode                                   
#
interface NULL0               
#
 telnet source-interface Vlan-interface1                                       
#
 voice vlan mac-address 0001-e300-0000 mask ffff-ff00-0000                                                         
#
 ip route-static 0.0.0.0 0.0.0.0 192.168.0.1 preference 60                                                         
#
 telnet-server source-interface Vlan-interface1                                              
#
user-interface aux 0 7                     
user-interface vty               
 acl 2000 inbound                
 user privilege level 3                      
 set authentication password simple shineit                                          
 history-command max-size 20                           
 screen-length 30                 
 protocol inbound telnet                       
user-interface vty 1 4                     
 acl 2000 inbound                
#
return
<H3C3600>dis ver
H3C Comware Platform Software
Comware Software, Version 3.10, Release 1602P10 #The updated version
Copyright (c) 2004-2008 Hangzhou H3C Technologies Co., Ltd. All rights reserved.
H3C S3600-28TP-SI uptime is 0 week, 0 day, 1 hour, 8 minutes
H3C S3600-28TP-SI with 1 Processor
64M     bytes DRAM
8196K   bytes Flash Memory
Config Register points to FLASH
Hardware Version is REV.B
CPLD Version is CPLD 003
Bootrom Version is 514
[Subslot 0] 24 FE Hardware Version is REV.B
[Subslot 1] 4 GE  Hardware Version is REV.B

<H3C3600>

没有评论:

发表评论