class resequence
Syntax
class {ip|ipv6|mac} resequence
描述
Resequence numbering in an IPv4, IPv6, or MAC class.
Command context
config
Parameters
-
{ip|ipv6|mac}
-
Specifies the class where you want to resequence class entries.
-
-
Specifies the sequence number to start resequencing from.
-
-
Specifies how much to increment the sequence numbers by.
权威
Administrators or local user group members with execution rights for this command.
Examples
Resequencing an IPv4 class:
switch(config)#class ip MY_IP_CLASS resequence 1 10switch(config)#do show classType Name Sequence Comment Action L3 Protocol Source IP Address Source L4 Port(s) Destination IP Address Destination L4 Port(s) Additional Parameters ------------------------------------------------------------------------------- IPv4 MY_IP_CLASS 1 match igmp any any 11 ignore udp any any 21 match tcp 192.168.0.1 192.168.0.2
重测序IPv6类:
switch(config)#class ipv6 MY_IPV6_CLASS resequence 1 1switch(config-class-ipv6)#exitswitch(config)#do show classType Name Sequence Comment Action L3 Protocol Source IP Address Source L4 Port(s) Destination IP Address Destination L4 Port(s) Additional Parameters ------------------------------------------------------------------------------- IPv6 MY_IPV6_CLASS 1 match any any 1020:: 2 ignore udp any any
Resequencing a MAC class:
switch(config)#class mac MY_MAC_CLASS resequence 1 1switch(config)#do show classType Name Sequence Comment Action EtherType Source MAC Address Destination MAC Address Additional Parameters ------------------------------------------------------------------------------- MAC MY_MAC_CLASS 1 match any any any 2 ignore arp any any