31.4. Network

简介:


31.4.1. Interface

[root@F5:Active] config # b interface show
INTERFACE
Key     Speed      Pkts  Pkts   Drop Coll   Bits   Bits Errs Trunk
         Mbps        in   out                 in    out
1.1  UP   100 FD 2.186M 71615 1.953M    0 23.92G 191.9M   23
1.2  DN  1000 FD      0     0      0    0      0      0    0
1.3  DN  1000 FD      0     0      0    0      0      0    0
1.4  DN  1000 FD      0     0      0    0      0      0    0
1.5  DN  1000 FD      0     0      0    0      0      0    0
1.6  DN  1000 FD      0     0      0    0      0      0    0
1.7  DN  1000 FD      0     0      0    0      0      0    0
1.8  DN  1000 FD      0     0      0    0      0      0    0
2.1  MS  1000 FD      0     0      0    0      0      0    0
2.2  MS  1000 FD      0     0      0    0      0      0    0
2.3  MS  1000 FD      0     0      0    0      0      0    0
2.4  MS  1000 FD      0     0      0    0      0      0    0
mgmt DN  1000 FD   1431  1506      0    0 2.030M 4.501M    0
[root@F5:Active] config # b interface show all
INTERFACE 1.1   00:01:D7:C3:30:C4   ENABLED   up   MTU 1500
|     media auto (100baseTX full)   aggregation: detached
|     flow control tx rx (tx rx)
|     (pkts,bits,errs) in = (2.186M, 23.92G, 23), out = (71644, 191.9M, 0)
|     (drop,mcast) in = (1.953M, 167381), out = (0, 104)    coll = 0
INTERFACE 1.2   00:01:D7:C3:30:C5   ENABLED   down   MTU 1500
|     media auto (none)   aggregation: detached
|     flow control tx rx (tx rx)
|     (pkts,bits,errs) in = (0, 0, 0), out = (0, 0, 0)
|     (drop,mcast) in = (0, 0), out = (0, 0)    coll = 0
INTERFACE 1.3   00:01:D7:C3:30:C6   ENABLED   down   MTU 1500
|     media auto (none)   aggregation: detached
|     flow control tx rx (tx rx)
|     (pkts,bits,errs) in = (0, 0, 0), out = (0, 0, 0)
|     (drop,mcast) in = (0, 0), out = (0, 0)    coll = 0
INTERFACE 1.4   00:01:D7:C3:30:C7   ENABLED   down   MTU 1500
|     media auto (none)   aggregation: detached
|     flow control tx rx (tx rx)
|     (pkts,bits,errs) in = (0, 0, 0), out = (0, 0, 0)
|     (drop,mcast) in = (0, 0), out = (0, 0)    coll = 0
INTERFACE 1.5   00:01:D7:C3:30:C8   ENABLED   down   MTU 1500
|     media auto (none)   aggregation: detached
|     flow control tx rx (tx rx)
|     (pkts,bits,errs) in = (0, 0, 0), out = (0, 0, 0)
|     (drop,mcast) in = (0, 0), out = (0, 0)    coll = 0
INTERFACE 1.6   00:01:D7:C3:30:C9   ENABLED   down   MTU 1500
|     media auto (none)   aggregation: detached
|     flow control tx rx (tx rx)
|     (pkts,bits,errs) in = (0, 0, 0), out = (0, 0, 0)
|     (drop,mcast) in = (0, 0), out = (0, 0)    coll = 0
INTERFACE 1.7   00:01:D7:C3:30:CA   ENABLED   down   MTU 1500
|     media auto (none)   aggregation: detached
|     flow control tx rx (tx rx)
|     (pkts,bits,errs) in = (0, 0, 0), out = (0, 0, 0)
|     (drop,mcast) in = (0, 0), out = (0, 0)    coll = 0
INTERFACE 1.8   00:01:D7:C3:30:CB   ENABLED   down   MTU 1500
|     media auto (none)   aggregation: detached
|     flow control tx rx (tx rx)
|     (pkts,bits,errs) in = (0, 0, 0), out = (0, 0, 0)
|     (drop,mcast) in = (0, 0), out = (0, 0)    coll = 0
INTERFACE 2.1   00:01:D7:C3:30:CC   ENABLED   unpopulated   MTU 1500
|     media auto (none)   aggregation: detached
|     flow control tx rx (tx rx)
|     (pkts,bits,errs) in = (0, 0, 0), out = (0, 0, 0)
|     (drop,mcast) in = (0, 0), out = (0, 0)    coll = 0
INTERFACE 2.2   00:01:D7:C3:30:CD   ENABLED   unpopulated   MTU 1500
|     media auto (none)   aggregation: detached
|     flow control tx rx (tx rx)
|     (pkts,bits,errs) in = (0, 0, 0), out = (0, 0, 0)
|     (drop,mcast) in = (0, 0), out = (0, 0)    coll = 0
INTERFACE 2.3   00:01:D7:C3:30:CE   ENABLED   unpopulated   MTU 1500
|     media auto (none)   aggregation: detached
|     flow control tx rx (tx rx)
|     (pkts,bits,errs) in = (0, 0, 0), out = (0, 0, 0)
|     (drop,mcast) in = (0, 0), out = (0, 0)    coll = 0
INTERFACE 2.4   00:01:D7:C3:30:CF   ENABLED   unpopulated   MTU 1500
|     media auto (none)   aggregation: detached
|     flow control tx rx (tx rx)
|     (pkts,bits,errs) in = (0, 0, 0), out = (0, 0, 0)
|     (drop,mcast) in = (0, 0), out = (0, 0)    coll = 0
INTERFACE mgmt   00:01:D7:C3:30:C1   ENABLED   down   MTU 1500
|     media auto (none)   aggregation: detached
|     flow control tx rx (none)
|     (pkts,bits,errs) in = (1431, 2.030M, 0), out = (1506, 4.501M, 0)
|     (drop,mcast) in = (0, 13), out = (0, 2)    coll = 0
			

