【多选题】
A [AC]dhcp server group AP
[AC-dhcp-server-group-AP]dhcp-server 172.21.1.2
[AC-dhcp-server-group-AP]quit
[AC]interface Vlanif 10
[AC-Vlanif10]dhcp select relay
[AC-Vlanif10]dhcp relay server-select AP
[AC-Vlanif10]quit
B [AR]ip pool AP
[AR-ip-pool-AP]network 172.21.1.0 mask 24
[AR-ip-pool-AP]gateway-list 172.21.1.2
[AR-ip-pool-AP]excluded-ip-address 172.21.1.1
[AR-ip-pool-AP]quit
[AR]interface GigabitEthernet 0/0/1
[AR-GigabitEthernet0/0/1]dhcp select global
[AR-GigabitEthernet0/0/1]quit
[AR]ip route-static 10.1.1.0 255.255.255.0 172.21.1.1
C [AC]dhcp server group AP
[AC-dhcp-server-group-AP]dhcp-server 10.1.1.2
[AC-dhcp server group-AP]quit
[AC]interface Vlanif 10
[AC-Vlanif10]dhcp select relay
[AC-Vlanif10]dhcp relay server-select AP
[AC-Vlanif10]quit
D [AR]ip pool AP
[AR-ip-pool-AP]network 10.1.1.0 mask 24
[AR-ip-pool-AP]gateway-list 10.1.1.2
[AR-ip-pool-AP]excluded-ip-address 10.1.1.1
[AR-ip-pool-AP]quit
[AR]interface GigabitEthernet 0/0/1
[AR-GigabitEthernet0/0/1]dhcp select global
[AR-GigabitEthernet0/0/1]quit
[AR]ip route-static 172.21.1.0 255.255.255.0 10.1.1.2
查看更多