D. Router Command Line Summaries and Shortcuts
D-4 September 2002 9128-A2-GB20-80
CLI Command Summary

TableD-3, CLI Commands lists of all of the system-level commands for the CLI.

For the default settings, see

CLI Command Default Settings

on pageD-6.

Table D-3. CLI Commands (1 of 2)

Command

access-list
access-list-num
[{permit | deny}
{ {
source-ip
[
src-wildcard
] | any | host
source-host-ip
} |
{
protocol
{
source-ip source-wildcard
| any | host
source-host-ip
}
[
src-operator src-port
[
src-end-port
] ]
{
dest-ip dest-wildcard
| any | host
dest-host-ip
}
[ [
icmp-msg-type
[
icmp-msg-code
] ] |
[
dest-operator dest-port
[
dest-end-port
] ] ] } |
{
type-code
[range
end-type-code
] } }

no access-list

access-list-num
[{permit | deny}
{ {
src-ip
[
src-wildcard
] | any | host
src-host-ip
} |
{
protocol
{
src-ip src-wildcard
| any | host
src-host-ip
}
[
src-operator src-port
[
src-end-port
] ]
{
dest-ip dest-wildcard
| any | host
dest-host-ip
}
[ [
icmp-msg-type
[
icmp-msg-code
] ] |
[
dest-operator dest-port
[
dest-end-port
] ] ] } |
{
type-code
[range
end-type-code
] } ]
arp
ip-address mac-address
arp-type
no arp
ip-address
[
mac-address
arp-type
]

arp timeout

time
no arp timeout [
time
]

bridge {crb |

bridge-group
{acquire | aging-time
aging-time
|
protocol
span-tree-protocol
| priority
span-tree-priority
|route
route-protocol
} }

no bridge {crb |

bridge-group
{acquire|aging-time [
aging-time
]|
priority [
span-tree-priority
] | route [
route-protocol
] } }
[no] bridge-group
bridge-group
[no] bridge-group
bridge-group
{input-type-list
in-access-list-200num
|
output-type-list
out-access-list-200num
}

clear arp-cache

clear counters [

intf-type intf-num
[
.sub-intf-num
] ]

clear ip nat translations *

default-router
ip-address

no default-router [

ip-address
]
dns-server
ip-address
no dns-server [
ip-address
]
domain-name
domain-name
no domain-name [
domain-name
]