minicom -C conf-s3600
display current-configuration #查看当前配置
system-view
sysname H3C #更改交换机名
vlan 1 to 4 #划分vlan 1-4
vlan 7 #划分vlan7
interface Vlan-interface3
ip address 192.168.1.3 255.255.255.0
interface Ethernet1/0/1
port access vlan 7
interface Ethernet1/0/2
port access vlan 3
vlan 4
port Ethernet 1/0/3 to Ethernet 1/0/36
vlan 2
port Ethernet 1/0/37 to Ethernet 1/0/48
interface GigabitEthernet1/1/1
duplex full
port link-type trunk
port trunk permit vlan all
user-interface aux 0 7
user-interface vty 0
user privilege level 3
set authentication password 7 ***
user-interface vty 1 4
save
display current-configuration #查看当前配置
system-view
sysname H3C #更改交换机名
vlan 1 to 4 #划分vlan 1-4
vlan 7 #划分vlan7
interface Vlan-interface3
ip address 192.168.1.3 255.255.255.0
interface Ethernet1/0/1
port access vlan 7
interface Ethernet1/0/2
port access vlan 3
vlan 4
port Ethernet 1/0/3 to Ethernet 1/0/36
vlan 2
port Ethernet 1/0/37 to Ethernet 1/0/48
interface GigabitEthernet1/1/1
duplex full
port link-type trunk
port trunk permit vlan all
user-interface aux 0 7
user-interface vty 0
user privilege level 3
set authentication password 7 ***
user-interface vty 1 4
save