51CTO技术论坛_中国领先的IT技术社区's Archiver

nhh814 发表于 2007-9-7 19:38

交换机与路由器的基本配置

[/b]
[/b]一.[/b]交换机的基本配置[/b]
C2950# [/b]
             config  terminal  [/b]进入全局配置模式[/b]
show  interface  fastethernet0/1  [/b]查看端口0/1[/b]的配置结果[/b]
             show  interface  fastethernet0/1  status  [/b]查看端口0/1[/b]的状态[/b]
show  mac-address-table  [/b]查看整个MAC[/b]地址表[/b]
             clear  mac-address-table  restricted  static  [/b]清除限定性地址[/b]
[/b]
C2950(config)# [/b]
hostname  2950A  [/b]设置主机名为2950A[/b]
interface  f0/23  [/b]进入端口23[/b]的配置模式[/b]
enable  password  cisco  [/b]设置enable password[/b]为cisco[/b]
enable  secret  cisco1  [/b]设置enable secret[/b]为cisco1[/b]
ip  address  192.168.1.1  255.255.255.0 [/b]设置交换机IP[/b]地址[/b]
ip  default-gateway  192.168.1.254  [/b]设置默认网关[/b]
ip  domain-name  cisco.com  [/b]设置域名[/b]
ip  name-server  200.0.0.1  [/b]设置域名服务器[/b]
mac-address-table  aging-time  100  [/b]设置超时是时间为100s[/b]
mac-address-table  permanent  0000.0c01.cc  f0/3 [/b]加入永久地址[/b]
mac-address-table  restricted  static  0000.0c02.bbcc  f0/6  f0/7 [/b]加入静态地址[/b]
C2950(config-if)#speed ? [/b]查看speed[/b]命令的子命令[/b]
speed  100  [/b]设置该端口速率为100Mb/s[/b]
dulplex  full/half/auto  [/b]设置该端口为全双工 [/b]
description  TO_PC1  [/b]设置该端口描述为TO_PC1[/b]
二.[/b]路由器的基本配置[/b]
interface  fastethernet0/1  [/b]进入接口F0/1[/b]子配置模式[/b]
interface  Ethernet0  [/b]进入以太网口0[/b]子配置模式[/b]
no  shutdown  [/b]激活接口[/b]
ip  address  192.168.1.2  255.255.255.0  [/b]设置接口的IP[/b]地址[/b]
show  running-config  [/b]检查配置结果[/b]
show  sessions   [/b]查看终端服务器的会话[/b]

xu2008 发表于 2007-9-8 21:24

good!!!!!!!!!!!!!

leoking_816 发表于 2007-9-10 22:57

虽然还不太懂。。慢慢看。。。

sync 发表于 2007-9-24 09:57

谢了

sync 发表于 2007-9-24 09:58

再顶

apollo520 发表于 2007-9-24 10:53

恩,不错,虽然这方面知识点我看过了一些,但在这还是又学到几条新的命令的了哈,呵呵,谢谢

yangpengjun1 发表于 2007-9-26 16:30

有点simple

jone33 发表于 2007-9-29 04:37

fghjgj

gfjgfj

jone33 发表于 2007-9-29 04:38

kjlkj

lkjlkjljkl

jone33 发表于 2007-9-29 04:38

hgjghj

hgjhgj

独钩寒江雪 发表于 2007-9-29 07:41

终于可以看懂不少了``呵

nanerfeng 发表于 2007-9-30 00:19

谢谢,好资料

superror 发表于 2007-10-20 19:03

谢谢

antiger 发表于 2007-10-30 09:34

好东西!!谢谢了

lifeng151115 发表于 2007-10-30 17:10

讲的可以不过太简单了哈哈

剑平江南 发表于 2007-11-27 20:26

☆▃▄▅▆▇☆◢█▅▅▅█◣☆☆
   ☆☆☆■☆☆☆☆☆☆◤☆☆☆☆☆
   ☆☆☆■☆☆☆█▅▅▅▅▅█
   ☆☆☆■☆☆☆█☆☆☆☆☆█☆☆
   ☆☆☆■☆☆☆█▅▅▅▅▅█☆☆
   ☆☆☆■☆☆☆█☆☆☆☆☆█☆☆
   ☆☆☆■☆☆☆█▅▅▅▅▅█☆☆
   ☆☆☆■☆☆☆█☆☆☆☆☆█☆☆
   ☆☆☆■☆☆☆█▅▅▅▅▅█☆☆
   ☆☆☆■☆☆☆☆█◤☆◥█☆☆☆
   ☆◥■◤☆☆☆☆◤☆☆☆◥☆☆☆

duchaofeng 发表于 2008-1-16 19:31

好东东哦
不错 ,很实用

e_show 发表于 2008-1-21 18:34

就这么简单?

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.