怎样使用H3C交换机给station分配一个固定的IP
1、连接好交换机与电脑的console线
2、选择电脑/程序/通讯,使用通讯助手来配置交换机。然后开启交换机电源,会看到如下指令并编辑:
3、<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]vlan 10
[4500-vlan10]port Ethernet 1/0/1 to Ethernet 1/0/24
[4500-vlan10]quit
[4500]interface Vlan-interface 10
[4500-Vlan-interface10]ip address 10.1.1.1 255.255.255.0
[4500-Vlan-interface10]quit
[4500]acl number 3001
[4500-acl-adv-3001]rule 0 deny ip
[4500-acl-adv-3001]rule 1 permit ip source 10.1.1.75 0
[4500-acl-adv-3001]quit
[4500]interface Ethernet 1/0/1
[4500-Ethernet1/0/1]packet-filter inbound ip-group 3001
[4500-Ethernet1/0/1]quit
[4500]acl number 3002
[4500-acl-adv-3002]rule 0 deny ip
[4500-acl-adv-3002]rule 2 permit ip source 10.1.1.76 0
[4500-acl-adv-3002]quit
[4500]interface Ethernet 1/0/2
[4500-Ethernet1/0/2]packet-filter inbound ip-group 3002
[4500-Ethernet1/0/2]quit
.
.
.