[Router] vlan 20
[Router] traffic classifier c1 operator
or
[Router] traffic behavior b1
[Router-behavior-b1] deny
//對(duì)匹配規(guī)則的報(bào)文配置禁止動(dòng)作
[Router] traffic policy p1
[Router- policy-p1]
classifier c1 behavior b1 //配置流策略p1,綁定流分類c1和流行為b1
[Router] interface
Vlanif20
[Router- Vlanif20] ip address 192.168.88.1
255.255.255.0
[Router- Vlanif20] traffic-policy p1 inbound
//將流策略p1應(yīng)用在接口VLANIF20的入方向
[Router] interface GigabitEthernet
0/0/1
[Router-GigabitEthernet 0/0/1] ip address 106.3.45.2
255.255.255.192
[Router-GigabitEthernet 0/0/1] traffic-policy p1 inbound
//將流策略p1應(yīng)用在接口GE0/0/1的入方向
[Router] interface GigabitEthernet
0/0/2
[Router-GigabitEthernet 0/0/2] port link-type
trunk
[Router-GigabitEthernet 0/0/2] port trunk allow-pass vlan
20
[Router] ip route-static 0.0.0.0 0.0.0.0 106.3.45.1
//配置靜態(tài)路由,保證內(nèi)網(wǎng)到外網(wǎng)報(bào)文的下一跳地址是106.3.45.1
河南億恩科技股份有限公司(1tcdy.com)始創(chuàng)于2000年,專注服務(wù)器托管租用,是國(guó)家工信部認(rèn)定的綜合電信服務(wù)運(yùn)營(yíng)商。億恩為近五十萬(wàn)的用戶提供服務(wù)器托管、服務(wù)器租用、機(jī)柜租用、云服務(wù)器、網(wǎng)站建設(shè)、網(wǎng)站托管等網(wǎng)絡(luò)基礎(chǔ)服務(wù),另有網(wǎng)總管、名片俠網(wǎng)絡(luò)推廣服務(wù),使得客戶不斷的獲得更大的收益。
服務(wù)器/云主機(jī) 24小時(shí)售后服務(wù)電話:
0371-60135900
虛擬主機(jī)/智能建站 24小時(shí)售后服務(wù)電話:
0371-55621053
網(wǎng)絡(luò)版權(quán)侵權(quán)舉報(bào)電話:
0371-60135995
服務(wù)熱線:
0371-60135900