Chapter 6 Cli Tip, Technique, And Shortcut - Cisco Router IOS XR Getting Started Manual

Cisco systems router getting started guide
Hide thumbs Also See for Router Cisco IOS XR:
Table of Contents

Advertisement

Chapter 6
CLI Tips, Techniques, and Shortcuts
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/0/CPU0:router(config)# ipv4 access-list ?
log-update
maximum
WORD
The number ranges (within the angle brackets) are inclusive ranges.
Note
Enter the access list name list1, followed by a space and another question mark, to display the arguments
Step 2
that apply to the keyword and brief explanations:
RP/0/0/CPU0:router(config)# ipv4 access-list list1 ?
<1-2147483646>
deny
permit
remark
<cr>
RP/0/0/CPU0:router(config)#ipv4 access-list list1
Enter the deny option and a question mark to see more command options:
Step 3
RP/0/0/CPU0:router(config)#ipv4 access-list list1 deny ?
<0-255>
A.B.C.D
ahp
any
eigrp
esp
gre
host
icmp
igmp
igrp
ipinip
ipv4
nos
ospf
pcp
pim
sctp
tcp
udp
RP/0/0/CPU0:router(config)#ipv4 access-list list1 deny
Generally, uppercase letters represent variables (arguments).
Enter an IP address, followed by a space and a question mark (?), to list additional options:
Step 4
RP/0/RP0/CPU0:router(config)# ipv4 access-list list1 deny 172.31.134.0 ?
A.B.C.D
log
log-input
<cr>
RP/0/RP0/CPU0:router(config)# ipv4 access-list list1 deny 172.31.134.0
OL-10957-02
Control access lists log updates
Out of resources configration
Access list name - maximum 32 characters
Sequence number for this entry
Specifies packets to reject
Specifies packets to forward
Comment for access list
An IPv4 Protocol Number
Source IP address or prefix
Authentication Header Protocol
Any source host
Cisco's EIGRP Routing Protocol
Encapsulation Security Payload
Cisco's GRE Tunneling
A single source host
Internet Control Message Protocol
Internet Gateway Message Protocol
Cisco's IGRP Routing Protocol
IP in IP tunneling
Any IPv4 Protocol
KA9Q NOS Compatible IP over IP Tunneling
OSPF Routing Protocol
Payload Compression Protocol
Protocol Independent Multicast
Stream Control Transmission Protocol
Transport Control Protocol
User Datagram Protocol
Wildcard bits
Log matches against this entry
Log matches against this entry, including input interface
CLI Tips and Shortcuts
Cisco IOS XR Getting Started Guide
6-3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ios xr 3.4

Table of Contents