Xmodem: Uploading An Acl Command File From A Serially Connected Pc Or Unix Workstation (Cli); Single Copy Command - HP Aruba JL253A Management And Configuration Manual

For arubaos-switch 16.08
Table of Contents

Advertisement

Figure 37: Using the copy command to download and configure an ACL on page 363), and continues to
implement the remaining ACL commands in the file.
Figure 37: Using the copy command to download and configure an ACL
switch(config)# copy tftp command-file 10.38.124.18 v1an10_in.txt pc
Running configuration may change, do you want to continue [y/n]? y
1. ip access-list extended "155"
2. deny tcp 0.0.0.0 255.255.255.255 10.10.10.2 0.0.0.0 eq 23 1og
3. permit ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255
4. show running
Command files are limited to access-list commands.
5. exit
Switch(config)# show running
Running configuration:
; J9091A Configuration Editor; Created on release #W.15.05.0000x
; Ver #01:01:00
hostname "Switch"
cdp run
ip default-gateway 10.38.248.1
logging 10.38.227.2
snmp-server community "public" unrestricted
ip access-list extended "155"
deny tcp 0.0.0.0 255.255.255.255 10.10.10.2 0.0.0.0 eq 23 1og
permit ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255
exit
1
This message indicates that the show running command just above it is not an ACL command and will be
ignored by the switch.
2
Manually executing the show running from the CLI indicates that the file was implemented, creating ACL 155
in the switch's running configuration.
Xmodem: Uploading an ACL command file from a serially connected PC or
UNIX workstation (CLI)
Syntax:
copy xmodem command-file {<unix | pc>}
Uses Xmodem to copy and execute an ACL command from a PC or UNIX workstation. Depending on the ACL
commands used, this action does one of the following in the running-config file:
Creates a new ACL.
Replaces an existing ACL. (See "Creating an ACL Offline" in the "Access Control Lists (ACLs)" in the latest
access security guide for your switch.)
Adds to an existing ACL.

Single copy command

When a switch crashes, five files relating to the crash; core-dump, crash-data, crash-log, fdr-log, and event-log
are created and should be copied for review. All five files (core-dump, crash-data, crash-log, fdr-log, and event-
log) should be copied to a destination specified under a directory by file name.
Chapter 11 File Transfers
2
1
363

Advertisement

Table of Contents
loading

Table of Contents