首页 > 学院 > 网络通信 > 正文

6506配置实例

2019-11-04 23:51:20
字体:
来源:转载
供稿:网友

  This command shows non-default configurations only.
  Use 'show config all' to show both default and non-default configurations.
  
  begin
  !
  # ***** NON-DEFAULT CONFIGURATION *****
  !
  !
  #time: Fri Jun 28 2002, 10:53:32
  !
  #version 6.3(1a)
  !
  set enablepass $2$NR5.$AOW419BA/uWKws9hybQyw1
  --More--!
  #system
  set system name xxxxxxx
  !
  #!
  #vtp
  set vtp domain xxxx
  set vlan 1 name default type ethernet mtu 1500 said 100001 state active
  set vlan 3 name servers type ethernet mtu 1500 said 100002 state active
  set vlan 4 name pix type ethernet mtu 1500 said 100003 state active
  set vlan 1002 name fddi-default type fddi mtu 1500 said 101002 state active
  set vlan 1004 name fddinet-default type fddinet mtu 1500 said 101004 state active stp ieee
  set vlan 1005 name trnet-default type trbrf mtu 1500 said 101005 state active stp ibm
  set vlan 2
  set vlan 4
  set vlan 1003 name token-ring-default type trcrf mtu 1500 said 101003 state active mode srb aremaxhop 0 stemaxhop 0 backupcrf off
  !
  #ip
  set interface sc0 2 10.0.0.249/255.255.255.0 10.255.255.255
  !
  #set boot command
  --More--        set boot config-register 0x102
  set boot system Flash bootflash:cat6000-sup2.6-3-1a.bin
  !
  #port channel
  set port channel 1/1-2 1
  set port channel 2/1-2 2
  !
  # default port status is enable
  !
  !
  #module 1 : 2-port 1000BaseX Supervisor
  set vlan 4 1/1-2
  set port channel 1/1-2 mode on
  !
  #module 2 : 2-port 1000BaseX Supervisor
  set vlan 4 2/1-2
  set port channel 2/1-2 mode on
  !
  #module 3 empty
  !
  #module 4 : 16-port 1000BaseX Ethernet
  set vlan 3 4/1-16
  --More--        set spantree portfast 4/1-16 enable
  !
  #module 5 : 48-port 10/100BaseTX Ethernet
  set vlan 3 5/1-47
  set vlan 4 5/1-47
  set spantree portfast 5/1-48 enable
  !
  #module 6 empty
  !
  #module 15 : 1-port Multilayer Switch Feature Card
  !
  #module 16 : 1-port Multilayer Switch Feature Card
  end
  cqyb6506_01> (enable) sess 15
  
  Trying Router-15...
  Connected to Router-15.
  Escape character is '^]'.
  
  
  User access Verification
  
  
  PassWord:
  
  6506_01msfc01>en
  
  Password:
  
  6506_01msfc01#sh run
  
  Building configuration...
  
  
  Current configuration : 900 bytes
  
  !
  
  version 12.1
  
  service timestamps debug uptime
  
  service timestamps log uptime
  
  no service password-encryption
  
  !
  
  hostname 6506_01msfc01
  
  !
  
  boot system flash bootflash:c6msfc2-jsv-mz.121-8b.E9.bin
  
  enable secret 5 $1$kRjo$w.6hyN62E5uAcHcLUNsVo.
  
  !
  
  ip subnet-zero
  
  !
  
  !
  
  no ip domain-lookup
  
  !
  
  !
  
  !
  
  !
  
  interface Loopback0
  
  ip address 10.0.0.248 255.255.255.0
  
  --More--  !
  
  interface vlan2
  ip unnumbered loopback0
  !
  interface Vlan3
  
  des cription connect to server and pc
  
  ip address 10.0.2.253 255.255.255.128
  
  no ip redirects
  
  standby 1 PRiority 105 preempt
  
  standby 1 ip 10.0.2.254
  
  !
  
  interface Vlan4
  
  des cription connect to pix01
  
  ip address 10.0.1.35 255.255.255.240
  standby 2 ip 10.0.1.39
  standby 2 priority 105
  standby 2 preempt
  
  !
  
  interface Vlan5
  
  des cription connect to 6506-02
  
  ip address 10.0.1.129 255.255.255.248
  standby 3 ip 10.0.1.133
  standby 3 priority 105
  standby 3 preempt
  
  !
  
  ip classless
  
  ip route 0.0.0.0 0.0.0.0 10.0.1.33
  
  no ip http server
  
  !
  
  !
  
  !
  
  --More--
  line con 0
  
  line vty 0 4
  
  password cisco
  
  login
  
  transport input lat pad mop telnet rlogin udptn nasi
  
  !
  
  end
  
  
  6506_01msfc01#s exit
  
  cqyb6506_01> (enable) sess 16
  
  Trying Router-16...
  Connected to Router-16.
  Escape character is '^]'.
  
  
  User Access Verification
  
  
  Password:
  
  6506_01msfc02>en
  
  Password:
  
  6506_01msfc02#sh run
  
  Building configuration...
  
  
  Current configuration : 828 bytes
  
  !
  
  version 12.1
  
  service timestamps debug uptime
  
  service timestamps log uptime
  
  no service password-encryption
  
  !
  
  hostname 6506_01msfc02
  
  !
  
  boot system flash bootflash:c6msfc2-jsv-mz.121-8b.E9.bin
  
  enable secret 5 $1$9G5W$wJmLs85pb3IxFVMKEhE16.
  
  !
  
  ip subnet-zero
  
  !
  
  !
  
  no ip domain-lookup
  
  !
  
  !
  
  !
  
  !
  
  interface Loopback0
  
  ip address 10.0.0.247 255.255.255.255
  
  --More-- !
  
  interface vlan2
  ip unnumbered loopback0
  !
  interface Vlan3
  
  des cription connect to server and pc
  
  ip address 10.0.2.251 255.255.255.128
  standby 1 ip 10.0.2.254
  standby 1 priority 105
  standby 1 preempt
  
  !
  
  interface Vlan4
  
  des cription connect to pix01
  
  ip address 10.0.1.37 255.255.255.240
  standby 2 ip 10.0.1.39
  standby 2 priority 105
  standby 2 preempt
  
  !
  
  interface Vlan5
  
  des cription connect to 6506-02
  
  ip address 10.0.1.131 255.255.255.248
  standby 3 ip 10.0.1.133
  standby 3 priority 105
  standby 3 preempt
  
  !
  
  ip classless
  
  ip route 0.0.0.0 0.0.0.0 10.0.1.33
  
  no ip http server
  
  !
  
  !
  
  !
  
  line con 0
  
  line vty 0 4
  
  password cisco
  
  --More--
  login
  
  transport input lat pad mop telnet rlogin udptn nasi
  
  !
  
  end


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表