ASR9000做映象的方法

2021-08-29 22:45:55 字數 534 閱讀 4998

asr9010做映象的方法,現在全域性定義出向埠

asr9k-2(config)#monitor-session 1 destination inte***ce gigabitethernet 0/3/0/10

然後在需要做映象的埠啟用映象功能

inte***ce gigabitethernet0/3/0/1

monitor-session 1 direction tx-only

如果需要只映象某些型別流量,定義acl,針對需要映象的流量型別加上capture

ipv4 access-list span

10 permit tcp any any eq www capture

20 permit tcp any any eq 8080 capture

30 permit ip any any

然後在介面呼叫此acl

inte***ce gigabitethernet0/3/0/1

monitor-session 1 direction tx-only

acl

OpenStack映象製作的方法

根據不同的作業系統,自行清理內部內容 刪除無用的內容。clean.sh bin sh dd if dev zero of root tempfile bs 2m rm root tempfile 刪除history資訊 sudo rm rf bash history history c 關機 sud...

定製python基礎映象的方法

前言 一些開源軟體依賴於許多python庫,如果採用容器化技術,事先配置好乙個安裝了所有依賴元件的基礎容器映象,這樣在軟體部署過程中,就不需要再為依賴的庫發愁了。製作基礎映象的步驟 1 登陸到容器管理機器上,切換root賬戶 2 在容器管理機器上建立工作目錄,例如 my work 3 將依賴的pyt...

各種映象源的設定方法

pip config set global.index url 清華大學 單獨安裝某個包時使用映象源 pip install flask i 取消映象源 pip config unset global.index url 阿里雲 composer config g repo.packagist co...