Cisco Systems ASR 9000, A9K24X10GETR manual F I N A L D R A F T - C i s c o C o n f i d e n t i a l

Models: A9KMOD80TR A9K24X10GETR ASR 9000

1 142
Download 142 pages 58.88 Kb
Page 105
Image 105
The number ranges (within the angle brackets) are inclusive ranges.

Chapter 5 CLI Tips, Techniques, and Shortcuts

CLI Tips and Shortcuts

F I N A L D R A F T — C i s c o C o n f i d e n t i a l

Note

The number ranges (within the angle brackets) are inclusive ranges.

 

 

 

 

Step 2

Type the access list name list1, followed by a space and another question mark, to display the arguments

 

 

 

that apply to the keyword and brief explanations:

 

 

 

RP/0/RSP0/CPU0:router(config)# ipv4 access-list list1 ?

 

 

 

<1-2147483646> Sequence number for this entry

 

 

 

deny

Specifies packets to reject

 

 

 

permit

Specifies packets to forward

 

 

 

remark

Comment for access list

 

 

 

<cr>

 

 

 

 

RP/0/RSP0/CPU0:router(config)#ipv4 access-list list1

Step 3

Type the deny option and a question mark to see more command options:

 

 

 

RP/0/RSP0/CPU0:router(config)# ipv4 access-list list1 deny ?

 

 

 

<0-255>

An IPv4 Protocol Number

 

 

 

A.B.C.D

Source IP address or prefix

 

 

 

ahp

Authentication Header Protocol

 

 

 

any

Any source host

 

 

 

eigrp

Cisco's EIGRP Routing Protocol

 

 

 

esp

Encapsulation Security Payload

 

 

 

gre

Cisco's GRE Tunneling

 

 

 

host

A single source host

 

 

 

icmp

Internet Control Message Protocol

 

 

 

igmp

Internet Gateway Message Protocol

 

 

 

igrp

Cisco's IGRP Routing Protocol

 

 

 

ipinip

IP in IP tunneling

 

 

 

ipv4

Any IPv4 Protocol

 

 

 

nos

KA9Q NOS Compatible IP over IP Tunneling

 

 

 

ospf

OSPF Routing Protocol

 

 

 

pcp

Payload Compression Protocol

 

 

 

pim

Protocol Independent Multicast

 

 

 

sctp

Stream Control Transmission Protocol

 

 

 

tcp

Transport Control Protocol

 

 

 

udp

User Datagram Protocol

 

 

 

RP/0/RSP0/CPU0:router(config)#ipv4 access-list list1 deny

Step 4

Type an IP address, followed by a space and a question mark (?), to list additional options:

 

 

 

RP/0/RSP0/CPU0:router(config)# ipv4 access-list list1 deny 172.31.134.0 ?

 

 

 

A.B.C.D

Wildcard bits

 

 

 

log

Log matches against this entry

 

 

 

log-input

Log matches against this entry, including input interface

 

 

 

<cr>

 

 

 

 

RP/0/RSP0/CPU0:router(config)# ipv4 access-list list1 deny 172.31.134.0

 

 

 

The <cr> symbol by itself indicates that there are no more keywords or arguments.

Step 5

Press Enter to execute the command:

 

 

 

RP/0/RSP0/CPU0:router(config)# ipv4 access-list list1 deny 172.31.134.0

 

 

 

 

Note

The configuration does not become active until you type the commit command to add the target

 

 

 

configuration to the running configuration.

 

 

 

 

 

Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide

 

OL-17502-01

5-3

 

 

 

Page 105
Image 105
Cisco Systems ASR 9000, A9K24X10GETR, A9KMOD80TR manual F I N A L D R A F T - C i s c o C o n f i d e n t i a l