更新 MacVlan.md

This commit is contained in:
cc
2025-03-03 15:35:21 +08:00
parent 6166f86ea4
commit f4639ad341

View File

@@ -1,4 +1,3 @@
``` js ``` js
//const response = data.toString(); //const response = data.toString();
// console.info(response); // console.info(response);
@@ -37,26 +36,26 @@
} }
``` ```
``` ``` shell
Protocol Address Age(min) Hardware Type Interface Protocol Address Age(min) Hardware Type Interface
Internet 10.80.1.1 -- 0069.2cb3.16a3 arpa VLAN 1 Internet 10.80.1.1 -- 0069.2cb3.16a3 arpa VLAN 1
Internet 10.80.1.20 0 11ea.c723.f0ef arpa VLAN 1 Internet 10.80.1.20 0 11ea.c723.f0ef arpa VLAN 1
端口信息 # 端口信息
port link-type hybrid port link-type hybrid
port hybrid vlan 1 untagged port hybrid vlan 1 untagged
mac-vlan enable mac-vlan enable
mac-vlan trigger enable mac-vlan trigger enable
MAC地址信息 # MAC地址信息
[H3C]dis mac-address [H3C]dis mac-address
MAC Address VLAN ID State Port/Nickname Aging MAC Address VLAN ID State Port/Nickname Aging
0000-0000-0447 1 Learned GE1/0/18 Y 0000-0000-0447 1 Learned GE1/0/18 Y
c617-f33c-71d4 1 Learned GE1/0/2 Y c617-f33c-71d4 1 Learned GE1/0/2 Y
MAC-VLAN信息 # MAC-VLAN信息
[H3C]dis mac-vlan all [H3C]dis mac-vlan all
The following MAC VLAN entries exist: The following MAC VLAN entries exist:
State: S - Static, D - Dynamic State: S - Static, D - Dynamic
@@ -67,7 +66,7 @@ c617-f33c-71d4 ffff-ffff-ffff 100 0 S
Total MAC VLAN entries count: 2 Total MAC VLAN entries count: 2
DHCP服务 # DHCP服务
[H3C-dhcp-pool-vlan100]dis this [H3C-dhcp-pool-vlan100]dis this
# #
dhcp server ip-pool vlan100 dhcp server ip-pool vlan100