常用命令:
system-view #进入系统试图
sysname #指定名称
interface # 进入接口
eg:interface g0/0/0
ip address #配置ip/网段
eg:ip address 192.168.1.2 30
display this #查看配置信息
undo #删除错误信息
display ip interface biref #检查配置信息
display ip routing-table #查看路由表
ip route-static #添加路由表
eg:ip route-static 192.168.1.0 30 192.168.2.1
注:添加路由时 先添加网段 再添加下一跳地址。
配置路由时应先配置去的地址再配回时地址。