en
conf
hostname BJBJ-WLAN-SW-10682520-0002-RJRG/S3760E
vlan 1106
name ap_and_manager_vlan
exit
interface vlan 1106
ip address 10.255.133.99 255.255.255.240
no shutdown
exit
ip route 0.0.0.0 0.0.0.0 10.255.133.97
interface rang f 0/1-24
poe en
sw access vlan 1106
sw pro
no shutdown
exit
interface r GigabitEthernet 0/25-26
medium-type fiber
switchport mode trunk
switchport trunk allowed vlan remove 2-4094
switchport trunk allowed vlan add 1106
no shutdown
enable secret cmcc!@#99
username cmcc!@#99 password cmcc!@#99
snmp-server host 10.223.16.62 traps version 2c cmcc!@#99
snmp-server enable traps
snmp-server community cmcc!@#99 ro
service password-encryption
no enable service telnet-server
enable service ssh-server
ip ssh version 2
crypto key generate rsa
y
1024
snmp-server community cmcc!@#99 ro
line con 0
password cmcc!@#99
login
line vty 0 4
transport input ssh
session-timeout 5
login local
end
wr
转载于:https://blog.51cto.com/ios2015/1136568