undo info-center enable
#
vlan batch 188 to 189 401 613
#
telnet server enable
telnet server-source all-interface
#
dhcp enable
#
acl number 2000
rule 5 permit source 192.168.189.0 0.0.0.255
#
ip pool a1
gateway-list 192.168.189.1
network 192.168.189.0 mask 255.255.255.0
dns-list 202.96.128.166 202.96.134.133
#
ip pool a2
network 192.168.188.0 mask 255.255.255.0
#
interface Vlanif188
ip address 192.168.188.1 255.255.255.0
dhcp select global
#
interface Vlanif189
ip address 192.168.189.1 255.255.255.0
dhcp select global
#
interface Vlanif401
ip address 172.16.6.203 255.255.255.128
#
interface Vlanif613
ip address 10.28.19.214 255.255.254.0
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 401
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 401 613
#
interface GigabitEthernet0/0/3
port link-type access
port default vlan 189
#
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 GigabitEthernet0/0/25
#
interface GigabitEthernet0/0/26
#
interface GigabitEthernet0/0/27
#
interface GigabitEthernet0/0/28
ip route-static 0.0.0.0 0.0.0.0 172.16.6.129
#
user-interface con 0
authentication-mode password
set authentication password
暂无评论