项目上遇到了Avaya的以太网交换机做为核心,
看了下配置方式和思科差不多,以下举例:
0 进入配置模式
config terminal
AvayaSwitch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
AvayaSwitch(config)#
1 创建用户名密码
2 kind of user role, readonly and readwrite
username "admin" "admin@123" ro
username "avaya" "super" rw
!
2 创建vlan
需求:
创建vlan10, 基于端口的模式, 描述为Server
将 15口划入vlan10,模式为access
vlan create 10 type port
vlan name 10 "Server"
vlan member 10 15
vlan ports 15 pvid 10
3 创建SVI
interface vlan 10
ip address 10.0.0.1 255.255.0.0 5
开启路由功能
ip routing
!
配置静态路由
命令和思科一样,只是后面必须加AD值
ip route 0.0.0.0 0.0.0.0 10.248.1.254 1
ip route 172.16.0.0 255.255.240.0 10.248.1.250 1
AvayaSwitch (config)#ip route 172.16.0.0 255.255.240.0 10.248.1.250 <1-65535> costdisable disable a routeenable enable a routeweight change cost of existing route
配置DHCP server
交换机做为dhcp server
ip dhcp-server enable
ip dhcp-server pool Server range 10.247.1.11 10.247.1.245 option-1 255.255.255.0
option-3 10.247.1.254 option-6 8.8.8.8
后面的option作用是啥?
option-120 Configure list of SIP serversoption-150 Configure list of TFTP serversoption-176 Configure Avaya IP phones' option-176 parametersoption-241 Configure Avaya IP phones' option-241 parametersoption-242 Configure Avaya IP phones' option-242 parametersoption-3 Configure list of routersoption-6 Configure DNS servers
查看mac地址
AvayaSwitch#show mac-address-table port 5
Mac Address Table Aging Time: 300
Number of addresses: 2MAC Address Vid Source MAC Address Vid Source
----------------- ---- -------- ----------------- ---- --------
00-0F-D3-0F-A2-0E 12 Port: 5 00-0F-D3-0F-A2-0E 13 Port: 5 AvayaSwitch# show mac-address-table
Mac Address Table Aging Time: 300
Number of addresses: 407MAC Address Vid Source MAC Address Vid Source
----------------- ---- -------- ----------------- ---- --------
11-22-33-44-B4-00 1 AA-BB-CC-DD-17-FB 10 Port:43
11-22-33-44-27-ED 10 Port:47 AA-BB-CC-DD-0E-B7 10 Port:19
11-22-33-44-EC-BE 10 Port:48 AA-BB-CC-DD-23-EF 10 Port:40
11-22-33-44-E1-B5 10 Port:48 AA-BB-CC-DD-05-59 10 Port:48
11-22-33-44-CF-FA 10 Port:19 AA-BB-CC-DD-C8-C0 10 Port:14
11-22-33-44-73-50 10 Port:13 AA-BB-CC-DD-38-C5 10 Port:48
11-22-33-44-C0-D3 10 Port:28 AA-BB-CC-DD-21-9D 10 Port:40
查看ARP
vayaSwitch#sh arp summary
-------------------------------------------
Dynamic ARP entries : 252
Static ARP entries : 0
Other ARP entries : 12
-------------------------------------------
Total ARP entries : 264
AvayaSwitch#sh arp vlan 10
===============================================================================IP ARP
===============================================================================
IP Address Age (min) MAC Address VLAN-Unit/Port/Trunk Flags-------------------------------------------------------------------------------
10.0.255.255 0 ff:ff:ff:ff:ff:ff VLAN#10 LB
10.248.224.7 40 aa:bb:cc:6d:27:ed VLAN#10-47 D
10.248.224.39 40 aa:bb:cc:6d:27:ed VLAN#10-47 D
10.248.100.87 40 aa:bb:cc:6d:27:ed VLAN#10-47 D
10.248.100.79 40 aa:bb:cc:6d:27:ed VLAN#10-47 D
查看路由表
AvayaSwitch# show ip route
===============================================================================Ip Route
===============================================================================
DST MASK NEXT COST VLAN PORT PROT TYPE PREF
-------------------------------------------------------------------------------
0.0.0.0 0.0.0.0 10.0.0.253 1 10 43 S IB 5
10.0.0.0 255.255.0.0 10.0.0.1 1 10 ---- C DB 0
10.1.2.0 255.255.255.0 10.0.0.254 1 10 47 S IB 5
10.1.8.0 255.255.248.0 10.255.255.209 1 255 48 S IB 5
查看CPU利用率
AvayaSwitch#sh cpu-utilization
----------------------------------------------------------------CPU Utilization
----------------------------------------------------------------Unit Last 10 Sec, 1 Min, 10 Min, 60 Min, 24 Hrs, System Boot-Up
----------------------------------------------------------------
1 22% 22% 21% 21% 21% 22%
内存利用率
AvayaSwitch# show memory-utilization
------------------------------------------Memory Utilization
------------------------------------------
Unit Total Used Free
------------------------------------------
1 128Mbytes 93 Mbytes 35 Mbytes
HQ3rdFloorMain#
保存配置
AvayaSwitch # write memory