Celestica Documentation Portal

Find your product documents here

IPv4 Access-list create and delete

Creates a new IPv4 access-list (if not present) and enters into the config-ipv4-acl mode.

Syntaxip access-list <acl-name>
Command modeCONFIG
Parameters
  • acl-name – IPv4 access list name. Accepts a string with a maximum of 63 characters.
UsageUse no ip access-list <acl-name> to remove the access-list.
Supported Releases 1.0.0 or later
Click commandconfig acl add table [OPTIONS] <table_name> <table_type>
Options:
  • -d, --description TEXT

  • -p, --ports TEXT

  • -s, --stage [ingress|egress]

Example
sonic(config)# ip access-list ip_access_name
sonic(config-ipv4-acl)#

sonic# configure terminal
sonic(config)# no ip access-list ip_access_name