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

4000 6500交换引擎配置注解

2019-11-05 01:34:48
字体:
来源:转载
供稿:网友

  6506> (enable) show config
  This command shows non-default configurations only.
  Use 'show config all' to show both default and non-default config
  .........
  
  ................
  ................
  
  
  
  ..............
  
  ..
  
  begin
  !
  # ***** NON-DEFAULT CONFIGURATION *****
  !
  !
  #time: Thu Jan 4 2001, 08:27:22
  !
  #version 5.4(3) #软件版本
  !
  set passWord $2$lnsk$mgJ84scE.A51hPR0Zbdfv/ #加密后的telnet密码
  set enablepass $2$RFAC$BDgIVKdk3gl1RD4.DaNcu. #加密后的enable密码
  !
  #system
  set system name 6506 #系统名称
  !
  #!
  #vtp
  set vtp domain _domain # VTP域名
  set vtp passwd _password # VTP域密码
  set vlan 1 name default type ethernet mtu 1500 said 100001 state #建立VLAN
  set vlan 2 name vlan2 type ethernet mtu 1500 said 100002 state act
  set vlan 3 name valn3 type ethernet mtu 1500 said 100003 state acti
  
  set vlan 1002 name fddi-default type fddi mtu 1500 said 101002 st
  set vlan 1004 name fddinet-default type fddinet mtu 1500 said 101
  e stp ieee
  set vlan 1005 name trnet-default type trbrf mtu 1500 said 101005
  p ibm
  set vlan 1003 name token-ring-default type trcrf mtu 1500 said 10
  ve mode srb aremaxhop 7 stemaxhop 7 backupcrf off
  !
  #ip
  set interface sc0 1 10.1.1.253/255.255.255.0 10.1.1.255 #本交换机的IP地址
  
  set ip route 0.0.0.0/0.0.0.0 10.1.1.254 #默认网关
  set ip alias default 0.0.0.0 #设置ip对应的设备名,方便治理
  set ip alias 6506 10.1.1.253 #用途如:ping 2620, telnet 3548_2a
  set ip alias msfc 10.1.1.254
  set ip alias 4912 10.1.1.252
  set ip alias 2620 10.1.8.250
  ...
  !
  #set boot command
  set boot config-register 0x102 #启动寄存器值及启动文件
  set boot system Flash bootflash:cat6000-sup.5-4-3.bin
  !
  #mls
  set mls flow full #多层交换流类型
  !
  #security ACLs #访问列表
  clear security acl all
  #server
  set security acl ip server deny ip host 10.1.1.199 host 10.1.1.200
  #
  commit security acl all
  !
  # default port status is enable
  !
  !
  #module 1 : 2-port 1000BaseX Supervisor #治理引擎(含2口千兆模块)
  !
  #module 2 : 8-port 1000BaseX Ethernet #8口千兆交换模块
  set vlan 5 2/1 #指定端口2/1到vlan 5
  set port name 2/1 gg #设置端口名称
  set port name 2/2 cb
  set port name 2/3 server1
  set port name 2/4 server2
  set port name 2/5 3548_2a
  set udld enable 2/6-8 #未安装GBIC时激活检测
  set trunk 2/1 off dot1q 1-1005 #设置2/1为运行802.1Q协议的干道,答应vlan 1-1005通过
  set trunk 2/2 on dot1q 1-1005
  set trunk 2/3 on dot1q 1-1005
  set trunk 2/4 on dot1q 1-1005
  set trunk 2/5 nonegotiate isl 1-1005
  !
  #module 3 : 8-port 1000BaseX Ethernet #8口千兆交换模块
  set port name 3/4 3524_17a
  set port name 3/5 3548_9b
  set port name 3/6 3548_9a
  set port name 3/7 3548_f4a
  set port name 3/8 3548_12a
  set udld enable 3/1-3
  set trunk 3/1 on dot1q 1-1005
  set trunk 3/4 nonegotiate isl 1-1005 #设置3/4为运行isl协议的干道,答应vlan 1-1005通过
  set trunk 3/5 nonegotiate isl 1-1005
  set trunk 3/6 nonegotiate isl 1-1005
  set trunk 3/7 nonegotiate isl 1-1005
  set trunk 3/8 nonegotiate isl 1-1005
  !
  #module 4 empty
  !
  #module 5 empty
  !
  #module 6 empty
  !
  #module 15 : 1-port Multilayer Switch Feature Card
  set port name 15/1 msfc #路由、多层交换模块
  !
  #module 16 empty
  end


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