h3c msr830路由器+三层交换机可以实现三个网段同上网?
(0)
最佳答案
# ndp enable # ntdp enable # cluster enable # port-security enable # password-recovery enable # vlan 1 # vlan 80 # domain system access-limit disable state active idle-cut disable self-service-url disable # dhcp server ip-pool vlan1 extended network ip range 192.168.1.2 192.168.1.254 network mask 255.255.255.0 gateway-list 192.168.1.1 dns-list 192.168.1.1 # user-group system group-attribute allow-guest # local-user admin password cipher $c$3$40gC1cxf/wIJNa1ufFPJsjKAof+QP5aV authorization-attribute level 3 service-type telnet service-type web # cwmp undo cwmp enable # interface Cellular0/0 async mode protocol link-protocol ppp tcp mss 1024 # interface NULL0 # interface Vlan-interface1 ip address 192.168.1.1 255.255.255.0 tcp mss 1024 dhcp server apply ip-pool vlan1 nat outbound # interface Vlan-interface80 ip address 10.10.10.1 255.255.255.248 tcp mss 1024 nat outbound dns server 192.168.1.1 # interface GigabitEthernet0/0 port link-mode route nat outbound ip address 192.168.105.99 255.255.255.0 tcp mss 1024 dns server 218.74.122.66 dns server 218.74.122.75 # interface GigabitEthernet0/4 port link-mode route tcp mss 1024 # interface GigabitEthernet0/1 port link-mode bridge port access vlan 80 # interface GigabitEthernet0/2 port link-mode bridge # interface GigabitEthernet0/3 port link-mode bridge # ip route-static 0.0.0.0 0.0.0.0 GigabitEthernet0/0 192.168.105.1 ip route-static 192.168.81.0 255.255.255.0 192.168.1.2 ip route-static 192.168.82.0 255.255.255.0 192.168.1.2 ip route-static 192.168.83.0 255.255.255.0 192.168.1.2 # dhcp enable # nms primary monitor-interface GigabitEthernet0/0 # load xml-configuration # load tr069-configuration # user-interface con 0 user-interface tty 13 user-interface vty 0 4 authentication-mode scheme # 交换机 version 7.1.070, Release 6126P20 # sysname qtgwyczx2 # telnet server enable # irf mac-address persistent timer irf auto-update enable undo irf link-delay irf member 1 priority 1 # dhcp enable # lldp global enable # password-recovery enable # vlan 1 # vlan 66 description To zx # vlan 80 description guangli # vlan 81 description zx-net # vlan 82 description zx-wlan # vlan 83 description zx-jiankong # stp global enable # dhcp server ip-pool vlan81 gateway-list 192.168.81.1 network 192.168.81.0 mask 255.255.255.0 dns-list 218.74.122.66 218.74.122.75 # dhcp server ip-pool vlan82 gateway-list 192.168.82.1 network 192.168.82.0 mask 255.255.255.0 dns-list 218.74.122.66 218.74.122.75 # dhcp server ip-pool vlan83 gateway-list 192.168.83.1 network 192.168.83.0 mask 255.255.255.0 dns-list 218.74.122.66 218.74.122.75 # interface NULL0 # interface Vlan-interface80 ip address 192.168.1.2 255.255.255.0 # interface Vlan-interface81 description zx-net ip address 192.168.81.1 255.255.255.0 # interface Vlan-interface82 description zx-wlan ip address 192.168.82.1 255.255.255.0 # interface Vlan-interface83 description zx-jiankong ip address 192.168.83.1 255.255.255.0 # interface GigabitEthernet1/0/1 port access vlan 81 # interface GigabitEthernet1/0/2 port access vlan 81 # interface GigabitEthernet1/0/3 port access vlan 81 # interface GigabitEthernet1/0/4 port access vlan 81 # interface GigabitEthernet1/0/5 port access vlan 81 # interface GigabitEthernet1/0/6 port access vlan 81 # interface GigabitEthernet1/0/7 port access vlan 81 # interface GigabitEthernet1/0/8 port access vlan 81 # interface GigabitEthernet1/0/9 port access vlan 81 # interface GigabitEthernet1/0/10 port access vlan 81 # interface GigabitEthernet1/0/11 port access vlan 81 # interface GigabitEthernet1/0/12 port access vlan 81 # interface GigabitEthernet1/0/13 port access vlan 81 # interface GigabitEthernet1/0/14 port access vlan 81 # interface GigabitEthernet1/0/15 port access vlan 81 # interface GigabitEthernet1/0/16 port access vlan 81 # interface GigabitEthernet1/0/17 port access vlan 82 # interface GigabitEthernet1/0/18 port access vlan 82 # interface GigabitEthernet1/0/19 port access vlan 82 # interface GigabitEthernet1/0/20 port access vlan 82 # interface GigabitEthernet1/0/21 port access vlan 83 # interface GigabitEthernet1/0/22 port access vlan 83 # interface GigabitEthernet1/0/23 port access vlan 83 # interface GigabitEthernet1/0/24 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 66 80 to 83 # interface GigabitEthernet1/0/25 # interface GigabitEthernet1/0/26 # interface GigabitEthernet1/0/27 # interface GigabitEthernet1/0/28 # scheduler logfile size 16 # line class aux user-role network-admin # line class vty user-role network-operator # line aux 0 user-role network-admin # line vty 0 63 user-role network-operator # ip route-static 0.0.0.0 0 192.168.1.1 # radius scheme system user-name-format without-domain # domain system # domain default enable system # role name level-0 description Predefined level-0 role # role name level-1 description Predefined level-1 role # role name level-2 description Predefined level-2 role # role name level-3 description Predefined level-3 role # role name level-4 description Predefined level-4 role # role name level-5 description Predefined level-5 role # role name level-6 description Predefined level-6 role # role name level-7 description Predefined level-7 role # role name level-8 description Predefined level-8 role # role name level-9 description Predefined level-9 role # role name level-10 description Predefined level-10 role # role name level-11 description Predefined level-11 role # role name level-12 description Predefined level-12 role # role name level-13 description Predefined level-13 role # role name level-14 description Predefined level-14 role # user-group system # local-user admin class manage service-type telnet terminal authorization-attribute user-role network-operator # 我配置了一下,上不了。不知道什么原因?
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论