分享
 
 
 

6509配置命令展示

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

Directory

I. CONNECTIVITY 2

II. 6509 CONFIGURATION 2

A. Administering the Switch 2

B. set the ip address and dns 4

C. set the default gateway 5

D. set the passWord 5

E. configure the port (Omit) 6

F. test the connectivity 7

G. Configuring an EtherChannel 7

H. Configuring VTP 7

I. Configuring VLANs 9

J. Configuring Ethernet VLAN Trunks 9

K. Checking Port Status and Connectivity 10

L. Check the flash or tFTP 11

M. Configuring IP Permit List 13

N. Configuring SNMP 14

I. Connectivity

GSR A GSR B 6509 A 6509 B

GSR A 6 6 6 6

GSR B Single ModePos2/3- Pos2/3 6 6 6

6509 A Multi Mode3/1- G4 6 6 6

6509 B 6 Multi Mode3/1- G4 Multi Mode1/1-1/1 6

II. 6509 configuration

A. Administering the Switch

Console enable

Console (enable)

Console (enable) set system name Shenyang Catalyst 6509 A ( B)

System name set.

Console (enable) set prompt SY_6509_A

Catalyst 6000 (enable) set system contact runway@public.BTa.net.cn

System contact set.

Catalyst 6000 (enable) set system location Shenyang Huanxiang Buliding, Liaoning, China

System location set.

Catalyst 6000 (enable) show system

PS1-Status PS2-Status Fan-Status Temp-Alarm Sys-Status Uptime d,h:m:s Logout

---------- ---------- ---------- ---------- ---------- -------------- ---------

ok none ok off ok 0,04:04:07 20 min

PS1-Type PS2-Type Modem Baud Traffic Peak Peak-Time

---------- ---------- ------- ----- ------- ---- -------------------------

other none disable 9600 0% 0% Tue Jun 23 1998, 16:51:36

System Name System Location System Contact

------------------------ ------------------------ ------------------------

Catalyst 6000 Sunnyvale CA sysadmin@corp.com

Catalyst 6000 (enable)

Console (enable) set time Mon 06/15/98 12:30:00

Mon Jun 15 1998, 12:30:00

Console (enable) show time

Mon Jun 15 1998, 12:30:02

Console (enable)

Console (enable) set banner motd #

Welcome to the Liaoning Shenyang Catalyst 6509 A Switch!

#

MOTD banner set

Console (enable)

Console (enable) set ip alias gsra 202.110.59.163

Console (enable) set ip alias gsrb 202.110.59.164

Console (enable) set ip alias switcha 202.110.59.168

Console (enable) set ip alias switchb 202.110.59.169

IP alias added.

Console (enable) show ip alias

default 0.0.0.0

sparc 172.20.52.3

cat6509 172.20.52.71

B. set the ip address and dns

Console (enable) set interface sc0 202.110.59.168/28 (202.110.59.169/28 for 6509 B)

Interface sc0 IP address and netmask set.

Console (enable) set interface sc0 10

Interface sc0 vlan set.

Console (enable)

Console (enable) show interface

sl0: flags=51

slip 0.0.0.0 dest 0.0.0.0

sc0: flags=63

vlan 5 inet 172.20.52.124 netmask 255.255.255.248 broadcast 172.20.52.17

Console (enable)

Console (enable) set ip dns server 202.96.75.68 primary

added to DNS server table as primary server.

Console (enable) set ip dns server 202.96.64.68

added to DNS server table as backup server.

Console (enable) set ip dns domain sy.ln.cn

Default DNS domain name set to sy.ln.cn

Console (enable) set ip dns enable

DNS is enabled

Console (enable) show ip dns

DNS is currently enabled.

The default DNS domain name is: corp.com

DNS name server status

---------------------------------------- -------

dns_serv2

dns_serv1 primary

C. set the default gateway

Console (enable) set ip route default 202.110.59.163 primary

Route added.

Console (enable) set ip route default 202.110.59.164

Route added.

Console (enable) show ip route

Fragmentation Redirect Unreachable

------------- -------- -----------

enabled enabled enabled

The primary gateway: 10.1.1.1

Destination Gateway Flags Use Interface

----------------------- ----------------------- ------ ---------- ---------

default 10.1.1.20 G 0 sc0

default 10.1.1.10 G 0 sc0

default 10.1.1.1 UG 12 sc0

10.0.0.0 10.1.1.100 U 0 sc0

default default UH 0 sl0

D. set the password

Console (enable) set password

Enter old password:

Enter new password:

Retype new password:

Password changed.

Console (enable) set enablepass

Enter old password:

Enter new password:

Retype new password:

Password changed.

Console (enable)

E. configure the port (Omit)

Console (enable) set port name 1/1 Router Connection

Port 1/1 name set.

Console (enable) set port name 1/2 Server Link

Port 1/2 name set.

Console (enable) show port 1

Port Name Status Vlan Duplex Speed Type

----- ------------------ ---------- ---------- ------ ----- ------------

1/1 Router Connection connected trunk full 1000 1000BaseSX

1/2 Server Link connected trunk full 1000 1000BaseSX

Last-Time-Cleared

--------------------------

Wed Jun 16 1999, 16:25:57

Console (enable)

Console (enable) set port speed 2/1 auto

Port 2/1 speed set to auto-sensing mode.

Console (enable)

Console (enable) set port negotiation 2/1 disable

Port 2/1 negotiation enabled

Console (enable) show port negotiation 2/1

Port Link Negotiation

----- ----------------

2/1 enabled

Console (enable)

F. test the connectivity

Console (enable) ping somehost

somehost is alive

Console (enable) traceroute somehost

traceroute to somehost.company.com (10.1.2.3), 30 hops max, 40 byte packets

1 engineering-1.company.com (173.31.192.206) 2 ms 1 ms 1 ms

2 engineering-2.company.com (173.31.196.204) 2 ms 3 ms 2 ms

3 gateway_a.company.com (173.16.1.201) 6 ms 3 ms 3 ms

4 somehost.company.com (10.1.2.3) 3 ms * 2 ms

G. Configuring an EtherChannel

Console (enable) set port channel 2/2-8 desirable

Ports 2/2-8 left admin_group 1.

Ports 2/2-8 joined admin_group 2.

Console (enable)

H. Configuring VTP

Console (enable) set vtp domain Shenyang_Internet_Backbone

VTP domain Lab_Network modified

Console (enable) set vtp mode server set vtp mode client on other 6509

VTP domain Lab_Network modified

Console (enable) show vtp domain

Domain Name Domain Index VTP Version Local Mode Password

-------------------------------- ------------ ----------- ----------- ----------

Lab_Network 1

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有