第 11 章 网络管理
命令示例:
查看接口 feth1 的配置。
TopsecOS# network interface feth1 show
feth1 Link encap:Ethernet HWaddr 00:0c:29:ea:39:70
Link status: established, Autoneg enable
Full-duplex, 10000Mb/s
inet addr:1.1.1.1 Bcast:1.1.1.255 Mask:255.255.255.0
inet6 addr:fe80::20c:29ff:feea:3970/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500
Rx packets:212 Tx packets:6 Dropped:0
RX bytes:9752 (9.5 kb) TX bytes:480 (480.0 b)
Vsys:root_vsys Ifindex:14
Commtype:routing
查看接口 feth1 的功能配置。
TopsecOS# network interface feth1 show configuration
network interface feth1 mtu 1500
network interface feth1 ip add 1.1.1.1 mask 255.255.255.0
network interface feth1 speed auto
network interface feth1 duplex auto
network interface feth1 switchport mode access
network interface feth1 switchport trunk native-vlan 1
network interface feth1 switchport access-vlan 1
服务热线: 400-610-5119 800-810-5119 295
字符串类型,表示接口的名称。如果不指定该参数,将查看所有接
口的配置信息。
参数 说明
interface 必选项,设备接口。
string
评论0
最新资源