Creating And Changing A Protocol Port Object Group - Cisco Nexus 9000 Series Configuration Manual

Nx-os security configuration guide, release 9.x
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring IP ACLs
Command or Action
Step 6
(Optional) copy running-config startup-config
Example:
switch(config-ipv6addr-ogroup)# copy running-config
startup-config

Creating and Changing a Protocol Port Object Group

You can create and change a protocol port object group.
SUMMARY STEPS
1. configure terminal
2. object-group ip port name
3. [sequence-number] operator port-number [port-number]
4. no {sequence-number | operator port-number [port-number]}
5. (Optional) show object-group name
6. (Optional) copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
object-group ip port name
Example:
switch(config)# object-group ip port
NYC-datacenter-ports
switch(config-port-ogroup)#
Step 3
[sequence-number] operator port-number [port-number]
Example:
switch(config-port-ogroup)# eq 80
Purpose
Copies the running configuration to the startup
configuration.
Purpose
Enters global configuration mode.
Creates the protocol port object group and enters port
object-group configuration mode.
Creates an entry in the object group. For each entry that
you want to create, use one of the following operator
commands:
• eq—Matches only the port number that you specify.
• gt—Matches port numbers that are greater than (and
not equal to) the port number that you specify.
• lt—Matches port numbers that are less than (and not
equal to) the port number that you specify.
• neq—Matches all port numbers except for the port
number that you specify.
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
Creating and Changing a Protocol Port Object Group
277

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents