华为AC+AP旁挂AC隧道转发二层组网无线配置
 
配置
三层交换机
<L3>dis cur
#
sysname L3
#
undo info-center enable
#
vlan batch 100 to 101
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
dhcp enable
#
diffserv domain default
#
drop-profile default
#
ip pool ap----------------------------------------------------------------二层组网 管理地址池没有 option 43 指明源接口或源IP在哪里 可以是vlan if 也可以是 Loopback 也可以是IP地址 但都是本AC上存在的
 gateway-list 192.168.100.1
 network 192.168.100.0 mask 255.255.255.0
 excluded-ip-address 192.168.100.2 192.168.100.10
#
ip pool sta
 gateway-list 192.168.101.1
 network 192.168.101.0 mask 255.255.255.0
 excluded-ip-address 192.168.101.2 192.168.101.10
#
aaa
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default
 domain default_admin
 local-user admin password simple admin
 local-user admin service-type http
#
interface Vlanif1
#
interface Vlanif100
 ip address 192.168.100.1 255.255.255.0
 dhcp select global
#
interface Vlanif101
 ip address 192.168.101.1 255.255.255.0
 dhcp select global
#
interface MEth0/0/1
#
interface GigabitEthernet0/0/1              到AC用trunk方式  而三层组网中是用access+vlan id的方式
 port link-type trunk
 port trunk allow-pass vlan 100 to 101
#
interface GigabitEthernet0/0/2            到二层
 port link-type trunk
 port trunk allow-pass vlan 100 to 101
#
interface GigabitEthernet0/0/3
#
interface GigabitEthernet0/0/4
#
interface GigabitEthernet0/0/5
#
interface GigabitEthernet0/0/6
#
interface GigabitEthernet0/0/7
#
interface GigabitEthernet0/0/8
#
interface GigabitEthernet0/0/9
#
interface GigabitEthernet0/0/10
#
interface GigabitEthernet0/0/11
#
interface GigabitEthernet0/0/12
#
interface GigabitEthernet0/0/13
#
interface GigabitEthernet0/0/14
#
interface GigabitEthernet0/0/15
#
interface GigabitEthernet0/0/16
#
interface GigabitEthernet0/0/17
#
interface GigabitEthernet0/0/18
#
interface GigabitEthernet0/0/19
#
interface GigabitEthernet0/0/20
#
interface GigabitEthernet0/0/21
#
interface GigabitEthernet0/0/22
#
interface GigabitEthernet0/0/23
#
interface GigabitEthernet0/0/24
#
interface NULL0
#
interface LoopBack0                                         //测试通断
 ip address 2.2.2.2 255.255.255.255
#
user-interface con 0
user-interface vty 0 4
#
return
<L3>
二层交换机
<L2>dis cur
#
sysname L2
#
undo info-center enable
#
vlan batch 100 to 101                   //100是管理ap的vlan       101是业务vlan id
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
diffserv domain default
#
drop-profile default
#
aaa
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default
 domain default_admin
 local-user admin password simple admin
 local-user admin service-type http
#
interface Vlanif1
#
interface Vlanif101                                                          为t统一规则(同一IP段)的elnet
 ip address 192.168.101.3 255.255.255.0
#
interface MEth0/0/1
#
interface Ethernet0/0/1                                                    上联三层
 port link-type trunk
 port trunk allow-pass vlan 100 to 101
#
interface Ethernet0/0/2                                             联AP1------隧道属管理vlan100
 port link-type access
 port default vlan 100
#
interface Ethernet0/0/3                                          联AP2------同上
 port link-type access
 port default vlan 100
#
interface Ethernet0/0/4
#
interface Ethernet0/0/5
#
interface Ethernet0/0/6
#
interface Ethernet0/0/7
#
interface Ethernet0/0/8
#
interface Ethernet0/0/9
#
interface Ethernet0/0/10
#
interface Ethernet0/0/11
#
interface Ethernet0/0/12
#
interface Ethernet0/0/13
#
interface Ethernet0/0/14
#
interface Ethernet0/0/15
#
interface Ethernet0/0/16
#
interface Ethernet0/0/17
#
interface Ethernet0/0/18
#
interface Ethernet0/0/19
#
interface Ethernet0/0/20
#
interface Ethernet0/0/21
#
interface Ethernet0/0/22
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
user-interface con 0
user-interface vty 0 4
#
return
<L2>
AC
<AC6005>dis cur
#
 set memory-usage threshold 0
#
ssl renegotiation-rate 1 
#
vlan batch 100 to 101
#
authentication-profile name default_authen_profile
authentication-profile name dot1x_authen_profile
authentication-profile name mac_authen_profile
authentication-profile name portal_authen_profile
authentication-profile name macportal_authen_profile
#
diffserv domain default
#
radius-server template default
#
pki realm default
 rsa local-key-pair default
 enrollment self-signed
#
ike proposal default
 encryption-algorithm aes-256 
 dh group14 
 authentication-algorithm sha2-256 
 authentication-method pre-share
 integrity-algorithm hmac-sha2-256 
 prf hmac-sha2-256 
