H3C_S3600 简单配置

2023-01-31 05:01:07 H3C
<H3C>
<H3C>
<H3C>sy
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C]di
[H3C]display cu
[H3C]display current-configuration
#
 sysname H3C
#
radius scheme system
#
domain system
#
vlan 1
 name home
#
vlan 2
 name hanyutuiguang
#
vlan 3
 name huanongzaixian
#
vlan 4
 name dajiaoshi
#
vlan 5
 name dongshizhang
#
vlan 6
 name caiwubu
#                                        
vlan 7
 name wufuqi
#
vlan 9 to 4092
#
vlan 4094
#
interface Vlan-interface1
 ip address 192.168.1.254 255.255.255.0
#
interface Vlan-interface2
 ip address 192.168.2.254 255.255.255.0
#
interface Vlan-interface3
 ip address 192.168.3.254 255.255.255.0
#
interface Vlan-interface4
 ip address 192.168.4.254 255.255.255.0
#
interface Vlan-interface5
 ip address 192.168.5.254 255.255.255.0
#
interface Vlan-interface6
 ip address 192.168.6.254 255.255.255.0  
#
interface Vlan-interface7
 ip address 192.168.7.254 255.255.255.0
#
interface Aux1/0/0
#
interface Ethernet1/0/1
#
interface Ethernet1/0/2
#
interface Ethernet1/0/3
 port access vlan 2
#
interface Ethernet1/0/4
 port access vlan 2
#
interface Ethernet1/0/5
 port access vlan 2
#
interface Ethernet1/0/6
 port access vlan 3
#
interface Ethernet1/0/7
 port access vlan 3                      
#
interface Ethernet1/0/8
 port access vlan 3
#
interface Ethernet1/0/9
 port access vlan 4
#
interface Ethernet1/0/10
 port access vlan 4
#
interface Ethernet1/0/11
 port access vlan 4
#
interface Ethernet1/0/12
 port access vlan 5
#
interface Ethernet1/0/13
 port access vlan 5
#
interface Ethernet1/0/14
 port access vlan 5
#
interface Ethernet1/0/15
 port access vlan 5                      
#
interface Ethernet1/0/16
 port access vlan 6
#
interface Ethernet1/0/17
 port access vlan 6
#
interface Ethernet1/0/18
 port access vlan 7
#
interface Ethernet1/0/19
 port access vlan 7
#
interface Ethernet1/0/20
 port access vlan 7
#
interface Ethernet1/0/21
#
interface Ethernet1/0/22
#
interface Ethernet1/0/23
#
interface Ethernet1/0/24
#                                        
interface GigabitEthernet1/1/1
#
interface GigabitEthernet1/1/2
#
interface GigabitEthernet1/1/3
#
interface GigabitEthernet1/1/4
#
 undo irf-fabric authentication-mode
#
interface NULL0
#
 voice vlan Mac-address 0001-e300-0000 mask ffff-ff00-0000
#
 ip route-static 0.0.0.0 0.0.0.0 192.168.1.1 preference 60
#
user-interface aux 0 7
user-interface vty 0 4
 user privilege level 3
 set authentication passWord simple cisco1234
#
return
[H3C]
[H3C]

相关文章