软考网工路由器、交换机、防火墙命令表
6页1、1. 计算机命令:PCA login: root ;使用root用户password: linux ;口令是linux# shutdown -h now ;同init 0 关机# logout# login# ifconfig ;显示IP地址# ifconfig eth0 netmask ;设置IP地址# ifconfig eht0 netmask down ; 删除IP地址# route add 0.0.0.0 gw # route del 0.0.0.0 gw # route add default gw ;设置网关# route del default gw ;删除网关# route ;显示网关# ping # telnet 2. 交换机支持的命令:交换机基本状态:switch: ;交换机的ROM状态rommon ;路由器的ROM状态hostname ;用户模式hostname# ;特权模式hostname(config)# ;全局配置模式hostname(config-if)# ;接口状态交换机口令设置:switchenable ;进入特权模式switch#config ter
2、minal ;进入全局配置模式switch(config)#hostname ;设置交换机的主机名switch(config)#enable secret xxx ;设置特权加密口令switch(config)#enable password xxa ;设置特权非密口令switch(config)#line console 0 ;进入控制台口switch(config-line)#line vty 0 4 ;进入虚拟终端switch(config-line)#login ;允许登录switch(config-line)#password xx ;设置登录口令xxswitch#exit ;返回命令交换机VLAN设置:switch#vlan database ;进入VLAN设置switch(vlan)#vlan 2 ;建VLAN 2switch(vlan)#no vlan 2 ;删vlan 2switch(config)#int f0/1 ;进入端口1switch(config-if)#switchport access vlan 2 ;当前端口加入vlan 2switch(config-
3、if)#switchport mode trunk ;设置为干线switch(config-if)#switchport trunk allowed vlan 1,2 ;设置允许的vlanswitch(config-if)#switchport trunk encap dot1q ;设置vlan 中继switch(config)#vtp domain ;设置发vtp域名switch(config)#vtp password ;设置发vtp密码switch(config)#vtp mode server ;设置发vtp模式switch(config)#vtp mode client ;设置发vtp模式交换机设置IP地址:switch(config)#interface vlan 1 ;进入vlan 1switch(config-if)#ip address ;设置IP地址switch(config)#ip default-gateway ;设置默认网关switch#dir flash: ;查看闪存交换机显示命令:switch#write ;保存配置信息switch#show vtp ;查
《软考网工路由器、交换机、防火墙命令表》由会员ch****bc分享,可在线阅读,更多相关《软考网工路由器、交换机、防火墙命令表》请在金锄头文库上搜索。
民用航空器驾驶员合格审定规则
正常类旋翼航空器适航规定
特殊商业和私用大型航空器运营人运行合格审定规则
民用航空空中交通管理规则
运输类飞机适航标准
城市客运企业主要负责人和安全生产管理人员安全考核基础题库
运输类旋翼航空器适航规定
钛冶炼厂工艺设计规范(征求意见稿)
植物园设计规范(征求意见稿)
数字蜂窝移动通信网LTE工程技术规范(征求意见稿)
微波集成组件生产工厂工艺设计规范(征求意见稿)
城市综合交通调查技术规范(征求意见稿)
历史文化名城保护规划规范(征求意见稿)
民用建筑电气防火设计规范(征求意见稿)
热固复合树脂泡沫保温板(征求意见稿)
预制混凝土外挂墙板工程技术规程(征求意见稿)
住房公积金资金管理业务规范(征求意见稿)
煤炭工业智能化矿井设计规范(征求意见稿)
《镇(乡)村文化中心建筑设计规范》(征求意见稿)
城市环境规划规范(征求意见稿)
2024-02-04 137页
2024-02-04 108页
2024-01-15 28页
2023-06-25 32页
2023-06-25 32页
2023-06-25 31页
2023-06-25 34页
2023-06-25 33页
2023-06-25 33页
2023-06-25 32页