脚本所需改动1
- 格式:doc
- 大小:37.50 KB
- 文档页数:5
汇聚交换机
en
config t
hostname HECAZ-MS-WLAN-BGRHJY-SW001-MP no service login-secure
enable password maipu
user maipu password 0 maipu
vlan 3784
exit
vlan 3697
exit
port 0/0/0-0/0/23
port-type nni
port mode trunk
port trunk allowed vlan all
port trunk pvid vlan 1
exit
port 0/0/24-0/0/25
port-type nni
duplex full
speed 1000
port mode trunk
port trunk allowed vlan all
port trunk pvid vlan 1
exit
port 0/0/26-0/0/27
port-type nni
media-type fiber
duplex full
speed 1000
port mode trunk
port trunk allowed vlan all
port trunk pvid vlan 1
exit
interface vlan 3697
ip address 10.12.127.98 255.255.255.224
exit
ip route 0.0.0.0 0.0.0.0 10.12.127.97
line vty 0 4
login local
exit
wr
y
en
config t
HECAZ-MS-WLAN-GLXY-HB001-MP
enable password maipu
username maipu privilege 15 password 0 maipu
vlan 2013
exit
vlan 4000
exit
power inline enable
power inline legacy enable
Interface Ethernet0/0/1-24
switchport access vlan 2013
power inline enable
exit
interface Vlan 4000
ip address 10.12.3.66 255.255.255.224
ip default-gateway 10.12.3.65
Interface Ethernet0/0/28
switchport mode trunk
switchport trunk allowed vlan all
combo-forced-mode sfp-forced
speed-duplex force100-fx module-type auto-detected exit
telnet-server enable
exit
wr
en
conf t
vlan 3768(管理)
exit
vlan 3732(AP)
exit
hostname HECAZ-MS-WLAN-BGGJSMC-HB002-MP
username maipu privilege 15 password 0 maipu
interface range ethernet 0/0/1 to ethernet 0/0/24 switchport default vlan 3732
switchport mode access
exit
interface range ethernet 0/1/1 to ethernet 0/1/2
phy 100
switchport mode trunk
switchport trunk allowed vlan all
exit
ipaddress vlan 3768
ipaddress 10.12.125.196 255.255.255.224 10.12.125.193
exi
copy running-config startup-config
y
en
conf t
vlan 3768(管理)
exit
vlan 3732(AP)
exit
hostname HECAZ-MS-WLAN-BGGJSMC-HB002-MP
username maipu privilege 15 password 0 maipu
interface range ethernet 0/0/1 to ethernet 0/0/8 switchport default vlan 3732
switchport mode access
exit
interface range ethernet 0/1/1
phy 100
switchport mode trunk
switchport trunk allowed vlan all
exit
ipaddress vlan 3768
ipaddress 10.12.125.196 255.255.255.224 10.12.125.193
exi
copy running-config startup-config
y
No interface vlan 3697
No ip route 0.0.0.0 0.0.0.0 10.12.127.97 No vlan 3784
exit
no vlan 3697
exit。