之前有写过关于这方面的总结,但觉得不够全面,所以今天在网上摘抄一部份,结合自己所写的,一并贴上来,方便自己日后查看!

1.用户名和密码配置

create account [admin | user] <username> {encrypted} {<password>}
configure account admin

2.port配置

config ports <portlist> auto off {speed [10 | 100 | 1000]} duplex [half | full] auto off

3.Vlan配置
无论是核心还是接入层,都要先创建三个Vlan,并且将所有归于Default Vlan的端口删除:
config vlan default del port all
create vlan Server
create vlan User
create vlan Manger
定义802.1q标记
config vlan Server tag 10
config vlan User tag 20
config vlan Manger tag 30
设定Vlan网关地址:
config vlan Server ipa 192.168.41.1/24
config vlan User ipa 192.168.40.1/24
config vlan Manger ipa 192.168.*.*/24
Enable ipforwarding 启用ip路由转发,即vlan间路由
Trunk 配置
config vlan Server add port 1-3 t
config vlan User add port 1-3 t
config vlan manger add port 1-3 t
4.VRRP配置
enable vrrp
configure vrrp add vlan UserVlan
configure vrrp vlan UserVlan add master vrid 10 192.168.6.254
configure vrrp vlan UserVlan authentication simple-password extreme
configure vrrp vlan UserVlan vrid 10 priority 200
configure vrrp vlan UserVlan vrid 10 advertisement-interval 15
configure vrrp vlan UserVlan vrid 10 preempt

5.端口镜像配置
enable mirroring to port 3 #选择3作为镜像口
config mirroring add port 1 #把端口1的流量发送到3
config mirroring add port 1 vlan default #把1和vlan default的流量都发送到3
6.port-channel配置
enable sharing <port> grouping <portlist> {port-based | address-based | round-robin}

7.stp配置
enable stpd
create stpd *
configure stpd <spanning tree name> add vlan <vlan name> {ports <portlist> [dot1d | emistp | pvst-plus]}
configure stpd stpd1 priority 16384
configure vlan marketing add ports 2-3 stpd stpd1 emistp

8.DHCP 中继配置
enable bootprelay
config bootprelay add <dhcp server ip>

.DHCP中继。bootp relay /dhcp relay 用于主机获取它的IP地址,但是在一个高度需要安全的网络中需要以更安全的方法配置它,比如通过udp-forwarding的方法来配置dhcp relay。disable bootprelay 以下是一个用udp-forwarding 代替enable bootrelay 的配置例子。
create udp-profile backbonedhcp
config backbonedhcp add 67 ipaddress *
config user_vlan1 udp-profile backbonedhcp
9.NAT配置
Enable nat #启用nat
Static NAT Rule Example
config nat add out_vlan_1 map source 192.168.1.12/32 to 216.52.8.32/32
Dynamic NAT Rule Example
config nat add out_vlan_1 map source 192.168.1.0/24 to 216.52.8.1 - 216.52.8.31
Portmap NAT Rule Example
config nat add out_vlan_2 map source 192.168.2.0/25 to 216.52.8.32 /28 both portmap
Portmap Min-Max Example
config nat add out_vlan_2 map source 192.168.2.128/25 to 216.52.8.64/28 tcp portmap 1024 - 8192

10.OSPF配置
enable ospf 启用OSPF进程
create ospf area <area identifier> 创建OSPF区域
configure ospf routerid [automatic | <routerid>] 配置Routerid
configure ospf add vlan [<vlan name> | all] area <area identifier> {passive} 把某个vlan加到某个Area中去,相当于Cisco中的network的作用
configure ospf area <area identifier> add range <ipaddress> <mask> [advertise | noadvertise] {type-3 | type-7}把某个网段加到某个Area中去,相当于Cisco中的network的作用
configure ospf vlan <vlan name> neighbor add <ipaddress>

OSPF中路由重发布配置
enable ospf export direct [cost <metric> [ase-type-1 | ase-type-2] {tag <number>} | <route map>]
enable ospf export static [cost <metric> [ase-type-1 | ase-type-2] {tag <number>} | <route map>]
enable ospf originate-default {always} cost <metric> [ase-type-1 | ase-type-2] {tag <number>}
enable ospf originate-router-id

11.SNMP配置
enable snmp access
enable snmp traps
create access-profile <access profile> type [ipaddress | vlan]
config snmp access-profile readonly [<access_profile> | none]配置snmp的只读访问列表,none是去除
config snmp access-profile readwrite [<access_profile> | none] 这是控制读写控制
config snmp add trapreceiver <ip address> {port <udp_port>} community <communitystring> {from <source ip address>} 配置snmp接收host和团体字符串

12.安全配置
disable ip-option loose-source-route
disable ip-option strict-source-route
disable ip-option record-route
disable ip-option record-timestamp
disable ipforwarding broadcast
disable udp-echo-server
disable irdp vlan <vlan name>
disable icmp redirect
disable web 关闭web方式访问交换机
enable cpu-dos-protect

13.Access-Lists配置
create access-list icmp destination source
create access-list ip destination source ports
create access-list tcp destination source ports
create access-list udp destination source ports

14.默认路由配置
config iproute add default <gateway>

15.恢复出厂值,但不包括用户改的时间和用户帐号信息
unconfig switch {all}

16.检查配置
show version
show config 
show session
show management 查看管理信息,以及snmp信息
show banner
show ports configuration
show ospf
show access-list {<name> | port <portlist>}
show access-list-monitor
show ospf area <area identifier>
show ospf area detail
show ospf ase-summary
show ospf interfaces {vlan <vlan name> | area <area identifier>}
unconfigure ospf {vlan <vlan name> | area <area identifier>}

