一、配置本地用户名,密码
local-user admin
password simple A123456789
authorization-attribute user-role level-15 授权属性 用户角色 数量等级15
service-type telnet 服务类型
service-type http https
quit
user-interface vty 0 4 //用户界面 vty 终端,线路
authentication-mode scheme // authentication认证模式 AAA用户名密码
开启telnet
telnet server enable
interface Gigabitethernet 0/0 进入连接运营商设备的接口
description waiwang 添加描述
ip address 118.54.123.54 255.255.255.248 配置运营商
quit
三、配置内网网关
interface gigabitethernet 0/1
description neiwang
ip address 192.168.2.254 255.255.255.0 //内网网关
quit
四、配置HDCP
dhcp enable
dns-list 114.114.114.114 8.8.8.8 //设置dns
quit
五、配置默认路由
保存配置
save force // force:表示直接将当前配置保存到下次启动配置文件
display current-configuration 查看当前配置