1.配置trunk
\*CE1\] interface gigabitethernet 0/1/5
\[\*CE1-GigabitEthernet0/1/5\] portswitch
\[\*CE1-GigabitEthernet0/1/5\] undo shutdown
\[\*CE1-GigabitEthernet0/1/5\] port link-type trunk
\[\*CE1-GigabitEthernet0/1/5\] port trunk allow-pass vlan 5 9
\[\*CE1-GigabitEthernet0/1/5\] quit
\[\*CE1\] commit
## 2.查看并过滤告警
\disp alarm active \| i i 0/2/0
Info: It will take a long time if the content you search is too much or the string you input is too long, you can press CTRL_C to break.
1:Critical 2:Major 3:Minor 4:Warning
--------------------------------------------------------------------------------
Sequence AlarmId Level Date Time Description
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
## 3.产品文档
[https://support.huawei.com/hedex/hdx.do?docid=EDOC1100409147\&id=ZH-CN_CONCEPT_0000001606177757](https://support.huawei.com/hedex/hdx.do?docid=EDOC1100409147&id=ZH-CN_CONCEPT_0000001606177757 "https://support.huawei.com/hedex/hdx.do?docid=EDOC1100409147&id=ZH-CN_CONCEPT_0000001606177757")