Inserting remarks and related ACEs within an existing list
To insert an ACE with a remark within an ACL by specifying a sequence number:
Procedure
- Insert the numbered remark first
- Then, using the same sequence number, insert the ACE.
Switch(config-ipv6-acl)# 15 remark "PERMIT HTTP; STATION 23; SUBNET 1D"
Switch(config-ipv6-acl)# 15 permit tcp host 2001:db8:0:1d::23 eq 80 2001:db8:0:2f::/64
Switch(config-ipv6-acl)# show access config
. . .
ipv6 access-list "List-105"
10 permit tcp 2001:db8:0:1f::/64 eq 80 2001:db8:0:2f::/64
15 remark "PERMIT HTTP; STATION 23; SUBNET 1D"
15 permit tcp 2001:db8:0:1d::23/128 eq 80 2001:db8:0:2f::/64 1
20 deny tcp 2001:db8:0:1d::/64 eq 80 2001:db8:0:2f::/64
exit
1 The above two commands insert a remark with its corresponding ACE (same sequence number) between two previously configured ACEs.