P 550 配置实例

发布者:上海IT外包来源:http://www.lanmon.net点击数:3503

片段一:

Login: root
Password:
To set or change console IP Address/Mask/Default Gateway run setup command.
Welcome to the Cajun *Enhanced* CLI
blue>

blue> enable
blue# config
blue(configure)#

blue(configure)# username blue password blue access-type admin
blue(configure)#

blue(configure)# setup
Welcome to Switch Setup. The brief series of questions that
follows will help you to configure this switch. After completing
this process, you will be able to manage the switch using:
- the switch-based HTTP server
- the Element Management System.
Text in [] is the default answer for each questions. To accept
the default, press ENTER.
Would you like to change the super user password [Yes]?
What do you want the switch manager's console
Ethernet IP Address to be [192.168.133.1]?
You can now connect to the switch using the front-panel
out-of-band 10BASE-T connection. This allows you to log in
using either the embedded web agent or the EMS.
See the Installation and Operation Guide for instructions
on establishing additional IP network connections.
blue(configure)#

片段二:

blue(configure)# show running
Current configuration:
!
! Lucent Technologies Cajun Switch Agent v4.2.2 P550 Switch
!
set vlan 2 name "NetMinder Staff"
set vlan 3 name "NetMinder Lab"
set vlan 4 name "WAN"
set vlan 10 name "user"
set vlan 13 name "foruser"
set vlan 16 name "shanghai"
set vlan 17 name "xszou"
set vlan 18 name "zhangbin"
set vlan 28 name "v888"
!
set huntgroup "550 to 10F"
set huntgroup "550 to 9F"
!
set spantree config dual-layer
!
hostname "blue"
snmp-server location "Shanghai Bell Labs"
snmp-server contact "Zhang Xia([email protected])"
clock summer-time recurring 1 Sunday Apr 02:00 5 Sunday Oct 02:00 60
username "root" password encrypted-type1 "$tSfIcnbTP.pxRf7BrhGW31" access-type a
dmin
username "diag" password encrypted-type1 "$PQO.vGxkvDHkEDCJ2YsoD1" access-type r
ead-write
username "manuf" password encrypted-type1 "$seHFLP9b16m2v/534WCk90" access-type
read-write
username "xszou" password encrypted-type1 "$FOKPQ/DYOOvGTdxm21JcD." access-type
admin
username "blue" password encrypted-type1 "$HCAjDuj0pKQ7FYkbM/4dv." access-type r
ead-only
snmp-server community "public" rw normal
!
set console type tty
set console baud 9600
set console flowcontrol xon/xoff
set console databits 8
set console parity none
set console stopbits 1
no set console initcmd
!
set temperature cpu-sensor shutdown 100
set temperature cpu-sensor warning upper 85
!
!
! Begin Module 1 configuration
module 1 begin type M5500R_SUP
set module notes 1 "new"
module 1 end
! End Module 1 configuration
!
! Begin Module 4 configuration
module 4 begin type M5504_1000
set port remote-fault-detect 4/1 enable
set port remote-fault-detect 4/2 enable
set port remote-fault-detect 4/3 enable
set port remote-fault-detect 4/4 enable
set port trunking-format 4/1 ieee-802.1Q
set port fast-start 4/1 enable
set port huntgroup 4/1 "550 to 9F"
set port vlan-binding-method 4/1 bind-to-all
set port trunking-format 4/2 ieee-802.1Q
set port fast-start 4/2 enable
set port huntgroup 4/2 "550 to 9F"
set port vlan-binding-method 4/2 bind-to-all
set port trunking-format 4/3 ieee-802.1Q
set port fast-start 4/3 enable
set port huntgroup 4/3 "550 to 10F"
set port vlan-binding-method 4/3 bind-to-all
set port trunking-format 4/4 ieee-802.1Q
set port fast-start 4/4 enable
set port huntgroup 4/4 "550 to 10F"
set port vlan-binding-method 4/4 bind-to-all
module 4 end
! End Module 4 configuration
!
! Begin Module 5 configuration
module 5 begin type M5520_100TX_I
module 5 end
! End Module 5 configuration
!
! Begin Module 6 configuration
module 6 begin type M5520_100TX_LUC
set port rate-limit-mode 6/19 disable
set buffering port 6/19 output age-timer 1340
set buffering port 6/19 output pri-threshold 5
set buffering port 6/19 output hipri-service-ratio 8191-to-1
set port vlan 6/1 8193
set port vlan 6/11 8193
module 6 end
! End Module 6 configuration
!
cpu_redundancy mac-prefix 02:e0:3b:d2:fb:ff
!
ip bootp-dhcp relay
!
router vrrp
!
interface "Central BL-10 F"
ip address 192.168.0.1 255.255.255.0
ip vlan name "Default"
ip bootp-dhcp gateway
ip vrrp 1 address 192.168.0.55
!
interface "NetMinder Staff - 9F Cubicle"
ip address 135.252.26.1 255.255.255.128
ip vlan name "NetMinder Staff"
ip bootp-dhcp gateway
!
interface "NetMinder Lab - 9F Lab"
ip address 135.252.26.129 255.255.255.128
ip vlan name "NetMinder Lab"
ip bootp-dhcp gateway
!
interface "WAN - Cisco router"
ip address 135.252.1.194 255.255.255.252
ip vlan name "WAN"
ip bootp-dhcp gateway
!
interface "Console"
ip address 192.168.133.1 255.255.255.0
ip vlan Ethernet-Console
ip routing-mode mgmt_only
no ip redirects
!
!
ip route 0.0.0.0 0.0.0.0 135.252.1.193 1 high
arp 192.168.0.1 00:00:00:00:00:00
!
ip access-list block 1 deny ip 135.252.26.128 0.0.0.127 135.252.22.0 0.0.0.255
ip access-list block 2 deny ip 135.252.22.0 0.0.0.255 135.252.26.128 0.0.0.127
!
ip access-group block
blue(configure)# show running
Current configuration:
!
! Lucent Technologies Cajun Switch Agent v4.2.2 P550 Switch
!
set vlan 2 name "NetMinder Staff"
set vlan 3 name "NetMinder Lab"
set vlan 4 name "WAN"
set vlan 10 name "user"
set vlan 13 name "foruser"
set vlan 16 name "shanghai"
set vlan 17 name "xszou"
set vlan 18 name "zhangbin"
set vlan 28 name "v888"
!
set huntgroup "550 to 10F"
set huntgroup "550 to 9F"
!
set spantree config dual-layer
!
hostname "blue"
snmp-server location "Shanghai Bell Labs"
snmp-server contact "Zhang Xia([email protected])"
clock summer-time recurring 1 Sunday Apr 02:00 5 Sunday Oct 02:00 60
username "root" password encrypted-type1 "$tSfIcnbTP.pxRf7BrhGW31" access-type a
--More--
username "diag" password encrypted-type1 "$PQO.vGxkvDHkEDCJ2YsoD1" access-type r
ead-write
username "manuf" password encrypted-type1 "$seHFLP9b16m2v/534WCk90" access-type
read-write
username "xszou" password encrypted-type1 "$FOKPQ/DYOOvGTdxm21JcD." access-type
admin
username "blue" password encrypted-type1 "$HCAjDuj0pKQ7FYkbM/4dv." access-type r
ead-only
snmp-server community "public" rw normal
!
set console type tty
set console baud 9600
set console flowcontrol xon/xoff
set console databits 8
set console parity none
set console stopbits 1
no set console initcmd
!
set temperature cpu-sensor shutdown 100
set temperature cpu-sensor warning upper 85
!
!
! Begin Module 1 configuration
module 1 begin type M5500R_SUP
set module notes 1 "new"
module 1 end
! End Module 1 configuration
!
! Begin Module 4 configuration
module 4 begin type M5504_1000
set port remote-fault-detect 4/1 enable
set port remote-fault-detect 4/2 enable
set port remote-fault-detect 4/3 enable
set port remote-fault-detect 4/4 enable
set port trunking-format 4/1 ieee-802.1Q
set port fast-start 4/1 enable
set port huntgroup 4/1 "550 to 9F"
set port vlan-binding-method 4/1 bind-to-all
set port trunking-format 4/2 ieee-802.1Q
set port fast-start 4/2 enable
set port huntgroup 4/2 "550 to 9F"
set port vlan-binding-method 4/2 bind-to-all
set port trunking-format 4/3 ieee-802.1Q
set port fast-start 4/3 enable
set port huntgroup 4/3 "550 to 10F"
set port vlan-binding-method 4/3 bind-to-all
set port trunking-format 4/4 ieee-802.1Q
set port fast-start 4/4 enable
set port huntgroup 4/4 "550 to 10F"

