我正在嘗試找到將評論添加到我的訪問清單中的最佳方法。目前,我發現的唯一的行為是以下一種:
switch#conf t
switch(config)#ip access-list extended VLAN-TEST3
switch(config-ext-nacl)#remark first remark
switch(config-ext-nacl)#10 permit ip any any
switch(config-ext-nacl)#remark second remark
switch(config-ext-nacl)#20 deny ip any any
switch(config-ext-nacl)#remark third remark
sh ip access-list VLAN-TEST3
但是透過使用這個,我無法看到只有在執行 a 時才會出現的命令註釋sh run
(這對於查看 ACL 來說不是最實用的)。我也無法指定備註的行數,也無法修改/刪除它們。
最好的方法是什麼?我使用的是思科 3750