久久久久无码精品,四川省少妇一级毛片,老老熟妇xxxxhd,人妻无码少妇一区二区

Extreme交換機基礎(chǔ)配置命令

時間:2024-07-26 03:01:21 華為認證 我要投稿
  • 相關(guān)推薦

Extreme交換機基礎(chǔ)配置命令

  交換機根據(jù)工作位置的不同,可以分為廣域網(wǎng)交換機和局域網(wǎng)交換機。那么你知道Extreme交換機嗎?Extreme交換機的基礎(chǔ)配置命令是什么?下面跟yjbys小編一起來瞧瞧吧!

  1.用戶名和密碼配置

  create account [admin | user] {encrypted} {}

  configure account admin

  2.port配置

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

  3.Vlan配置

  無論是核心還是接入層,都要先創(chuàng)建三個Vlan,并且將所有歸于Default Vlan的端口刪除:

  config vlan default del port all

  create vlan Server

  create vlan User

  create vlan Manger

  定義802.1q標(biāo)記

  config vlan Server tag 10

  config vlan User tag 20

  config vlan Manger tag 30

  設(shè)定Vlan網(wǎng)關(guān)地址:

  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路由轉(zhuǎn)發(fā),即vlan間路由

  Trunk 配置 www.it165.net

  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的流量發(fā)送到3

  config mirroring add port 1 vlan default #把1和vlan default的流量都發(fā)送到3

  6.port-channel配置

  enable sharing grouping {port-based | address-based | round-robin}

  7.stp配置

  enable stpd

  create stpd *

  configure stpd add vlan {ports [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中繼。bootp relay /dhcp relay 用于主機獲取它的IP地址,但是在一個高度需要安全的網(wǎng)絡(luò)中需要以更安全的方法配置它,比如通過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

創(chuàng)建OSPF區(qū)域

  configure ospf routerid [automatic | ] 配置Routerid

  configure ospf add vlan [ | all] area {passive} 把某個vlan加到某個Area中去,相當(dāng)于Cisco中的network的作用

  configure ospf area

add range [advertise | noadvertise] {type-3 | type-7}把某個網(wǎng)段加到某個Area中去,相當(dāng)于Cisco中的network的作用

  configure ospf vlan neighbor add

  OSPF中路由重發(fā)布配置

  enable ospf export direct [cost [ase-type-1 | ase-type-2] {tag } | ]

  enable ospf export static [cost [ase-type-1 | ase-type-2] {tag } | ]

  enable ospf originate-default {always} cost [ase-type-1 | ase-type-2] {tag }

  enable ospf originate-router-id

  11.SNMP配置

  enable snmp access

  enable snmp traps

  create access-profile type [ipaddress | vlan]

  config snmp access-profile readonly [ | none]配置snmp的只讀訪問列表,none是去除

  config snmp access-profile readwrite [ | none] 這是控制讀寫控制

  config snmp add trapreceiver {port } community {from } 配置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

  disable icmp redirect

  disable web 關(guān)閉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

  15.恢復(fù)出廠值,但不包括用戶改的時間和用戶帳號信息

  unconfig switch {all}

  16.檢查配置

  show version

  show config

  show session

  show management 查看管理信息,以及snmp信息

  show banner

  show ports configuration

  show ospf

  show access-list { | port }

  show access-list-monitor

  show ospf area

  show ospf area detail

  show ospf ase-summary

  show ospf interfaces {vlan | area }

  unconfigure ospf {vlan | area }

  17.備份和升級軟件

  download image [ | ] {primary | secondary}

  upload image [ | ] {primary | secondary}

  use image [primary | secondary]

  18.密碼恢復(fù)。

  Extreme交換機在你丟失或忘記密碼后,需要重新啟動交換機,常按空格鍵,進入Bootrom模式,輸入“h”,選擇“d: Force Factory default configuration”清除配置文件,最后選擇“f: Boot on board flash”重新啟動后密碼會被清除掉。注意:恢復(fù)密碼后,以前的配置文件將會被清空。

【Extreme交換機基礎(chǔ)配置命令】相關(guān)文章:

h3c交換機基礎(chǔ)配置命令03-07

華為交換機配置命令02-26

華為交換機配置命令10-23

華為交換機基本配置命令01-21

交換機基本配置命令大全02-26

華為交換機基本配置命令大全01-21

華為交換機基本配置命令匯總02-25

華為交換機端口的批量配置命令03-21

思科交換機基本配置命令大全06-10