interface vlan

interface vlan

带宽合同<名称>

BCMC优化

描述<字符串>

福音播放器

滤波器上的滤波器 - IPV6助手

ip

access-group in

地址{ |dhcp-client client-id|internal|pppoe}

助手地址<地址>

igmp {proxy {gigabitethernet | port-chanel }}|snooping

local-proxy-arp

nat {内部|外部}

OSPF

区域

身份验证消息利解

cost

dead-interval <1-65535>

hello-interval <1-65535>

message-digest-key <1 - 255>

优先<0-255>

重新介绍间隔<1-65535>

Transmit-delay <1-65535>

pppoe-max-segment-size

pppoe-password <密码>

pppoe-service-name

pppoe-username

pppoe-gateway-nat

路由

ipv6

地址{dhcp6-client | link-local | pd :: x:x:x:x:x:x:x:x | / eui-64}

dhcp {pdclient |server }

助手地址<地址>

mld {proxy {gigabitEthernet <插槽/模块/端口> | port-chanel }}} | snooping

nd

ra {dns | dns-sl |启用| hop-limit | interval | life time |托管config-flag | mtu |其他config-flag |{高|低|中} |前缀x:x:x:x :: x/x/<0-128>}

到达时间

重新启动时间

ipv6-relay-option

mtu <1280-1500>

多模式授予租赁时间<5-3600>

不 ...

Operstate

option-82 {ap-name essid} | {mac [essid]}

shutdown

抑制弧

Description

This command configures a VLAN interface. All ports on the托管设备默认情况下分配给VLAN 1。

范围

Description

vlan

VLAN ID number.

Range:1-4094

带宽合同<名称>

Name of the bandwidth contract to be applied to this VLAN interface. When applied to a VLAN, the contract limits both broadcast and multicast traffic. Use theaaa bandwidth-contractcommand to configure a bandwidth contract.

BCMC优化

启用广播和多播流量优化,以防止VLAN上的广播和多播流量泛滥。如果在上行链路端口上启用了此功能,托管设备-generated Layer-2 packets will be dropped.

默认:禁用

描述

String that describes this interface.

默认:802.1q VLAN

福音播放器

在配置助手时,过滤器DHCP发现广播。

滤波器上的滤波器 - IPV6助手

配置助手时,过滤DHCPV6客户端多播数据包。

ip

为此接口配置IPv4。

access-group in

Assigns an access list to inbound traffic on the interface, where is the name of an access list.

路由ACL是可以在VLAN接口上配置的唯一支持的ACL类型。其他ACL类型不支持。

地址

Configures the IP address for this interface, which can be one of the following:

  • dhcp-client: use DHCP to obtain the IP address
  • internal: IP address allocated from the branch group config.
  • PPPOE:使用PPPOE获得IP地址

助手地址<地址>

IP address of the DHCP server for relaying DHCP requests for this interface. If the DHCP server is on the same subnetwork as this VLAN interface, you do not need to configure this parameter.

igmp

在此接口上启用IGMP代理或IGMP侦听。看interface vlan ip igmp

for complete details on this parameter.

local-proxy-arp

启用本地代理ARP。

nat {内部|外部}

启用源NAT,以适用于与此VLAN的所有流量。

警告:All ports on the托管设备默认情况下分配给VLAN 1。不要启用内部VLAN 1的选项,因为这将防止IPSEC连接托管设备及其IPSEC同行。

OSPF

定义OSPF区域。看接口VLAN IP OSPFfor complete details on this parameter.

pppoe-max-segment-site

在字节中配置TCP MSS。

Range:128

pppoe-password

Configures the PAP password on the PPPoE Access Concentrator for the switch.

Range:1-80

pppoe-service-name

配置PPPOE服务名称。

Range:1-80

pppoe-username

在开关的PPPOE访问浓度器上配置PAP用户名。

Range:1-80

pppoe-gateway-nat

使用子参数指定NAT IP地址而不是实际的PPPOE网关IP地址以配置默认路由。

路由

在VLAN接口上启用第3层转发。要禁用第3层转发,您必须配置接口的IP地址并指定no ip routing

默认:enabled

ipv6

Configures IPv6 for this interface.

地址

配置接口的IPv6地址。

  • dhcp6-client- DHCPV6用于获得IPv6地址。
  • link-local- The link local address
  • pd- PD客户端在上行链路上获得的前缀。
  • X:X:X:X::X/<0-128> - 用于配置此接口的全局单播地址的IPv6前缀/前缀长度。

dhcp

Configures DHCP for IPv6.

  • pdclient-DHCPV6前缀委托服务器的IPv6前缀。
  • server- 为VLAN配置DHCPV6池。