31.4.2. Route

[root@F5:Active] config # b route show
ROUTE default inet
|     GATEWAY 192.168.3.1   static
ROUTE 127.1.1.0/24
|     VLAN tmm0   connected
ROUTE 127.10.0.0/16
|     VLAN tmm_bp   connected
ROUTE 172.16.0.0/24
|     VLAN inside   connected
ROUTE 192.168.3.0/24
|     VLAN inside   connected
ROUTE fe80::/64
|     VLAN tmm0   connected
ROUTE fe80::%vlan4093/64
|     VLAN outside   connected
ROUTE fe80::%vlan4094/64
|     VLAN inside   connected
ROUTE fe80::%vlan4095/64
|     VLAN tmm_bp   connected
ROUTE ff02::/64
|     VLAN tmm0   auto
ROUTE ff02::%vlan4093/64
|     VLAN outside   auto
ROUTE ff02::%vlan4094/64
|     VLAN inside   auto
ROUTE ff02::%vlan4095/64
|     VLAN tmm_bp   auto
			

31.4.3. VLAN

31.4.3.1. create

b vlan myvlan interface 1.2 1.3 1.4
			

31.4.3.2. list

b vlan list
				

31.4.3.3. delete

b vlan myvlan delete
				

31.4.4. bigpipe arp show

[root@F5:Active] config # bigpipe arp show
ARP 10.0.0.41 - A4:BA:DB:E0:7D:EE   VLAN inside   expire 63s   resolved
ARP 10.0.0.51 - F0:4D:A2:2D:BC:C9   VLAN inside   expire 25s   resolved
ARP 172.16.0.5 - 00:25:64:9A:D7:E0   VLAN inside   expire 284s   resolved
ARP 172.16.0.254 - 50:C5:8D:71:B7:00   VLAN inside   expire 299s   resolved
ARP 192.168.2.29 - C0:CB:38:7A:36:B3   VLAN inside   expire 297s   resolved
ARP 192.168.2.179 - 18:E7:F4:1F:45:0E   VLAN inside   expire 289s   resolved
ARP 192.168.2.251 - 00:14:2A:40:8A:58   VLAN inside   expire 297s   resolved
ARP 192.168.3.1 - 50:C5:8D:71:B7:00   VLAN inside   expire 298s   resolved
ARP 192.168.3.2 - 00:1D:09:EF:4E:14   VLAN inside   expire 294s   resolved
ARP 192.168.3.8 - 00:1D:7D:9F:3E:82   VLAN inside   expire 298s   resolved
ARP 192.168.3.91 - B8:AC:6F:25:D3:8C   VLAN inside   expire 299s   resolved
ARP 192.168.3.94 - F0:4D:A2:2D:74:D7   VLAN inside   expire 284s   resolved
ARP 192.168.3.119 - F0:4D:A2:27:CA:3E   VLAN inside   expire 279s   resolved
ARP 192.168.3.124 - 00:25:64:AE:FB:07   VLAN inside   expire 281s   resolved
ARP 192.168.3.169 - B8:AC:6F:41:F6:64   VLAN inside   expire 280s   resolved
ARP 192.168.3.237 - 00:25:64:A7:55:D0   VLAN inside   expire 293s   resolved
ARP 192.168.3.251 - 00:14:2A:40:8A:58   VLAN inside   expire 295s   resolved
ARP 192.168.5.42 - 00:21:9B:70:8D:79   VLAN inside   expire 292s   resolved
ARP 192.168.5.53 - 00:1D:09:78:6E:CB   VLAN inside   expire 281s   resolved
ARP 192.168.5.141 - 00:13:8F:FE:31:D8   VLAN inside   expire 299s   resolved
ARP 192.168.5.245 - 00:1D:09:7B:36:21   VLAN inside   expire 280s   resolved
ARP 192.168.10.253 - 00:0F:E2:85:0B:10   VLAN inside   expire 278s   resolved

		

31.4.5. b self show

[root@F5:Active] config # b self show
SELF 10.0.0.151   mask 0.0.0.0
|     VLAN inside   floating disable
SELF 172.16.0.30   mask 255.255.255.0
|     VLAN inside   floating disable
SELF 192.168.3.18   mask 255.255.255.0
|     VLAN inside   floating disable
		




原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

目录
相关文章
|
2月前
|
canal Kubernetes Perl
Network Policy及应用
文章主要介绍了如何在Kubernetes中使用Network Policy进行网络策略配置,包括如何部署Calico网络模型来支持网络策略,以及如何通过设置不同的网络策略来控制不同命名空间下Pods之间的访问权限。
43 4
Network Policy及应用
|
机器学习/深度学习 数据可视化 数据挖掘
【图像分类系列】(一)--Network In Network
【图像分类系列】(一)--Network In Network
157 0
【图像分类系列】(一)--Network In Network
|
网络虚拟化 网络架构
Nova-Network
Nova-Network
368 0
|
网络协议