- 相關(guān)推薦
Extreme交換機基礎(chǔ)配置命令
交換機根據(jù)工作位置的不同,可以分為廣域網(wǎng)交換機和局域網(wǎng)交換機。那么你知道Extreme交換機嗎?Extreme交換機的基礎(chǔ)配置命令是什么?下面跟yjbys小編一起來瞧瞧吧!
1.用戶名和密碼配置
create account [admin | user]
configure account admin
2.port配置
config ports
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
7.stp配置
enable stpd
create stpd *
configure stpd
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 |
configure ospf add vlan [
configure ospf area
add range
configure ospf vlan
OSPF中路由重發(fā)布配置
enable ospf export direct [cost
enable ospf export static [cost
enable ospf originate-default {always} cost
enable ospf originate-router-id
11.SNMP配置
enable snmp access
enable snmp traps
create access-profile
config snmp access-profile readonly [
config snmp access-profile readwrite [
config snmp add trapreceiver
【Extreme交換機基礎(chǔ)配置命令】相關(guān)文章:
h3c交換機基礎(chǔ)配置命令03-07
華為交換機配置命令02-26
華為交換機配置命令10-23
華為交換機基本配置命令01-21
交換機基本配置命令大全02-26
華為交換機基本配置命令大全01-21
華為交換機基本配置命令匯總02-25
華為交換機端口的批量配置命令03-21
思科交換機基本配置命令大全06-10