傳統路由方式

2021-09-19 20:41:10 字數 794 閱讀 6704

傳統的ip路由方式是基於目的 ip 的, 有以下三種基本的方式:

con#ip cef   //開啟cef

#show ip cef summary //檢視cef是否開啟

#show ip cef //檢視fib表

#show adjacency [detail] // 檢視adj table

路由器可看為兩個平面

1.控制平面

執行路由協議

分發拓撲資訊

構建路由表

(存在一張路由表rib)

2.資料平面

接收,傳送資料報

(fib 、cache)

con#accesss-list 101 deny udp any eq rip any eq rip

con#access-list 101 permit ip any any // 匹配除rip以外的報文

#debug ip packet 101 //只能debug程序**的資料報,或本地始發的資料報與目的地是本地的資料報,經過晶元處理過的

#clear ip cache [a.b.c.d ]

show ip cache // 檢視cache

show ip cache verbose //檢視cache詳細資訊,包含二層封裝

if#no ip route-cache  //關閉程序**,在介面上關閉,影響出站流量

檔案上傳 傳統方式,SpringMVC方式

傳統方式的檔案上傳 action user upload1 method post enctype multipart form data 選擇檔案 type file name upload type submit value 提交 解析request物件,獲取檔案上傳項 diskfileitem...

傳統方式和使用springmvc方式實現檔案上傳

傳統方式的檔案上傳 要引入元件fileupload包和io包 commons fileupload 1.3.1.jar commons io 2.4.jar 使用fileupload元件完成檔案上傳 上傳位置 string path request.getsession getservletcont...

js傳統方式取數字

為啥要用正則?我最開始也不是很理解,說實話也懶得學,但看看下面的if else 估計各位也是夠了,雖然正則難學,難記總歸類似這種操作應該是用正則去做的。下面我用傳統字串操作做乙個取數字的函式。函式findnum的任務 是找到字串 1212 21 009 090 00 並列印出來 var str 12...