片段三:

#2: Ping ok, RTT 0.000 seconds
#3: Ping ok, RTT 0.000 seconds
#4: Ping ok, RTT 0.000 seconds
#5: Ping ok, RTT 0.000 seconds
Ping of 192.168.0.1 completed: 5 OK, 0 Failed
Cajun(configure router:rip)# ping 192.168.0.18

#1: Ping timed out
#2: Ping timed out
#3: Ping timed out
#4: Ping timed out
#5: Ping timed out
Ping of 192.168.0.18 completed: 0 OK, 5 Failed
Cajun(configure router:rip)#
Cajun(configure router:rip)# exit
Cajun(configure)# ?
Next possible match:
access-group
access-list
appletalk
arp
boot
calendar
clear
clock
connect
copy
cpu_redundancy
dir
enable
end
erase
exit
help
hostname
interface
ip
ipx
ldap
legacy-cli
length
logging
mtrace
no
nvram
ping
reload
reset
router
set
setup
show
snmp
snmp-server
sntp
telnet
terminal
timers
trace
username
width
Cajun(configure)# interface blue1
Cajun(config-if:blue1)# ?
Next possible match:
access-group
access-list
appletalk
arp
boot
calendar
clear
clock
connect
copy
cpu_redundancy
default-metric
dir
enable
end
erase
exit
help
hostname
interface
ip
ipx
ldap
legacy-cli
length
logging
mtrace
no
nvram
ping
reload
reset
router
set
setup
show
snmp
snmp-server
sntp
telnet
terminal
timers
trace
username
width
Cajun(config-if:blue1)# exit
Cajun(configure)# ?
Next possible match:
access-group
access-list
appletalk
arp
boot
calendar
clear
clock
connect
copy
cpu_redundancy
dir
enable
end
erase
exit
help
hostname
interface
ip
ipx
ldap
legacy-cli
length
logging
mtrace
no
nvram
ping
reload
reset
router
set
setup
show
snmp
snmp-server
sntp
telnet
terminal
timers
trace
username
width
Cajun(configure)# ip ?
Next possible match:
access-group
access-list
bootp-dhcp
default-gateway
http
max-arp-entries
max-route-entries
mtrace
multicast
multicast-routing
netmask-format
ospf
proxy-arp-default-route
proxy-arp-limit
reset-stats
route
route-preference
routing
source-route
telnet
unicast
Cajun(configure)# ip route ?
Next possible match:
- "Network Address (a.b.c.d)"
Cajun(configure)# ip route 192.168.0.0 255.255.255.0 192.168.2.18
incomplete command

