[SwitchA-vlan10]quit [SwitchA]interface Vlan-interface 10 //创建(进入)VLAN接口10 [SwitchA-Vlan-interface10]ip address 192.168.1.1 255.255.255.0 //为VLAN接口10配置IP地址 [SwitchA]vlan 20 //创建(进入)VLAN20 [SwitchA-vlan20]quit [SwitchA-vlan20]port Ethernet 1/0/2 //将E1/0/2加入到VL...
[Quidway]firewall enable[Quidway]firewall default permit[Quidway]acl 101 ;内部指定主机可以进入e0[Quidway-acl-101]rule deny ip source any destination any[Quidway-acl-101]rule permit ip source 129.38.1.1 0 destination any[Quidway-acl-101]rule permit ip source 129.38.1.2 0 destination any[Quidway-...
[H3C-Vlan-interface20]ip address 192.168.1.2 255.255.255.0 配置管理VLAN接口静态IP地址(缺省为192.168.0.234) [H3C-Vlan-interface20]undo ip address 删除IP地址 [H3C-Vlan-interface20]ip gateway 192.168.1.1 指定缺省网关(默认无网关地址) [H3C-Vlan-interface20]undo ip gateway [H3C-Vlan-interface20]shut...
aptech2950(conf)#ip default-gateway 192.168.254 设置网关地址 08进入交换机某一个端口interface fastehernet 0/17以17为例 switch>enable switch # configure terminal switch(conf)#hostname aptch2950 aptech2950(conf)# interface fastehernet 0/17 aptech2950(conf-if)# 09查看命令show switch>enable switc...
2. Examine the max-ecmp-num and switch-mode settings on the neighboring device connected to IRF-port 2. [Sysname] display switch-mode status Switch-mode in use: NORMAL MODE(default). Switch-mode for next reboot: NORMAL MODE(default). [Sysname] display max-ecmp-num Max-ECMP-Num i...
switch(conf)#hostname aptch2950 aptech2950(conf)# interface vlan 1 aptech2950(conf-if)#ip address 192.168.1.1 255.255.255.0 配置交换机端口 ip 和子网掩码 aptech2950(conf-if)#no shut 是配置处于运行中 aptech2950(conf-if)#exit aptech2950(conf)#ip default-gateway 192.168.254 设置网关地址 ...
[H3C-Vlan-interface100] ip address192.168.1.1 255.255.255.0配置ip地址 备注:红色部分可以由客户自行设置,此处仅做举例时使用! 1.3.3 配置默认路由 [H3C] interface vlan-interface 1 [H3C-Vlan-interface10] ip address192.168.1.1 255.255.255.0 [H3C-Vlan-interface10] quit ...
DHCP(Dynamic Host Configuration Protocol,动态主机配置协议)用来为网络设备动态地分配IP地址等网络配置参数。 DHCP采用客户端/服务器通信模式,由客户端向服务器提出请求分配网络配置参数的申请,服务器返回为客户端分配的IP地址等配置信息,以实现IP地址等信息的动态配置。 在DHCP的典型应用中,一般包含一台DHCP服务器和多...
switch(conf)#hostname aptch2950 aptech2950(conf)# interface vlan 1 aptech2950(conf-if)#ip address 192.168.1.1 255.255.255.0 配置交换机端口 ip 和子网掩码 aptech2950(conf-if)#no shut 是配置处于运行中 aptech2950(conf-if)#exit aptech2950(conf)#ip default-gateway 192.168.254 设置网关地址 ...
0代表1号口[Quidway- GigabitEthernet1/0/0] port link-type access //定义端口传输模式[Quidway- GigabitEthernet2/0/1] port default vlan 10 //将这个端口加入到vlan10中[Quidway- GigabitEthernet2/0/1] quit3、将多个端口加入到VLAN中 <Quidway>system-view[Quidway]vlan 10[Quidway-vlan10]port Gigabit...