Home > OS >  H3C switches configuration VLAN
H3C switches configuration VLAN

Time:09-24

Everybody, I recently had a problem, probably is such:
Architecture: our company has a DHCP server, and then there are a lot of a workshop, every workshop a single VLAN, each with a VLAN IP, such as injection molding workshop for VLAN6 192.168.6.0 segment is

Operation: a recent relocation to workshop, and other public a workshop workshop, but in order not to affect some device fixed IP, is divided into VLAN6 and VLAN7 two paragraphs on switches, but the simple operation is out of the question

Fault: after relocation, often unable to obtain IP address within the company computer, some other VLAN switches the device automatically get the IP can also be VLAN6 VLAN7 IP or cannot get IP, feel the whole company's VLAN chaos

Seeking for a long time, haven't found the problem, the following is a change of switch configuration:
#
Version 7.1.070, Release 6111 p05
#
Sysname H3C
#
Clock protocol none
#
Telnet server enable
#
The irf MAC - address persistent timer
Irf auto - update the enable
Undo irf link - delay
Irf member 1 priority 1
#
LLDP global enable
#
Password recovery - enable
#
Vlan 1
#
Vlan 5 to 7
#
STP global enable
#
Interface NULL0
#
Interface Vlan - interface7
IP address 192.168.7.3 255.255.255.0
#
Interface GigabitEthernet1/0/1
The port access vlan 7
#
Interface GigabitEthernet1/.two survivors
The port access vlan 7
#
Interface GigabitEthernet1/0/3
The port access vlan 7
#
Interface GigabitEthernet1/0/4
The port access vlan 7
#
Interface GigabitEthernet1/0/5
The port access vlan 7
#
Interface GigabitEthernet1/0/6
The port access vlan 7
#
Interface GigabitEthernet1/0/7
The port access vlan 7
#
Interface GigabitEthernet1/0/8
The port access vlan 7
#
Interface GigabitEthernet1/0/9
The port access vlan 7
#
Interface GigabitEthernet1/0/10
The port access vlan 7
#
Interface GigabitEthernet1/0/11
The port access vlan 7
#
Interface GigabitEthernet1/0/12
The port access vlan 7
#
Interface GigabitEthernet1/0/13
The port access vlan 7
#
Interface GigabitEthernet1/0/14
The port access vlan 7
#
Interface GigabitEthernet1/0/15
The port access vlan 7
#
Interface GigabitEthernet1/0/16
The port access vlan 6
#
Interface GigabitEthernet1/0/17
The port access vlan 6
#
Interface GigabitEthernet1/0/18
The port access vlan 6
#
Interface GigabitEthernet1/0/19
The port access vlan 6
#
Interface GigabitEthernet1/0/20
The port access vlan 6
#
Interface GigabitEthernet1/0/21
The port access vlan 6
#
Interface GigabitEthernet1/0/22
The port access vlan 6
#
Interface GigabitEthernet1/0/23
The port access vlan 6
#
Interface GigabitEthernet1/0/24
The port access vlan 6
#
Interface GigabitEthernet1/0/25
The port link -type trunk
The port trunk permit vlan all
The port trunk pvid vlan 7
Undo the STP enable
#
Interface GigabitEthernet1/0/26
#
Interface GigabitEthernet1/0/27
#
Interface GigabitEthernet1/0/28
#
The scheduler logfile size 16
#
The line class aux
The user role - network - admin
#
The line class vty
User - role network - operator
#
The line aux 0
The user role - network - admin
#
Line 4 vty 0
The authentication mode scheme -
The user role - level - 3
User - role network - operator
Set authentication password hash $h $6 $KV7/jTGHfsGEPSAZ $u9tyHSJI XEdfedHFM5P1HTsXStwGyZ0Vxt6KZDo8NGOVSdQLDiHgyGm/IOOmdMX5eTY9LjaaSqUyxSbqscAlw==
#
Line 5 63 vty
User - role network - operator
#
IP route -static 0.0.0.0 0 192.168.7.1
#
The radius scheme system
User name - the format without - domain
#
Domain system
#
Domain default enable system
#
Role name level 0
The description Predefined level 0 role
#
Role name level 1
Role description Predefined level - 1
#
Role name level - 2
The description Predefined level - 2 role
#
Role name level - 3
The description Predefined level - 3 role
#
Role name level - 4
The description Predefined level - 4 roles
#
Role name level - 5
The description Predefined level - 5 role
#
Role name level - 6
The description Predefined level - 6 role
#
Role name level 7
The description Predefined level 7 role
#
Role name level - 8
The description Predefined level - 8 role
#
Role name level - 9
The description Predefined level - 9 roles
#
Role name level - 10
The description Predefined level - 10 role
#
Role name level - 11
The description Predefined level - 11 role
#
Role name level - 12
The description Predefined level - 12 roles
#
Role name level - 13
The description Predefined level - 13 role
#
Role name level - 14
The description Predefined level - 14 role
#
User - group system
#
Local - user admin class manage
Password hash $$6 $$4 vgnq9gw2rwjlp EMsIWgQ5Mj5xtNdB/1 h fwx4mimvwcptl2ytvvyj4ju59xbbr2sk4nihofmz96curbkayv4dslr46hlpsbe4qhkuhg==
Service - type Telnet
Authorization - the attribute user - role 3
Authorization - the attribute user - role network - admin
#
Return

Now just let them manually IP first, urgent urgentnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related