Next possible match:
- "Cost"
- (Range: Min=1, Max=65535)
Cajun(configure)# p route 192.168.0.0 255.255.255.0 192.168.2.18 5
p route 192.168.0.0 255.255.255.0 192.168.2.18 5
^
syntax error

Next possible match:

- "The number of packets to send"
Cajun(configure)# ip route 192.168.0.0 192.168.2.18
ip route 192.168.0.0 192.168.2.18
^
syntax error

Next possible match:
- "IP Address Mask (a.b.c.d)"
Cajun(configure)# ip route 192.168.0.0 255.255.255.0 ?
Next possible match:
- "The IP Address of the next hop router (a.b.c.d)"
Cajun(configure)# ip route 192.168.0.0 255.255.255.0 192.168.0.18
incomplete command

Next possible match:
- "Cost"
- (Range: Min=1, Max=65535)
Cajun(configure)# ip route 192.168.0.0 255.255.255.0 192.168.0.18 3
Cajun(configure)# ip route 192.168.2.0 255.255.255.0 192.168.2.18 5
Cajun(configure)# ping 192.168.0.18

#1: Ping timed out
#2: Ping timed out
Ping of 192.168.0.18 stopped: 0 OK, 3 Failed
Cajun(configure)#
Cajun(configure)# set port vlan 5/9-11 9
Port VLAN set: 5/9,5/10,5/11.
Cajun(configure)# show running
Current configuration:
!
! Lucent Technologies Cajun Switch Agent v4.2.2 P550 Switch
!
set vlan 8 name "blue"
set vlan 9 name "blue2"
!
hostname "Cajun"
snmp-server location "[Location Not Set]"
snmp-server contact "System Administrator"
clock summer-time recurring 1 Sunday Apr 02:00 5 Sunday Oct 02:00 60
username "root" password encrypted-type1 "$tSfIcnbTP.pxRf7BrhGW31" access-type a

dmin
username "diag" password encrypted-type1 "$PQO.vGxkvDHkEDCJ2YsoD1" access-type r

ead-write
username "manuf" password encrypted-type1 "$seHFLP9b16m2v/534WCk90" access-type

read-write
snmp-server community "public" ro normal
!
set console type tty
set console baud 9600
set console flowcontrol xon/xoff
set console databits 8
set console parity none
set console stopbits 1
no set console initcmd
!
set temperature cpu-sensor shutdown 100
set temperature cpu-sensor warning upper 85
!
!
! Begin Module 1 configuration
module 1 begin type M5500R_SUP
set module notes 1 "new"
module 1 end
! End Module 1 configuration
!
! Begin Module 4 configuration
module 4 begin type M5504_1000
module 4 end
! End Module 4 configuration
!
! Begin Module 5 configuration
module 5 begin type M5520_100TX_I
set port vlan 5/1 8
set port vlan 5/2 8
set port vlan 5/3 8
set port vlan 5/9 9
set port vlan 5/10 9
set port vlan 5/11 9
module 5 end
! End Module 5 configuration
!
! Begin Module 6 configuration
module 6 begin type M5520_100TX_LUC
set port rate-limit-mode 6/19 disable
set port rate-limit-burst-size 6/19 1
set buffering port 6/19 output age-timer 1340
set buffering port 6/19 output pri-threshold all-frames-normal-priority
set buffering port 6/19 output hipri-service-ratio 8191-to-1
set port vlan 6/1 9
set port vlan 6/2 9
set port vlan 6/3 9
set port vlan 6/4 9
set port vlan 6/5 9
module 6 end
! End Module 6 configuration
!
cpu_redundancy mac-prefix 02:e0:3b:d2:fb:ff
!
router vrrp
!
interface "Console"
ip address 192.168.0.1 255.255.255.0
ip vlan Ethernet-Console
ip routing-mode mgmt_only
no ip redirects
!
interface "blue1"
ip address 192.168.0.18 255.255.255.0
ip vlan name "blue"
!
interface "blue2"
ip address 192.168.2.18 255.255.255.0
ip vlan name "blue2"
!
!
ip route 192.168.2.0 255.255.255.0 192.168.2.18 5 low
ip route 192.168.0.0 255.255.255.0 192.168.0.18 3 low
!
router rip
network 192.168.0.1 0.0.0.255
network 192.168.0.18 0.0.0.255
network 192.168.2.18 0.0.0.255
Cajun(configure)# ?
Next possible match:
access-group
access-list
appletalk
arp
boot
calendar
clear
clock
connect
copy
cpu_redundancy
dir
enable
end
erase
exit
help
hostname
interface
ip
ipx
ldap
legacy-cli
length
logging
mtrace
no
nvram
ping
reload
reset
router
set
setup
show
snmp
snmp-server
sntp
telnet
terminal
timers
trace
username
width
Cajun(configure)# show running
Current configuration:
!
! Lucent Technologies Cajun Switch Agent v4.2.2 P550 Switch
!
set vlan 8 name "blue"
set vlan 9 name "blue2"
!
hostname "Cajun"
snmp-server location "[Location Not Set]"
snmp-server contact "System Administrator"
clock summer-time recurring 1 Sunday Apr 02:00 5 Sunday Oct 02:00 60
username "root" password encrypted-type1 "$tSfIcnbTP.pxRf7BrhGW31" access-type a

dmin
username "diag" password encrypted-type1 "$PQO.vGxkvDHkEDCJ2YsoD1" access-type r

ead-write
username "manuf" password encrypted-type1 "$seHFLP9b16m2v/534WCk90" access-type

