VLAN binding Mac-add, Ip-add

Source: Internet
Author: User

VLAN binding Mac-add, Ip-add implementation only bound users to the Internet, or the gateway is not through, the effect of the network segment.

Configure templates

LSW1:
[Huawei]dis CU

sysname Huawei

VLAN Batch 2

Cluster enable
NTDP Enable
NDP enable

Drop Illegal-mac Alar

User-bind static ip-address 192.168.1.1 mac-address 5489-9891-49fd VLAN 1//Bind IP, Mac
User-bind static ip-address 192.168.2.1 mac-address 5489-98a2-570a VLAN 2

DiffServ domain Default

Drop-profile Default

VLAN 1//Turn on check function
ARP anti-attack check user-bind enable
VLAN 2
ARP anti-attack check user-bind enable

Aaa
Authentication-scheme Default
Authorization-scheme Default
Accounting-scheme Default
Domain default
Domain Default_admin
Local-user Admin Password Simple admin
Local-user Admin Service-type http

Interface VLANIF1
IP address 192.168.1.254 255.255.255.0

Interface Vlanif2
IP address 192.168.2.254 255.255.255.0

Interface METH0/0/1

Interface GIGABITETHERNET0/0/1
Port Link-type Trunk
Port Trunk Allow-pass VLAN 2 to 4094

Interface GIGABITETHERNET0/0/2

VLAN binding Mac-add, Ip-add

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.