用户模式下,输入system-view进入系统视图
在系统视图上输入命令undo info-center enable就可以关闭日志同步
display interface 查看接口当前运行状态和接口统计信息
display interface brief 查看接口状态和配置的简要信息。
display interface description 查看指定接口的描述信息
display interface vlanif 查看VLANIF接口的状态信息、配置信息和统计信息。
vlan batch 50
interface vlanif 50
ip address 192.168.50.1 255.255.255.0
exit
interface GigabitEthernet0/0/1
port link-type access
port default vlan 50
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan all
port trunk pvid vlan 10
display current-configuration
ip route-static 192.168.1.0 255.255.255.0 192.168.2.2
静态路由 前面ip表示目的网段,后面ip表示下一跳地址
接收192.168.1.0段的数据 传到192.168.2.2
acl 2000(编号)
rule permit source any
int g0/0/1
nat out 2000
dhcp enable
interface vlanif 100
dhcp select interface
dhcp server dns-list 192.168.1.11(配置dns)
AP获取地址后
display interface vlan 1
AP查看ip地址
display ip interface
复制mac地址
然后到AC上
wlan
ap-mac 00e0-fc29-2930
ap-name 1lou-001
AP加入成功
部分AC需要给AP回包
回到sys
capwap source intaerface vlanif 100(设备在vlan 100)
wlan
ssid-profile name office_profile
ssid office(WiFi名)
wlan
security-profile name office_security
security wpa-wpa2 psk pass-phrase 12345678 aes (设置WiFi密码和加密方式)
wlan
vap-profile name office
ssid office_profile
security-profile office_security
wlan
ap-group name office
vap-profile office wlan 1 radio all
ap-name 1lou-001
ap-group office
版权说明:如非注明,本站文章均为 扬州驻场服务-网络设备调试-监控维修-南京泽同信息科技有限公司 原创,转载请注明出处和附带本文链接。
请在这里放置你的在线分享代码