助手地址<地址>

IPv6 address of the DHCP server for relaying DHCP requests for this interface. If the DHCP server is on the same subnetwork as this VLAN interface, you do not need to configure this parameter.

MLD

Enables MLD on this interface.

代理人- Configures MLD proxy on the following interfaces.

  • FastEthernet
  • GigabitEthernet <插槽/模块/端口>
  • 港口通道

snooping- 在此接口上配置MLD侦听。

nd {ra |到达时间|重新启动时间}

Configures the IPv6 neighbor discovery options.

  • RA- 配置以下路由器广告选项:
    • dns- Configures IPv6 recursive DNS server
    • dns-sl- Configures IPv6 recursive DNS server search list
    • enable- 启用IPv6 RA
    • hop-limit- 配置RA Hop-limit
    • interval- Configures RA interval
    • 寿命- 配置RA寿命
    • 托管config-flag- Enables hosts to use DHCP server for stateful address autoconfiguration
    • mtu- 为RA配置MTU
    • other-config-flag- 使主机能够使用DHCP服务器进行其他非地址状态的自动配置
    • 偏爱- 配置高/低/介质的路由器偏好
    • 字首- 配置IPv6 RA前缀
  • 到达时间- 配置邻居发现到达时间。默认情况下,此字段设置为0。有效值-0-3,600,000毫秒。
  • retransmit-time- 配置邻居发现重新发送时间。默认情况下,此字段设置为0。有效值-0-3,600,000毫秒。

no

Negates any configured parameter.

ipv6-relay-option

将中继选项配置应用于需要从WLAN接口中继电器的DHCPV6数据包。

mtu

MTU setting for the VLAN.

Range:1024-1500

多模式作者

VLAN上的多模验证支持

Operstate

Set the state of the interface to be up.

option-82 {ap-name [essid] |mac [essid]}

Allows a DHCP relay agent to insert circuit specific information into a request that is being forwarded to a DHCP server.

托管设备, when acting as a DHCP relay agent, needs to be able to insert information about the AP and SSID through which a client is connecting into the DHCP request.

Many service providers use this mechanism to make access control decisions. You can include:

  • AP名称或AP名称和essid。
  • MAC address or MAC address and ESSID.

shutdown

导致界面的严重关闭。

抑制弧

Prevents flooding of ARP broadcasts on all the untrusted interfaces.

Example

以下示例配置了VLAN接口:

(主机)[myNode](config)#interface VLAN 16

(主机)[myNode](config-submode)#ip地址10.26.1.1 255.255.255.0

(host) [mynode] (config-submode) #ip helper-address 10.4.1.22

这following example displays the use of extended scope of address range:

(host)[mynode](config) #interface vlan 214

(主机)[mynode] (config-submode) # 201年ipv6地址4::2/64

(host) [mynode] (config-submode) #ipv6 nd reachable-time 1000

(host) [mynode] (config-submode) #ipv6 nd retransmit-time 1000

(host) [mynode] (config-submode) #ipv6 nd ra enable

(主机)[myNode](config-submode)#ipv6 nd ra首选项高

(host) [mynode] (config-submode) #ipv6 nd ra prefix 2014::/64

(主机)[myNode](config-submode)#erstate up

(host) [mynode] (config-submode) #ipv6 mld snooping

以下示例在VLAN接口上配置DNS-SL:

(主机)[MD](config)#interface VLAN 1

(host) [md] (config-submode)#ipv6 nd ra dns-sl abcdefghijklmnopqrstuvwxyz123456

相关命令

命令

Description

ip access-list route

This command configures an ACL for PBR.

IP NexThop列表

使用此命令为路由策略定义下一跳列表。

interface gigabitethernet

此命令配置了GigabitEthernet接口,并将端口分配给配置的VLAN。

显示接口VLAN

此命令显示有关指定VLAN接口的信息。

显示用户

此命令以AP组,身份验证方法,角色等方面显示有关用户的详细信息

命令History

Release

Modification

ArubaOS8.8.0.0

ipv6-relay-optionparameter was added.

ArubaOS8.7.0.0

dns-slsub-parameter was added.

ArubaOS8.4.0.0

pppoe-gateway-nat sub-parameter was added.

ArubaOS8.2.0.0

Updated the new syntax asaccess-group in

引入了以下子参数:

  • 福音播放器
  • 滤波器上的滤波器 - IPV6助手
  • IPv6

ArubaOS8.0.0.0

介绍了命令。

命令信息

Platforms

License

命令Mode

All platforms

基础操作系统。

配置模式开Mobility Conductor