字号:    
凯创交换机XP8600配置实例
----------------------------------------------------------------------
XP-8600 System Software, Version E9.1.9.4
Copyright (c) 2004 Enterasys Networks
System started . 2008-05-01 01:31:22
----------------------------------------------------------------------
Password:

xp8600# system show ac
Running system configuration:
     !
     ! Last modified from Telnet (10.1.107.2) . 2008-10-28 01:29:01
     !
 1 : smarttrunk create st.2 protocol no-protocol
 2 : smarttrunk create st.4 protocol huntgroup
 3 : smarttrunk create st.3 protocol no-protocol
 4E: smarttrunk add ports gi.13.1-2 to st.2
     !
 5 : port set gi.14.4 auto-negotiation off
 6 : port set gi.14.2 auto-negotiation off
 7 : port set gi.14.3 auto-negotiation off
 8 : port disable et.6.3
     !
 9 : vlan make trunk-port gi.14.(1-4)
10 : vlan create v209 port-based id 4
11 : vlan create netdevice port-based id 2
12 : vlan create gsld port-based id 8
13 : vlan create caiwu port-based id 9
14 : vlan create server port-based id 10
15 : vlan create cw_old port-based id 3
16 : vlan add ports gi.14.4 to netdevice
17 : vlan add ports et.3.(5-6),gi.14.4,et.15.4 to server
18 : vlan add ports gi.14.4 to gsld
19 : vlan add ports gi.14.4 to caiwu
20 : vlan add ports et.2.(1-8),et.3.(1-4,7-8),gi.4.(1-4),et.5.(1-4,6-8),et.6.(1-8),et.7.(1-8),et.8.(1-8),et.9.(1-8),et.10.(1-8),gi.11.(1-4),et.12.(1-8),et.13.(1-8),gi.14.(1-4),et.15.(1-3,5-8) to v209
21 : vlan add ports et.5.5 to cw_old
     !
22 : interface create ip gsld address-netmask 10.1.209.78/28 vlan gsld up
23 : interface create ip caiwu address-netmask 10.1.209.94/28 vlan caiwu up
24 : interface create ip server address-netmask 10.1.209.126/27 vlan server up
25 : interface create ip netdevice address-netmask 10.1.209.62/28 vlan netdevice up
26 : interface create ip v209 address-netmask 10.1.209.251/25 vlan v209 up
27 : interface create ip cw_old address-netmask 10.1.209.2/30 vlan cw_old up
     !
28 : acl tomsn permit ip 10.1.209.128 207.46.0.0/16
     !
29 : ip add route 207.46.0.0/16 gateway 10.1.209.252
30 : ip add route 211.99.188.0/16 gateway 10.1.209.252
31 : ip add route 192.168.145.112/30 gateway 10.1.209.252
32 : ip add route 192.168.222.0/25 gateway 10.1.209.252
33 : ip add route 202.108.33.0/24 gateway 10.1.209.252
34 : ip add route 10.0.0.0/16 gateway 10.1.209.51
35 : ip add route default gateway 10.1.209.252
36 : ip add route 192.168.145.116/30 gateway 10.1.209.51
37 : ip add route 10.0.0.0/8 gateway 10.1.209.51
38 : ip add route 192.168.200.0/25 gateway 10.1.209.252
39 : ip add route 192.168.200.128 gateway 10.1.209.51
 
 
     !
44 : rip add interface all
45 : rip set interface all version 2
46 : rip start
47 : rip stop
     !
48 : system set hashed-password login PEoWVt 1fcdb6cef610b3cfeb0787e586c1d0a6
49 : system set hashed-password enable LFFqML ac96d38d10956083d7×××2e524cc726
50 : system set name xp8600
     !
51 : cli set command completion .
52 : cli set history size default
     !
53 : dhcp v209ip define parameters address-netmask 10.1.209.128/25 gateway 10.1.209.251 lease-time 7 dns-domain ghepc.net dns-server "10.1.106.222 202.106.0.20"
54 : dhcp gsld_ip define parameters address-netmask 10.1.209.64/28 gateway 10.1.209.78 lease-time 30 dns-domain ghepc.net dns-server "10.1.106.222 202.106.0.20"
55 : dhcp caiwu_ip define parameters address-netmask 10.1.209.80/28 gateway 10.1.209.94 lease-time 30 dns-domain ghepc.net dns-server "10.1.106.222 202.106.0.20"
56 : dhcp v209ip define pool 10.1.209.140-10.1.209.240
     !
57 : ssh-server set listen-port 4097
58 : ssh-server set protocol-version both
     !
59 : ssh-client set protocol-version-preference ssh1 ssh2
     !
60 : snmp set community read&write privilege read v1
     !
61 : arp add 10.1.105.84 mac-addr 00:00:f0:73:f6:a8
     !
62 : cdp set port-status port gi.11.3 status enable
     !
63 : arp add 10.1.210.206 mac-addr 00:10:5C:B7:4F:32
64 : arp add 10.1.209.72 mac-addr 00:1c:23:54:af:90
65 : arp add 172.1.1.1 mac-addr 00:09:6b:7c:42:0f
66 : arp add 10.1.209.50 mac-addr 00:01:6c:9b:58:9d
67 : arp add 12.1.1.1 mac-addr 00:1C:23:54:B1:88
68 : arp add 10.1.209.87 mac-addr 00:10:5C:B9:50:FB
     !
69 : rdisc start
xp8600#