read-write
snmp-server community "public" ro normal
!
set console type tty
set console baud 9600
set console flowcontrol xon/xoff
set console databits 8
set console parity none
set console stopbits 1
no set console initcmd
!
set temperature cpu-sensor shutdown 100
set temperature cpu-sensor warning upper 85
!
!
! Begin Module 1 configuration
module 1 begin type M5500R_SUP
set module notes 1 "new"
module 1 end
! End Module 1 configuration
!
! Begin Module 4 configuration
module 4 begin type M5504_1000
module 4 end
! End Module 4 configuration
!
! Begin Module 5 configuration
module 5 begin type M5520_100TX_I
set port vlan 5/1 8
set port vlan 5/2 8
set port vlan 5/3 8
set port vlan 5/9 9
set port vlan 5/10 9
set port vlan 5/11 9
module 5 end
! End Module 5 configuration
!
! Begin Module 6 configuration
module 6 begin type M5520_100TX_LUC
set port rate-limit-mode 6/19 disable
set port rate-limit-burst-size 6/19 1
set buffering port 6/19 output age-timer 1340
set buffering port 6/19 output pri-threshold all-frames-normal-priority
set buffering port 6/19 output hipri-service-ratio 8191-to-1
set port vlan 6/1 9
set port vlan 6/2 9
set port vlan 6/3 9
set port vlan 6/4 9
set port vlan 6/5 9
module 6 end
! End Module 6 configuration
!
cpu_redundancy mac-prefix 02:e0:3b:d2:fb:ff
!
router vrrp
!
interface "Console"
ip address 192.168.0.1 255.255.255.0
ip vlan Ethernet-Console
ip routing-mode mgmt_only
no ip redirects
!
interface "blue1"
ip address 192.168.0.18 255.255.255.0
ip vlan name "blue"
!
interface "blue2"
ip address 192.168.2.18 255.255.255.0
ip vlan name "blue2"
!
!
ip route 192.168.2.0 255.255.255.0 192.168.2.18 5 low
ip route 192.168.0.0 255.255.255.0 192.168.0.18 3 low
!
router rip
network 192.168.0.1 0.0.0.255
network 192.168.0.18 0.0.0.255
network 192.168.2.18 0.0.0.255
Cajun(configure)# clear ip route 192.168.2.0 255.255.255.0 192.168.2.18 5
clear ip route 192.168.2.0 255.255.255.0 192.168.2.18 5
^
syntax error

Next possible match:

Cajun(configure)# clear ip route 192.168.2.0 255.255.255.0
Cajun(configure)# clear ip route 192.168.0.0 255.255.255.0
Cajun(configure)# ip route 192.168.2.0 255.255.255.0 192.168.0.18 3
Cajun(configure)# ip route 192.168.0.0 255.255.255.0 192.168.2.18 5
Cajun(configure)# ping 192.168.0.18

#1: Ping timed out
#2: Ping timed out
#3: Ping timed out
#4: Ping timed out
#5: Ping timed out
Ping of 192.168.0.18 completed: 0 OK, 5 Failed
Cajun(configure)# ping 192.168.2.18

#1: Ping ok, RTT 0.000 seconds
#2: Ping ok, RTT 0.000 seconds
#3: Ping ok, RTT 0.000 seconds
#4: Ping ok, RTT 0.000 seconds
#5: Ping ok, RTT 0.000 seconds
Ping of 192.168.2.18 completed: 5 OK, 0 Failed
Cajun(configure)# ping 192.168.0.18

#1: Ping timed out
#2: Ping timed out
#3: Ping timed out
#4: Ping timed out
#5: Ping timed out
Ping of 192.168.0.18 completed: 0 OK, 5 Failed
Cajun(configure)#

说明:
以上典型配置有很多已经是厂商停产产品,但是,不少设备往往还有运行,关于该设备的配置或者方案优化,你可以联系蓝盟,我们的资深工程师会给你意外的惊喜!上海蓝盟网络技术有限公司于2002年成立,业务涵盖IT外包、电脑维护、网络维护、网管外包、驻场服务、人员派驻、应急支持、系统集成、网络搬迁、网络升级、数据备份、综合布线、电脑维修、计算机维护、计算机维修,网络改造、网络整理、网络调试、局域网组建、 应急上门、数据恢复、网络咨询、服务管理、运维咨询、ITIL培训、ITSS咨询等,拥有近200名工程师,正在为近500家客户提供“一站式” 的IT外包服务。网址:www.lanmon.com www.lanmon.net 官方微博:http://weibo.com/lanmon2012 咨询电话:4008200159 蓝色学苑:www.bluestudy.net
IT外包
>
400-635-8089
立即
咨询
电话咨询
服务热线
400-635-8089
微信咨询
微信咨询
微信咨询
公众号
公众号
公众号
返回顶部