<H3C> dis cu #
version 5.20, Feature 2209P01
#sysname H3C
# domain default enable system # telnet server enable
# vlan 1
# vlan 101 to 103
# radius scheme system server-type extended primary authentication 127.0.0.1 1645 primary accounting 127.0.0.1 1646 user-name-format without-domain # domain system access-limit disable state active idle-cut disable self-service-url disable
# dhcp server ip-pool vlan101 network 10.10.1.0 mask 255.255.255.0 gateway-list 10.10.1.254 dns-list 10.168.1.244 10.168.1.245
# dhcp server ip-pool vlan102 network 10.10.2.0 mask 255.255.255.0 gateway-list 10.10.2.254 dns-list 10.168.1.244 10.168.1.245
# dhcp server ip-pool vlan103 network 10.10.3.0 mask 255.255.255.0 gateway-list 10.10.3.254 dns-list 10.168.1.244 10.168.1.245
# user-group system
# local-user admin password simple lvcc authorization-attribute level 3 service-type telnet
# interface NULL0
# interface Vlan-interface1 ip address 192.168.1.1 255.255.255.0 undo dhcp select server global-pool
# interface Vlan-interface101 ip address 10.10.1.254 255.255.255.0 dhcp select server global-pool
# interface Vlan-interface102 ip address 10.10.2.254 255.255.255.0 dhcp select server global-pool
# interface Vlan-interface103 ip address 10.10.3.254 255.255.255.0 dhcp select server global-pool
# interface GigabitEthernet1/0/1 port link-type access port access vlan 101
# interface GigabitEthernet1/0/2 port link-type access port access vlan 102
# interface GigabitEthernet1/0/3 port link-type access port access vlan 103
# interface GigabitEthernet1/0/4
# interface GigabitEthernet1/0/5
# interface GigabitEthernet1/0/6 # interface GigabitEthernet1/0/7 # interface GigabitEthernet1/0/8 # interface GigabitEthernet1/0/9 # interface GigabitEthernet1/0/10 # interface GigabitEthernet1/0/11 # interface GigabitEthernet1/0/12 # interface GigabitEthernet1/0/13 # interface GigabitEthernet1/0/14 # interface GigabitEthernet1/0/15 # interface GigabitEthernet1/0/16 # interface GigabitEthernet1/0/17 # interface GigabitEthernet1/0/18 # interface GigabitEthernet1/0/19 # interface GigabitEthernet1/0/20 # interface GigabitEthernet1/0/21 # interface GigabitEthernet1/0/22 # interface GigabitEthernet1/0/23 # interface GigabitEthernet1/0/24 # interface GigabitEthernet1/0/25 # interface GigabitEthernet1/0/26 # interface GigabitEthernet1/0/27 # interface GigabitEthernet1/0/28 # interface GigabitEthernet1/0/29 # interface GigabitEthernet1/0/30 # interface GigabitEthernet1/0/31 # interface GigabitEthernet1/0/32 # interface GigabitEthernet1/0/33 # interface GigabitEthernet1/0/34 # interface GigabitEthernet1/0/35 # interface GigabitEthernet1/0/36 # interface GigabitEthernet1/0/37 # interface GigabitEthernet1/0/38 # interface GigabitEthernet1/0/39 # interface GigabitEthernet1/0/40 # interface GigabitEthernet1/0/41 # interface GigabitEthernet1/0/42 # interface GigabitEthernet1/0/43 # interface GigabitEthernet1/0/44 # interface GigabitEthernet1/0/45 # interface GigabitEthernet1/0/46 # interface GigabitEthernet1/0/47 # interface GigabitEthernet1/0/48 # interface GigabitEthernet1/0/49 shutdown # interface GigabitEthernet1/0/50 shutdown
# interface GigabitEthernet1/0/51 shutdown
# interface GigabitEthernet1/0/52 shutdown
# dhcp enable
# load xml-configuration
# user-interface aux 0 user-interface vty 0 4 user privilege level 3 set authentication password simple admin user-interface vty 5 15
# return
PC机自动获取IP就可以vlan互通,手动修改同网段IP(10.10.1.1改为10.10.1.2,掩码,网关不变),vlan不能互通
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
到网关通吗