user@host> 运行模式CLI提示符
user@host# 配置模式提示符 configure进入配置模式
lci 进入CLI
补全 空格
查询命令
show interface terse 查看接口
show interface terse | except fe- 查看除fe-的接口
show interface terse | match se-3 只查看se-3接口
show interface | last 显示上一屏数据
show interfaces terse | count 显示输出行数
show interfaces lo0 | display set 结果通道
edit system
set host-name host
set domain-name example.com
set root-authentication plain-text-password
unit number 单元被用来标识物理接口的逻辑部分
circuit identifier 电路标识则是指逻辑隧道和电路
show log file-name 显示日志文件内容 show syslog 系统日志
顶层配置元素
system:包括系统通用管理参数(主机名,验证信息,访问方式,日志等)
interfaces:接口配置
protocols:路由协议配置
policy-options:路由策略配置
firewall:无状态数据包过滤器和策略器
snmp:SNMP配置
排他锁配置
configure exclusive 确保其他用户能进行修改
configure private 可为用户提供他们自己的候选配置
[edit] 顶级编辑模式
lab@J-9# edit interfaces se-1/0/0
[edit interfaces se-1/0/0]接口se-1/0/0编辑模式
lab@J-9#edit unit 0
[edit interfaces se-1/0/0 unit 0]接口0编辑模式
lab@J-9#set family inet address 10.210.1.1/30 设置IP地址
[edit interfaces se-1/0/0 unit 0]
lab@J-9#show
family inet {
address 10.219.1.1/30;
}
[edit interfaces se-1/0/0 unit 0]
lab@J-9#delete family inet address 10.210.1.1/30
[edit interfaces se-1/0/0 unit 0]
lab@J-9#show
family inet;
[edit interfaces se-1/0/0 unit 0]
lab@J-9#delete family inet 删除family inet,在接口上禁止所有IPv4处理
所有信息都删除
[edit interfaces se-1/0/0 unit 0]
lab@J-9#show
[edit interfaces se-1/0/0 unit 0]
lab@J-9#
[edit interfaces se-1/0/0 unit 0]
lab@J-9#up 进入上一层
[edit interfaces se-1/0/0]
lab@J-9#top 返回顶层
[edit]
lab@J-9#set interfaces se-1/0/0 unit 0 family inet address 10.210.1.1/30 在
顶层设置IPv4地址
[edit]
lab@J-9#delete interfaces se-1/0/0 unit 0 family inet address 10.210.1.1/30
在顶层删除IPv4地址
[edit]
lab@J-9#show interfaces 可分层查看
se-1/0/0{
unit 0;
}
run show interface terse run命令允许你在配置模式下执行操作的命令
set neighbor 192.168.1.1 配置一个新邻居
deactivate neighbor 192.168.1.1 停用此邻居
activate neighbor 192.168.1.1 激活此邻居
deactivate group internal 停用整个组
deactivate bgp 停用整个协议
把对fe-2/0/1的配置移到fe-2/0/0
rename interfaces fe-2/0/1 to fe-2/0/0
commit备份配置变成活动配置
copy interfaces fe-2/0/1 to fe-3/0/1 拷贝配置
rename address 10.14.243.238/28 to address 10.14.250.1/28重命名地址
重要提醒!!内容中联系方式并非本站联系方式,报名咨询的学员请与下面最新联系方式联系我们咨询报名-以免损失!
>>长期招聘兼职招生代理人员,项目合作,团报优惠咨询,有意者请联系我们 >>咨询:13312524700(可加微信)。
云南地州中心:◆咨询电话:0871-65385921、17787865775 冯老师、 王老师(微信报名:17787865775)
总部报名地址: ◆昆明市-五华区教场东路莲花财富中心10楼;网课试听:ke.xuekaocn.cn
地州分校: 大理分校 丽江分校 迪庆分校 怒江分校 红河分校 临沧分校 玉溪分校 文山分校 保山分校 德宏分校 昭通分校 普洱分校 版纳分校 【各地州学员请加老师微信咨询报名,电话(微信):133-1252-4700】;【2021年云南省成人高考>>立即报名】
职业技能考证:心理咨询师、健康管理师、茶艺师等更多>◆咨询电话:133 1252 4700(微信)
公考培训咨询:◆国考云南省考公务员/事业单位面授培训,咨询电话:133 1252 4700 (微信)