17.备份和升级软件
download p_w_picpath [<hostname> | <ipaddress>] <filename> {primary | secondary}
upload p_w_picpath [<hostname> | <ipaddress>] <filename> {primary | secondary}
use p_w_picpath [primary | secondary]

18.密码恢复。
Extreme交换机在你丢失或忘记密码后,需要重新启动交换机,常按空格键,进入Bootrom模式,输入“h”,选择“d: Force Factory default configuration”清除配置文件,最后选择“f: Boot on board flash”重新启动后密码会被清除掉。注意:恢复密码后,以前的配置文件将会被清空。

转载于:https://blog.51cto.com/86612/1066204

Extreme 交换机基础配置命令相关推荐

  1. Extreme交换机基础配置命令

    1.用户名和密码配置 create account [admin | user] <username> {encrypted} {<password>} configure a ...

  2. 华为交换机基础配置命令参考

    华为交换机基础配置命令参考 基础配置 用户模式 登陆设备后,直接进入用户模式,只能执行少量查看配置的命令: 视图模式 用户模式下,输入system-view进入视图模式,可执行设备全局配置的命令: 局 ...

  3. 思科、华为、H3C、锐捷等四大厂商的交换机基础配置命令全收录

    其实对网工来说,懂得交换机是啥,真的远远不够.NAT等等各大网络公司对网络工程师的必备要求就是:会配置主要型号的交换机和路由器,不熟悉的设备能够独立查资料配置. 然而,在学习这件事上,是没有捷径的.想 ...

  4. 锐捷交换机基础配置命令

    ip地址:ip地址就像你的名字,在你所在的地方管用. mac地址:就像你的身份证,在所有的地方都管用. enable----进入特权模式config----进入全局配置模式 hostname ruij ...

  5. 交换机的原理以及基础配置命令(eNSP)

    文章目录 1.交换机原理 1.1 交换机简介 1.2 交换机原理 2.交换机基础配置命令 1.交换机原理 1.1 交换机简介 交换机是一种用于电(光)信号转发的网络设备.它可以为接入交换机的任意两个网 ...

  6. 华为路由器交换机eNSP配置命令

    华为交换机基础配置命令参考 交换机可以隔离冲突域,路由器可以隔离广播域,这两种设备在企业网络中应用越来越广泛.随着越来越多的终端接入到网络中,网络设备的负担也越来越重,这时网络设备可以通过华为专有的V ...

  7. 非常实用,华为、新华三、锐捷交换机的配置命令分享

    干弱电这一行难免会接触到交换机,华为.新华三锐捷交换机又是最常见的交换机,关于他们的命令配置很容易弄混,而且在实际项目配置中也很容易出错,因此,本期我们将来介绍这三家交换机的基础配置命令,大家可以分别 ...

  8. 华为交换机导入配置_华为交换机基础配置1—进入命令行

    交换机基础配置1-进入命令行 1.用户从终端成功登录至设备即进入用户视图,在屏幕上显示: 2.系统视图 在用户视图下,输入命令system-view后回车,进入系统视图. system-view En ...

  9. 三层交换机如何封装trunk_锐捷交换机常用配置命令汇总

    前面我们给大家汇总了华为.华三交换机的配置命令,都是非常适合小项目的,当然碰到大型的网络工程,还是需要厂家的专业人才来做.今天再给大家分享一下锐捷交换机的配置命令,这样国内三大家就全部都有了,学习一些 ...

最新文章

  1. 最大限度地减少块输出中间结果的计算和存储
  2. 美团面试题:JVM 堆内存溢出后,其他线程是否可继续工作?
  3. 【Python】Python基础
  4. 【ARM】Tiny4412裸板编程之异常(软中断)
  5. 小程序 foreach_【第2106期】小程序依赖分析实践
  6. 在计算机软件中 CUI的中文意思是,长江大学 计算机基础11-12上A卷cui
  7. Python抓取2500份招聘需求,数据显示未来最吃香的岗位是这个
  8. 关于在openstack执行nova get-vnc-console命令,无法得到vnc url并提示服务器超时的问题描述...
  9. 【Python】 _tkinter.TclError: bitmap xzw.ico not defined
  10. MACD顶背离和底背离是什么(图解)
  11. thinkphp使用paypal进行支付的做法详细步骤
  12. Linux 脚本部署应用宝,应用宝新版继续整合资源,腾讯移动分发再加力
  13. LeetCode知识点总结 - 1413
  14. linux 手机互传,轻松实现Linux笔记本和手机、PDA互传文件(转)
  15. 我回来了,“纵使日薄西山”
  16. 2022美容师(中级)考试题库及在线模拟考试
  17. 智能家居无线网络体验进入“低容错率”时代,华为Wi-Fi 6如何破局?
  18. 电脑主板资料库 05【转至www.ongood.com.tw】【FreeXploiT收集整理】
  19. 猿题库 iOS 客户端架构设计
  20. Matlab高光谱遥感数据处理与混合像元分解

热门文章

  1. SAP MM ME1M 报表的Layout之调整
  2. 01_字符串处理-----02_标准化
  3. 爱因斯坦梦断“大统一理论”
  4. 3D原子映射有助于研究生命的起源
  5. 华为发布面向2025十大趋势
  6. 3位物理学家获基础物理学特别突破奖
  7. 关于交通创新,这五大智慧城市做了啥?
  8. 发布 | 2018年中美智慧城市行业研究系列报告
  9. 量子计算陷入难解困境,未来发展何去何从?
  10. IBM用量子计算机成功模拟分子,登上《自然》封面