EasyManuals Logo
Home>Cisco>Network Router>ASR 9000

Cisco ASR 9000 User Manual

Cisco ASR 9000
188 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #115 background imageLoading...
Page #115 background image
111
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
OL-28417-02
Chapter CLI Tips, Techniques, and Shortcuts
CLI Tips and Shortcuts
The following example shows how to add an entry to access list 99. The added entry denies access to all
hosts on subnet 172.0.0.0 and ignores bits for IPv4 addresses that start within the range of 0 to 255. The
following steps provide an example of on-screen command help:
Step 1 Enter the access-list command, followed by a space and a question mark, to list the available options for
the command:
RP/0//CPU0:router(config)# ipv4 access-list ?
log-update Control access lists log updates
ssm-acl Access list name - maximum 32 characters
bidir-acl Access list name - maximum 32 characters
WORD Access list name - maximum 32 characters
Note The number ranges (within the angle brackets) are inclusive ranges.
Step 2 Enter 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//CPU0:router(config)# ipv4 access-list list1 ?
log-update Control access lists log updates
ssm-acl Access list name - maximum 32 characters
bidir-acl Access list name - maximum 32 characters
WORD Access list name - maximum 32 characters
RP/0/RP0/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//CPU0:router(config)#ipv4 access-list list1
Step 3 Enter the deny option and a question mark to see more command options:
RP/0//CPU0:router(config)#ipv4 access-list list1 deny ?
<0-255> An IPv4 Protocol Number
A.B.C.D Source IP address or prefix
A.B.C.D/prefix Source IP address and care bits
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//CPU0:router(config)#ipv4 access-list list1 deny
Step 4 Enter an IP address, followed by a space and a question mark (?), to list additional options:

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco ASR 9000 and is the answer not in the manual?

Cisco ASR 9000 Specifications

General IconGeneral
BrandCisco
ModelASR 9000
CategoryNetwork Router
LanguageEnglish

Related product manuals