发布者:上海IT外包来源:http://www.lanmon.net点击数:3327
片段一:
zzh-1(super)# username blue password blue access-type admin
User account added.
zzh-1(super)#
zzh-1(super)# hostname blue
blue-1(super)#
blue-1(super)# show interface
Interface Name VLAN IP address Netmask
-------------- ---- --------------- ---------------
inband 1 192.168.0.12 255.255.255.0
ppp disabled 1 0.0.0.0 0.0.0.0
blue-1(super)#
blue-1(super)#set interface inband 1 192.168.0.12 255.255.255.0
blue-1(super)# set trunk 1/1 dot1q
Dot1Q VLAN tagging set on port 1/1.
blue-1(super)#
blue-1(super)# set trunk 1/1 off
No VLAN tagging set on port 1/1.
blue-1(super)#
blue-1(super)# set ip route 172.16.0.0 192.168.0.1
destination = 172.16.0.0 gateway = 192.168.0.1
ROUTE NET TABLE
destination gateway flags Refcnt Use Interface
------------------------------------------------------------------------
172.16.0.0 192.168.0.1 3 0 0 se0
192.168.0.0 192.168.0.12 1 5 1490 se0
127.1.1.0 127.1.1.1 1 5 1144 se1
------------------------------------------------------------------------
ROUTE HOST TABLE
destination gateway flags Refcnt Use Interface
------------------------------------------------------------------------
127.0.0.1 127.0.0.1 5 3 11 lo0
------------------------------------------------------------------------
blue-1(super)#
blue-1(super)# clear ip route 172.16.0.0 192.168.0.1
ROUTE NET TABLE
destination gateway flags Refcnt Use Interface
------------------------------------------------------------------------
192.168.0.0 192.168.0.12 1 5 1642 se0
127.1.1.0 127.1.1.1 1 5 1392 se1
------------------------------------------------------------------------
ROUTE HOST TABLE
destination gateway flags Refcnt Use Interface
------------------------------------------------------------------------
127.0.0.1 127.0.0.1 5 3 157 lo0
------------------------------------------------------------------------
blue-1(super)#
blue-1(super)# set vlan 8
VLAN ID 8 created.
blue-1(super)#
blue-1(super)# set vlan 8 name blue
VLAN ID 8 is named blue.
blue-1(super)#
blue-1(super)# set port vlan 8 1/1
VLAN 8 modified.
VLAN Mod/Ports
---- ---------------------------
8 1/1
blue-1(super)#
blue-1(super)# set spantree disable
bridge spanning tree disabled.
blue-1(super)#
blue-1(super)# set spantree enable
Port redundancy capability will be disable !
bridge spanning tree enabled.
blue-1(super)#
blue-1(super)# set port negotiation 1/1 disable
Link negotiation protocol disabled on port 1/1.
blue-1(super)#
blue-1(super)# set port duplex 1/1 full
Port 1/1 set to full-duplex.
blue-1(super)#
blue-1(super)# set port speed 1/1 100MB
Port 1/1 speed set to 100 Mbps.
blue-1(super)#
blue-1(super)# session ?
Session commands:
---------------------------------------------------------------------------
Usage: session {module_number} {switch | router | atm }
blue-1(super)#
blue-1(super)# session router
Router-1(super)#
Router-1(super)# set device-mode ?
Set device-mode commands:
---------------------------------------------------------------------------
Syntax : set device-mode
: EZ2route | Router | Layer2
Router-1(super)# set device-mode ez2route
This command will RESET the device
*** Reset *** - do you want to continue (Y/N)? n
Router-1(super)# set device router
Device is already in that mode
Router-1(super)#
Router-1(super)# session 1
blue-1(super)# session router
Router-1(super)#
Router-1(super)# session ?
Session commands:
---------------------------------------------------------------------------
Usage: session {module_number} {switch | router | atm }
Router-1(super)#
Router-1(super)# ip route 132.55.0.0 255.255.0.0 192.168.0.19
Done!
Router-1(super)# no ip route 132.55.0.0 255.255.0.0
Done!
Router-1(super)#
Router-1(configure)# interface blue2
Done!
Router-1(config-if:blue2)# ip address 10.1.1.2 255.255.255.0
Done!
Router-1(config-if:blue2)# ip vlan 8
Done!
Router-1(config-if:blue2)# ip rip rip-version 2
Done!
Router-1(config-if:blue2)#
Router-1(configure)# access-list
access-list -- Create policy statement
Syntax : access-list
{| any | host}
[[
host}
[[]]
[established] [precedence]
- integer (100..199)
- integer (1..9999)
- permit | deny | deny-and-notify | fwd0-7
- ip | tcp | udp | integer (1..255)
- ip network
- ip network wildcard
- eq | lt | gt | range
- integer (1..65535)
- ip network
- ip network wildcard
- mandatory | optional
Examples:
ip access-list 101 23 deny ip any 10.10.0.0 0.0.255.255
ip access-list 101 24 fwd3 udp any host 10.1.1.1 range 20 23 optional
ip access-list 101 25 permit tcp any any eq 23 established
Router-1(configure)#
blue-1# set port redundancy 1/1 1/2 on blue
blue: Port 1/2 is redundant to port 1/1.
Please note that port redundancy is currently disabled
Use "set port redundancy on" to enable it
blue-1#
Cajun_P330-1(super)# show image version
Mod Module-Type Bank Version
------ ----------- ---- -------
1 24x10/100Base-T with optional expansion slot A 3.0.5
1 24x10/100Base-T with optional expansion slot B 3.2.8
Cajun_P330-1(super)# set boot bank bank-b
Boot bank set to bank-b
Cajun_P330-1(super)#
Cajun_P330-1(super)# reset
This command will force a switch-over to the master module
and disconnect your telnet session
*** Reset *** - do you want to continue (Y/N)? y
Connection closed by foreign host.
Cajun_P330-1(super)#
Run from bank B
Attaching network interface lo0... done.
Welcome to Cajun P330
SW version 3.2.8
Login:
片段二:
configure Enter configure mode
tech Enter tech mode
show Show, use 'show help' for more info
set Set, use 'set help' for more info
copy Copy, use 'copy help' for more info
erase Erase, use 'erase help' for more info
event Event, use 'event help' for more info
rmon2 Rmon2, use 'rmon2 help' for more info
reset Reset to restart module
ping Ping utility
traceroute Trace route utility
session open a session to another module
Universal commands:-
help, ?, exit, retstatus, tree.
Router-1# config
Router-1(configure)# ?
Commands:-
---------------------------------------------------------------------------
terminal Terminal, use 'terminal help' for more info
no No, use 'no help' for more info
hostname Display or set the new host name
clear Clear, use 'clear help' for more info
configure Enter configure mode
tech Enter tech mode
show Show, use 'show help' for more info
set Set, use 'set help' for more info
copy Copy, use 'copy help' for more info
erase Erase, use 'erase help' for more info
event Event, use 'event help' for more info
ip Ip, use 'ip help' for more info
rmon2 Rmon2, use 'rmon2 help' for more info
access-group Activate specific policy list
access-list Create policy statement
validate-group Validate policy list
reset Reset to restart module
interface Create and/or enter interface configuration mode
(++ ip, no, enable, default-metric)
arp Add static ARP entry to arp cache
(++ timeout)
--type q to quit or space key to continue--
router Router, use 'router help' for more info
ping Ping utility
traceroute Trace route utility
session open a session to another module
Universal commands:-
help, ?, exit, retstatus, tree.
Router-1(configure)# interface if1
Done!
Router-1(config-if:if1)# ip address 10.1.0.1 255.255.255.0
IP address 192.168.0.18 already defined on the interface
Router-1(config-if:if1)# exit
Router-1(configure)# interface blue1
Done!
Router-1(config-if:blue1)# ip address 10.1.0.1 255.255.255.0
IP address 10.1.0.1 is on same subnet as existing IP interface
Router-1(config-if:blue1)# ip vlan 8
Done!
Router-1(config-if:blue1)# ip router rip
Command not found, try: help ip
Router-1(config-if:blue1)# ip ?
Ip commands:
---------------------------------------------------------------------------
ip address Set an IP address for an interface
ip vlan Set the Vlan on which this IP interface resides
(++ name)
ip admin-state Set the adminstrative state of this IP interface
ip proxy-arp Enable proxy ARP on the interface
ip broadcast-address Update interface broadcast address
ip directed-broadcast Enable net-directed broadcast forwarding
ip routing-mode Set the IP routing mode on the interface
ip redirects Enable the sending of redirect messages
ip rip Ip rip, use 'ip rip help' for more info
ip ospf Ip ospf, use 'ip ospf help' for more info
ip vrrp Enable a virtual router on the interface
ip srrp Ip srrp, use 'ip srrp help' for more info
ip bootp-dhcp Ip bootp-dhcp, use 'ip bootp-dhcp help' for more in
fo
ip netbios-rebroadcast Enable netbios rebroadcast on the interface
Router-1(config-if:blue1)# ip rip
incomplete command , try help
Router-1(config-if:blue1)# ip rip ?
Ip rip commands:
---------------------------------------------------------------------------
ip rip authentication Ip rip authentication, use 'ip rip authenticati
on help' for more info
ip rip split-horizon Enable use of Split horizon.
ip rip poison-reverse Configure use of Split horizon with Poison reve
rse.
ip rip default-route-mode Control reception of default routes
ip rip send-receive-mode Configure the type of report to send
ip rip rip-version Configure the version of the RIP interface
Router-1(config-if:blue1)# ip rip rip-version ?
Ip rip rip-version commands:
---------------------------------------------------------------------------
Syntax : ip rip rip-version
- 1 | 2
Example:ip rip rip-version 2
Router-1(config-if:blue1)# ip rip rip-version 2
Cannot configure parameters, define IP address first.
Router-1(config-if:blue1)# EmWeb accept: Error # 851972
EmWeb accept: Error # 851972
EmWeb accept: Error # 851972
EmWeb accept: Error # 851972
EmWeb accept: Error # 851972
EmWeb accept: Error # 851972
EmWeb accept: Error # 851972
EmWeb accept: Error # 851972
EmWeb accept: Error # 851972
EmWeb accept: Error # 851972
EmWeb accept: Error # 851972
EmWeb accept: Error # 851972
Router-1(config-if:blue1)# exit
Router-1(configure)# ?
Commands:-
---------------------------------------------------------------------------
terminal Terminal, use 'terminal help' for more info
no No, use 'no help' for more info
hostname Display or set the new host name
clear Clear, use 'clear help' for more info
configure Enter configure mode
tech Enter tech mode
show Show, use 'show help' for more info
set Set, use 'set help' for more info
copy Copy, use 'copy help' for more info
erase Erase, use 'erase help' for more info
event Event, use 'event help' for more info
ip Ip, use 'ip help' for more info
rmon2 Rmon2, use 'rmon2 help' for more info
access-group Activate specific policy list
access-list Create policy statement
validate-group Validate policy list
reset Reset to restart module
interface Create and/or enter interface configuration mode
(++ ip, no, enable, default-metric)
arp Add static ARP entry to arp cache
(++ timeout)
--type q to quit or space key to continue--
router Router, use 'router help' for more info
ping Ping utility
traceroute Trace route utility
session open a session to another module
Universal commands:-
help, ?, exit, retstatus, tree.
Router-1(configure)# interface blue2
Done!
Router-1(config-if:blue2)# ip address 10.1.0.2 255.255.255.0
IP address 10.1.0.2 is on same subnet as existing IP interface
Router-1(config-if:blue2)# ip address 10.1.1.2 255.255.255.0
Done!
Router-1(config-if:blue2)# ip vlan 8
Done!
Router-1(config-if:blue2)# ip rip rip-version 2
Done!
Router-1(config-if:blue2)#
Router-1(config-if:blue2)# exit
Router-1(configure)# ?
Commands:-
---------------------------------------------------------------------------
terminal Terminal, use 'terminal help' for more info
no No, use 'no help' for more info
hostname Display or set the new host name
clear Clear, use 'clear help' for more info
configure Enter configure mode
tech Enter tech mode
show Show, use 'show help' for more info
set Set, use 'set help' for more info
copy Copy, use 'copy help' for more info
erase Erase, use 'erase help' for more info
event Event, use 'event help' for more info
ip Ip, use 'ip help' for more info
rmon2 Rmon2, use 'rmon2 help' for more info
access-group Activate specific policy list
access-list Create policy statement
validate-group Validate policy list
reset Reset to restart module
interface Create and/or enter interface configuration mode
(++ ip, no, enable, default-metric)
arp Add static ARP entry to arp cache
(++ timeout)
--type q to quit or space key to continue--
router Router, use 'router help' for more info
ping Ping utility
traceroute Trace route utility
session open a session to another module
Universal commands:-
help, ?, exit, retstatus, tree.
Router-1(configure)# access-list
TOO FEW PARAMETERS
access-list -- Create policy statement
Syntax : access-list
{| any | host}
[[
host}
[[]]
[established] [precedence]
- integer (100..199)
- integer (1..9999)
- permit | deny | deny-and-notify | fwd0-7
- ip | tcp | udp | integer (1..255)
- ip network
- ip network wildcard
- eq | lt | gt | range
- integer (1..65535)
- ip network
- ip network wildcard
- mandatory | optional
Examples:
ip access-list 101 23 deny ip any 10.10.0.0 0.0.255.255
--type q to quit or space key to continue--
ip access-list 101 24 fwd3 udp any host 10.1.1.1 range 20 23 optional
ip access-list 101 25 permit tcp any any eq 23 established
Router-1(configure)# ?
Commands:-
---------------------------------------------------------------------------
terminal Terminal, use 'terminal help' for more info
no No, use 'no help' for more info
hostname Display or set the new host name
clear Clear, use 'clear help' for more info
configure Enter configure mode
tech Enter tech mode
show Show, use 'show help' for more info
set Set, use 'set help' for more info
copy Copy, use 'copy help' for more info
erase Erase, use 'erase help' for more info
event Event, use 'event help' for more info
ip Ip, use 'ip help' for more info
rmon2 Rmon2, use 'rmon2 help' for more info
access-group Activate specific policy list
access-list Create policy statement
validate-group Validate policy list
reset Reset to restart module
interface Create and/or enter interface configuration mode
(++ ip, no, enable, default-metric)
arp Add static ARP entry to arp cache
(++ timeout)
--type q to quit or space key to continue--
router Router, use 'router help' for more info
ping Ping utility
traceroute Trace route utility
session open a session to another module
Universal commands:-
help, ?, exit, retstatus, tree.
Router-1(configure)# access-group
TOO FEW PARAMETERS
access-group -- Activate specific policy list
Syntax : access-group[]
- integer (100..199)
- default-action-deny | default-action-permit
Example: access-group 101
Router-1(configure)#
Router-1(configure)# ?
Commands:-
---------------------------------------------------------------------------
terminal Terminal, use 'terminal help' for more info
no No, use 'no help' for more info
hostname Display or set the new host name
clear Clear, use 'clear help' for more info
configure Enter configure mode
tech Enter tech mode
show Show, use 'show help' for more info
set Set, use 'set help' for more info
copy Copy, use 'copy help' for more info
erase Erase, use 'erase help' for more info
event Event, use 'event help' for more info
ip Ip, use 'ip help' for more info
rmon2 Rmon2, use 'rmon2 help' for more info
access-group Activate specific policy list
access-list Create policy statement
validate-group Validate policy list
reset Reset to restart module
interface Create and/or enter interface configuration mode
(++ ip, no, enable, default-metric)
arp Add static ARP entry to arp cache
(++ timeout)
--type q to quit or space key to continue--
router Router, use 'router help' for more info
ping Ping utility
traceroute Trace route utility
session open a session to another module
Universal commands:-
help, ?, exit, retstatus, tree.
Router-1(configure)# traceroute ?
Traceroute commands:
---------------------------------------------------------------------------
Syntax : traceroute
- IP address
Example: traceroute 149.49.50.13
Router-1(configure)# rmon2 ?
Rmon2 commands:
---------------------------------------------------------------------------
rmon2 protocol-dist Activate rmon2 Protocol Distribution
rmon2 host Activate rmon2 host
rmon2 matrix Activate rmon2 matrix appl
(++ auto-learn)
rmon2 subnet Activate rmon2 subnet appl
rmon2 auto-learn Activate auto-learn mode
rmon2 filter Add an entry to rmon's filter list
rmon2 protocol-dir Add protocol to ProtocolDir
Router-1(configure)# exit
Router-1# session 1 switch
blue-1# ?
Commands:-
---------------------------------------------------------------------------
session open a session to another module
terminal Terminal, use 'terminal help' for more info
no No, use 'no help' for more info
hostname Display or set the new host name
clear Clear, use 'clear help' for more info
set Set, use 'set help' for more info
show Show, use 'show help' for more info
sync Sync, use 'sync help' for more info
get Get, use 'get help' for more info
reset Reset to restart the system or a module
nvram Nvram, use 'nvram help' for more info
configure Enter configure mode
tech Enter tech mode
ping Use the ping command to send ICMP echo request packets
to another node on the network.
download
rmon Rmon, use 'rmon help' for more info
dir Show files in the system
copy Copy, use 'copy help' for more info
event Event, use 'event help' for more info
--type q to quit or space key to continue--
Universal commands:-
help, ?, exit, retstatus, tree.
blue-1# set port ?
Set port commands:
---------------------------------------------------------------------------
set port level Set Port level (port priority).
set port negotiation Set Port negotiation.
set port speed Set Port speed.
set port duplex Set Port duplex.
set port name Set Port Name.
set port trap Set Port trap.
set port enable Set port enable.
set port disable Set port disable.
set port classification Set port classification.
set port vlan Set port vlan.
set port spantree Set port spantree, use 'set port spantree hel
p' for more info
set port channel Set Port channel.
set port security Set port security.
set port redundancy Set port redundancy - insert/remove a port r
edundancy entry
(++ disable, enable)
set port vlan-binding-mode Set Port vlan-binding-mode.
set port static-vlan Set Port static vlan binding table
set port mirror set a port mirroring source-destination pair
in the stack
--type q to quit or space key to continue--
set port self-loop-discovery
Set port self-loop-discovery,
Use 'set port self-loop-discovery help' for more info
blue-1# set port redundancy ?
Set port redundancy commands:
---------------------------------------------------------------------------
Usage: set port redundancy {mod_num/port_num} {mod_num/port_num} {on/off} [redun
dancy_name]
Example:
Console> set port redundancy 1/2 3/4 on server1
server1: Port 3/4 is redundant to port 1/2.
Console>
set port redundancy disable
Use the set port redundancy disable command to disable
all redundancy schemes
set port redundancy enable Use the set port redundancy enable
command to enable the defined redundancy schemes
blue-1# EmWeb accept: Error # 851972
EmWeb accept: Error # 851972
blue-1# EmWeb accept: Error # 851972
blue-1# set port redundancy 1/1 1/2 on blue
blue: Port 1/2 is redundant to port 1/1.
Please note that port redundancy is currently disabled
Use "set port redundancy on" to enable it
blue-1# clear port 1/1
Command not found, try: help clear port
blue-1# clear ?
Clear commands:
---------------------------------------------------------------------------
clear screen Use in order to clear the screen
clear timezone Clear the timezone to its default,UTC
clear ip Clear ip, use 'clear ip help' for more info
clear snmp Clear snmp, use 'clear snmp help' for more info
clear secure Clear secure, use 'clear secure help' for more i
nfo
clear cam Clear CAM.
clear log clear log.
clear vlan Clear vlan.
clear port Clear port, use 'clear port help' for more info
blue-1# clear port ?
Clear port commands:
---------------------------------------------------------------------------
clear port static-vlan Clear Port static vlan binding table
clear port mirror delete a port mirror entry
blue-1#
Run from bank B
Attaching network interface lo0... done.
--- Delete NVM ---
InBand interface has no IP address. Default address 149.49.32.134 is used.
Welcome to Cajun P330
SW version 3.2.8
Login: root
Password:
Password accepted.
Cajun_P330-1(super)# session router
No such device, please check your configuration
Cajun_P330-1(super)# session 1 router
No such device, please check your configuration
Cajun_P330-1(super)# ?
Commands:-
---------------------------------------------------------------------------
session open a session to another module
terminal Terminal, use 'terminal help' for more info
no No, use 'no help' for more info
hostname Display or set the new host name
clear Clear, use 'clear help' for more info
username Use to add or change a user account
set Set, use 'set help' for more info
show Show, use 'show help' for more info
sync Sync, use 'sync help' for more info
get Get, use 'get help' for more info
reset Reset to restart the system or a module
nvram Nvram, use 'nvram help' for more info
configure Enter configure mode
tech Enter tech mode
ping Use the ping command to send ICMP echo request packets
to another node on the network.
download
rmon Rmon, use 'rmon help' for more info
dir Show files in the system
copy Copy, use 'copy help' for more info
--type q to quit or space key to continue--
Universal commands:-
help, ?, exit, retstatus, tree.
Cajun_P330-1(super)# session ?
Session commands:
---------------------------------------------------------------------------
Usage: session {module_number} {switch | router | atm }
Cajun_P330-1(super)# session router
No such device, please check your configuration
Cajun_P330-1(super)#
console>
Cajun_P330-1(super)# show interface
Interface Name VLAN IP address Netmask
-------------- ---- --------------- ---------------
inband 1 149.49.32.134 255.255.255.0
ppp disabled 1 0.0.0.0 0.0.0.0
Cajun_P330-1(super)# set interface inband 1 192.168.0.134 255.255.255.0
Interface inband IP address set.
You must reset the device in order for the change to take effect.
Cajun_P330-1(super)# reset
This command will force a switch-over to the master module
and disconnect your telnet session
*** Reset *** - do you want to continue (Y/N)? y
Connection closed by foreign host.
Cajun_P330-1(super)#
Run from bank B
Attaching network interface lo0... done.
Welcome to Cajun P330
SW version 3.2.8
Login: rrot
Password:
Password incorrect.
Login: root
Password:
Password accepted.
Cajun_P330-1(super)#
分享到: