华为命令打字练习

贡献者:游客142922771 类别:英文 时间:2020-11-25 10:25:25 收藏数:8 评分:0
返回上页 举报此文章
请选择举报理由:




收藏到我的文章 改错字
sysname huawei dis cur dis int g0/0/1
reboot
acl 2000
rule perimit source 192.168.0.0 255.255.255.0
interface g0/0/1
nat outband 2000
int vlan 100
ip address 192.168.1.1
int g0/0/1
port link-type access
port default vlan 100
port link-type trunk
port trunk allow-pass vlan all
undo port link-type
reset saved-configuration
dhcp select global
密码配置
user-interface con 0
set authentication password
telnet配置
int vlan 1
ip address 192.168.1.100 255.255.255.0
aaa
local-user admin password
local-user admin privilege level 3
user-interface vty 0 4
anthentication-mode aaa
端口批量加入vlan
port-group yewu
group-member g0/0/4 to g0/0/6
port link-type access
port default vlan 100
恢复交换机出厂配置
reset saved-configuration
reboot
N 此处选N
忘记console密码,恢复交换机出厂设置
设备重启时Ctrl+B进入booot menu之后,默认密码是:Admin@huawei.com
配置三层交换机S5700
system-view 进入系统模式
dhcp enable 开启dhcp服务
dhcp snooping enable 开启dhcp过滤功能
ip pool aa 创建地址池aa
network 192.168.10.1mask 255.255.255.0 子网IP和掩码
gateway-list192.168.10.1 网关地址
dns-list203.208.24.28 配置DNS列表
excluded-ip-address192.168.10.2 192.168.10.50 排除地址
ip pool bb 创建地址池bb
network 192.168.20.1 mask 255.255.255.0 子网IP和掩码
gateway-list 192.168.20.1 网关地址
dns-list 203.208.24.28 配置DNS列表
[Huawei-ip-pool-aa]excluded-ip-address 192.168.20.2 192.168.20.50 排除地址
return
sy
vlan 10
quit
int vlan 10 进入vlan 10端口
ip address 192.168.10.1255.255.255.0 为vlan10配置IP地址
dhcp select global DHCP获取范围从全局global获取
quit
vlan 20
quit
[Huawei]int vlan 20 进入vlan20端口
ip address 192.168.20.1255.255.255.0 为vlan 20配置IP地址
dhcp select global DHCP获取范围从全局global获取
quit
int g0/0/1 进入端口
port link-typetrunk 设置端口为trunk模式
port trunkallow-pass vlan all 设置允许所有Vlan 的报文通过
quit
int g0/0/2 进入端口
port link-type trunk 设置端口为trunk模式
port trunkallow-pass vlan all 设置允许所有Vlan 的报文通过
return
save 保存配置
Are you sure to continue?[Y/N]y
配置二层交换机(1)S3700
sy
int e0/0/1
port link-type trunk
port trunk allow-pass vlan all
q
int e0/0/2
port link-type access
q
vlan 10
port e0/0/2
ret
save
配置二层交换机(2)S3700
sy
int e0/0/1
port link-type trunk
port trunk allow-pass vlan all
[Huawei-Ethernet0/0/1]q
vlan 20
q
int e0/0/2
port link-type access
port default vlan 20
ret
<Huawei>save
声明:以上文章均为用户自行添加,仅供打字交流使用,不代表本站观点,本站不承担任何法律责任,特此声明!如果有侵犯到您的权利,请及时联系我们删除。
文章热度:
文章难度:
文章质量:
说明:系统根据文章的热度、难度、质量自动认证,已认证的文章将参与打字排名!

本文打字排名TOP20

登录后可见

用户更多文章推荐