#
free-rule-template name default_free_rule
#
portal-access-profile name portal_access_profile
#
aaa
 authentication-scheme default
 authentication-scheme radius
  authentication-mode radius
 authorization-scheme default
 accounting-scheme default
 domain default
  authentication-scheme radius
  radius-server default
 domain default_admin
  authentication-scheme default
 local-user admin password irreversible-cipher $1a$L1GG*u9l@"$k7Ew.;!06J/)~(4\Uy
rJw:P&JwRziB\{wE:K"R~6$
 local-user admin privilege level 15
 local-user admin service-type http
#
interface Vlanif100
 ip address 192.168.100.2 255.255.255.0
#
interface Vlanif101
 ip address 192.168.101.2 255.255.255.0
#
interface GigabitEthernet0/0/1                        右联核心三层
 port link-type trunk
 port trunk allow-pass vlan 100 to 101
#
interface GigabitEthernet0/0/2
#
interface GigabitEthernet0/0/3
#
interface GigabitEthernet0/0/4
#
interface GigabitEthernet0/0/5
#
interface GigabitEthernet0/0/6
#
interface GigabitEthernet0/0/7
 undo negotiation auto
 duplex half
#
interface GigabitEthernet0/0/8
 undo negotiation auto
 duplex half
#
interface NULL0
#
 snmp-agent local-engineid 800007DB03000000000000
 snmp-agent 
#
ssh server secure-algorithms cipher aes256_ctr aes128_ctr
ssh server key-exchange dh_group14_sha1
ssh client secure-algorithms cipher aes256_ctr aes128_ctr
ssh client secure-algorithms hmac sha2_256
ssh client key-exchange dh_group14_sha1
#
capwap source interface vlanif100
#
user-interface con 0
 authentication-mode password
user-interface vty 0 4
 protocol inbound all
user-interface vty 16 20
 protocol inbound all
#
wlan
 traffic-profile name default
 security-profile name sec-1
  security open
 security-profile name default
 security-profile name default-wds
 security-profile name default-mesh
 ssid-profile name ssid-1
  ssid wifi001
 ssid-profile name default
 vap-profile name vap-1
  forward-mode tunnel
  service-vlan vlan-id 101
  ssid-profile ssid-1
  security-profile sec-1
 vap-profile name default
 wds-profile name default
 mesh-handover-profile name default
 mesh-profile name default
 regulatory-domain-profile name default
 air-scan-profile name default
 rrm-profile name default
 radio-2g-profile name default
 radio-5g-profile name default
 wids-spoof-profile name default
 wids-profile name default
 wireless-access-specification
 ap-system-profile name default
 port-link-profile name default
 wired-port-profile name default
 serial-profile name preset-enjoyor-toeap 
 ap auth-mode no-auth
 ap-group name default
  radio 0
   vap-profile vap-1 wlan 1
  radio 1
   vap-profile vap-1 wlan 2
 ap-id 0 type-id 35 ap-mac 00e0-fc8d-62c0 ap-sn 2102354483109A1FB00E
 ap-id 1 type-id 35 ap-mac 00e0-fcd8-2710 ap-sn 210235448310A805CE24
 provision-ap
#
dot1x-access-profile name dot1x_access_profile
#
mac-access-profile name mac_access_profile
#
return
<AC6005>
<AC6005>dis ap all
Info: This operation may take a few seconds. Please wait for a moment.done.
Total AP information:
nor  : normal          [2]
--------------------------------------------------------------------------------
-----------------------
ID   MAC            Name           Group   IP              Type            State
 STA Uptime
--------------------------------------------------------------------------------
-----------------------
0    00e0-fc8d-62c0 00e0-fc8d-62c0 default 192.168.100.254 AP5030DN        nor  
 1   21M:34S
1    00e0-fcd8-2710 00e0-fcd8-2710 default 192.168.100.253 AP5030DN        nor  
 0   21M:29S
--------------------------------------------------------------------------------
-----------------------
Total: 2
<AC6005>
AP1
<00e0-fc8d-62c0>dis ip interface brief 
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
(E): E-Trunk down
The number of interface that is UP in Physical is 2
The number of interface that is DOWN in Physical is 0
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 0
Interface                         IP Address/Mask      Physical   Protocol  
NULL0                             unassigned           up         up(s)     
Vlanif1                           192.168.100.254/24   up         up        
<00e0-fc8d-62c0>
AP2
Info: You are advised to change the password to ensure security.
<00e0-fcd8-2710>dis ip in br
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
(E): E-Trunk down
The number of interface that is UP in Physical is 2
The number of interface that is DOWN in Physical is 0
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 0
Interface                         IP Address/Mask      Physical   Protocol  
NULL0                             unassigned           up         up(s)     
Vlanif1                           192.168.100.253/24   up         up        
<00e0-fcd8-2710>
 
                     
                    
                 
                    
                
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号