华三交换机ipv6配置
时间: 2023-11-28 11:06:30 浏览: 141
H3C ipv6 以太网交换机配置手册
以下是华三交换机IPv6配置的示例:
1. 配置全局IPv6地址
```
[Quidway] ipv6 unicast-routing //启用IPv6路由功能
[Quidway] interface GigabitEthernet 0/0/1
[Quidway-GigabitEthernet0/0/1] ipv6 address 2001:db8:1::1/64 //配置接口IPv6地址
```
2. 配置IPv6静态路由
```
[Quidway] ipv6 route 2001:db8:2::/64 GigabitEthernet 0/0/2 //配置IPv6静态路由
```
3. 配置IPv6 ACL
```
[Quidway] ipv6 access-list 1000
[Quidway-ipv6-acl-adv-1000] rule permit ipv6 source 2001:db8:1::/64 //配置IPv6 ACL规则
```
4. 配置IPv6 QoS
```
[Quidway] qos ipv6 acl 1000 //将IPv6 ACL应用到QoS策略中
[Quidway] traffic classifier ipv6-classifier operator or
[Quidway-classifier-ipv6-classifier] if-match ipv6 source 2001:db8:1::/64 //配置IPv6分类器
[Quidway] traffic behavior ipv6-behavior
[Quidway-behavior-ipv6-behavior] remark 8021p 5 //配置IPv6行为
[Quidway] traffic policy ipv6-policy
[Quidway-policy-ipv6-policy] classifier ipv6-classifier behavior ipv6-behavior //将IPv6分类器和行为应用到策略中
[Quidway] interface GigabitEthernet 0/0/1
[Quidway-GigabitEthernet0/0/1] qos apply policy ipv6-policy inbound //将IPv6 QoS策略应用到接口上
```
以上是华三交换机IPv6配置的基本示例,具体配置根据实际需求可做出相应的调整。
阅读全文