发新话题
打印

Switch command list !

我使的是2924 HOST=2924
首先:INTO  
2924>
2924>en    (root)
password:******
2924#  (近来了)
2924# SHOW  RUN   (显示运行状态)

Building configuration...

Current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname 2924
!
enable secret 5 $1$l6hE$5ZsBC2uMOJrGQ7FUWZfyT0
!      (比 PASSWORD 更高级的密码 ,被shadow!)
!
!
!
!
ip subnet-zero
cluster enable cisco 0
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface VLAN1
ip address 10.1.1.254 255.255.0.0
no ip directed-broadcast
ip nat outside
!
ip default-gateway 10.1.1.253
ip nat inside source list 199 interface VLAN1 overload
access-list 199 dynamic Cluster-NAT permit ip any any
snmp-server engineID local 0022000902000004DDD66840
snmp-server community private RW
snmp-server community public RO
snmp-server community private@es0 RW
snmp-server community public@es0 RO
!
line con 0
exec-timeout 0 0
transport input none
stopbits 1
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
!
end
2924#conf term
2924#(config)#interface  e0/1
2924#(config-if)
!! Ip Address Config  !!
2924(config)# ip address   10.1.0.55   255.255.0.0
2924(config)# ip default-gateway   10.1.0.1
!! Duplex Options !!
2924(config)#interface  e0/1
2924(config)# duplex   auto/full/full-flow-contrl/half
     For  100M   default is  auto
     For   10M   default is  half

累死了回头在写!!      

TOP

呵呵,配SWITCH正是我需要学的,手头正好有个2912,能不能在后面讲讲配VLAN的一些东东。      
this message will self-destruct in 5 seconds......
我们的目标--------消灭蛀.....................零回复

TOP

在接口命令下输入:
switchport access vlan 1
!将该接口置于vlan 1 下。      
I m a fatboy.

TOP

发新话题