Cisco交换机3548配置
Http://www.Egocbd.com 点击数: 更新时间:2010-2-4 11:47:47
panning-tree portfast
!
interface FastEthernet0/48
spanning-tree portfast
!
interface GigabitEthernet0/1
switchport mode trunk#设置G0/1为运行isl协议的干道,默认允许所有vlan通过
!
interface GigabitEthernet0/2
!
interface VLAN1
ip address 10.1.1.249 255.255.255.0#本交换机的IP地址
no ip directed-broadcast
no ip route-cache
!
ip default-gateway 10.1.1.254#默认网关
snmp-server engineID local 00000009020000036BC
!
line con 0
transport input none
stopbits 1
line vty 0 4
password _password#telnet密码
login
line vty 5 15
password _password#telnet密码
login
!
end
!
interface FastEthernet0/48
spanning-tree portfast
!
interface GigabitEthernet0/1
switchport mode trunk#设置G0/1为运行isl协议的干道,默认允许所有vlan通过
!
interface GigabitEthernet0/2
!
interface VLAN1
ip address 10.1.1.249 255.255.255.0#本交换机的IP地址
no ip directed-broadcast
no ip route-cache
!
ip default-gateway 10.1.1.254#默认网关
snmp-server engineID local 00000009020000036BC
!
line con 0
transport input none
stopbits 1
line vty 0 4
password _password#telnet密码
login
line vty 5 15
password _password#telnet密码
login
!
end
上一篇:Cata 3550的配置清单下一篇:常见远程交换机配置方式:Tel...